RobotModelArtist
- class compas_ghpython.artists.RobotModelArtist(item, **kwargs)[source]
Bases:
GHArtist
,RobotModelArtist
Artist for drawing robot models.
- Parameters
model (
RobotModel
) – Robot model.**kwargs (dict, optional) – Additional keyword arguments. See
GHArtist
andRobotModelArtist
for more info.
Methods
Draw geometry in the respective CAD environment.
Draw the visual meshes of the robot model.
Transforms a CAD-specific geometry using a Transformation.
Inherited Methods
Rigidly attaches a compas mesh to a given link for visualization.
Attach a tool to the robot artist for visualization.
Build an artist corresponding to the item type.
Build an artist with the given type.
Clear all objects from the view.
Recursive function that triggers the drawing of the robot model's geometry.
Removes attached collision meshes with a given name.
Detach tool_model from this robot model.
Draws all meshes attached to the robot model.
Drawing method for drawing an entire collection of objects.
Draws all collision geometry of the robot model.
Draws all visual geometry of the robot model.
Returns all compas meshes of the model.
Redraw the view.
Register an artist type to a data type.
Scales the robot model's geometry by factor (absolute).
Recursive function to apply the scale transformation on each link.
Triggers the update of the robot geometry.
Triggers the update of the robot geometry of the tool.