3
1
Back

3D Printing/Pot_Knobs/potknob_parametric.scad Executable file View File 3D Printing/Cases/Eurorack Modular Case/EuroRack_Case_End_Male.png Executable file Unescape Hardware/PCB/precadsr_aux_Gerbers/precadsr-B_Cu.gbr Normal file View File 3D Printing/Cases/Eurorack Modular Case History width = 10; threeUHeight = 133.35; // overall 3u height panelInnerOffset = (panelOuterHeight-panelInnerHeight)/2; echo("railHeight: ", railHeight); offsetToMountHoleCenterX = hp - holeOffset; // 1 rotary switch to adjust CV output range, switch between 5v and 2.5v max. One per step, to indicate direction? Pointer1 = 0; // [0:No, 1:Yes] ////////////////////////// //Advanced settings ////////////////////////// RingThickness = 5*1; DivotDepth = 1.5*1; MarkingWidth = 1.5*1; DistanceBetweenKnurls = 3*1; TimerKnobConst = 1.8*1; ////////////////////////// KnobMinorRadius = KnobDiameter/2 * (1 - TaperPercentage/100); KnobRadius = KnobMinorRadius + (KnobMajorRadius-KnobMinorRadius)/2; KnobCircumference = PI*KnobDiameter; Knurls = round(KnobCircumference/DistanceBetweenKnurls); Divot=CapType; TaperAngle=asin(KnobHeight / (sqrt(pow(KnobHeight, 2) cube([2, 2, KnobHeight+.001], center=true); cube([RingWidth*.5, MarkingWidth, 2], center=true); cube([8, 3, KnobHeight], center=true); if (Pointer2==1 cube([8, 3, KnobHeight], center=true); // Pointer1: Offset hemispherical divot sphere(r=DivotRadius, $fn=40); // Divot1: Centered cylynrical divot // Flat for D-shaped hole // D shaft shape for shaft center=true); // Pointer1: Offset hemispherical divot // Flat for D-shaped hole // D shaft shape for shaft center=true.

New Pull Request