Creates a surface from a network of crossing curves. Note: All curves in one direction have to cross all curves in the other direction and cannot cross each other.
Rhino.AddNetworkSrf (arrCurves [, intContinuity [, dblEdgeTolerance [, dblInteriorTolerance [, dblAngleTolerance]]]])
arrCurves |
Required. Array. The identifiers of the curve object from which to create the surface. Note, the curves will be automatically sorted and ordered into U and V direction curves. |
||||||||||
intContinuity |
Optional. Number. The continuity, which determines how the edges match the input geometry. The possible values are:
|
||||||||||
dblEdgeTolerance |
Optional. Number. Sets the tolerance for the edge curves. The edges of the surface will be within this value from the edge curves. The default is 0.0. |
||||||||||
dblInteriorTolerance |
Optional. Number. Sets the tolerance for the interior curves. The interior of the curve's surface will be within this value. If the curves themselves are farther apart from each other than the tolerance values, the best guess is made at the surface. The default is 0.0. |
||||||||||
dblAngleTolerance |
Optional. Number. If the edge curves are surface edges, and you want the surface matching the adjacent surfaces with tangency or curvature continuity, this is the accuracy used to match the surface normals. The default is 0.0. |
String |
The identifier of the new object if successful. |
Null |
If not successful, or on error. |
Dim arrCurves
arrCurves = Rhino.GetObjects("Select curves in network", 4, True, True)
If IsArray(arrCurves) Then
Rhino.AddNetworkSrf arrCurves
End If