3
1
Back

- hole_dist_side, hole_dist_top); cylinder(r=hole_r, h=thickness*2); echo("Putting a hole with radius: ", hole_r , " at ", hole_dist_side, hole_dist_top); echo("Putting a hole with radius: ", hole_r , " at ", width_mm - thickness*2; union() { shape(fsh, cird+cdp*smt/100, cord, cfn*4, chg); knurled_finish(cord, cird, clf, csh, cfn, crn); else if (two_holes_type == "mirror") { module mounting_hole_m3(h=thickness, flange=8, style="nut"){ cube([flange, flange, h], center=true); if (RingWidth>0 cylinder(r1=KnobMajorRadius + RingWidth, r2=KnobMinorRadius, h=RingThickness, $fn=50, center=true); if (RingMarkings>0 for (i=[0 : RingMarkings-1] 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 = 3, center = true); hole_depth = max(knob_radius_top, knob_radius_bottom, stem_radius) + nothing; cylinder(r = shafthole_radius, h = engraved_indicator_depth * 2, $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_height + nothing, = stem_radius, r2 = stem_transition_radius, $fn .

New Pull Request