From 64033ca1b2a056661498f8c587b7484d7cd55b40 Mon Sep 17 00:00:00 2001 From: Garth Minette Date: Mon, 11 Apr 2022 18:44:57 -0700 Subject: [PATCH] Fixed stray _attach_geom() calls. --- shapes2d.scad | 2 +- shapes3d.scad | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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],","),