PolygonArtist
- class compas_rhino.artists.PolygonArtist(*args, **kwargs)[source]
Bases:
compas_rhino.artists.artist.RhinoArtist,compas.artists.primitiveartist.PrimitiveArtistArtist 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_CONTEXTSCONTEXTITEM_ARTISTcolordefault_colorprimitiveMethods
Draw the polygon.
Inherited Methods
Build an artist corresponding to the item type.