animatedSnap3D | v1.1 |
Ivan Busquets
6.3 or later
Updated on: 07/04/2012
Downloads: 147
animatedSnap3D
As the name suggests, this adds "animated" options to the snap_menu in 3d nodes since Nuke 6.1.

The 3 new options work exactly the same way as their original counterparts, but extends their use to animated geometry.


Installation:
To install, simply extract the downloaded .zip file in your .nuke directory, or anywhere else inside your NUKE_PATH.
Please note that you need to copy the whole animatedSnap3D directory, not just the files inside it.
Then add the following line to the relevant menu.py
import animatedSnap3D
And that's it.
Note: Currently, animatedSnap3D uses a "hack" (executing a temporary CurveTool) to force all the script to be evaluated for each frame. This may make it run slower on heavy scripts, but it's a necessary workaround for now.
UPDATE (v 1.1) :
The name of the snap3d functions changed from Nuke 6.2 to 6.3, making version 1.0 of animatedSnap3D not work in Nuke 6.3.
This has been adressed in this version (1.1). The menu entries have also been changed to match the new names in 6.3.
Michael Millspaugh
said:
|
... When I run your script, I get an error 'module' object has no attribute 'snapToPoints'. Maybe this is easy to solve? |
Ivan Busquets
said:
|
... Hi Michael, Thanks, it looks like The Foundry changed the name of some of the snap functions in 6.3 I will make some changes, rename the menu entries so they match the new ones in 6.3 and re-upload soon. In the meantime, you can type & execute this in the script editor to get it working again: nukescripts.snap3d.snapToPoints = nukescripts.snap3d.translateRotateScaleToPoints nukescripts.snap3d.scaleToPoints = nukescripts.snap3d.translateRotateToPoints Cheers, Ivan |
Michael Millspaugh
said:
|
... Awesome!! Thanks so much. I'm just getting started in Nuke, and banging my head against the wall a bunch. Is this still the only way to attach another object in nuke to an animated vertex from geometry? I spent some time trying to use the pythonGeo node, with some python scripting and an expression, but couldn't make it work (and of course, being a novice, couldn't troubleshoot it). |
John Thompson
said:
|
... I`m using Nuke6.1v3 I`ve4 loaded the py file in the.nuke folder and added the import statement in the menu.py file but I do not get any snap to animated Can you offer any suggestions John Thopmpson |
Ivan Busquets
said:
|
... John, I'm sorry I missed your comment. Just saw it now when I was uploading an updated version. Make sure you copy the whole animatedSnap3D directory into your .nuke/ directory, not just the files inside. So, you should see a structure like this: ~/.nuke/animatedSnap3D/animatedSnap3D.py Hope that helps. Cheers, Ivan P.S. If you're using 6.3, make sure you download the latest version (1.1). I just uploaded it, it might take a little while until it shows up. |
