Click or drag to resize

BrepCreateFromSweepInParts Method

Makes a 2 rail sweep. Like CreateFromSweep but the result is split where parameterization along a rail changes abruptly.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 6.0
Syntax
public static Brep[] CreateFromSweepInParts(
	Curve rail1,
	Curve rail2,
	IEnumerable<Curve> shapes,
	IEnumerable<Point2d> rail_params,
	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
rail_params
Type: System.Collections.GenericIEnumerablePoint2d
Shape parameters
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