mymesh.mesh.mesh.aabb#
- property mesh.aabb#
Axis aligned bounding box of the mesh. See also
mymesh.utils.AABB().Examples
import mymesh import numpy as np # Load the stanford bunny m = mymesh.demo_mesh('bunny') # Perform an arbitrary rotation transformation to the mesh m = m.Transform([np.pi/6, -np.pi/6, np.pi/6], transformation='rotation', InPlace=True) box = mymesh.primitives.Box(m.aabb, Type='surf')