diff --git a/src/path_extrude.scad b/src/path_extrude.scad index 7be64064..24d7be98 100644 --- a/src/path_extrude.scad +++ b/src/path_extrude.scad @@ -97,7 +97,7 @@ module path_extrude(shape_pts, path_pts, triangles = "SOLID", twist = 0, scale = let( fst_section = translate_pts(init_section(0, one), pth_pts[0]), snd_section = translate_pts(init_section(0, one + scale_step_vt), pth_pts[1]), - end_i = len_path_pts - 1, + end_i = len_path_pts - 2, remain_sections = [ for(i = 1; i < end_i; i = i + 1) translate_pts(