PrimitiveArtist
- class compas.artists.PrimitiveArtist(*args, **kwargs)[source]
Bases:
compas.artists.artist.ArtistBase class for artists for geometry primitives.
- Parameters
primitive (
compas.geometry.Primitive) – The geometry of the primitive.color (tuple, optional) – The RGB components of the base color of the primitive.
- Class Attributes
default_color (tuple) – The default rgb color value of the primitive (
(0, 0, 0)).- Attributes
primitive (
compas.geometry.Primitive) – The geometry of the primitive.color (tuple) – The RGB components of the base color of the primitive.
Attributes
colordefault_colorprimitiveInherited Attributes
AVAILABLE_CONTEXTSCONTEXTITEM_ARTISTInherited Methods
Build an artist corresponding to the item type.