mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-13 10:14:41 +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;
|
sy = (d_leng * 2 + wy) / wy;
|
||||||
|
|
||||||
translate([0, 0, pre_h])
|
translate([0, 0, pre_h])
|
||||||
rotate(-twist_step * (i - 1))
|
rotate(-twist_step * (i - 1))
|
||||||
linear_extrude(
|
linear_extrude(
|
||||||
h,
|
h,
|
||||||
slices = 1,
|
slices = 1,
|
||||||
scale = [sx, sy],
|
scale = [sx, sy],
|
||||||
convexity = convexity,
|
convexity = convexity,
|
||||||
twist = twist_step
|
twist = twist_step
|
||||||
) scale([wx / x, wy / y])
|
)
|
||||||
children();
|
scale([wx / x, wy / y])
|
||||||
|
children();
|
||||||
|
|
||||||
test_rounded_extrude_data(i, wx, wy, pre_h, sx, sy);
|
test_rounded_extrude_data(i, wx, wy, pre_h, sx, sy);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user