CapsuleArtist.draw
- CapsuleArtist.draw(color=None, u=None, v=None)[source]
Draw the capsule associated with the artist.
- Parameters
color (tuple[float, float, float] or tuple[int, int, int], optional) – The RGB color of the capsule. The default color 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
list[bpy.types.Object] – The objects created in Blender.