diff --git a/src/along_with.scad b/src/along_with.scad index bd2baa79..61309b6e 100644 --- a/src/along_with.scad +++ b/src/along_with.scad @@ -141,9 +141,9 @@ module along_with(points, angles, twist = 0, scale = 1.0, method = "AXIS_ANGLE") x_90 = [90, 0, 0]; - for(i = [0, 1]) { + #for(i = [0, 1]) { translate(pts[i]) - axis_angle_align_with_pts_rs(0, scale_one + scale_step_vt * (i + 1)) + axis_angle_align_with_pts_rs(0, scale_one + scale_step_vt * i) rotate(x_90) children(0); } @@ -158,7 +158,7 @@ module along_with(points, angles, twist = 0, scale = 1.0, method = "AXIS_ANGLE") } else { for(i = [1:min(leng_points, $children) - 2]) { translate(pts[i + 1]) - axis_angle_align_with_local_rotate(i, i * twist_step_a, scale_one + scale_step_vt * i, cumu_rot_matrice) + axis_angle_align_with_local_rotate(i, i * twist_step_a, scale_one + scale_step_vt * (i + 1), cumu_rot_matrice) rotate(x_90) children(i + 1); }