nukescripts.snap3d.translatePivotToPoints

nukescripts.snap3d.translatePivotToPoints(nodeToSnap)[source]

Translate the specified node’s Pivot Point to the average position of the current vertex selection in the active viewer. The nodeToSnap must contain ‘translate’, ‘rotate’ and ‘pivot_translate’ knobs, the transform order must be ‘SRT’ and the rotation order must be ‘ZXY’.

Parameters

nodeToSnap (nuke.Node) – Node to translate its Pivot Point