Labels Milestones
Back(1 - TaperPercentage/100); KnobRadius = KnobMinorRadius + (KnobMajorRadius-KnobMinorRadius)/2; KnobCircumference = PI*KnobDiameter; Knurls = round(KnobCircumference/DistanceBetweenKnurls); Divot=CapType; TaperAngle=asin(KnobHeight / (sqrt(pow(KnobHeight, 2) + pow(KnobMajorRadius-KnobMinorRadius,2)))) - 90; if (NotchedShaft==1) { cube([HoleDiameter/2, ShaftDiameter*2, ShaftLength], center=true); } // 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] if (style == "nut"){ // a round shafthole base shape. See knob_base(). Rotate([0, 0, i * (360/Knurls)] rotate([0, TaperAngle, 0]) rotate([0, 0, 90]) // To align a face with the.
- -0.531802 0.0992375 facet normal 5.000000e-001.
- Normal 0.603866 0.370049 0.705981 facet normal -0.938725 0.284755.