CylinderObject.draw

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

Draw the cylinder associated with the scene object.

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

The RGB color of the cylinder.

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 cylinder.

shade_smoothbool, optional

Display smooth shading on the cylinder.

Returns:
list[bpy.types.Object]

The objects created in Blender.