Properties
Indexers
this[]
#Gets the BrepLoop at the given index. The index must be valid or an IndexOutOfRangeException will be thrown.
Returns: The BrepLoop at [index].
Exceptions:
| IndexOutOfRangeException | Thrown when the index is invalid. |
Methods
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.
Returns: New loop that needs to be filled in
Create a new empty boundary loop. The new loop will not be part of a face and will not include any trim curves.
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.
Returns: New outer boundary loop that is complete.
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.
Returns: new loop if successful
Gets an enumerator that visits all edges.
Returns: The enumerator.