3
1
Back

(HP) four_hole_threshold = 10; knob_smoothness = 20; // How much horizontal space needed for left-hand and right-hand sub-panels left_panel_width = 16.5+16.5+10.5; //two knob, one jack, plus space between them right_panel_width = width_mm - hole_dist_side, hole_dist_top); echo("Putting a hole with radius: ", hole_r , " at ", width_mm - thickness*2; // draw panel, subtract holes 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); cube([cutout_width, cutout_height, thickness+3]); cylinder(h=thickness+standoff_height+3, r=hole_radius, $fn=360); vertex 0 -6.2584 7.81508 facet normal 5.628345e-001 8.265696e-001 0.000000e+000 facet normal 1.29414e-06 0.995055 0.0993296 facet normal -2.096588e-001 -3.669028e-001 9.063253e-001 vertex 2.589886e+000 4.454271e+000 2.491820e+001 facet normal 0.590397 -0.80404 -0.0703616 facet normal -0.76848 -0.630656 0.108218 facet normal -0.836804 -0.462418 0.293136 vertex -0.573447 -6.50844 7.52902 facet normal 0.737294 0.221424 -0.638255 facet normal -9.482393e-01 -5.548876e-03 3.175082e-01 facet normal 0.292516 -0.954699 0.0546275 facet normal 0.471439 0.881899 2.92089e-06 facet normal 0.665275 -0.392534 0.63508 facet normal -8.031676e-001 -3.367382e-003 5.957437e-001 vertex 5.108496e+000 -2.948792e+000 2.482134e+001 facet normal -0.0843473 0.0403748 -0.995618 vertex -9.29343 3.67953 0.0465801 facet normal -0.877365 0.466832 0.110898 facet normal -0.0729418 0.0676799 -0.995037 facet normal -0.334131 -0.625113 0.705401 facet normal 0.423073 0.690391 0.58683 vertex 3.29531 2.16809 19.8418 vertex 4.72511 -2.05265 19.4867 vertex 5.50469 -2.16809 19.8418 facet normal 9.734658e-001 2.288326e-001 0.000000e+000 facet normal 0.0816197 -0.758952 0.646011 facet normal -0.0992127 -0.014848 -0.994955 vertex -9.68198 2.48363 0.0440226 facet normal -1.308752e-001 2.233331e-001 9.659162e-001 vertex 4.454562e+000 -3.567837e+000 2.495526e+001 facet normal -0.0736135 -0.0683032 -0.994945 facet normal 0.796851 0.241732 0.553709 vertex -9.09213 -3.43962 3.26879 facet normal 0.956942 0.288323 0.0336345 facet normal -0.472746 -0.880555 0.0336791 vertex -4.64695 -3.15155 21.6407 facet normal 0.952737 -0.286094 0.102192 facet normal 2.935467e-16 -1.741197e-15 -1.000000e+00 facet normal.

New Pull Request