Nuke Flame Connect, python script

Hey,

i finally released my first nuke python script at nukepedia:

Flame Connect lets you connect Nodes on the DAG like in Batch or action within flame.

add those lines into your menu.py in your nuke folder:

import flameConnect

nodeMenu = nuke.menu(‘Nuke’)

nodeMenu.addCommand (‘flameConnect’, ‘flameConnect.testen()’, ‘ +y’)

A demo of the script can be seen here:

http://www.vimeo.com/17002649

How to use:

Press the y key and hover the node you want to connect over the node you want to connect it with. First input is always used first which would be the "b" pipe with a merge node.

Please note that this is my first nuke python script and there might be some bugs which I am not aware of. I only tested it under mac osx with both 32 and 64 bit nuke 6.+ , so you may test it, adjust it, give it to others and use it at your ow risk. Its still BETA

The largest scene I tested the script in had 800 nodes on DAG and it ran smooth….

There are some limitations:

mask inputs cannot be connected with the flame connect.

no hidden pipes will get activated. (like a1,a2, and so on)

scene nodes can only get 4 inputs with flame connect

nodes with more than 2 inputs like the phong node only connect the first and second input.

I hope I can fix those issues in a future release

Thats it for now. I hope you like the script and give some feedback how it worked and if you liked it.

jaden 🙂

ps:

the download link will also be posted here, since they didnt get it online till now.
a special thanks is to alkali for his hep in thenuke scripting section!!! thank you man

No Responses to “Nuke Flame Connect, python script”

Post a Comment