CapsuleArtist
- class compas_ghpython.artists.CapsuleArtist(*args, **kwargs)[source]
Bases:
GHArtist
,ShapeArtist
Artist for drawing capsule shapes.
- Parameters
capsule (
compas.geometry.Capsule
) – A COMPAS capsule.**kwargs (dict, optional) – Additional keyword arguments. See
compas_ghpython.artists.GHArtist
andcompas.artists.ShapeArtist
for more info.
Methods
Draw the capsule associated with the artist.
Inherited Methods
Build an artist corresponding to the item type.
Build an artist with the given type.
Clear all objects from the view.
Drawing method for drawing an entire collection of objects.
Redraw the view.
Register an artist type to a data type.