*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.
1 - Consider self-stitching (same surface edges).
Bit1
0 - Do not stitch edges between different surfaces.
1 - Stitch edges between different surfaces.
Bit2
0 - Consider free edges only.
1 - Consider all edges.
Bit3
0 - Equivalence between components.
1 - Do not equivalence between components.
Bit4
0 - Do not collapse small edges.
1 - Collapse small edges.
StitchOption
0 - Honor the value set by Bit3.
1 - Do not equivalence between components (same as Bit3=1). Bit3 is ignored.
2 - Equivalence between components (same as Bit3=0). Bit3 is ignored.
3 - Equivalence between selected surfaces and surfaces connected to selection. Bit3 is ignored.
4 - Equivalence only within the subset of selected surfaces. Bit3 is ignored.
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:

*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
}