PolyhedronObject.draw

PolyhedronObject.draw(color=None, collection=None, show_wire=True)[source]

Draw the polyhedron associated with the scene object.

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

The RGB color of the polyhedron.

collectionstr, optional

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

show_wirebool, optional

Display the wireframe of the polyhedron.

Returns:
list[bpy.types.Object]

The objects created in Blender.