*morphrotatetrue

Rotates handles on mark using 'true' rotation.

Syntax

*morphrotatetrue entities markmask plane angle sym con vari

Type

HyperMesh Tcl Modify Command

Description

Rotates handles on mark using 'true' rotation.

Inputs

entities
Handles
markmask
Handle mark number.
plane
Mark number of plane defined by base point and vector of rotation.
angle
Angle of rotation.
sym
Flag to use symmetry:
0 - Do not use symmetry
1 - Symmetry
con
Flag to use constraints:
0 - Do not use constraints
1 - Use constraints
vari
Type of rotation (see comments):
0 - Constant
1 - Linear

Example

*morphrotatetrue (HANDLES,1,1,30.0,1,1,0)

All handles on the mark will be rotated about the axis defined by the plane. This command differs from *morphhandlerotate() by the behavior of the influenced nodes. With this command the nodes are rotated about the axis by an amount proportional to the influence coefficient between the rotated handle and the node.

If vari is 0, all the handles will be rotated by the given angle.

If vari is 1, the handle farthest from the base point of the plane will be rotated by the given angle and the other handles will be rotated by the given angle times the distance of each handle to the base point of the plane divided by the distance of the farthest handle to the base point of the plane. The distances are measured normal to the plane.

If symmetry is used, all handles linked to marked handles by symmetry will also be rotated. If constraints are used, they will be applied to the rotations.

Errors

None.