discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Re: [OpenSCAD] size of module

M
MichaelAtOz
Mon, Feb 27, 2017 11:45 PM

noil wrote

how do I get the dimensions of a module or a geometry? The number must be
available internally somewhere or else resize would not work. I need that
it for some operators.

Currently you can't. Won't change anytime soon.
Export you model, load it in some program, like Netfabb basic, which has a
measuring feature.
Or, as you coded it you mush know programatically how big it is, use the
maths Luke...


Admin - PM me if you need anything, or if I've done something stupid...

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. Obviously 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/  time is running out!

View this message in context: http://forum.openscad.org/size-of-module-tp20611p20627.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

noil wrote > how do I get the dimensions of a module or a geometry? The number must be > available internally somewhere or else resize would not work. I need that > it for some operators. Currently you can't. Won't change anytime soon. Export you model, load it in some program, like Netfabb basic, which has a measuring feature. Or, as you coded it you mush know programatically how big it is, use the maths Luke... ----- Admin - PM me if you need anything, or if I've done something stupid... 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. Obviously 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/ time is running out! -- View this message in context: http://forum.openscad.org/size-of-module-tp20611p20627.html Sent from the OpenSCAD mailing list archive at Nabble.com.
N
noil
Tue, Feb 28, 2017 2:17 PM

well that does not really help, as I intended to make some operators, that
acts dynamicly  dependent on the size of its children. I mean, I guess  I
could require the sizes as inputs for the module, but that would make much
less versatile.

--
View this message in context: http://forum.openscad.org/size-of-module-tp20611p20641.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

well that does not really help, as I intended to make some operators, that acts dynamicly dependent on the size of its children. I mean, I guess I could require the sizes as inputs for the module, but that would make much less versatile. -- View this message in context: http://forum.openscad.org/size-of-module-tp20611p20641.html Sent from the OpenSCAD mailing list archive at Nabble.com.