Labels Milestones
Back{ for(j=[0:rn-1]) assign(h0=sh*j, h1=sh*(j+1/2), h2=sh*(j+1)) { for(i=[0:fn-1]) assign(lf0=lf*i, lf1=lf*(i+1/2), lf2=lf*(i+1)) { polyhedron( points=[ [ 0,0,h0], [ ord*cos(lf0), ord*sin(lf0), h0], [ ord*cos(lf2), ord*sin(lf2), h0], [ ird*cos(lf1), ird*sin(lf1), h2], [ ord*cos(lf2), ord*sin(lf2), h0], [ ord*cos(lf2), ord*sin(lf2), h2] ], triangles=[ [0,1,2],[2,3,0], [1,0,4],[4,0,7],[7,8,4], [8,7,9],[10,9,7], [10,7,6],[6,7,0],[3,6,0], [2,1,4],[3,2,6],[10,6,9],[8,9,4], [4,5,2],[2,5,6],[6,5,9],[9,5,4] ], convexity=5); } } // https://cdn.sparkfun.com/datasheets/Components/Switches/MX%20Series.pdf module cherry_mx_button() { union(){ cube([14,14,thickness]); // u[nits] function units_mm(u) = u * U; // h[p] //module title(string, size=9, halign="center", font="Futura Md BT:style=Medium") { text(string.
- Normal 0.0818475 0.0808324 0.993362 vertex.
- Phoenix PTSM-0,5-8-2.5-V-THR vertical pitch 5mm size 15x7.6mm^2 drill.
- H 3.5674658" d="m 3.4251969,3.0511802 v.
- Length 6.6mm diameter 2.7mm Diode.
- 9.725134e+01 1.111324e+01 facet normal.