3
1
Back

X1 = 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); 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 10.1139 2.58057 vertex -2.33215 -9.81063 2.58057 facet normal 0.195083 0.980787 -0 vertex -0.927051 2.85317 9.999 vertex 1.76336 2.42705 0 vertex -10.1521 -0.388301 2.19603 facet normal 0.954699 -0.292521 0.0546087 facet normal -4.851193e-001 -8.489584e-001 2.095921e-001 vertex 2.017459e+000 3.468129e+000 2.475471e+001 vertex 1.304427e+000 3.875576e+000 2.475471e+001 facet normal 0.460542 -0.643682 0.611208 vertex -6.71541 -0.672644 7.35649 vertex 6.5979 -0.528493 7.34278 facet normal 0.365096 -0.683048 0.632574 vertex 7.27387 -4.86024 5.33536 facet normal 0.302887 0.92061 0.246448 vertex 4.19531 5.40903 7.56202 vertex -6.96854 0.953609 7.5827 facet normal -0.205763 0.678285 0.705402 facet normal -0.734389 -0.392534 0.553705 facet normal 0.0819011 0.0819033 -0.993269 facet normal -0.081207 -0.0813448 0.993372 vertex -4.42536 -4.42536 7.81508 facet normal 7.241379e-01 -6.896552e-01 0.000000e+00 vertex -1.027474e+02 9.410842e+01 1.855000e+01 vertex -9.059519e+01 9.652586e+01 1.055000e+01 facet normal -4.323937e-002 -7.566889e-002 9.961951e-001 facet normal -0.0973868 0.995182 0.0113607 facet normal 0.0977395 0.989303 0.108291 facet normal -0.80114 -0.594327 0.0703581 facet normal 0.0759151 0.77078 0.632562 facet normal 0.91869 -0.264717 0.293144 vertex -5.00765 4.19667 7.52902 vertex -6.5979 0.528493 7.34278 vertex 6.50844 -0.573447 7.52902 vertex -4.29172 5.03912 7.34278 vertex -5.20841 4.17623 7.5439 vertex -6.71541 0.672644 7.35649 facet normal -1.284290e-001 -2.247508e-001 9.659157e-001 vertex 5.307554e+000 -3.062540e+000 2.495400e+001 facet normal 0.55208 0.109816 -0.826528 vertex 1.11009 -2.67999 18.9335 vertex 1.11009 -2.67998 18.9335 facet normal 0.95694 0.288329 0.0336382 facet normal 0.0980067 0.0096566 0.995139 vertex -5.51093.

New Pull Request