RobotModelArtist
- class compas_blender.artists.RobotModelArtist(*args, **kwargs)[source]
Bases:
BlenderArtist
,RobotModelArtist
Artist for drawing robot models in Blender.
- Parameters
model (
compas.robots.RobotModel
) – Robot model.collection (str or bpy.types.Collection) – The Blender scene collection the object(s) created by this artist belong to.
**kwargs (dict, optional) – Additional keyword arguments. For more info, see
compas_blender.artists.BlenderArtist
andcompas.artists.RobotModelArtist
.
Methods
Create the scene objecy representing the robot geometry.
Draw the robot model.
Draw the meshes attached to the robot model, if any.
Draw the collision mesh of the robot model.
Draw the robot model.
Transform the mesh of a robot model.
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 the tool.
Drawing method for drawing an entire collection of objects.
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.