SphereArtist.draw

SphereArtist.draw(color=None, u=None, v=None)[source]

Draw the sphere associated with the artist.

Parameters
  • color (tuple[float, float, float] or tuple[int, int, int], optional) – The RGB color of the sphere. The default color is compas.artists.ShapeArtist.color.

  • u (int, optional) – Number of faces in the “u” direction. Default is SphereArtist.u.

  • v (int, optional) – Number of faces in the “v” direction. Default is SphereArtist.v.

Returns

list – The objects created in Blender.