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

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 main type, dptr1 is the main and dptr2 is the secondary. For the secondary type, dptr2 is the main and dptr1 is the secondary. 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 - Main (edge domains only)
3 - Secondary (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 main tangency constraint named "main" where domain 14 is forced tangent to domain 12:

*createvector 1 1.0 0.0 0.0
*morphconstraintcreateedge "main" 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