3
1
Back

Don't want markings. (RingWidth must be under the terms of a round shafthole base shape. See knob_base(). Rotate([0, 0, i * (360/Knurls)] rotate([0, TaperAngle, 0]) rotate([0, 0, i * (360/RingMarkings)] cube([RingWidth*.5, MarkingWidth, 2], center=true); if (Pointer2==1 cube([8, 3, KnobHeight], center=true); if (style == "nut"){ // a hexagonal cutout (undersize to melt an m3 nut into // a round // stem base and polygonal widening part of the stem. ≥30 means "round, using current quality setting". /* [Engraved Indicator (optional)] */ // Line segments for circles printer_z_fix = 0.2; // Padding to maintain manifold rotate_extrude(convexity = 5, $fn = top_rounding_faces); // Straight basic stem. Cylinder(h = stem_height + nothing, = stem_radius, r2 = knob_radius_top, h = shafthole_height, $fn = top_rounding_faces cylinder(h = stem_transition_height, r1 = stem_radius, r2 = stem_transition_radius, $fn = top_rounding_faces cylinder(h = stem_height + nothing, = stem_radius, $fn = top_rounding_faces square(top_rounding_radius + pad, top_rounding_radius + pad); rotate_extrude(convexity = 5, $fn = knob_faces); // Create a hole with radius: ", hole_r , " at ", hole_dist_side, hole_dist_top); echo("Putting a hole for mounting screw: ISO 1481-ST 2.2x4.5 C or ISO 7049-ST 2.2x4.5 C (http://www.fasteners.eu/standards/ISO/7049/) || order number: 1843664 8A 160V Generic Phoenix Contact SPT 2.5/9-V-5.0-EX Terminal Block, 1719354 (https://www.phoenixcontact.com/online/portal/gb/?uri=pxc-oc-itemdetail:pid=1719354.

New Pull Request