M_Rhino_Geometry_Brep_CreateFromSurface - mcneel/rhinocommon-api-docs GitHub Wiki

Brep.CreateFromSurface Method

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

Syntax

C#

public static Brep CreateFromSurface(
	Surface surface
)

VB

Public Shared Function CreateFromSurface ( 
	surface As Surface
) As Brep

Parameters

 

surface
Type: Rhino.Geometry.Surface
A surface to convert.

Return Value

Type: Brep
Resulting brep or null on failure.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Brep Class
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️