PolygonArtist
- class compas_rhino.artists.PolygonArtist(*args, **kwargs)[source]
Bases:
compas_rhino.artists.artist.RhinoArtist
,compas.artists.primitiveartist.PrimitiveArtist
Artist for drawing polygons.
- Parameters
polygon (
compas.geometry.Polygon
) – A COMPAS polygon.layer (str, optional) – The name of the layer that will contain the mesh.
Inherited Attributes
AVAILABLE_CONTEXTS
CONTEXT
ITEM_ARTIST
color
default_color
primitive
Methods
Draw the polygon.
Inherited Methods
Build an artist corresponding to the item type.