*morphvolumeequivalence

Joins morph volumes on a mark together which are within a specified tolerance.

Syntax

*morphvolumeequivalence c_entity_type c_mark_id tol tan nauto

Type

HyperMesh Tcl Modify

Description

This command will join all morph volumes on the mark whose faces are within a set tolerance. Creating tangency between joined morph volumes and automatic registering of nodes inside reshaped morph volumes are optional features.

Inputs

c_entity_type
Must be set to hypercubes.
c_mark_id
The mark ID of the hypercubes. Valid values are 1 and 2.
tol
Maximum distance between morph volumes for joining.
tan
0 – Do not create tangency between edges of joined morph volumes
1 – Create tangency between edges of joined morph volumes
nauto
0 – Do not register new nodes
1 – Register new nodes

Example

To join all morph volumes which are within 10 model units of each other:

*createmark hypercubes 1 "all"
*morphvolumeequivalence hypercubes 1 10.0 1 1

Errors

Incorrect usage of *morphvolumeequivalence results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {*morphvolumeequivalence hypercubes 1 10.0 1 1} ] } {
# Handle error
}

Version History

10.0