1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-14 02:34:12 +02:00
This commit is contained in:
Justin Lin
2019-09-26 08:19:19 +08:00
parent 954948480b
commit 566acf7a99

View File

@@ -24,9 +24,9 @@ module rounded_cylinder(radius, h, round_r, convexity = 2, center = false) {
center_pt = center ? [0, 0, 0] : [0, 0, h/2];
translate(center_pt)
rotate(180)
rotate_extrude(convexity = convexity)
polygon(shape_pts);
rotate(180)
rotate_extrude(convexity = convexity)
polygon(shape_pts);
// hook for testing
test_center_half_trapezium(center_pt, shape_pts);