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)
Syntaxpublic static Brep[] CreateBlendSurface(
BrepFace face0,
BrepEdge edge0,
Interval domain0,
bool rev0,
BrepFace face1,
BrepEdge edge1,
Interval domain1,
bool rev1,
BlendSurfaceOptions options,
double tolerance
)
Public Shared Function CreateBlendSurface (
face0 As BrepFace,
edge0 As BrepEdge,
domain0 As Interval,
rev0 As Boolean,
face1 As BrepFace,
edge1 As BrepEdge,
domain1 As Interval,
rev1 As Boolean,
options As BlendSurfaceOptions,
tolerance As Double
) As Brep()
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:
BrepArray 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