BrepCreateFromSweep Method (Curve, Curve, Curve, Boolean, Double) |
General 2 rail sweep. If you are not producing the sweep results that you are after, then
use the SweepTwoRail class with options to generate the swept geometry.
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax public static Brep[] CreateFromSweep(
Curve rail1,
Curve rail2,
Curve shape,
bool closed,
double tolerance
)
Public Shared Function CreateFromSweep (
rail1 As Curve,
rail2 As Curve,
shape As Curve,
closed As Boolean,
tolerance As Double
) As Brep()
Parameters
- rail1
- Type: Rhino.GeometryCurve
Rail to sweep shapes along - rail2
- Type: Rhino.GeometryCurve
Rail to sweep shapes along - shape
- Type: Rhino.GeometryCurve
Shape curve - closed
- Type: SystemBoolean
Only matters if shape is closed - tolerance
- Type: SystemDouble
Tolerance for fitting surface and rails
Return Value
Type:
BrepArray of Brep sweep results
See Also