M_Rhino_Geometry_Brep_CreateFromSweep_3 - mcneel/rhinocommon-api-docs GitHub Wiki
General 1 rail sweep. If you are not producing the sweep results that you are after, then use the SweepOneRail class with options to generate the swept geometry
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public static Brep[] CreateFromSweep(
Curve rail,
IEnumerable<Curve> shapes,
bool closed,
double tolerance
)
VB
Public Shared Function CreateFromSweep (
rail As Curve,
shapes As IEnumerable(Of Curve),
closed As Boolean,
tolerance As Double
) As Brep()
- rail
- Type: Rhino.Geometry.Curve
Rail to sweep shapes along - shapes
- Type: System.Collections.Generic.IEnumerable(Curve)
Shape curves - closed
- Type: System.Boolean
Only matters if shapes are closed - tolerance
- Type: System.Double
Tolerance for fitting surface and rails
Type: Brep[]
Array of Brep sweep results
Supported in: 6.0.16224.21491, 5D58w