mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-27 16:30:29 +02:00
refactor
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user