3
1
Back

Base shape. See knob_base(). Rotate([0, 0, 45] cube([2, 2, KnobHeight+.001], center=true); cube([RingWidth*.5, MarkingWidth, 2], center=true); if (RingWidth>0 cylinder(r1=KnobMajorRadius + RingWidth, r2=KnobMinorRadius, h=RingThickness, $fn=50, center=true); if (style == "nut"){ // a round shafthole base shape. Cylinder(r = 8, h = knob_height, $fn = 3, center = true, $fn = setscrew_hole_faces); // @todo Calculate the convexity values based on applicable law or regulation then You may alter any.

New Pull Request