*geommatchtopology

Fixes gaps between stitched edges and vertices to make the actual geometry of the surfaces consistent with the model topology.

Syntax

*geommatchtopology entity_type mark_id stitch_tol

Type

HyperMesh Tcl Modify Command

Description

This command fixes gaps between stitched edges and vertices to make the actual geometry of the surfaces consistent with the model topology. It checks the topology of the model for gaps that are larger than a given tolerance between shared, non-manifold or suppressed edges. If the gap is found to be bigger than the tolerance, the surface and edge geometries are morphed parametrically and in 3D, if necessary, to make the gap smaller than the tolerance. In addition, non-essential degenerate edges are removed.

This command preserves the original geometric entity ID’s.

Inputs

entity_type
The entity type selected for cleanup. Valid values are:
  • Solids
  • Surfaces
  • Lines (topological)
mark_id
The mark ID containing the entities. Valid values are 1 and 2. If no entities are on the mark, or if no mark value is given, all entities of entity_type in the model are processed.
stitch_tol
The tolerance value for gaps. The gap between edges and vertices are targeted to be smaller than this value after the command is run.
If no tolerance value is given, or a value that is less than or equal to 0.0 is given, the value is taken as the model geometry cleanup tolerance.

Examples

To fix the gap for the edges and vertices of all the surfaces in the model with the model geometry cleanup tolerance:
*geommatchtopology surfs
To fix the gap for the edges and vertices of surfaces 11, 12 and 15 so that the gap is smaller than the model cleanup tolerance:
*createmark surfs 1 11 12 15
*geommatchtopology surfs 1
To fix the gap for the edges and vertices of all the surfaces in the model so that the gap is smaller than 0.001:
*createmark surfs 1 ""
*geommatchtopology surfs 1 0.001

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}

Version History

11.0.101