*surface_stitch
Performs stitching of edges within surfaces or/and between surfaces.
Syntax
*surface_stitch mark=<mark_id> ?<option1>=<value1>? ?<option2>=<value2>? ... ?<optionN>=<valueN>?
Type
HyperMesh Tcl Modify Command
Description
This command performs stitching of edges within surfaces or/and between surfaces.
Inputs
- mark=<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:
- allow_stitch_different_surfs=<value>
- Specifies whether to consider stitching edges between different surfaces. Valid values are:
- stitch_only_free_edges=<value>
- Specifies whether to restrict to free edges for stitching. Valid values are:
- allow_small_edge_collapse=<value>
- Specifies whether to allow collapsing small edges when stitching. Valid values are:
- stitch_to=<value>
- Specifies which edges to consider for stitching. Valid values are:
- tolerance_across=<value>
- The stitching tolerance value for edges of different surfaces. The default geometry tolerance is used if this input is not specified.
- tolerance_within=<value>
- The stitching tolerance for edges within a single surface. The default geometry tolerance is used if not specified.
Examples
To stitch edges between all displayed surfaces using a tolerance value of
0.2:
*createmark surfs 1 displayed
*surface_stitch 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
2025