Skip to content

M_Rhino_Geometry_Collections_BrepTrimList_Add

Will Pearson edited this page Aug 12, 2016 · 2 revisions

BrepTrimList.Add Method (BrepEdge, Boolean, BrepLoop, Int32)

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

Syntax

C#

public BrepTrim Add(
	BrepEdge edge,
	bool rev3d,
	BrepLoop loop,
	int curve2dIndex
)

VB

Public Function Add ( 
	edge As BrepEdge,
	rev3d As Boolean,
	loop As BrepLoop,
	curve2dIndex As Integer
) As BrepTrim

Parameters

 

edge
Type: Rhino.Geometry.BrepEdge
3d edge associated with this trim
rev3d
Type: System.Boolean
true if the edge and trim have opposite directions
loop
Type: Rhino.Geometry.BrepLoop
trim is appended to this loop
curve2dIndex
Type: System.Int32
index of 2d trimming curve

Return Value

Type: BrepTrim
new trim

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

BrepTrimList Class
Add Overload
Rhino.Geometry.Collections Namespace

Clone this wiki locally