3
1
Back

Exercise the right // the main module. It calls the submodules. Make_the_knob(); module make_the_knob() { difference() { difference() { union() { cube([board_width, board_height, thickness]); cylinder(thickness+standoff_height, r=standoff_radius, $fn=360); cube([cutout_width, cutout_height, thickness+3]); cylinder(h=thickness+standoff_height+3, r=hole_radius, $fn=360); vertex 0 -2.5 6.5 vertex 0 7.13321 6.87796 facet normal 5.735860e-001 1.353294e-003 8.191442e-001 vertex -5.121780e+000 1.988650e+000 2.488700e+001 facet normal -5.748339e-01 8.182700e-01 -3.383229e-04 vertex -9.308748e+01 1.046696e+02 2.550000e+00 facet normal 0.133707 0.0819149 0.98763 facet normal 0.309855 0.748097 0.586806 facet normal -4.720726e-001 8.093091e-001 3.495229e-001 vertex 1.348450e+000 -3.946332e+000 2.480400e+001 facet normal 9.966023e-001 8.236405e-002 -0.000000e+000 vertex 1.015835e+000 5.537292e+000 9.983999e+000 vertex 3.614395e+000 -4.406236e+000 9.983999e+000 vertex 1.726210e+000 -6.911484e+000 2.496000e+001 vertex 6.918735e-001 -7.088008e+000 9.983999e+000 vertex -5.907914e+000 -3.904928e+000 2.496000e+001 vertex 2.260702e-001 7.029575e+000 2.496000e+001 vertex 2.723071e+000 -6.583945e+000 2.496000e+001 vertex -4.873291e+000 -2.885563e+000 1.747200e+001 facet normal -0.900355 0.423665 0.0993365 vertex -8.76307 4.81754 0 facet normal 0.000000e+00 -1.000000e+00 vertex -1.103843e+02 9.755134e+01 1.512829e+01 vertex -1.103843e+02 1.002513e+02 2.550000e+00 vertex -9.132204e+01 9.890134e+01 4.255000e+01 facet normal -8.570009e-05 -1.000000e+00 0.000000e+00 facet normal 0.097471 0.989338 0.108209 vertex 1.87874 5.48554 21.335 vertex 6.91995 -1.06598 10.3435 facet normal 0.500005 -0.866022 0 vertex -3.89968 9.41467 0 facet normal -0.0122191 0.0985567 0.995056 vertex -1.49998 7.86317 19.9504 facet normal.

New Pull Request