RhinoArtist

class compas_rhino.artists.RhinoArtist(*args, **kwargs)[source]

Bases: Artist

Base class for all Rhino artists.

Parameters
  • layer (str, optional) – A layer name.

  • **kwargs (dict, optional) – Additional keyword arguments. See Artist for more info.

Methods

clear_layer

Clear the layer of the artist.

Inherited Methods

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.

draw

The main drawing method.

draw_collection

Drawing method for drawing an entire collection of objects.

redraw

Redraw the view.

register

Register an artist type to a data type.