bounding box mesh dimensions

Scripting in Blender with Python, and working on the API

Moderators: jesterKing, stiv

Post Reply
rednuht
Posts: 0
Joined: Sun Jan 23, 2005 7:05 pm

bounding box mesh dimensions

Post by rednuht »

hi,

is there any way to get the bounding box mesh dimensions without resorting to checking every single vert ?

if not, has any one got a script that will check every vert in a mesh to get its overall X,Y,Z dimensions ?

thanks

der_ton
Posts: 0
Joined: Mon Oct 20, 2003 1:02 am

Post by der_ton »

Yes the bounding box is available through the Object's getBoundBox method:
http://www.blender.org/modules/document ... etBoundBox

rednuht
Posts: 0
Joined: Sun Jan 23, 2005 7:05 pm

perfect

Post by rednuht »

thanks, i did look in hte API docs but I must have missed it. :oops:

Post Reply