RobotModelArtist.meshes

RobotModelArtist.meshes(link=None, visual=True, collision=False, attached_meshes=True)[source]

Returns all compas meshes of the model.

Parameters
  • link (compas.robots.Link, optional) – Base link instance. Defaults to the robot model’s root.

  • visual (bool, optional) – Whether to include the robot’s visual meshes. Defaults to True.

  • collision (bool, optional) – Whether to include the robot’s collision meshes. Defaults to False.

  • attached_meshes (bool, optional) – Whether to include the robot’s attached meshes. Defaults to True.

Returns

list of compas.datastructures.Mesh