3
1
Back

DivotDepth = 1.5*1; MarkingWidth = 1.5*1; DistanceBetweenKnurls = 3*1; TimerKnobConst = 1.8*1; PI=3.14159265*1; KnobMajorRadius = KnobDiameter/2; 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; DivotRadius = KnobMinorRadius*.4; // Primary knob cylinder for (i=[0 : RingMarkings-1] rotate([0, 0, 90 + cone_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, r2 = knob_radius_top, h = knob_height, $fn = top_rounding_faces cylinder(h = stem_transition_height, r1 = stem_radius, $fn = 3, center = true); hole_depth = max(knob_radius_top, knob_radius_bottom, stem_radius) + nothing; cylinder(r = 8, h = z height, e.g. Height of that nut to match the top.

New Pull Request