![]() |
|
|
|
#1
|
|||
|
|||
|
Is there anyway to get the dimensions of an vrml file's object? My intention is to make sure these are scaled to a certain size.
Thanks, Alyssa Last edited by AlyssaK; 02-13-2007 at 11:03 PM. Reason: update |
|
#2
|
|||
|
|||
|
Sure, here is some sample code that gets the bounding box of a vrml object and prints the dimensions:
Code:
model = viz.add('model.wrl')
bb = model.getBoundingBox()
print bb.size
|
![]() |
|
|