transformRotationCurveEulerFilter v3.0


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Michael Karp
Website: michaelkarp,net
Repairs Euler 360° jumps in the Nuke curve editor, common problem when importing cameras in alembic and .fbx etc.
Requirements:
12.0, 11.3, 11.2, 11.1, 11.0, 10.5, 10.0, 9.0, 8.0 or later
09 Aug 2020
166

euler flip script, version 3, SDV


Description:
Fixes 3D Euler rotation flipping for animated cameras and axis nodes in Nuke.

Euler rotation flipping occurs when rotation values exceed 360 degrees in one frame.


Version 3 [2020-07-30] - David Cattermole:
- Add usage docs.
- Convert to a Python function for Nuke GUI.
- Filter the X axis as well.
- Script operates on multiple selected nodes at once.

Version 2 [2020-06-24]:
- filter y- and z-curve of knob 'rotate' in selected node

Version 1 [2020-06-23]:
- filter y-curve of knob 'rotate' in selected node


Installation:
To install this script, copy the file into your Nuke python directory,
for example on Linux, the home directory is here:
/home//.nuke/

Once the script is copied to your Nuke directory, you may add the following
lines to your 'menu.py' file:

# CODE START
import transformRotationCurveEulerFilter
t = nuke.toolBar('Nodes')
toolMenu = t.addMenu('Custom menu name')
toolMenu.addCommand('Transform Rotation Curve Euler Filter', 'transformRotationCurveEulerFilter.main()')
# CODE END

These lines will add a new node button and node entry to the node bar
(left bar in the Nuke UI by default).

Alternatively, if you prefer not to add a new node button, open the Nuke
script editor, type the following and press CTRL + ENTER:

# CODE START
import transformRotationCurveEulerFilter
transformRotationCurveEulerFilter.main()
# CODE END

For more advanced installation, see the Nuke Python documentation:
https://learn.foundry.com/nuke/developers/latest/pythondevguide/installing_plugins.html


Usage:

1) Select Camera or Axis nodes.

2) Run the tool (with the Node menu bar, or manually with the Nuke
script editor - see Installation above)

3) Done.

Please login in order to download these files.

Comments   

 
0 # daniel van der kaaden 2023-01-31 09:20
Perfect, thank you!!
 

You have no rights to post comments

We have 4801 guests and 146 members online