*gap_sealing

Creates patches to close the gap between components.

Syntax

*gap_sealing entity_type mark_id $ctrl db_id

Type

HyperMesh Tcl Modify Command

Description

Creates patches to close the gap between components.

Inputs

entity_type
The type of input entity. Valid values are elems and comps.
mark_id
The ID of the mark containing the input entities.
controls
The string defining the command parameters.
database
The flag defining which database is used as the input.
0 – HyperMesh database
2 – Display representation

Examples

To create patches such that the selected input does not leak with leak size equal to 5.0 and the seed being a point indicating the “inside” of the input:
*createmark comps 1 displayed
set ctrl {"leakSize":5.0, "maxsize":0.0, "seed": 4000.0 0.0 1500.0, "target": ()}
*gap_sealing comps 1 ${ctrl} 2
To create patches to close the gap between components within distance of 10.0:
*createmark comps 1 displayed
set ctrl {"proximity":10.0}
*gap_sealing comps 1 ${ctrl} 2

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

2025