Click or drag to resize

BrepCreateBlendSurface Method (BrepFace, BrepEdge, Interval, Boolean, BrepFace, BrepEdge, Interval, Boolean, BlendSurfaceOptions, Double)

Makes the surface blend the BlendSrf command makes between two surface edges.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static Brep[] CreateBlendSurface(
	BrepFace face0,
	BrepEdge edge0,
	Interval domain0,
	bool rev0,
	BrepFace face1,
	BrepEdge edge1,
	Interval domain1,
	bool rev1,
	BlendSurfaceOptions options,
	double tolerance
)

Parameters

face0
Type: Rhino.GeometryBrepFace
First face to blend from.
edge0
Type: Rhino.GeometryBrepEdge
Edge of face0 to blend from.
domain0
Type: Rhino.GeometryInterval
The part of edge0 to use, in edge0's parameters.
rev0
Type: SystemBoolean
If false, edge0 will be used in its natural direction. If true, edge0 will be used in the reversed direction.
face1
Type: Rhino.GeometryBrepFace
Second face to blend from.
edge1
Type: Rhino.GeometryBrepEdge
Edge of face1 to blend from.
domain1
Type: Rhino.GeometryInterval
The part of edge1 to use, in edge1's parameters.
rev1
Type: SystemBoolean
If false, edge1 will be used in its natural direction. If true, edge1 will be used in the reversed direction.
options
Type: Rhino.GeometryBlendSurfaceOptions
Continuity and the other BlendSrf settings.
tolerance
Type: SystemDouble
Fitting tolerance. BlendSrf uses the document's absolute tolerance.

Return Value

Type: Brep
Array of Breps if successful, an empty array if not.
Remarks
When the whole of two closed edges is used, the blend is closed, and the seams and directions are matched the way BlendSrf matches them automatically. rev0 and rev1 are not used in that case.
See Also