Navigation: Scripting Reference Manual > Functions & Subroutines > RotateIthAxis

 

RotateIthAxis

 

Contact Us: fredsupport@photonengr.com

 

Description

Replaces the i'th Location/Orientation operation with a RotateAxis in the specified coordinate system.  Currently there is no script command equivalent to the "Rotate about an arbitrary axis" as found in the GUI. This operation is accomplished by using a RotateAxis followed by a Shift.

 

Syntax

RotateIthAxis n, indx, coord, x, y, z, angle

 

Parameters

n As Long

Node number of the entity.

 

indx As Long

Zero-based index of the Location/Orientation operation to be modified.

 

coord As Long

Node number of the coordinate system under which this operation is applied.

 

x As Double

X-component of direction vector.

 

y As Double

Y-component of direction vector.

 

z As Double

Z-component of direction vector.

 

angle As Double

Angle of rotation in degrees.

 

 

See Also

RotateX

RotateIthX

RotateY

RotateIthY

RotateZ

RotateIthZ

RotateXYZ

RotateIthXYZ

RotateZYX

RotateIthZYX

RotateAxis

RotateToDirection

RotateIthToDirection

TransformPosition

TransformDirection

Examples

Linear Transformations

 

 

 

 

 

Copyright © Photon Engineering, LLC