PolygonArtist.draw

PolygonArtist.draw(color=None, show_points=False, show_edges=False, show_face=True)[source]

Draw the polygon.

Parameters
  • color (tuple[float, float, float] or tuple[int, int, int], optional) – The RGB color of the polygon. The default color is compas.artists.PrimitiveArtist.color.

  • show_points (bool, optional) – If True, draw the corner points of the polygon.

  • show_edges (bool, optional) – If True, draw the edges of the polygon.

  • show_face (bool, optional) – If True, draw the face of the polygon.

Returns

list[bpy.types.Object]