Click or drag to resize

BrepCreateFromSweep Method (Curve, IEnumerableCurve, Point3d, Point3d, SweepFrame, Vector3d, Boolean, SweepBlend, SweepMiter, Double, SweepRebuild, Int32, Double)

Sweep1 function that fits a surface through a series of 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: 7.0
Syntax
public static Brep[] CreateFromSweep(
	Curve rail,
	IEnumerable<Curve> shapes,
	Point3d startPoint,
	Point3d endPoint,
	SweepFrame frameType,
	Vector3d roadlikeNormal,
	bool closed,
	SweepBlend blendType,
	SweepMiter miterType,
	double tolerance,
	SweepRebuild rebuildType,
	int rebuildPointCount,
	double refitTolerance
)

Parameters

rail
Type: Rhino.GeometryCurve
Rail to sweep shapes along.
shapes
Type: System.Collections.GenericIEnumerableCurve
Shape curves.
startPoint
Type: Rhino.GeometryPoint3d
Optional starting point of sweep. Use Point3d.Unset if you do not want to include a start point.
endPoint
Type: Rhino.GeometryPoint3d
Optional ending point of sweep. Use Point3d.Unset if you do not want to include an end point.
frameType
Type: Rhino.GeometrySweepFrame
The frame type.
roadlikeNormal
Type: Rhino.GeometryVector3d
The roadlike normal directoion. Use Vector3d.Unset if the frame type is not set to roadlike.
closed
Type: SystemBoolean
Only matters if shapes are closed.
blendType
Type: Rhino.GeometrySweepBlend
The shape blending type.
miterType
Type: Rhino.GeometrySweepMiter
The mitering type.
tolerance
Type: SystemDouble

[Missing <param name="tolerance"/> documentation for "M:Rhino.Geometry.Brep.CreateFromSweep(Rhino.Geometry.Curve,System.Collections.Generic.IEnumerable{Rhino.Geometry.Curve},Rhino.Geometry.Point3d,Rhino.Geometry.Point3d,Rhino.Geometry.SweepFrame,Rhino.Geometry.Vector3d,System.Boolean,Rhino.Geometry.SweepBlend,Rhino.Geometry.SweepMiter,System.Double,Rhino.Geometry.SweepRebuild,System.Int32,System.Double)"]

rebuildType
Type: Rhino.GeometrySweepRebuild
The rebuild style.
rebuildPointCount
Type: SystemInt32
If rebuild == SweepRebuild.Rebuild, the number of points. Otherwise specify 0.
refitTolerance
Type: SystemDouble
If rebuild == SweepRebuild.Refit, the refit tolerance. Otherwise, specify 0.0

Return Value

Type: Brep
Array of Brep sweep results.
See Also