OCCBrepLoop
- class compas_occ.brep.OCCBrepLoop(occ_wire)
Bases:
BrepLoop
Class representing an edge loop in the BRep of a geometric shape.
- Parameters:
- occ_wire
TopoDS.TopoDS_Wire
An OCC BRep wire.
- occ_wire
- Attributes:
- verticeslist[
BrepVertex
], read-only List of BRep vertices.
- edgeslist[
BrepEdge
], read-only List of BRep edges.
- verticeslist[
Methods
Try to fix the loop.
Construct a loop from a collection of edges.
Construct a loop from a polygon.
Construct a loop from a polyline.
Check if this loop is equal to another loop.
Check if this loop is the same as another loop.
Inherited Methods
Converts the instance to a string.
Make an independent copy of the data object.
Construct an object of this type from a JSON file.
Construct an object of this type from a JSON string.
Compute a hash of the data for comparison during version control using the sha256 algorithm.
Convert an object to its native data representation and save it to a JSON file.
Convert an object to its native data representation and save it to a JSON string.
Validate the data against the object's data schema.