*morphconstraintcreateangle

Creates a model type constraint based on the angle between three nodes.

Syntax

*morphconstraintcreateangle stype smark type name n1 n2 n3 vec angle bound color

Type

HyperMesh Tcl Modify Command

Description

Creates a model type constraint based on the angle between three nodes.

Inputs

stype
Must be set to shapes.
smark
The ID of the mark containing the shapes. Valid values are 1 and 2.
type
0 - Measure angle node to node
1 - Measure angle using vector
name
Name of morph constraint
n1
First end of angle
n2
Vertex of angle
n3
Second end of angle
vec
Mark number of vector
angle
Constrained angle
bound
-1 - Greater than specified angle
0 - Equal to specified angle
1 - Less than specified angle
color
The color of the constraint. Valid values are 1 through 64.

Example


*morphconstraintcreateangle (SHAPES,1,0,"angle",21,22,23,1,45.0,0,32)

This command creates a model type constraint for the three selected nodes with the option of having those nodes measured in the plane that they lie in or perpendicular to a vector and the option of having the angle forced to be greater than, less than, or equal to the specified angle.

The shapes on the mark will be used to force the model into compliance with the specified constraint, if possible.

Errors

None.