M_Rhino_Geometry_Brep_CreateFromSweep_3 - mcneel/rhinocommon-api-docs GitHub Wiki

Brep.CreateFromSweep Method (Curve, IEnumerable(Curve), Boolean, Double)

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

Syntax

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()

Parameters

 

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

Return Value

Type: Brep[]
Array of Brep sweep results

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Brep Class
CreateFromSweep Overload
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️