diff --git a/shapes2d.scad b/shapes2d.scad index 5059ebe..2060773 100644 --- a/shapes2d.scad +++ b/shapes2d.scad @@ -1584,7 +1584,7 @@ module text(text, size=10, font="Helvetica", halign, valign, spacing=1.0, direct assert(is_undef(spin) || is_vector(spin,3) || is_num(spin), str("Got: ",spin)); anchor = default(anchor, CENTER); spin = default(spin, 0); - geom = _attach_geom(size=[size,size],two_d=true); + geom = attach_geom(size=[size,size],two_d=true); anch = !any([for (c=anchor) c=="["])? anchor : let( parts = str_split(str_split(str_split(anchor,"]")[0],"[")[1],","), diff --git a/shapes3d.scad b/shapes3d.scad index d730d85..23a5d28 100644 --- a/shapes3d.scad +++ b/shapes3d.scad @@ -2442,7 +2442,7 @@ module text3d(text, h=1, size=10, font="Helvetica", halign, valign, spacing=1.0, anchor = default(anchor, CENTER); spin = default(spin, 0); orient = default(orient, UP); - geom = _attach_geom(size=[size,size,h]); + geom = attach_geom(size=[size,size,h]); anch = !any([for (c=anchor) c=="["])? anchor : let( parts = str_split(str_split(str_split(anchor,"]")[0],"[")[1],","),