mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-10 16:54:23 +02:00
format
This commit is contained in:
@@ -33,15 +33,16 @@ module rounded_extrude(size, round_r, angle = 90, twist = 0, convexity = 10) {
|
||||
sy = (d_leng * 2 + wy) / wy;
|
||||
|
||||
translate([0, 0, pre_h])
|
||||
rotate(-twist_step * (i - 1))
|
||||
linear_extrude(
|
||||
h,
|
||||
slices = 1,
|
||||
scale = [sx, sy],
|
||||
convexity = convexity,
|
||||
twist = twist_step
|
||||
) scale([wx / x, wy / y])
|
||||
children();
|
||||
rotate(-twist_step * (i - 1))
|
||||
linear_extrude(
|
||||
h,
|
||||
slices = 1,
|
||||
scale = [sx, sy],
|
||||
convexity = convexity,
|
||||
twist = twist_step
|
||||
)
|
||||
scale([wx / x, wy / y])
|
||||
children();
|
||||
|
||||
test_rounded_extrude_data(i, wx, wy, pre_h, sx, sy);
|
||||
|
||||
|
Reference in New Issue
Block a user