*fill_fe_gaps_lines

Fills gaps in FE from lines selected on both sides of the gap.

Syntax

*fill_fe_gaps_lines mark_id1 mark_id2 max_width string_array number_of_strings

Type

HyperMesh Tcl Modify Command

Description

Fills gaps in FE from lines selected on both sides of the gap.

Inputs

mark_id1
The mark ID containing the lines at the first boundary. Valid values are 1 and 2.
mark_id2
The mark ID containing the lines at the second boundary. Valid values are 1 and 2.
max_width
Maximum allowed gap width to be filled.
string_array
The string array ID that contains the additional input parameters. The string array is created using the *createstringarray command. This should always be set to 1.
Strings are indicated using the format "name: value". Valid strings are:
AdjacentComp
0 - Fill elements should be created in a new component.
1 - Fill elements should be created in the adjacent component.
2 - Fill elements should be created in the current component.
ByFeature
0 - Features should not be considered.
1 - Features should be considered.
CurvedFill
0 - Gaps are filled without taking into consideration the shape of adjacent elements.
1 - Gaps are filled taking into consideration the shape of adjacent elements, ensuring a smooth fi.
DefineMaxWidth
0 - Ignore max_width for gap filling.
1 - Consider max_width for gap filling.
Remesh
0 - Fill elements should not be remeshed.
1 - Fill elements should be remeshed.
number_of_strings
Integer indicating the size (number of strings) in the string array created using *createstringarray.

Examples

To fill gaps less than 100 between lists 1 and 2, including remeshing:

*createmark lines 1 1 2 3 4 5
*createmark lines 2 6 7 8 9 10
*createstringarray 2 "Remesh: 1" "DefineMaxWidth: 1"
*fill_fe_gaps_lines 1 2 100.0 1 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

2021