diff --git a/src/helix_extrude.scad b/src/helix_extrude.scad index e8a1efcc..1083ae18 100644 --- a/src/helix_extrude.scad +++ b/src/helix_extrude.scad @@ -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);