3
1
Back

+ (KnobMajorRadius-KnobMinorRadius)/2; Divot=CapType; TaperAngle=asin(KnobHeight / (sqrt(pow(KnobHeight, 2) pow(KnobMajorRadius-KnobMinorRadius,2)))) - 90; DivotRadius = KnobMinorRadius*.4; // Primary knob cylinder for (i=[0 : RingMarkings-1] rotate([0, 0, i * (360/Knurls)] rotate([0, TaperAngle, 0]) rotate([0, 0, i * (360/Knurls)] rotate([0, TaperAngle, 0]) rotate([0, 0, 90 + sphere_indents_offset_angle + ((360 / sphere_indents_count) * z)] sphere(r = sphere_indents_radius, $fn = top_rounding_faces); // Straight basic stem. Cylinder(h = stem_height + nothing, = stem_radius, $fn = 3, center = true); hole_depth = max(knob_radius_top, knob_radius_bottom.

New Pull Request