Region.SweepAsBrep (ICurve, Double, Boolean, sweepMethodType) Method

Creates a Brep by sweeping the region along a rail.
Public Function SweepAsBrep( _ 
ByVal rail As ICurve, _ 
ByVal tol As Double, _ 
ByVal merge As Boolean, _ 
Optional ByVal methodType As sweepMethodType = sweepMethodType.RotationMinimizingFrames _ 
) As Brep()
This language is not supported or no code example is available.
public Brep[] SweepAsBrep( 
ICurve rail
double tol
bool merge
sweepMethodType methodType = sweepMethodType.RotationMinimizingFrames 
)
This language is not supported or no code example is available.

Parameters

rail
ICurve

The rail curve

tol
double

The trim tolerance

merge
bool

When true, it merges al the trimmed pieces. It Keeps them as separated objects otherwise.

methodType
sweepMethodType

The Sweep method

Return Value

Brep[]

The resulting Brep object.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition