kiss (functionality like in autodesk flame and smoke) v3.1


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Simon Jokuschies
Kiss functionality like in autodesk flame and smoke to quickly connect nodes.
Requirements:
12.0, 11.3, 11.2, 11.1, 11.0, 10.5, 10.0, 9.0, 8.0 or later
03 Aug 2020
312

watch the video Tool Video

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:
nuke.pluginAddPath('kiss')

 

 

connecting

02

02

 

 

Please login in order to download these files.

Comments   

 
# romain Bouvard 2014-04-12 09:38
hey Simon,

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.

Cheers
Romain
 
 
+2 # Simon Jokuschies 2020-07-25 23:10
Hi Romain,
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
 
 
# Yunsik Noh 2020-07-26 00:28
Thank you for this new version, Simon.
 
 
# Frank Rueter 2020-08-03 00:26
great tool! the default hotkey overwrites the default "a" hotkey in the viewer though which may cause confusion.
 
 
+1 # Simon Jokuschies 2020-08-03 19:36
Hi Frank,
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?
 
 
# Octavio Mancilla 2020-08-05 02:47
Amazing tool, thanks for sharing! I have a strange thing happening here (10.5v6):
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.

Thanks again!
 
 
# Simon Jokuschies 2020-08-10 21:10
Hi Octavia,
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.
 
 
# Octavio Mancilla 2020-08-24 15:14
That's what I'm doing, pressing only once the shortcut without holding it.
 
 
# Sal Sol 2020-08-22 09:22
hi, wow looks very cool!
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?
thanks!
 
 
# Simon Jokuschies 2020-08-22 21:15
Hi Sal Sol,
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:

C:/Users/your.username/Downloads/kiss_3.1.0/kiss_3.1.0

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:

nuke.pluginPath()

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.

Cheers, Simon
 

You have no rights to post comments

We have 2636 guests and 109 members online