Primary and Pole

Rotates the axes to shift only the primary axis to its nearest cardinal direction.

On this page | |

Since | 18.5 |

Signature

Default Inputs

The point is specified by its index in the geometry.

By Name

The point is specified by name.

File

Specifies the input or operator location of the file containing the skeleton you want to operate on.

Geometry Path

Specifies an operator path pointing to a SOP node.

This parameter is only available when **File** is set to **Operator Path**.

Point Number

Specifies the joint whose child you are interested in for the operation.

Reference Child Index

Specifies the index of the child you want to consider in the computation. A value of -1 will compute the average direction among all the children.

Note

This is the index of the child within the array of the queried point’s children. i.e. 0 is the first child of, 1 is second and so on.

Clamp Method

Determines how the axes are aligned. This parameter is only available when **Clamp to Closest Cardinal Vector** is turned *on*.

Primary and Pole

Rotates the axes to shift only the primary axis to its nearest cardinal direction.

Rotate to Child

Aligns all axes with their nearest cardinal vectors.

`file`

The file containing the skeleton you wish to operate on.

`pt`

The joint whose child you are interested in for the operation.

`refchild`

The index of the child you wish to consider in the computation. Setting this to -1 will compute the average direction among all the children.

`primary`

Points towards the joint’s child.

`secondary`

Perpendicular to both the child and parent directions.

`pole`

The cross product of the secondary and primary axes.

`clampdelta`

A matrix which maps the original axes to their new clamped orientation.

See also |