scene_synthesizer.utils.scaled_trimesh_scene

scene_synthesizer.utils.scaled_trimesh_scene(scene, scale)

Return a copy of the trimesh scene, with meshes and scene transforms scaled to the requested factor.

Parameters:

scale (float or (3,) float) – Factor to scale meshes and transforms

Returns:

scaled – A copy of the current scene but scaled

Return type:

trimesh.Scene