RhinoBrepLoop

class compas_rhino.geometry.RhinoBrepLoop[source]

Bases: BrepLoop

A wrapper for Rhino.Geometry.BrepLoop

Attributes:
edgeslist[compas_rhino.geometry.RhinoBrepEdge], read-only

The list of edges which comprise this loop.

trimslist[compas_rhino.geometry.RhinoBrepTrim], read-only

The list of trims which comprise this loop.

loop_typecompas_rhino.geometry.brep.loop.LoopType, read-only

The type of this loop.

is_outerbool, read-only

True if this loop is an outer boundary, False otherwise.

is_innerbool, read-only

True if this loop is an inner hole, False otherwise.

native_loopRhino.Geometry.BrepLoop

The underlying Rhino BrepLoop object.

Inherited Methods

ToString

Converts the instance to a string.

copy

Make an independent copy of the data object.

from_edges

Construct a loop from a list of edges.

from_json

Construct an object of this type from a JSON file.

from_jsonstring

Construct an object of this type from a JSON string.

from_polygon

Construct a loop from a polygon.

from_polyline

Construct a loop from a polyline.

sha256

Compute a hash of the data for comparison during version control using the sha256 algorithm.

to_json

Convert an object to its native data representation and save it to a JSON file.

to_jsonstring

Convert an object to its native data representation and save it to a JSON string.

validate_data

Validate the data against the object's data schema.