discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

length of text() in mm?

J
jdawgaz
Wed, Mar 11, 2015 8:42 PM

I have a question about the new text() function.

I have need of knowing what the size in mm of the text that I produced.
Right now, I have to guess what the length of the text is, to put it on a
cube for instance.

Is there a way to know what the length in mm is?

--
View this message in context: http://forum.openscad.org/length-of-text-in-mm-tp11974.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

I have a question about the new text() function. I have need of knowing what the size in mm of the text that I produced. Right now, I have to guess what the length of the text is, to put it on a cube for instance. Is there a way to know what the length in mm is? -- View this message in context: http://forum.openscad.org/length-of-text-in-mm-tp11974.html Sent from the OpenSCAD mailing list archive at Nabble.com.
M
MichaelAtOz
Wed, Mar 11, 2015 10:40 PM

Short answer, no.

There was much discussion about how to align text() with other geometry.

For now, the way to do it is use resize() to make it the size you want, in
one direction at least, let the other auto size to keep proportions, unless
you're happy to have it distort.


Unless specifically shown otherwise above, my contribution is in the Public Domain; To the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. This work is published globally via the internet. :) Inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”  Fight it! http://www.ourfairdeal.org/

View this message in context: http://forum.openscad.org/length-of-text-in-mm-tp11974p11975.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Short answer, no. There was much discussion about how to align text() with other geometry. For now, the way to do it is use resize() to make it the size you want, in one direction at least, let the other auto size to keep proportions, unless you're happy to have it distort. ----- Unless specifically shown otherwise above, my contribution is in the Public Domain; To the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. This work is published globally via the internet. :) Inclusion of works of previous authors is not included in the above. The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ -- View this message in context: http://forum.openscad.org/length-of-text-in-mm-tp11974p11975.html Sent from the OpenSCAD mailing list archive at Nabble.com.