VectorArtist.draw

VectorArtist.draw(color=None, point=None, show_point=False)[source]

Draw the vector.

Parameters
  • color (tuple[float, float, float] or tuple[int, int, int], optional) – The RGB color of the vector. The default color is compas.artists.PrimitiveArtist.color.

  • point ([float, float, float] or compas.geometry.Point, optional) – Point of application of the vector. Default is Point(0, 0, 0).

  • show_point (bool, optional) – If True, draw the point of application of the vector.

Returns

list[bpy.types.Object]