M_Rhino_Geometry_Brep_CreateFromMesh - mcneel/rhinocommon-api-docs GitHub Wiki

Brep.CreateFromMesh Method

Create a brep representation of a mesh

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public static Brep CreateFromMesh(
	Mesh mesh,
	bool trimmedTriangles
)

VB

Public Shared Function CreateFromMesh ( 
	mesh As Mesh,
	trimmedTriangles As Boolean
) As Brep

Parameters

 

mesh
Type: Rhino.Geometry.Mesh
[Missing documentation for "M:Rhino.Geometry.Brep.CreateFromMesh(Rhino.Geometry.Mesh,System.Boolean)"]
trimmedTriangles
Type: System.Boolean
if true, triangles in the mesh will be represented by trimmed planes in the brep. If false, triangles in the mesh will be represented by untrimmed singular bilinear NURBS surfaces in the brep.

Return Value

Type: Brep
[Missing documentation for "M:Rhino.Geometry.Brep.CreateFromMesh(Rhino.Geometry.Mesh,System.Boolean)"]

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Brep Class
Rhino.Geometry Namespace

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