diff --git a/drawing.scad b/drawing.scad index 89d31a5..fccd43e 100644 --- a/drawing.scad +++ b/drawing.scad @@ -251,7 +251,7 @@ module stroke( translate(path[0]) sphere(d=width[0]); } } else { - pathcut = path_cut_points(path, [trim1, path_length(path)-trim2], closed=false); + pathcut = _path_cut_points(path, [trim1, path_length(path)-trim2], closed=false); pathcut_su = _cut_to_seg_u_form(pathcut,path); path2 = _path_cut_getpaths(path, pathcut, closed=false)[1]; widths = _path_select(width, pathcut_su[0][0], pathcut_su[0][1], pathcut_su[1][0], pathcut_su[1][1]); diff --git a/shapes3d.scad b/shapes3d.scad index 76f5647..16d26d1 100644 --- a/shapes3d.scad +++ b/shapes3d.scad @@ -2148,7 +2148,7 @@ module path_text(path, text, font, size, thickness, lettersize, offset=0, revers dummy1 = assert(sum(lsize)<=path_length(path),"Path is too short for the text"); - pts = path_cut_points(path, add_scalar([0, each cumsum(lsize)],lsize[0]/2), direction=true); + pts = _path_cut_points(path, add_scalar([0, each cumsum(lsize)],lsize[0]/2), direction=true); usernorm = is_def(normal); usetop = is_def(top);