concepts.simulator.urdf_utils.scene_builder.canonize_mesh_center#

canonize_mesh_center(mesh_)[source]#

Canonize the mesh center. Note that this function modifies the mesh in place.

Parameters:
  • mesh – an open3d triangle mesh.

  • mesh_ (open3d.geometry.TriangleMesh)

Returns:

a tuple of an open3d triangle mesh, the center of the mesh.

Return type:

tuple[open3d.geometry.TriangleMesh, ndarray]