PolygonObject.draw

PolygonObject.draw(color=None, collection=None)[source]

Draw the polygon.

Parameters:
colortuple[float, float, float] | tuple[int, int, int] | compas.colors.Color, optional

The RGB color of the polygon.

collectionstr, optional

The name of the Blender scene collection containing the created object(s).

Returns:
list[bpy.types.Object]