diff --git a/src/part/connector_peg.scad b/src/part/connector_peg.scad index 0017ff85..bb94d36c 100644 --- a/src/part/connector_peg.scad +++ b/src/part/connector_peg.scad @@ -7,17 +7,14 @@ module connector_peg(shaft_r = 2.5, spacing = 0.5, void = false, heads = false) half_h_unit = h_unit / 2; module base(shaft_r, lip_r) { - linear_extrude(height) - circle(shaft_r); - - translate([0, 0, height]) - rotate_extrude() { - translate([0, -d_h_unit]) hull() { - square([lip_r - r_diff, d_h_unit]); - translate([0, half_h_unit]) - square([lip_r, half_h_unit]); - } + rotate_extrude() { + translate([0, -d_h_unit + height]) hull() { + square([lip_r - r_diff, d_h_unit]); + translate([0, half_h_unit]) + square([lip_r, half_h_unit]); } + square([shaft_r, height - d_h_unit]); + } } module peg() {