*morphhandlerotate

Rotates handles on mark.

Syntax

*morphhandlerotate entities markmask plane angle sym con vari

Type

HyperMesh Tcl Modify

Description

Rotates handles on mark.

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
0 - Do not use symmetry
1 - Use symmetry
con
0 - Do not use constraints
1 - Use constraints
vari
Type of rotation (see comments):
0 - Constant
1 - Linear

Example

*morphhandlerotate(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 *morphrotatetrue() by the behavior of the influenced nodes. With this command the nodes follow the handles linearly.

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.