Brep.ConvertToMesh Method

Converts this Brep to a Mesh using the specified tolerance.
Public Function ConvertToMesh( _ 
Optional ByVal deviation As Double = 0, _ 
Optional ByVal angle As Double = 0, _ 
Optional ByVal meshNature As natureType = Mesh.natureType.Smooth, _ 
Optional ByVal weldNow As Boolean = true, _ 
Optional ByVal materials As MaterialKeyedCollection = null, _ 
Optional ByVal blockUnits As linearUnitsType = linearUnitsType.Unitless _ 
) As Mesh
This language is not supported or no code example is available.
public Mesh ConvertToMesh( 
double deviation = 0, 
double angle = 0, 
natureType meshNature = Mesh.natureType.Smooth, 
bool weldNow = true, 
MaterialKeyedCollection materials = null, 
linearUnitsType blockUnits = linearUnitsType.Unitless 
)
This language is not supported or no code example is available.

Parameters

deviation
double

The maximum deviation, zero for current tessellation.

angle
double

The maximum angular deflection, ignored when zero.

meshNature
natureType

The desired Mesh nature

weldNow
bool

If true, the resulting meshes are welded immediately.

materials
MaterialKeyedCollection

The materials collection

blockUnits
linearUnitsType

The enclosing block's units

Return Value

Mesh

The resulting Mesh object.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition