Creates a local transform/ axis to move a camera or geo along its local co-ordinates
localAxis
Updated: 1 October 2012
Author: mrhowardjones
Compatible Nuke versions: 6.2 or later
Compatibility: Linux, Mac, Windows
Creates a local transform/ axis to move a camera or geo along its local co-ordinates.
Select the geo then 'local transform', this then links to the camera or geo, and gives you local co-ordinates control.
It can only be used with the selected camera/geo at the time of creation and won't work with specified local-matrices.
Sample menu.py code
1 2 3 4 |
toolbar = nuke.menu("Nodes") m = toolbar.addMenu("3D/artistTools") m.addCommand('localAxis', 'nuke.load("localAxis"), createLocalAxis()') |