scene_synthesizer.utils.add_extents_to_trimesh_metadata

scene_synthesizer.utils.add_extents_to_trimesh_metadata(mesh_or_scene)

Add extents to trimesh scene or individual mesh.

Parameters:

mesh_or_scene (trimesh.Trimesh or trimesh.scene.Scene) – The geometry or a scene, i.e., collection of geometries.