Description:

Builds a surface from an auto-sorted network of curves/edges.

Syntax:
public static NurbsSurface CreateNetworkSurface(
IEnumerable<Curve> curves,
int continuity,
double edgeTolerance,
double interiorTolerance,
double angleTolerance,
out int error
)
Parameters:
  • curves
  • Type: IEnumerable<Curve>
  • An array, a list or any enumerable set of curves/edges, sorted automatically into U and V curves.
  • continuity
  • Type: int
  • continuity along edges, 0 = loose, 1 = position, 2 = tan, 3 = curvature.
  • edgeTolerance
  • Type: double
  • tolerance to use along network surface edge.
  • interiorTolerance
  • Type: double
  • tolerance to use for the interior curves.
  • angleTolerance
  • Type: double
  • angle tolerance to use.
  • error
  • Type: int
  • If the NurbsSurface could not be created, the error value describes where the failure occurred. 0 = success, 1 = curve sorter failed, 2 = network initializing failed, 3 = failed to build surface, 4 = network surface is not valid.
Returns:
A NurbsSurface or None on failure.
Available since:
5.0

Description:

Builds a surface from an ordered network of curves/edges.

Syntax:
public static NurbsSurface CreateNetworkSurface(
IEnumerable<Curve> uCurves,
int uContinuityStart,
int uContinuityEnd,
IEnumerable<Curve> vCurves,
int vContinuityStart,
int vContinuityEnd,
double edgeTolerance,
double interiorTolerance,
double angleTolerance,
out int error
)
Parameters:
  • uCurves
  • Type: IEnumerable<Curve>
  • An array, a list or any enumerable set of U curves.
  • uContinuityStart
  • Type: int
  • continuity at first U segment, 0 = loose, 1 = position, 2 = tan, 3 = curvature.
  • uContinuityEnd
  • Type: int
  • continuity at last U segment, 0 = loose, 1 = position, 2 = tan, 3 = curvature.
  • vCurves
  • Type: IEnumerable<Curve>
  • An array, a list or any enumerable set of V curves.
  • vContinuityStart
  • Type: int
  • continuity at first V segment, 0 = loose, 1 = position, 2 = tan, 3 = curvature.
  • vContinuityEnd
  • Type: int
  • continuity at last V segment, 0 = loose, 1 = position, 2 = tan, 3 = curvature.
  • edgeTolerance
  • Type: double
  • tolerance to use along network surface edge.
  • interiorTolerance
  • Type: double
  • tolerance to use for the interior curves.
  • angleTolerance
  • Type: double
  • angle tolerance to use.
  • error
  • Type: int
  • If the NurbsSurface could not be created, the error value describes where the failure occurred. 0 = success, 1 = curve sorter failed, 2 = network initializing failed, 3 = failed to build surface, 4 = network surface is not valid.
Returns:
A NurbsSurface or None on failure.
Available since:
5.0

/
/
/
CreateNetworkSurface

CreateNetworkSurface method

Class:  Rhino.Geometry.NurbsSurface

Nothing found