Click or drag to resize

BrepCreateFromSweepSegmented Method (Curve, Curve, Boolean, Double)

Sweep1 function that fits a surface through a profile curve that define the surface cross-sections and one curve that defines a surface edge. The Segmented version breaks the rail at curvature kinks and sweeps each piece separately, then put the results together into a Brep.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 6.14
Syntax
public static Brep[] CreateFromSweepSegmented(
	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