Mesh.bounding_box

Mesh.bounding_box()[source]

Compute the axis-aligned bounding box of the mesh.

Returns

box (tuple of 8 points.) – The corners of the bounding box. The first 4 points are the corners of the bottom face, in counter clockwise direction wrt the positive Z-axis. The last 4 points are the corners of the top face, in counter clockwise direction wrt the positive Z-axis.