Package org.jcae.mesh

Here is the list of Java environement variables used in the mesher.

See:
          Description

Class Summary
ExtractShell  
ExtractShell.FormatI10  
FuseGroups Reads a 3D mesh, performs computations and stores it back.
JCAEFormatter  
Mesher Main class to mesh a surface.
Mesher3D Reads a 3D mesh, performs computations and stores it back.
MeshOEMMDecimate Decimates all cells of an OEMM.
MeshOEMMIndex This class converts a triangle soup into an OEMM.
MeshOEMMPopulate This class fills an OEMM structure with a new triangle soup.
MeshValid2D This class MeshValid allows to load a file, construct the mesh structure and read mesh hypothesis.
MeshValid3D This class illustrates how to perform quality checks.
MeshValidSoup This class illustrates how to perform quality checks.
MeshValidSoup.ComputeTriangleQuality  
 

Package org.jcae.mesh Description

Here is the list of Java environement variables used in the mesher.

Input parameters

org.jcae.mesh.Mesher.mesh1d
If set to true, edge discretization is computed, otherwise it is retrieved from existing files.
Default: true
org.jcae.mesh.Mesher.mesh2d
If set to true, surface discretization is computed, otherwise it is retrieved from existing files.
Default: true
org.jcae.mesh.Mesher.mesh3d
If set to true, assembling of 2D meshes into a final 3D mesh is computed, otherwise it is retrieved from existing files.
Default: true
org.jcae.mesh.Mesher.meshFace
If set to a non-null value, only the face with this index number is meshed. This is useful for debugging purposes.
Default: 0
org.jcae.mesh.Mesher.tolerance
If set to a positive value, boundary nodes which are closer than this value are fused. Warning: This setting is currently disabled.
Default: -1
org.jcae.mesh.Mesher.isotropic
If set to true, 2D meshes are isotropic, otherwise they are anisotropic.
Default: true
org.jcae.mesh.amibe.ds.Mesh.epsilon
Edges smaller than this value are not taken into account. If it is set to zero, all edges are considered even if they are small. If it is set to a negative value, epsilon is computed for each CAD face by taking the maximum between len/100.0 and diag/1000.0, where len is the length criterion and diag the bounding box diagonal length. If epsilon is set to a positive value, this value is used when eliminating small edges.
Default: 0.0
org.jcae.mesh.amibe.ds.Mesh.cumulativeEpsilon
If set to true, edge lengths are cumulated when removing small edges. Thus many small edges can be combined into a meshed edge.
Default: false

Output files

org.jcae.mesh.Mesher.reportFile
If set, this variable contains a file name and a report about mesh parameters will be written into this file. No report is written by default.
org.jcae.mesh.tmpDir.delete
Delete the directory which contains the mesh at the end. Note: UNV file is never deleted.
Default: false
org.jcae.mesh.tmpDir.auto
Ignore the specified tmp dir and create one with File.createTemp
Default: false
org.jcae.mesh.exportMESH
Export 3d mesh in the MESH format.
Default: false
org.jcae.mesh.exportUNV
Export 3d mesh in the UNV format.
Default: false
org.jcae.mesh.exportSTL
Export 3d mesh in the STL format.
Default: false
org.jcae.mesh.exportPOLY
Export 3d mesh in the POLY format.
Default: false
org.jcae.mesh.unv.name
Force the name of the UNV file
Default: <brep base name>.unv
org.jcae.mesh.unv.nogz
If true, UNV file is not gzipped.
Default: false
org.jcae.mesh.Mesher.writeNormals
If set to true, surface normals are written into output files. This can drastically increase output file size, so use with caution.
Default: false

CAD

org.jcae.mesh.cad
This variable can select an alternate CAD engine. As of now, the only supported CAD engine is OCC.
Default: org.jcae.mesh.cad.occ.OCCShapeBuilder
org.jcae.mesh.Mesher.explodeBrep
If set to true, faces are written onto disk, each face into a single BRep file.
Default: false

Visualisation

javax.media.j3d.zFactorAbs
Set polygonOffset for java3d visualisation. See javax.media.j3d.PolygonAttributes javadoc.
Default: 20.0f
javax.media.j3d.zFactorRel
Set polygonOffsetFactor for java3d visualisation. See javax.media.j3d.PolygonAttributes javadoc.
Default: 2.0f

The JVM -ea flag can be used to enable or disable runtime assertions. See Java Runtime documentation.