3
1
Back

////////////////////////// KnobMinorRadius = KnobDiameter/2 * (1 - TaperPercentage/100); KnobRadius = KnobMinorRadius + (KnobMajorRadius-KnobMinorRadius)/2; 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); } // draw a "vertical" wall // h = z height, i.e. How tall the wall along the LEDs //outline of whole PCB cube([137.5, 97, 1], center=true); working_increment = working_height / 6; // generally-useful spacing amount for vertical columns of stuff col_middle .

New Pull Request