*selfstitchcombine
Performs equivalencing of edges within surfaces or/and between surfaces.
Syntax
*selfstitchcombine mark_id mode tolerance1 tolerance2
Type
HyperMesh Tcl Modify Command
Description
This command performs equivalencing of edges within surfaces or/and between surfaces.
Inputs
- mark_id
- The ID of the mark containing the surfaces to operate on. Valid values are 1 and 2.
- mode
- The mode options for performing the stitching. Bit values are used and the value is
calculated as (Bit0 + 2*Bit1 + 4*Bit2 + 8*Bit3 + 16*Bit4 + 64*StitchOption).
- Bit0
- 0 - Do not consider self-stitching.
- Bit1
- 0 - Do not stitch edges between different surfaces.
- Bit2
- 0 - Consider free edges only.
- Bit3
- 0 - Equivalence between components.
- Bit4
- 0 - Do not collapse small edges.
- StitchOption
- 0 - Honor the value set by Bit3.
- tolerance1
- Equivalencing tolerance for edges of different surfaces.
- tolerance2
- Equivalencing tolerance for edges within one surface.
Example
To equivalence edges between all displayed surfaces using a tolerance of 0.2:
*createmark surfs 1 displayed
*selfstitchcombine 1 2 0.2 0.0
Errors
Incorrect usage results in a Tcl error. To detect
errors, you can use the catch
command:
if { [ catch {command_name...} ] } {
# Handle error
}