*geom_repair

Performs various repair operations on selected surfaces.

Syntax

*geom_repair surf_mark=<mark_id> method=<value> ?width=<value>? ?optimize_geom=<value>?

Type

HyperMesh Tcl Modify Command

Description

Performs various repair operations on selected surfaces.

Inputs

surf_mark=<mark_id>
The ID of the mark containing the input surfaces. Valid values are 1 and 2.
method=<value>
The geometry repair method. Valid values are:
sew_gaps – The gaps between input surfaces that are narrower than the value given in width are stitched.
width=<value>
The maximum width of the gap that will be stitched. If no valid value is given, the model geometry cleanup tolerance is used as default value.
optimize_geom=<value>
Enable geometry optimization after the basic repair operation to match the new topology.
0 – Optimization disabled
1 – Optimization enabled (default)

Example

To stitch the gaps smaller than 0.2 between surfaces ID 51, 53 and 58 and optimize the geometry afterwards:

*createmark surfaces 1 51 53 58
*geom_repair surf_mark=1 method=sew_gaps width=0.2 optimize_geom=1

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

2022.1