kiss (functionality like in autodesk flame and smoke) v3.1
This location is for Registered Users Only.
Perhaps you need to login or register.
12.0, 11.3, 11.2, 11.1, 11.0, 10.5, 10.0, 9.0, 8.0 or later
In Autodesk Flame and Smoke you can use the kiss function to quickly connect nodes. With this script that feature is now accessible inside Nuke as well. After it is installed simply select a node and move it to another node. When both nodes overlap press A on your keyboard and the nodes get connected. You can also press A first and then move one node to another. Works in both directions. Shortcut and connection radius are adjustable. See documentation within the download to get more information.
In daily work, this method has has proven for me to be faster than connecting nodes the traditional way using the input or output pipes as selecting a node is quicker than grabbing the small node input handle thingy. With several hundreds or thousands of nodes per day this makes a lot of time savings.
How to install kiss
Download kiss and copy it into your nuke home directory.
In your init.py add this one line:
Nice one you've got here... it's fun to used but I found something strange as you 're resulting with multiple input for some simple nodes.. which could break the script.
Don't have this problem since I removed it.
Wow, better 6 years later than never, haha. Sorry, I did not see your comment as I did not get any notification about it. I just did a complete rewrite of the tool. Please see if this new version fixes your issue. If not let me know all steps you are taking in order to reproduce your stated behavior. Thanks and cheers, Simon
thanks. What are your steps to reproduce this?
Although there is a shortcutContext kwarg when adding the command in the package's menu.py it should not be necessary to my mind. I just tried it under mac, win and linux and pressing A switched to the alpha channel which should be the expected behavior. Or am I missing something?
1) I activate the kiss function with the shortcut A while moving node1 towards node2.
2) Release once the connection is made.
3) Disconnect node1 because I don't want the link anymore for whatever reason.
4) node1 remains "hot" for one more kiss even though I'm no longer pressing the shortcut to activate it again. This means that if I move it to any nodeN it will create a connection again with it.
This happens only for one last kiss. After that node1 gets back to normal behavior.
Please see if this issue persists when simply pressing your custom shortcut once. The workflow is to simply press it once and not hold it.
but i tried to install it by coping the the folder kiss_3.1.0 into my windows system nuke folder .nuke, and added the (nuke.pluginAdd Path('kiss')) to the init file, but it didnt work for me, is there anything else i need to do?
i noticed there's files in the kiss folder such as menu and CHANGELOG, do i need to edit any of those?
Your described steps sound correct and there is no further adjustment needed.
What do you actually mean with: "but it didnt work for me"? Do you get any errors in your terminal? Or what exactly did not work for you?
I just downloaded the latest version myself under Windows-10, installed it and it works for me (Just tested with nuke-12.0). Here are a few things to further trouble shoot this on your end:
1) Please double check the following if it actually happens on your end: The download is a .zip file and when it comes to extracting the zip file under Windows and depending on your installed zip application, it might tend to create a sub folder with the same name of the zip file. After unzipping, you might end up with something like:
This is a behaviour that only happens under Windows and is a Windows specific strangeness. If that's the case on your end as well make sure that you are stating this folder correctly. When adding the path to Nuke's pluginPath, make sure to direct it up to the folder that contains the actual menu.py, CHANGELOG, etc. After having added it to your init.py launch Nuke, launch a script editor and type in:
And make sure the absolute path to kiss is contained in the resulting list. It should point to the directory that contains the menu.py as stated above.
2) When having added the path to Nuke's pluginPath, you should be able to see a menubar command: Edit -> kiss.
I hope that helps. Let me know if you need more help.
it is annoying pressing A before creating the link, i d like to grag the node over the other node and have them linked....then if i press A i disable the tool..... how ever could i implement this??
i think it is possible,....le t me know|!;)))
however great really great tool
I still can't install the plugin and the explanation assumes that the user knows what is init.py is.
It would be great if I could get some help with this.
This is an older video. Use the name that the folder is called. I recommend also having a look at the following which explains what an init.py and menu.py file are as these are fundamental concepts you should know when using nuke:
Everything should be Nuke-14 (Python-3.9) compatible. In fact I am using kiss in Nuke-14 right now. In case you get any error trying this is Nuke-14 please let me know your used operating system, the steps you are taking and the error message you are getting in your terminal.