3
1
Back

Cube([knob_radius_bottom, knob_radius_bottom, external_indicator_height], center = false); z_position = height - rail_clearance - thickness*2 - 16.5/2; // 16.5 is 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); cylinder(h=thickness+standoff_height, r=standoff_radius, $fn=360); cylinder(h=thickness+standoff_height, r=standoff_radius, $fn=360); cylinder(h=thickness+standoff_height, r=standoff_radius, $fn=360); cylinder(h=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 7.49999 6.0001 vertex -6.23601 -4.16677 6.0001 vertex 2.87013 6.92908 6.0001 vertex 2.87012 -6.92909 6.0001 vertex -5.30329 -5.30329 6.0001 vertex -4.16677 -6.23601 6.0001 vertex -5.30329 -5.30329 6.0001 facet normal 0.0285769 0.290164 0.95655 vertex -7.46035 -3.09018 5.88782 facet normal -0.195077 -0.980788 0 facet normal 2.488520e-001 9.685416e-001 0.000000e+000 facet normal 2.011253e-03 -0.000000e+00 9.999980e-01 facet normal -0.0953757 -0.0294114 0.995007 vertex 7.19917 -3.46694 19.9405 facet normal 0.482255 0.870372 0.0994135 vertex 3.40623 7.23862 20 facet normal -0.533415 -0.16181 0.830233 facet normal -0.555549 -0.831484 1.07979e-05 vertex 1.87938 2.7843 6.59 facet normal 9.407388e-01 -3.391319e-01 -3.084939e-04 facet normal 0.471401 -0.881919 0 facet normal -9.991503e-001 4.121501e-002 0.000000e+000 vertex -4.919635e+000 2.734702e+000 2.496000e+001 vertex -4.519133e+000 -5.470537e+000 2.496000e+001 vertex 5.035786e+000 -5.036913e+000 9.983999e+000 vertex 1.612724e+000 6.851379e+000 9.983999e+000 vertex -1.053366e+000 -7.037627e+000 1.747200e+001 facet normal -0.993097 0.0624143 0.0993142 facet normal 0.0765948 -0.956711 0.280779 facet normal -9.659122e-001 -4.301921e-003 2.588343e-001 facet normal 0.036353 -0.0926248 -0.995037 vertex -9.61887 3.06254 0.0491304 facet normal 0.869711 0.0906015 0.485175 facet normal 0.0976054 -0.989316 0.108289 facet normal -6.968273e-001 -7.172390e-001 0.000000e+000 vertex 1.384484e+000 -6.987365e+000 1.747200e+001 vertex -6.413717e+000 -2.985593e+000 2.496000e+001 vertex 3.660537e+000 -6.112594e+000 9.983999e+000 vertex 4.158177e+000 3.825264e+000 9.983999e+000 vertex -6.551333e+000 -2.663729e+000 9.983999e+000 vertex -3.550667e-007 -9.984000e+000 0.000000e+000 vertex -1.660638e+000 -5.441382e+000 9.983999e+000 vertex -4.455791e+000 3.434344e+000 2.496000e+001 vertex 3.614395e+000 -4.406236e+000 9.983999e+000 vertex 6.528279e+000 2.738236e+000 1.747200e+001 facet normal -7.154984e-15 -1.000000e+00 -2.751194e-14 facet normal 0.952737 -0.286094 0.102192 facet normal 0.365756 0.300167 0.880978 vertex 5.89328 -5.89328 5.74921 facet normal 0.257143 0.137446 0.956549 facet normal 0.00746316 0.0990468 -0.995055 vertex 1.87088 9.81894 0.0427516 facet normal 0.634593 0.772847 -1.35691e-05 facet normal 0.360201 -0.282974 0.888921 vertex -4.68184 -4.87063 7.03353 facet normal 4.107943e-07 -1.000000e+00 5.748679e-07 facet normal 7.266719e-01 -6.869846e-01 -3.303818e-04 vertex -1.027474e+02 9.410842e+01 3.455000e+01 vertex -1.005050e+02 9.242089e+01.

New Pull Request