3
1
Back

$fn=50, center=true); if (style == "nut"){ // a round shafthole base shape. Cylinder(r = 8, h = shafthole_height, $fn = stem_faces); // Widening part at the top. Rotate([0, 0, 90 + sphere_indents_offset_angle + ((360 / cone_indents_count) * z)] sphere(r = sphere_indents_radius, $fn = top_rounding_faces); // Straight basic stem. Cylinder(h = stem_height + nothing, = stem_radius, r2 = stem_transition_radius, $fn = top_rounding_faces square(top_rounding_radius + pad, top_rounding_radius + pad); circle(r = top_rounding_radius, $fn = top_rounding_faces cylinder(h = stem_transition_height, r1 = stem_radius, r2 = stem_transition_radius, $fn = knob_faces); // @todo Refactor the top_rounding() operation faster.

New Pull Request