*morphconstraintcreateedge

Creates a tangency constraint between two edge or 2D domains or for a single edge domain.

Syntax

*morphconstraintcreateedge name dptr1 dptr2 end type vec color

Type

HyperMesh Tcl Modify

Description

This command creates a tangency type constraint either between two edge domains or 2D domains or at the end of one edge domain. For the master type, dptr1 is the master and dptr2 is the slave. For the slave type, dptr2 is the master and dptr1 is the slave. For the attached type, dptr1 follows dptr2.

Inputs

name
The name of morph constraint.
dptr1
The ID of the edge or 2D domain.
dptr2
The ID of the edge or 2D domain.
end
The ID of node at fixed end (for fixed type).
type
1 - Fixed (edge domains only)
2 - Master (edge domains only)
3 - Slave (edge domains only)
4 - Continuous
5 - Attached (edge domains only)
vec
The ID of the vector created using *createvector. Must be set to 1.
color
The color of the constraint. Valid values are 1 through 64.

Example

To create a continuous tangency constraint named "tang" between domains 12 and 14:

*createvector 1 1.0 0.0 0.0
*morphconstraintcreateedge "tang" 12 14 1 4 1 44

To create a master tangency constraint named "master" where domain 14 is forced tangent to domain 12:

*createvector 1 1.0 0.0 0.0
*morphconstraintcreateedge "master" 12 14 1 2 1 44

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

9.0