M_Rhino_Geometry_Collections_BrepTrimList_Add_3 - mcneel/rhinocommon-api-docs GitHub Wiki
Add a new trim that will be part of an inner, outer, or slit loop to the brep.
Namespace: Rhino.Geometry.Collections
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public BrepTrim Add(
int curve2dIndex
)VB
Public Function Add (
curve2dIndex As Integer
) As BrepTrim
- curve2dIndex
- Type: System.Int32
index of 2d trimming curve
Type: BrepTrim
New Trim
You should set the trim's tolerance, type, iso, li, and m_ei 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 crvonsrf trim, use AddCurveOnFace. If you want to add a ptonsrf trim, use AddPointOnFace.
Supported in: 6.0.16224.21491, 5D58w
BrepTrimList Class
Add Overload
Rhino.Geometry.Collections Namespace