3
1
Back

//outline of whole PCB cube([137.5, 97, 1], center=true); 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); cube([cutout_width, cutout_height, thickness+3]); cylinder(h=thickness+standoff_height+3, r=hole_radius, $fn=360); vertex 0 9 3.82299 vertex -5.22233 7.48471 3.76384 vertex -5.12136 -7.38374 3.82299 facet normal 7.74834e-06 -0.11328 0.993563 vertex -0.567807 7.3441 6.91407 facet normal 0.989348 0.0974089 0.108177 facet normal 0.681162 0.725368 0.0992896 facet normal -0.491352 -0.598708 0.632552 vertex -7.27387 4.86024 5.33536 facet normal 0.468218 0.881923 0.0546202 vertex -6.92883 -0.991719 7.78686 vertex -5.60181 4.2532 7.5827 vertex 6.7445 -0.892525 7.76535 facet normal -0.950499 -0.290271 0.110881 vertex 6.27889 -0.209414 7.81747 facet normal -0.447804 -0.38247 0.808201 vertex 6.08133 1.22155 19.4867 vertex 2.93047 1.46953 19.4867 vertex 3.75779 1.97652 19.4867 facet normal 0.260575 -0.962886 0.07036 facet normal 0.989345 -0.0974075 0.108204 facet.

New Pull Request