scene_synthesizer.utils.get_watertight_trimesh_geometryο
- scene_synthesizer.utils.get_watertight_trimesh_geometry(trimesh_geometry)ο
Returns a watertight version of a trimesh geometry. Returns either the geometry itself, its convex hull, or axis-aligned bounding box.
- Parameters:
trimesh_geometry (trimesh.Trimesh) β Mesh.
- Returns:
Watertight approximation of the input mesh (or input mesh itself if itβs already watertight).
- Return type:
trimesh.Trimesh