ToolModel.get_link_collision_meshes
- ToolModel.get_link_collision_meshes(link)[source]
Get the list of collision meshes of a link.
The origin of the visual meshes are transformed according to the element.origin of the Visual nodes. This means that the returned mesh will match with the link’s origin frame.
- Parameters:
- link
Link
The link to extract the collision meshes from.
- link
- Returns:
- list of
Mesh
A list of collision meshes belonging to the link The list is empty if no collision meshes are found.
- list of
Notes
Only MeshDescriptor in element.geometry.shape is supported. Other shapes are ignored.