Click or drag to resize

BrepCreateFromSweep Method (Curve, IEnumerableCurve, Boolean, Double)

Sweep1 function that fits a surface through profile curves that define the surface cross-sections and one curve that defines a surface edge.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax
public static Brep[] CreateFromSweep(
	Curve rail,
	IEnumerable<Curve> shapes,
	bool closed,
	double tolerance
)

Parameters

rail
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
See Also