*selfstitchcombine2

Performs equivalencing of edges within surfaces or/and between surfaces.

Syntax

*selfstitchcombine2 mark=<mark_id> ?<option1>=<value1>? ?<option2>=<value2>? ... ?<optionN>=<valueN>?

Type

HyperMesh Tcl Modify Command

Description

Performs equivalencing of edges within surfaces or/and between surfaces.

Inputs

mark_id
The ID of the mark containing the surfaces. Valid values are 1 and 2.
allow_self_stitch=<value>
Specifies whether to consider stitching edges of the same surface. Valid values are:
0 – Do not consider self-stitching. 1 – Consider self-stitching (same surface edges). (default)
allow_stitch_different_surfs=<value>
Specifies whether to consider stitching edges between different surfaces. Valid values are:
0 – Do not stitch edges between different surfaces.
1 – Stitch edges between different surfaces. (default)
stitch_only_free_edges=<value>
Specifies whether to restrict to free edges for stitching. Valid values are:
0 – Consider all edges.
1 – Consider free edges only. (default)
allow_small_edge_collapse=<value>
Specifies whether to allow collapsing small edges when stitching. Valid values are:
0 – Do not collapse small edges. (default)
1 – Collapse small edges.
equivalence_to=<value>
Specifies which edges to consider for stitching. Valid values are:
across_comp – Allow equivalence between components. (default)
within_comp_only – Do not equivalence between components.
to_connected_surfs - Equivalence between selected surfaces and surfaces connected to selection.
within_selection – Equivalence only within the subset of selected surfaces.
tolerance_across=<value>
The equivalencing tolerance value for edges of different surfaces. The default geometry tolerance is used if this input is not specified.
tolerance_within=<value>
The equivalencing tolerance for edges within a single surface. The default geometry tolerance is used if this input is not specified.

Example

To equivalence edges between all displayed surfaces using a tolerance value of 0.2:

*createmark surfs 1 displayed
*selfstitchcombine2 mark=1 tolerance_across=0.2 tolerance_within=0.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

2022