CapsuleArtist.draw

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

Draw the capsule associated with the artist.

Parameters
  • color (tuple[int, int, int] | tuple[float, float, float] | Color, optional) – The RGB color of the capsule. Default is compas.artists.ShapeArtist.color.

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

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

Returns

Rhino.Geometry.Mesh