CapsuleObject

class compas_rhino.scene.CapsuleObject[source]

Bases: RhinoSceneObject, GeometryObject

Scene object for drawing capsule shapes.

Parameters:
capsulecompas.geometry.Capsule

A COMPAS capsule.

**kwargsdict, optional

Additional keyword arguments.

Methods

draw

Draw the capsule associated with the scene object.

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.