trimesh.decomposition¶
-
trimesh.decomposition.
convex_decomposition
(mesh, **kwargs)¶ Compute an approximate convex decomposition of a mesh.
- Parameters
mesh (trimesh.Trimesh) – Mesh to be decomposed into convex parts
- Returns
mesh_args – List of **kwargs for Trimeshes that are nearly convex and approximate the original.
- Return type
list