Unify text() arguments.

Re-order arguments to match docs and be consistent.
Remove valign from CText, as baseline was the default value.
Remove an unnecessary space.
This commit is contained in:
Joel Ebel 2018-05-14 15:08:09 -04:00
parent 92f4d55b3a
commit f2e0268a6c

View File

@ -471,7 +471,7 @@ module CText(OnOff, Tx, Ty, Font, Size, TxtRadius, Angl, Turn, Content) {
rotate([0, 0, i*Angle + 90 + Turn]) {
translate([0, TxtRadius, 0]) {
linear_extrude(height=FontThick) {
text(Content[i], font=Font, size=Size, valign="baseline", halign="center");
text(Content[i], size=Size, font=Font, halign="center");
}
}
}