hm_getgeomwithlargestitch

Returns the list of all surfaces, lines and points for which the topological stitch distance exceeds the input tolerance.

Syntax

hm_getgeomwithlargestitch ?tolerance?

Type

HyperMesh Tcl Query Command

Description

The stitch distance between edges, and between vertices are measured and the ones with ‘large gaps’ are identified. The term ‘large gap’ refers to those stitches where the distance is larger than the input tolerance. Returned values, in order, are:
  • The largest stitch distance among the edges that are identified as ‘large gap’. If no large gap found, 0.0 is returned.
  • The largest stitch distance among the vertices that are identified as ‘large gap’. If no large gap found, 0.0 is returned.
  • The average stitch distance among the edges that are identified as ‘large gap’. If no large gap found, 0.0 is returned.
  • The average stitch distance among the vertices that are identified as ‘large gap’. If no large gap found, 0.0 is returned.
  • The list of all surfaces which has large stitch gaps with neighbor surfaces.
  • The list of all lines with large stitch gaps.
  • The list of all vertices with large stitch gaps.

Inputs

tolerance
The distance between stitched edges or vertices are compared against this tolerance. If it is not given, or is less than or equal to 0.0, then the geometry cleanup tolerance is used.

Examples

To get all surfaces, lines and vertices for which the stitch distance is larger than 0.5:

hm_getgeomwithlargestitch 0.5

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

2019