3
1
Back

//Advanced settings ////////////////////////// RingThickness = 5*1; DivotDepth = 1.5*1; DistanceBetweenKnurls = 3*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) cube([2, 2, KnobHeight+.001], center=true); cube([RingWidth*.5, MarkingWidth, 2], center=true); cube([8, 3, KnobHeight], center=true); // Flat for D-shaped hole // D shaft shape for shaft cutout // set screw hole's center over the base panel's thickness to account for squishing // for inset labels, translating to this height controls label depth label_inset_height = thickness-0.02; // Width of module (HP) width = 40; // widest element is rotary, at 30mm right_panel_width = width_mm - thickness*2.2; // testing futura vs quentincaps in F6 rendering module label(string, size=4, halign="center") { color([1,0,0]) linear_extrude(height) text(string, size, halign=halign, font=font); // draw panel, subtract holes // label the whole must be placed in a relevant directory.

New Pull Request