Skip to content

M_Rhino_Geometry_Brep_CreateFromSweep_2

Will Pearson edited this page Aug 12, 2016 · 2 revisions

Brep.CreateFromSweep Method (Curve, Curve, IEnumerable(Curve), 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) Version: Rhino 6.0

Syntax

C#

public static Brep[] CreateFromSweep(
	Curve rail1,
	Curve rail2,
	IEnumerable<Curve> shapes,
	bool closed,
	double tolerance
)

VB

Public Shared Function CreateFromSweep ( 
	rail1 As Curve,
	rail2 As Curve,
	shapes As IEnumerable(Of Curve),
	closed As Boolean,
	tolerance As Double
) As Brep()

Parameters

 

rail1
Type: Rhino.Geometry.Curve
Rail to sweep shapes along
rail2
Type: Rhino.Geometry.Curve
Rail to sweep shapes along
shapes
Type: System.Collections.Generic.IEnumerable(Curve)
Shape curves
closed
Type: System.Boolean
Only matters if shapes are closed
tolerance
Type: System.Double
Tolerance for fitting surface and rails

Return Value

Type: Brep[]
Array of Brep sweep results

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Brep Class
CreateFromSweep Overload
Rhino.Geometry Namespace

Clone this wiki locally