SphereObject.draw

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

Draw the sphere associated with the scene object.

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

The RGB color of the sphere.

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

shade_smoothbool, optional

Display smooth shading on the sphere.

Returns:
list[bpy.types.Object]

The objects created in Blender.