3
1
Back

(360/Knurls)] rotate([0, TaperAngle, 0]) rotate([0, 0, 45] cube([2, 2, KnobHeight+.001], 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, 90 + sphere_indents_offset_angle + ((360 / sphere_indents_count) * z)] sphere(r = sphere_indents_radius, $fn = top_rounding_faces square(top_rounding_radius + pad, top_rounding_radius + pad); rotate_extrude(convexity = 5, $fn = shafthole_faces.

New Pull Request