compas_ghpython.artists.LineArtist
- class compas_ghpython.artists.LineArtist(primitive, color=None)[source]
Bases:
compas_ghpython.artists._primitiveartist.PrimitiveArtistArtist for drawing lines.
- Parameters
primitive (
compas.geometry.Line) – A COMPAS line.- Other Parameters
See :class:`compas_ghpython.artists.PrimitiveArtist` for all other parameters.
Methods
draw()Draw the line.
Attributes
nameReference to the name of the primitive.