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

Creates a Brep sweeping the contour on the rail.
Function SweepAsBrep( _ 
ByVal rail As ICurve, _ 
ByVal tolerance 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.
Brep[] SweepAsBrep( 
ICurve rail
double tolerance
bool merge
sweepMethodType methodType = sweepMethodType.RotationMinimizingFrames 
)
This language is not supported or no code example is available.

Parameters

rail
ICurve

Sweep trajectory

tolerance
double

The trim tolerance

merge
bool

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

methodType
sweepMethodType

The sweep method, affects only Curve rail segments.

Return Value

Brep[]

The resulting Brep array if the operation succeeded, null/Nothing otherwise.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition