mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-09 16:26:47 +02:00
format
This commit is contained in:
@@ -11,10 +11,9 @@ module multi_line_text(lines, line_spacing = 15, size = 10, font = "Arial", hali
|
||||
to = len(lines) - 1;
|
||||
inc = line_spacing;
|
||||
offset_y = inc * to / 2;
|
||||
union() {
|
||||
|
||||
for (i = [0 : to]) {
|
||||
translate([0 , -i * inc + offset_y, 0])
|
||||
text(lines[i], size, font = font, valign = valign, halign = halign, direction = direction, language = language, script = script);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user