3
1
Back

2) cube([2, 2, KnobHeight+.001], center=true); cube([RingWidth*.5, MarkingWidth, 2], center=true); if (style == "nut"){ // a hexagonal cutout (undersize to melt an m3 nut into // a round shafthole base shape. See knob_base(). 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 = knob_faces); // Create a round shafthole base shape. See knob_base(). Rotate([0, 0, 90 + cone_indents_offset_angle + ((360 / cone_indents_count) * z.

New Pull Request