RobotModelArtist
- class compas_blender.artists.RobotModelArtist(*args, **kwargs)[source]
Bases:
compas_blender.artists.artist.BlenderArtist
,compas.artists.robotmodelartist.RobotModelArtist
Visualizer for robot models inside a Blender environment.
- Parameters
model (
compas.robots.RobotModel
) – Robot model.collection (str or
bpy.types.Collection
) – The name of the collection the object belongs to.
Inherited Attributes
AVAILABLE_CONTEXTS
CONTEXT
ITEM_ARTIST
collection
Methods
Draw a COMPAS geometry in the respective CAD environment.
Draws all meshes attached to the robot model.
Draws all collision geometry of the robot model.
Draws all visual geometry of the robot model.
Transforms a CAD-specific geometry using a COMPAS 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.
Recursive function that triggers the drawing of the robot model's geometry.
Removes attached collision meshes with a given name.
Detach the tool.
Returns all compas meshes of the model.
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.