ConeObject.draw

ConeObject.draw(color=None, collection=None, u=16, show_wire=False, shade_smooth=False)[source]

Draw the cone associated with the scene object.

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

The RGB color of the cone.

collectionstr, optional

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

uint, optional

Number of faces in the “u” direction.

show_wirebool, optional

Display the wireframe of the cone.

shade_smoothbool, optional

Display smooth shading on the cone.

Returns:
list[bpy.types.Object]

The objects created in Blender.