*rotate

Rotates the model based on a user-defined rotation axis.

Syntax

*rotate axis angle rotation angle

Type

HyperMesh Tcl Modify Command

Description

Rotates the model based on a user-defined rotation axis.

Inputs

axis angle
The angle in degrees which defines how far from horizontal the rotation axis is.
rotation angle
The angle in degrees which the model rotates.

Example

To rotate a model about the horizontal screen axis 15 degrees:

*rotate(0.0,15.0)

To rotate a model about the vertical screen axis 15 degrees:

*rotate(90.0,15.0)

The rotation axis is defined by a line which runs horizontally through the center of the screen if the axis angle is zero. As the axis angle increases in magnitude, the axis of rotation rotates about the vector normal to the screen axis angle degrees.

Errors

None.