NukeShared v2.6


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Max van Leeuwen
Automatically load and install all kinds of plugins/scripts, simply by placing them in the right folder.
Requirements:
13.1, 12.2, 12.1, 12.0, 11.3, 11.2, 11.1, 11.0, 10 or later
Linux, Mac, Windows
28 Mar 2021
2791

NukeShared is an easy-to-use plugin manager for Nuke, which makes writing code to install plugins, gizmos, scripts, and any other kind of add-on obsolete.
Simply place the files to install in the right folder, and NukeShared will install them correctly in Nuke with icons, subgroups and much more.

Multiple NukeShared repositories can run simultaneously, they work on render farms, and they can be loaded from servers.

 

 

The Repository:

 

nukeshared automatic plugin installer for nuke

 

 

Adding some gizmo's and folders to this Repository in the 'Nodes' panel:

 

 

 

NukeShared repository

NukeShared auto load gizmos

NukeShared

 

 

The result:

how to automatically install scripts and plugins nuke

 

 

 

 

This works with all of Nuke's menus (the Node bar on the left of the screen, the Nuke menu on the top of the screen, and the six others: Animation, Axis, Node Graph, Pane, Properties, and Viewer).

Simply place all your .gizmo, .nk, .py, .dll, .so and .dylib files in the right folder, and they will automatically load in the right menu.
Add PNG files with the same names as icons (for plugins/scripts and for folders). 

There also are folders for fonts, viewer processes, autorun python scripts, and there is an auto installer.
The auto installer folder installs plugins that require multiple files (e.g. Cryptomatte and PixelFudger) instantly. Just place the entire downloaded folder in there and it works.

 

 

 

|| To install NukeShared, follow these easy steps:

 

1. Place the entire 'NukeShared'-folder somewhere you like. Could be on a server, if you want to have multiple computers load their plugins from it.

2. Add the following line to the .nuke/init.py file (change 'path/to/NukeShared' to the actual path on your computer!). Create this file if it does not yet exist.

nuke.pluginAddPath('path/to/NukeShared')

 

The .nuke folder can be found here:

Linux: /home/user/.nuke
Mac OS X: /Users/user/.nuke
Windows: \Users\user\.nuke

 

 

 

|| Much more information and help on my website: maxvanleeuwen.com/nukeshared
|| If you have any bugs, feature requests or questions, contact me via maxvanleeuwen.com/contact

 

 

|| How to update

 
A clean update (downloading the new NukeShared and moving all your gizmos etc. to the new folders) is, of course, the best way to do it.

Another option is to overwrite the new 'init.py' and 'menu.py' in the Required folder, and check if there are any changes to folder names in the Repository.
I recomment using a folder comparison software (like Beyond Compare) to make sure the update is succesful.

 

 

|| Version history

 

v2.6

Nuke 13 compatibility

v2.5

All environment paths (fonts, OFX plugins, OCIO config folders) are now lists instead of just one path
OCIO and OFX environment paths are only added when files are in their respective directories

v2.4

Font environment path fixed

v2.3

Added filters to ignore files: 'filter_nuke' and 'filter_os' - can be used to whitelist machines running the right version
Added OCIO environment variable folder
Fonts now load using an environment variable (instead of changing the root font path knob in your script)
Fixed Autorun folder not working if multiple NukeShared repos are loaded

v2.2

Nukescripts/ToolSets (.nk files) are now correctly loaded (using 'nuke.loadToolset' instead of 'nuke.createNode')

v2.1

OFX plugin folder support
Updated QuickShortcutEditor to v1.3
Ignore-files now check their own contents for usernames to whitelist
Separate configuration file (and more logical folder structure) 

v2.0

Fixed ignore-files not being detected by init.py
Updated QuickShortcutEditor to v1.2
Added user blacklist functionality (see Required/init.py settings)

v1.9

Fixed option to skip loading .py files next to .gizmo files with the same name (a setting in Required/init.py)

v1.8

Complete overhaul of the folder structure, which makes a lot more sense now (thanks to Ricardo Musch for his feedback!)
Added keyboard shortcut editor (in the _Shortcuts folder)
Added _AutoRun folder for running python scripts on startup
Added _AutoInstaller folder for plugins that have their own menu.py and init.py files (just drop the whole folder in there)
Added Nuke menu's: Animation, Axis, Node Graph, Pane, Properties, Viewer
Added _Fonts folder (if there are fonts in there, your default_font will be set to this path so the Text node sees the fonts)
Added _ViewerProcesses folder (add gizmo's here to make them Viewer Processes)
Changed the way the 'open this folder'-button works: it's not there by default any more, but it can be added to any folder now

v1.7

Multiple instances of NukeShared can now run simultaneously
Plugins and scripts can now be loaded to the menubar in the top of the Nuke window as well
Icons now have to be next to the folder/item they are linked to (which is much more logical)
User activity logging now works in cached mode
Fixed a bug in the counting of stats on startup

v1.6

Files like 'autoinstaller' should have extensions when working with Google Drive or other coud services, so this is now built-in
Added user logging functionality (which can be enabled in init.py)
Bit of cleanup on the script and readme

v1.5

Fixed Mac compatibility (thanks to Marvin Sprengel for testing and feedback!)

v1.4

Fixed python scripts not loading correctly on toolbar buttons

Please login in order to download these files.

Comments   

 
+1 # Laurens Vermeulen 2018-04-12 10:38
nice
 
 
+1 # Eoin Coakley 2018-05-02 15:43
A very useful script and Max is a pleasure to deal with for support issues
 
 
0 # Marvin Sprengel 2018-05-04 17:14
is there an easy answer to how to get it to work with mac? besides that:
is there any way to make it work on mac and windows at the same time? because at home i have a mac, but i usually work on windows for jobs
 
 
0 # clouder lee 2018-06-11 05:36
MAC still not work
Win is fine!
 
 
0 # William Eguienta 2018-07-13 15:00
hi, the script menu show well my python scripts but nothing happened on clic, any idea why ?
gizmos works well
 
 
0 # Wojciech Swiatkiewicz 2021-08-26 15:54
Quoting William Eguienta:
hi, the script menu show well my python scripts but nothing happened on clic, any idea why ?
gizmos works well


same here, can you help with this one Max ? problem is with *.py file, gizmos works well. (nuke v12.2v2)
 
 
0 # William Eguienta 2018-07-15 07:53
also not working for me on linux, synthax error returned line 21 from required/meny.p y
 
 
0 # Timothy Gutierrez 2019-03-19 23:28
Everything runs great on nuke 11.2.2 Mac 10.10.5
Just one question. To exclude users from certain folders with "ignore.dat" file do you add the username to the contents or actual name of the .dat file. for example "username_ignor e.dat" or is it just "username" saved inside the file via something like text wrangler. Thanks again for making a great tool
 
 
0 # Timothy Gutierrez 2019-03-20 00:27
Quoting Timothy Gutierrez:
Everything runs great on nuke 11.2.2 Mac 10.10.5
Just one question. To exclude users from certain folders with "ignore.dat" file do you add the username to the contents or actual name of the .dat file. for example "username_ignore.dat" or is it just "username" saved inside the file via something like text wrangler. Thanks again for making a great tool


RESOLVED

So its an "ignore.dat" file with "username.dat" in the file and as the instructions say new user for each line.
 
 
+2 # Tony Lyons 2019-06-11 09:34
Really really love this tool Max, I've been using it a lot. Have you thought about adding a feature that acts sort of like the nukePluginMange r that Simon Jokuschies made:
http://www.nukepedia.com/python/ui/nukepluginmanager

It would be great to add that to the autorun so we could choose which plugins to load on startup. Even better would be a panel that lists everything loaded in the nukeShared system (different sections for different nuke menus?) and allowing you to toggle on/off things you want to load on the next login, and saving that to a .json file. Maybe even per user (in case the master is on the server and want core features to load for everyone, and then other plugins to be user preferences.). Maybe it's asking too much, but just thought I'd throw out the idea. Maybe a feature for version 3.0! Thanks again
 
 
+2 # li zhaohui 2021-02-23 05:13
nuke13 out of commission
 
 
0 # Max van Leeuwen 2021-03-28 17:49
fixed!
 
 
0 # li zhaohui 2021-06-17 16:34
Axis Folder content not loaded
 
 
0 # li zhaohui 2021-06-19 14:21
openfolderbutto n.dat,How does it work? It didn't work for me。
Axis The menu doesn't appear!
Others work normally
 
 
+1 # Wojciech Swiatkiewicz 2021-09-05 18:24
Hello Max. I have problem with yours autoloader. It cant load .py files correctly - it show in the menu but nothing happen when i click it. Like it was only show the name of a file but not "import" it like in traditional way. I work on win10 nuke v12.2v2 (btw gizmos load and work correctly) Hope you help me with this Max. Thanks!
 
 
0 # Adam Rothstein 2022-09-09 02:39
I am having a similar issue. I have some handy python scripts I'd like to load, but the _Autorun folder isn't working as expected. It doesn't look like it's compiling the python scripts in there. Like you said, @Wojciech, it doesn't look like the scripts are being imported on init. What do you think?
 
 
0 # Robin Roeske 2021-09-15 10:02
Doenst work with Nuke 13.0v4 INDIE, is that a restriction with the indie lic? The Error says its an Exception in the init.py file at lin 62.
 
 
+2 # li zhaohui 2022-01-12 08:47
_ocio It doesn't work
 
 
0 # Austin Brown 2022-04-02 01:33
Lovely tool! I wonder if you could possibly add some checks to how it assigns icons? Currently it's case-sensitive between gizmo name and icon name. Some gizmos I pull in have a slightly different capitalization in their icons and I have to rename them manually.

Just a thought!
 
 
0 # Austin Brown 2022-04-02 01:34
Oh and another question I had. Is it possible to use this tool in a way such as:

Facility
Show
Shot

Thanks again!
 
 
0 # Austin Brown 2022-04-18 18:04
One more question / thought I had. Is there any way of forcing an order for stuff in the menu? Just to pretty it up a bit. Add dividers / etc?

Thanks
 
 
0 # hongbo li 2023-08-03 10:22
Installed in the server path, nuke starts loading very slowly, is it normal?
 
 
0 # cey lan 2023-11-14 16:19
Hello! Will you update the new version and use python3
 
 
0 # cey lan 2023-11-14 16:20
Hello! Will you update the new version and use python3
 

You have no rights to post comments

We have 2835 guests and 130 members online