From 80babcad69aa613cdc9959efbc107e1e6c497302 Mon Sep 17 00:00:00 2001 From: Richard Milewski Date: Wed, 6 Dec 2023 13:51:02 -0800 Subject: [PATCH] Text3d() error message atype choices should be ycenter or baseline. --- shapes3d.scad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shapes3d.scad b/shapes3d.scad index d3af6c6..f6141e0 100644 --- a/shapes3d.scad +++ b/shapes3d.scad @@ -2966,7 +2966,7 @@ module text3d(text, h, size=10, font="Helvetica", spacing=1.0, direction="ltr", anchor, spin=0, orient=UP) { no_children($children); h = one_defined([h,height,thickness],"h,height,thickness",dflt=1); - assert(is_undef(atype) || in_list(atype,["ycenter","baseline"]), "atype must be \"center\" or \"baseline\""); + assert(is_undef(atype) || in_list(atype,["ycenter","baseline"]), "atype must be \"ycenter\" or \"baseline\""); assert(is_bool(center)); atype = default(atype, center?"ycenter":"baseline"); anchor = default(anchor, center?CENTER:LEFT);