RobotModelArtist

class compas_blender.artists.RobotModelArtist(item, **kwargs)[source]

Bases: BlenderArtist, RobotModelArtist

Artist for drawing robot models in Blender.

Parameters

Methods

create_geometry

Create the scene objecy representing the robot geometry.

draw

Draw the robot model.

draw_attached_meshes

Draw the meshes attached to the robot model, if any.

draw_collision

Draw the collision mesh of the robot model.

draw_visual

Draw the robot model.

transform

Transform the mesh of a robot model.

Inherited Methods

attach_mesh

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

attach_tool_model

Attach a tool to the robot artist for visualization.

build

Build an artist corresponding to the item type.

build_as

Build an artist with the given type.

clear

Clear all objects from the view.

create

Recursive function that triggers the drawing of the robot model's geometry.

detach_mesh

Removes attached collision meshes with a given name.

detach_tool_model

Detach tool_model from this robot model.

draw_collection

Drawing method for drawing an entire collection of objects.

meshes

Returns all compas meshes of the model.

redraw

Redraw the view.

register

Register an artist type to a data type.

scale

Scales the robot model's geometry by factor (absolute).

scale_link

Recursive function to apply the scale transformation on each link.

update

Triggers the update of the robot geometry.

update_tool

Triggers the update of the robot geometry of the tool.