3
1
Back

Unescape Hardware/PCB/precadsr/Kosmo_panel.pretty/Kosmo_Jack_Hole_NPTH.kicad_mod Normal file Unescape // Width of module (HP) width = 10; knob_height = 16; knob_smoothness = 20; shaft_radius = 3.25; shaft_smoothness = 20; // Shape of top of knob. "Recessed" type can be painted. CapType = 1; // [0:No, 1:Yes] ////////////////////////// ////////////////////////// RingThickness = 5*1; TimerKnobConst = 1.8*1; ////////////////////////// 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); .

New Pull Request