Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
1.5 kB
1
Indexable
Never

================================================================================================
Step 1 
- Open "animate3dSnap.py" 
- Change the line 116 ("except ValueError, e:")

Replace with (Without quotation marks): 
"except ValueError as e:"



Tip:
If you're doing this in windows, using the notepad, to search and replace: "Ctrl + H" 
search: except ValueError, e
replace: except ValueError as e:
================================================================================================

Step 2 
- Place the updated "animate3dSnap.py" in your .nuke folder

================================================================================================

Step 3
- open init.py (in /.nuke)
- paste the line below

import animatedSnap3D

================================================================================================
Step 4 
- open menu.py (in /.nuke) 
- paste the lines below


# animatedSnap
m = nuke.menu('Axis').findItem('Snap')
m.addSeparator()
m.addCommand('Match position - ANIMATED', 'animatedSnap3D.translateThisNodeToPointsAnimated()')
m.addCommand('Match position, orientation - ANIMATED', 'animatedSnap3D.translateRotateThisNodeToPointsAnimated()')
m.addCommand('Match position, orientation, scale - ANIMATED', 'animatedSnap3D.translateRotateScaleThisNodeToPointsAnimated()')

================================================================================================

Let me know if you're having problems with these steps //Andree Knutsson
Leave a Comment