RobotModelArtist.attach_mesh

RobotModelArtist.attach_mesh(mesh, name, link=None, frame=None)[source]

Rigidly attaches a compas mesh to a given link for visualization.

Parameters
  • mesh (Mesh) – The mesh to attach to the robot model.

  • name (str) – The identifier of the mesh.

  • link (Link) – The link within the robot model or tool model to attach the mesh to. Optional. Defaults to the model’s end effector link.

  • frame (Frame) – The frame of the mesh. Defaults to compas.geometry.Frame.worldXY().

Returns

None