BrepTrimList
ReferencesProvides access to all the Trims in a Brep object
Properties
Indexers
this[]
#Gets the BrepTrim at the given index. The index must be valid or an IndexOutOfRangeException will be thrown.
Parameters:
| index (int) | Index of BrepTrim to access. |
Returns: The BrepTrim at [index].
Exceptions:
| IndexOutOfRangeException | Thrown when the index is invalid. |
Methods
Add a new trim that will be part of an inner, outer, or slit loop to the brep
Add a new trim that will be part of an inner, outer, or slit loop to the brep
Add a new trim that will be part of an inner, outer, or slit loop to the brep.
Add a new trim that will be part of an inner, outer, or slit loop to the brep.
Remarks: You should set the trim's Tolerance, TrimType, and IsoStatus values. In general, you should try to use the Add( edge, bRev3d, loop, c2i ) version of NewTrim. If you want to add a singular trim, use AddSingularTrim. If you want to add a curve-on-surface trim, use AddCurveOnFace. If you want to add a point-on-surface trim, use AddPointOnFace.
Parameters:
| curve2dIndex (int) | index of 2d trimming curve |
Returns: New Trim
Add a new curve on face to the brep
Remarks: You should set the trim's tolerance and iso values.
Parameters:
| face (BrepFace) | face that curve lies on |
| edge (BrepEdge) | 3d edge associated with this curve on surface |
| rev3d (bool) | true if the 3d edge and the 2d parameter space curve have opposite directions. |
| curve2dIndex (int) | index of 2d curve in face's parameter space |
Returns: new trim that represents the curve on surface
Add a new singular trim to the brep.
Parameters:
| vertex (BrepVertex) | vertex along collapsed surface edge |
| loop (BrepLoop) | trim is appended to this loop |
| iso (IsoStatus) | |
| curve2dIndex (int) | index of 2d trimming curve |
Returns: new trim
Gets an enumerator that visits all edges.
Returns: The enumerator.
Matches the endpoints of all trims in the Brep.
Returns: true if any trim's 2d curve is changed, false otherwise.
Match the endpoints of all trims in a loop.
Parameters:
| loop (BrepLoop) | The Brep loop. |
Returns: true if any trim's 2d curve is changed, false otherwise.
Match the end of a trim to the start of the next trim.
Match the endpoints of a trim to the next and previous trim.
Parameters:
| trimIndex (int) |
Returns: true if any trim's 2d curve is changed, false otherwise.
Gets the same enumerator as GetEnumerator().
Returns: The enumerator.