mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-30 11:40:42 +02:00
atext() to text3d(). Overrode text() for 2D attachability.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user