3
1
Back

Fsh < 0 } module shape(hsh, ird, ord, fn4, hg) { x0= 0; x1 = hsh > 0 ? Ird : ord; x2 = hsh > 0 ? Ird : ord; x2 = hsh > 0 ? Ord : ird; y0=-0.1; y1=0; y2=abs(hsh); y3=hg-abs(hsh); y4=hg; y5=hg+0.1; if ( hsh >= 0 ) { 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 6 6.59 vertex -2.53249 -1.69705 6.59 vertex 3.16429 1.31069 18.1498 vertex -0.4 3.34544 9.425 vertex 1.31069 3.16429 15.2987 vertex -0.4 -3.34543 18.1498 facet normal -0.787432 0.189054 0.586694 vertex 6.80334 0.380651 19.8418 facet normal 0.000168718 -0.115745 -0.993279 vertex -4.80907 -0.598972 21.7653 facet normal -0.0973868 0.995182 0.0113607 facet normal 0.096218 0.976244 0.194139 vertex 0 -8.88682 5.07603 facet normal 0.544084 -0.22536 0.808199 vertex 2.80984 0.516674 19.1916 vertex 3.17844 1.68133 19.4867 vertex 5.75267 -0.982774 19.1916 facet normal -9.369221e-001 -3.101479e-003 3.495245e-001 vertex 4.056661e+000 -1.657746e+000 2.475471e+001 facet normal -1.120389e-15 6.002714e-16 -1.000000e+00 facet normal 0.0285879 0.0942422 0.995139 vertex -2.87789 -6.94785 6.0001 facet normal 6.976403e-14 -1.000000e+00 -1.229802e-13 vertex.

New Pull Request