CapsuleObject.draw

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

Draw the capsule associated with the scene object.

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

The RGB color of the capsule.

collectionstr, optional

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

uint, optional

Number of faces in the “u” direction.

vint, optional

Number of faces in the “v” direction.

show_wirebool, optional

Display the wireframe of the capsule.

shade_smoothbool, optional

Display smooth shading on the capsule.

Returns:
list[bpy.types.Object]

The objects created in Blender.