SmartShuffle

Another Shuffle for lazy comper

Updated: 21 August 2015

Author: lamakaha

Compatible Nuke versions: 6.3 or later

Compatibility: Linux, Mac, Windows

V1.1 - Fixed alpha creation BUG

V1.2 - added 'd' as a shortcut for the depth

Hi folks, there are many shuffle nodes Gizmos which trying to make our life easier with clicking 4 times every time we want set all channels to red, green, blue or alpha.

What is different in this one? Here all set to shortcuts, so, just

create Shuffle node and then press 'r' - it will set all channels to 'Red'

create Shuffle node and then press 'g' - it will set all channels to 'Green'

create Shuffle node and then press 'b' - it will set all channels to 'Blue'

create Shuffle node and then press 'd' - it will set all channels to 'Depth'

create Shuffle node and then press 'a' - it will set all cha.........

How Nuke know that you actually want to set all channels let say to Blue and not to create 'Blur' node? It just read your mind :)

Actually it will do the trick only if Shuffle node is set to Default values (which is the case when you create the node), if Shuffle node has some changed values all shortcuts will work as in Default Nuke. I found it very intuitive and fast. My Shuffle Node creation is set to 's'. So if i want to create Shuffle with all channels set to 'Red' i just press 's' 'r' - done.

put those lines in your menu.py please 

 

import shuffle_Smart
m=nuke.menu('Nuke')
n=m.addMenu('shuffle')
n.addCommand('Rest/shuffleRed','shuffle_Smart.shuffleRed()','r')
n.addCommand('Rest/shuffleGreen','shuffle_Smart.shuffleGreen()','g')
n.addCommand('Rest/shuffleBlue','shuffle_Smart.shuffleBlue()','b')
n.addCommand('Rest/shuffleAlpha','shuffle_Smart.shuffleAlpha()','a')

n.addCommand('Rest/shuffleDepth','shuffle_Smart.shuffleDepth()','d')

 

 

Sign in or register to download or rate.