Mesher

The model mesher.

Example

app = cf.GetApplication()
project = app:NewProject()

sphere = project.Geometry:AddSphere(cf.Point(0,0,0),1)
project.SolutionConfigurations[1].Frequency.Start = "1e06"

    -- Mesh all geometry in the model

project.Mesher:Mesh()

Usage locations (object properties)

The following objects have properties using the Mesher object:

Property List

Settings
Settings applicable to the creation of the mesh. (Read only MeshSettings)
Type
The object type string. (Read only string)
VoxelSettings
Settings applicable only to the creation of the voxel mesh. (Read only VoxelSettings)

Method List

Mesh ()
Mesh the model. The type of mesh created will depend on the solver settings.
MeshSelective (geometrylist List of Geometry, meshlist List of Mesh)
Mesh the specified geometry and mesh parts only.

Property Details

Settings
Settings applicable to the creation of the mesh.
Type
MeshSettings
Access
Read only
Type
The object type string.
Type
string
Access
Read only
VoxelSettings
Settings applicable only to the creation of the voxel mesh.
Type
VoxelSettings
Access
Read only

Method Details

Mesh ()
Mesh the model. The type of mesh created will depend on the solver settings.
MeshSelective (geometrylist List of Geometry, meshlist List of Mesh)
Mesh the specified geometry and mesh parts only.
Input Parameters
geometrylist(List of Geometry)
The list of geometry that must be meshed.
meshlist(List of Mesh)
The list of model meshes that must be meshed.