M_Rhino_Geometry_Brep_CreateFromSurface - mcneel/rhinocommon-api-docs GitHub Wiki
Constructs a Brep from a surface. The resulting Brep has an outer boundary made from four trims. The trims are ordered so that they run along the south, east, north, and then west side of the surface's parameter space.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public static Brep CreateFromSurface(
Surface surface
)
VB
Public Shared Function CreateFromSurface (
surface As Surface
) As Brep
- surface
- Type: Rhino.Geometry.Surface
A surface to convert.
Type: Brep
Resulting brep or null on failure.
Supported in: 6.0.16224.21491, 5D58w