SphereArtist.draw

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

Draw the sphere associated with the artist.

Parameters
  • color (tuple[int, int, int] | tuple[flot, float, float] | Color, optional) – The RGB color of the sphere. Default 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

Rhino.Geometry.Mesh