diff --git a/src/rounded_cylinder.scad b/src/rounded_cylinder.scad index 6d062f5c..377f276d 100644 --- a/src/rounded_cylinder.scad +++ b/src/rounded_cylinder.scad @@ -23,7 +23,7 @@ module rounded_cylinder(radius, h, round_r, convexity = 2, center = false) { center_pt = center ? [0, 0, 0] : [0, 0, h/2]; - translate(center ? [0, 0, 0] : [0, 0, h/2]) + translate(center_pt) rotate(180) rotate_extrude(convexity = convexity) polygon(shape_pts);