BrepLoopList

References
Provides access to all the Loops in a Brep object.

Properties

Count

#Since v5.0
Gets the number of brep loops.
public int Count { get; }

Indexers

this[]

#
Gets the BrepLoop at the given index. The index must be valid or an IndexOutOfRangeException will be thrown.
public BrepLoop this[
index
Index of BrepLoop to access.
] { get; }
The BrepLoop at [index].
IndexOutOfRangeExceptionThrown when the index is invalid.

Methods

Add

#Since v5.4
Create a new boundary loop on a face. After you get this BrepLoop, you still need to create the vertices, edges, and trims that define the loop.
public BrepLoop Add(
loopType,
face
)
New loop that needs to be filled in

Add

#Since v5.4
Create a new empty boundary loop. The new loop will not be part of a face and will not include any trim curves.
public BrepLoop Add(
loopType
)

AddOuterLoop

#Since v5.4
Create a new outer boundary loop that runs along the sides of the face's surface. All the necessary trims, edges, and vertices are created and added to the brep.
public BrepLoop AddOuterLoop(
faceIndex
index of face that needs an outer boundary that runs along the sides of its surface.
)
New outer boundary loop that is complete.

AddPlanarFaceLoop

#Since v5.4
Add a planar trimming loop to a planar face
public BrepLoop AddPlanarFaceLoop(
faceIndex,
index of planar face. The underlying surface must be a PlaneSurface
loopType,
type of loop to add. If loopType is Unknown, then the loop direction is tested and the new loops type will be set to Outer or Inner. If the loopType is Outer, then the direction of the new loop is tested and flipped if it is clockwise. If the loopType is Inner, then the direction of the new loop is tested and flipped if it is counter-clockwise.
boundaryCurves
list of 3d curves that form a simple (no self intersections) closed curve. These curves define the 3d edge geometry and should be near the planar surface.
)
new loop if successful

GetEnumerator

#Since v5.0
Gets an enumerator that visits all edges.
public IEnumerator<BrepLoop> GetEnumerator()
The enumerator.
Explicit

IEnumerable.GetEnumerator

#Since v5.0
Gets the same enumerator as GetEnumerator().
IEnumerator IEnumerable.GetEnumerator()
The enumerator.