atext() to text3d(). Overrode text() for 2D attachability.

This commit is contained in:
Garth Minette
2022-01-18 21:29:23 -08:00
parent e02795a09b
commit 7ca44e81c4
4 changed files with 116 additions and 21 deletions

View File

@@ -12,13 +12,15 @@ module _square(size,center=false) square(size,center=center);
module _circle(r,d) circle(r=r,d=d);
module _text(t,size,font,halign,valign,spacing,direction,language,script)
text(t, size=size, font=font,
module _text(text,size,font,halign,valign,spacing,direction,language,script)
text(text, size=size, font=font,
halign=halign, valign=valign,
spacing=spacing, direction=direction,
language=language, script=script
);
module _color(color) if (color==undef) children(); else color(color) children();
module _cube(size,center) cube(size,center=center);
module _cylinder(h,r1,r2,center,r,d,d1,d2) cylinder(h,r=r,d=d,r1=r1,r2=r2,d1=d1,d2=d2,center=center);