SharedToolSets v1.7
This location is for Registered Users Only.
Perhaps you need to login or register.
13.1, 13.0, 12.2, 12.1, 12.0, 11.3, 11.2, 11.1, 11 or later
Linux, Mac, Windows
This tool based on Nuke's ToolSets, but the only difference, it works across your shared folder. Everybody can create a some useful block of script and share it with co-workers. No need to copy folders and scripts to somewhere, you can do it completely in Nuke.
An addition you can edit, rename and move your toolsets from the panel.
1. Setup a shared folder accessable for everybody in your network. Shared folder must be called SharedToolSets.
2. Copy files and folders in your nuke pluging's folder
3. Add information from add_me_to_menu.py to your menu.py and add_me_to_init.py to your init.py
4. Have fun!
Also available on: https://github.com/greenvfx/shared_toolsets
v1.2 - Minor bug fixes
v1.3 - Added tooltip in a menu. A crossplatform way to define a root folder. Added undistractive filefiltering.
v1.4 - Opps... into menu.py added this line of code: toolbar = nuke.menu('Nodes')
v1.5 - Support of Nuke 11 and backward compatibility of previous versions.
v1.6 - Fixed a bug that caused Nuke crashing when loading of 'big' toolsets.
UPDATE:
v1.7 - added a support of nuke13.x, python 3
If you have found this tool helpful, please consider supporting me with a donation.
This will help me maintain current tools and develop new ones. Thanks for your support!
Comments
Here are some mods that for me would be the glint in the robot wink.
1) add text in 'create window' that informs user that a forward slash creates a folder i.e. add folder: /newfolder/myNewNode
2) have user control (add root id to .nk?) so only the owner can edit, but anyone can version up
3) integrate it to replace the existing toolset. i.e. menu.py & add feature to create local [user] and use the default nukescript.tool set object.
will github fork if i find time with these changes.
Again thanks ++++
Nice ideas actually. Then I find spare time I will add new features.
1. Definitely. I will add information about it.
2. Interesting idea, I need to think about it. It would be nice if you would give me some examples, because in my practice I haven't encountered situations then I would need to lock some toolsets.
3. I believe that it is possible and it could be a some extra feature.
So, you can download a new version or just add this line to menu.py, before sharedToolSets:
toolbar = nuke.menu("Node s")
here are 2 things i think will improve the tool:
1,i totally agree with kaniewski about having user control. and only certain people have access to updating the tools.
2,a option of copying over and relink the plates/assets will be nice since the plates/assets wont sit where they are forever.
realy nice tool man!!
Actually I've recently continued working to this tools and I am working on assets and user controls. But because of lack of time it goes not so fast.
import os
if nuke.GUI && os.path.ismount ("/Volumes/EDri ve") == True:
It's not working and I'm sure I am missing something obvious, if anyone had any suggestions would be great, thanks again for developing the tool Vitaly
I not have a Mac, so it hard for me to check how "os.path.ismoun t()" works.
But I believe this one should works:
import os
if nuke.GUI and os.path.isdir("/Volumes/EDrive/nukeplugins"):
"nukeplugins" is some constantly existing folder on a external drive.
I will try this on Monday and thank you for your reply, appreciate it, I probably need to go learn python properly instead of copying and pasting bits together!
https://www.codecademy.com/learn/learn-python
I think it a good pIace to start and get basic concepts.
Good luck!
Would the changes to Nuke 11 using the VFX Platform have affected this by any chance?
I have followed the instructions for installation instructions and Nuke launches fine. However, when trying to load a toolset I get the following error: "name 'shared_toolset s' is not defined". Any thoughts what could be causing this?
Have you adjusted sharedToolSetsP aths in meny.py?
User menu.py imports a studiomenu.py from a shared location (this allows us to not have to edit each users menu.py to deploy changes)
studiomenu.py has the SharedToolKit code snippet in it.
User init.py imports a studioinit.py from shared location
studioinit.py has the SharedToolkit code snippet in it
studioinit.py was modified to have explicit paths to the scripts and icons folder (we are a single OS environment and don't need path mapping). ex:
nuke.pluginAddPath("P:/VFX/nuke/scripts")
nuke.pluginAddPath("P:/VFX/nuke/icons")
SharedToolSets.py is also in a shared location ("P:/VFX/nuke/scripts")
When launching Nuke, it seems as though shared_toolsets is not loaded from our studiomenu.py.
If the local menu.py has 'import shared_toolsets ' then it loads fine. If I manually enter import shared_toolsets into the console then the plugin works fine. It just doesn't seem to want to load when read from studiomenu.py
haha, sorry I know I'm not installing the plugin exactly as described so not your fault it's not working!
1. Try to check is that module is loaded or not:
import sys
print sys.modules.keys()
2.Have you renamed shared_toolsets .py to SharedToolSets. py?
3. Well I never used an approach that you do, Usually I use environment variables for a centalised nuke library. Maybe you should try to do same.
shared_toolsets.py has not been renamed
I'll look into using the environment variable approach - which The Foundry recommends. I inherited this setup, so working with what I got :) thanks for the suggestions!
Could you provide more details? I've never had this issue before.
Yeah, it should work fine. I have updated the list of supported versions.
Thank you for your quick response!
However, it stopped working in Nuke 13 :/ Is there a chance for an update?
Sure, I am gonna update it soon!
I hope I will have time this week :)
Thank you for the comment it inspires to support the tool :)
My respect :)
data = fileFilter(full FileName, FILE_FILTER)
File "E:/nukeplugins erver/Universal plug-in/NUKEPlu ginManager/Shar edToolSets\shar ed_toolsets.py" , line 264, in fileFilter
content = f.readlines()
UnicodeDecodeError: 'gbk' codec can't decode byte 0x9c in position 1486: illegal multibyte sequence
I wonder, do you use this NukePluginManag er
http://www.nukepedia.com/python/ui/nukepluginmanager ?
hey han!
May I ask you to provide me with some details? What version of Nuke do you use? How have you installed it?
RSS feed for comments to this post