LineArtist

class compas_ghpython.artists.LineArtist(*args, **kwargs)[source]

Bases: compas_ghpython.artists.artist.GHArtist, compas.artists.primitiveartist.PrimitiveArtist

Artist for drawing lines.

Parameters

line (compas.geometry.Line) – A COMPAS line.

Methods

build(item, **kwargs)

Build an artist corresponding to the item type.

build_as(item, artist_type, **kwargs)

clear()

draw()

Draw the line.

draw_collection(collection)

redraw()

register(item_type, artist_type)