*morphconstraintcreatearcrad

Creates a model type constraint based on the radius or arc length of an edge domain.

Syntax

*morphconstraintcreatearcrad stype smark atype amark type name plane dptr radius bound arc color

Type

HyperMesh Tcl Modify

Description

Creates a model type constraint based on the radius or arc length of an edge domain.

Inputs

stype
Must be set to shapes.
smark
The ID of the mark containing the shapes. Valid values are 1 and 2.
atype
NODES or LINES
amark
Mark number of node or line used for radius measurement
type
0 - Measure radius or arc angle using domain
1 - Measure radius or arc angle using axis
2 - Measure radius or arc angle using line
3 - Measure radius or arc angle using node
name
Name of morph constraint
plane
Mark number of plane for axis
dptr
ID of edge domain
radius
Constrained radius or arc angle
bound
-1 - Greater than specified angle
0 - Equal to specified angle
1 - Less than specified angle
arc
0 - Radius
1 - Arc angle
color
The color of the constraint. Valid values are 1 through 64.

Example


*morphconstraintcreatearcrad (SHAPES,1,NODES,1,0,"radius",1,21,5.0,0,0,32)

This command creates a model type constraint for the selected domain with the option of having the radius or arc angle measured in the plane of the domain, about an axis, about a line or about a node, and the option of having the radius or arc angle forced to be greater than, less than, or equal to the specified value.

If arc is 0, the radius will be constrained. If arc is 1 the arc angle will be constrained.

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

Errors

None.