<- previous    index    next ->

Lecture 3b, Vectors and Shapes, 3D printer

Some applications use vectors as part of demonstrtion.
Often an orthogonal vector is needed.
Sample code for dealing with vectors and orthogonals follow:
  
ortho.java source code



rotate.java source code
rotate_java.out output many methods

Shapes

Some times an object needs to be built with a 3D printer. Typically the object shape is first produced as a graphic image. Samples of two shapes are shown from development to creating the .stl file that is used to make the file that runs the 3D printer. Program to generate shape2 boundary shape2.java source code shape2_java.out output shape2.dat for plotting shape2a.stl for 3D printing Program to generate shape3 boundary shape3.java source code shape3_java.out output shape3pde.dat for plotting This shape was also used as a partial differential equation boundary inputting the .dat file. Shape 2 and 3 made with 3D printer: Other shapes: shape5.java source code shape5_java.out output shape5a.java source code shape5a_java.out output shape5p.java source code shape5p_java.out output shape5p.dat for plotting shape5p.stl for printing shape6.java source code shape6_java.out output shape6t.java source code shape6t_java.out output shape6t.dat for plotting shape6t.stl for printing

Gears

Gears designed with graphics and made with 3D printer. gear8.java source code gear12.java source code gear16.java source code gear8d3.dat for plotting gear8d3.stl for 3D printing Interesting shapes made with python tkinter. shapes_tk.py3 source code shape16.py3 source code shap32.py3 source code snowflake.py3 source code shape36.py3 source code shape36_py3.dat dat file dat_2d_2d.py3 source code shape36_3d_py3.dat dat file dat_to_stl.py3 source code shape36_3d.stl stl file shape57w.py3 source code shape57w_py3.dat dat file shape57ws.stl stl file shape58.py3 source code shape58_py3.dat dat file shape58.stl stl file shape59.py3 source code shape59_py3.dat dat file shape59_py3.out output shape59.stl stl file shape60c.py3 source code shape60c_py3.dat dat file shape60c.stl stl file shape62.py3 source code shape62.dat dat file shape62.stl stl file shape63.py3 source code shape63.dat dat file shape63.stl stl file shape64.py3 source code shape64.dat dat file shape64.stl stl file shape66.py3 source code shape66.dat dat file shape66.stl stl file shape65.py3 source code shape65.dat dat file shape65.stl stl file
    <- previous    index    next ->

Other links

Many web sites on Java GUI, AWT, Swing, etc.
Many web sites on Python wx, tk, qt, etc.

Go to top