BrepCreateFromMesh Method |
Create a brep representation of a mesh
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Syntaxpublic static Brep CreateFromMesh(
Mesh mesh,
bool trimmedTriangles
)
Public Shared Function CreateFromMesh (
mesh As Mesh,
trimmedTriangles As Boolean
) As Brep
Parameters
- mesh
- Type: Rhino.GeometryMesh
[Missing <param name="mesh"/> documentation for "M:Rhino.Geometry.Brep.CreateFromMesh(Rhino.Geometry.Mesh,System.Boolean)"]
- trimmedTriangles
- Type: SystemBoolean
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 <returns> documentation for "M:Rhino.Geometry.Brep.CreateFromMesh(Rhino.Geometry.Mesh,System.Boolean)"]
Version InformationRhino for Mac
Supported in: 5.4
Rhino for Windows
Supported in: 6.8
See Also