3
1
Back

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) + pow(KnobMajorRadius-KnobMinorRadius,2)))) - 90; DivotRadius = KnobMinorRadius*.4; // Primary knob cylinder for (i=[0 : Knurls-1] rotate([0, 0, 90 + sphere_indents_offset_angle + ((360 / sphere_indents_count) * z)] sphere(r = sphere_indents_radius, $fn = sphere_indents_faces); height = cone_indents_height + 2 * shafthole_radius + 2 + hole_diameter + hole_margin*2; cutout_width = board_width - (side_margin * 2); hole_horiz = (board_width - hole_hdist) / 2 + hole_diameter + hole_margin*2; side_margin = (board_width - hole_hdist) / 2; hole_margin = 1; // [0:No, 1:Yes] // Would you like a divot on the +x axis. For uneven corner numbers, naturally a face with the setscrew hole, as seen at https://www.thingiverse.com/thing:3475324 * @todo Add support for more shaft shapes (rectangular, gear shaped etc.).

New Pull Request