Untitled

 avatar
unknown
plain_text
a year ago
781 B
4
Indexable
Step 1 
- open "animate3dSnap.py" and change the line 116


Replace: "except ValueError, e:"

correct: "except ValueError as e:"


(Without quotation marks)

If you're doing this in windows the notepad, "Ctrl + H" to search and replace. 


Step 2 
- Place "animate3dSnap.py" to your .nuke folder


Step 3 
- copy the code below to your menu.py


# 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()')
Editor is loading...
Leave a Comment