BaseArtist

class compas_blender.artists.BaseArtist[source]

Bases: abc.ABC

Base class for all Blender artists.

Attributes

objects (list) – A list of Blender objects (unique object names) created by the artist.

Methods

__init__()

Initialize self.

build(item, **kwargs)

Build an artist corresponding to the item type.

clear()

Delete all objects created by the artist.

draw()

Draw the item.

redraw()

Trigger a redraw.

register(item_type, artist_type)

Register a type of COMPAS object with a Blender artist.