1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-12 01:34:12 +02:00
This commit is contained in:
Justin Lin
2019-09-19 17:44:15 +08:00
parent d4bec58375
commit 6d95a8bf9f

View File

@@ -44,7 +44,11 @@ module helix_extrude(shape_pts, radius, levels, level_dist,
);
clk_a = r_dir == 1 ? 0 : 180;
angles = [for(i = 0; i < len(path_points); i = i + 1) [90 + initial_angle, 0, clk_a + angle_step * i]];
ax = 90 + initial_angle;
angles = [
for(i = 0; i < len(path_points); i = i + 1)
[ax, 0, clk_a + angle_step * i]
];
sections = cross_sections(shape_pts, path_points, angles, twist, scale);