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

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

Returns

list[System.Guid] – The GUIDs of the objects created in Rhino.