Click or drag to resize
BrepCreateFromSweep Method (Curve, 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: 5.1.50000.0 (5.0.20693.0)
Syntax
public static Brep[] CreateFromSweep(
	Curve rail,
	Curve shape,
	bool closed,
	double tolerance
)

Parameters

rail
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: Brep
Array of Brep sweep results
See Also