Click or drag to resize

BrepCreateFromSweep Method (Curve, Curve, IEnumerableCurve, 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)
Syntax
public static Brep[] CreateFromSweep(
	Curve rail1,
	Curve rail2,
	IEnumerable<Curve> shapes,
	bool closed,
	double tolerance
)

Parameters

rail1
Type: Rhino.GeometryCurve
Rail to sweep shapes along
rail2
Type: Rhino.GeometryCurve
Rail to sweep shapes along
shapes
Type: System.Collections.GenericIEnumerableCurve
Shape curves
closed
Type: SystemBoolean
Only matters if shapes are closed
tolerance
Type: SystemDouble
Tolerance for fitting surface and rails

Return Value

Type: Brep
Array of Brep sweep results
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also