*gap_sealing
Creates patches to close the gap between components.
Syntax
*gap_sealing entity_type1 mark_id1 entity_type2 mark_id2 controls db_id
Type
HyperMesh Tcl Modify Command
Description
Creates patches to close the gap between components.
Inputs
- entity_type1
- The type of input entity on the first mark. Valid values are elems and comps.
- mark_id1
- The ID of the mark containing the input entities.
- entity_type2
- The type of input entity on the second mark. Valid values are elems and comps.
- mark_id2
- The ID of the mark containing the input entities.
- controls
- The string defining the command parameters. Valid options are leakMode, leakSize, maxSize, proximity, patchOrganization, maxSnapAnglem, seed, and target.
- database
- The flag defining which database is used as the input.
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} 2To 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} 2To create patches between components ID 1, 2, 3 and components ID 4, 5,
        6:
    *createmark comps 1 1 2 3
*createmark comps 2 4 5 6
set ctrl { "proximity":10.0, "patchOrganization": 0 }
*gap_sealing comps 1 comps 2 ${ctrl} 0Errors
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
2025.1 - Added a second input mark.