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