LineObject

class compas_rhino.scene.LineObject[source]

Bases: RhinoSceneObject, GeometryObject

Scene object for drawing lines.

Parameters:
linecompas.geometry.Line

A COMPAS line.

**kwargsdict, optional

Additional keyword arguments.

Methods

draw

Draw the line.

Inherited Methods

add

Add a child item to the scene object.

add_to_group

Add the objects to the group.

clear

The main clearing method.

clear_layer

Clear the layer of the scene object.

get_group

Find the group with the given name, or create a new one.