SmartShuffle v1.2
This location is for Registered Users Only.
Perhaps you need to login or register.
6.3 or later
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')
Comments
Traceback (most recent call last):
File "
File "/home/jcherem/ .nuke/shuffle_S mart.py", line 4, in shuffleAlpha
import Axis_My
ImportError: No module named Axis_My
I ill re-upload the script
But you easily can fix it by your self
Just open Shuffle_Smart.p y in text editor and delete the line#4 - "import Axis_My"
and everything will work this time
Thank you for notifying me about the BUG
here is the fix of the problem:
import shuffle_Smart
b=nuke.menu('Node Graph')
b.addCommand('shuffle_Smart/shuffleRed','shuffle_Smart.shuffleRed()','r')
b.addCommand('shuffle_Smart/shuffleGreen','shuffle_Smart.shuffleGreen()','g')
b.addCommand('shuffle_Smart/shuffleBlue','shuffle_Smart.shuffleBlue()','b')
b.addCommand('shuffle_Smart/shuffleAlpha','shuffle_Smart.shuffleAlpha()','a')
b.addCommand('shuffle_Smart/shuffleDepth','shuffle_Smart.shuffleDepth()','d')
Any ideas? (nuke 9.v09)
cheers
Yes, I had seen that and added that instead to my menu.py
Still doesn't seem to work.
I realize I needed to ADD the additional lines to the menu.py instead of "replacing" it with it.
Thank you!
i was puzzled a bit what went wrong
Thanks again. . . really handy
have a look on those, they are handy as well
smartmerge
smarttransform
RSS feed for comments to this post