RhinoPolygonObject

class compas_rhino.scene.RhinoPolygonObject[source]

Bases: RhinoSceneObject, GeometryObject

Scene object for drawing polygons.

Parameters:
polygoncompas.geometry.Polygon

A COMPAS polygon.

**kwargsdict, optional

Additional keyword arguments.

Methods

draw

Draw the polygon.

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.

compile_attributes

Compile Rhino DocObject Attributes.

get_group

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