PDA

View Full Version : Is it possible to set the size of a vizshape.addBox() in a different coordinate sys?


The SundanceKid
08-19-2014, 12:09 PM
I want to do something like

box = vizshape.addBox(size=[foo,foo,foo], mode=viz.ABS_GLOBAL)

How can I set the size of a box with respect to viz.ABS_GLOBAL?
If I can't do this, how can I convert viz.ABS_GLOBAL widths, heights,
and depths into vizshape.addBox()'s size coordinate system?

:confused: --- The Sundance Kid

Jeff
08-19-2014, 06:45 PM
Do you want to set the size of the box relative to the larger scene model? I'm not sure what you mean by viz.ABS_GLOBAL widths, heights, and depths.