mirror of https://github.com/vitalif/openscad
#1158 Make text 3D
parent
8a8926db3d
commit
4b9c56bcc5
|
@ -34,7 +34,8 @@ color("green")
|
|||
module align_in_grid_and_add_text()
|
||||
{
|
||||
if ($children == 0) {
|
||||
text("Nothing...", 6, halign = "center");
|
||||
linear_extrude(height = 1, center = true)
|
||||
text("Nothing...", 6, halign = "center");
|
||||
} else {
|
||||
t = $children == 1 ? "one object" : str($children, " objects ");
|
||||
linear_extrude(height = 1, center = true)
|
||||
|
|
Loading…
Reference in New Issue