PDA

View Full Version : How to install Plugins?



kornyclown
August 27th, 2011, 01:16 PM
I have downloaded some Plugins from Nukepedia but now I have the Problem that I don't know how to install them.
Its mostly some folders with Gizmos and always a menu.py and a init.py.
I do have a bit expirience with python and some scripting but I don't really know how to use this with Nuke. I also watched the common tutorials about "Python for Artists", "Python with Nuke", and so on.

Should I just copy the supplied menu.py to my already existing menu.py and if so, does it matter to which part I past it to.
Python scripts run from top to bottom, so where do I have to paste the menu.py in my script.

And what am I supposed to do with the supplied init.py?

beaker
August 27th, 2011, 03:41 PM
Put both in your .nuke unless you have a folder setup as your NUKE_PATH and then you can put it in there. Merging the text of different menu.py files should work fine.

Is the plugin you have already compiled because many are not. Ones that are would be version specific.

kornyclown
August 27th, 2011, 07:48 PM
Where exactly is my ".nuke"?
Is that dot essentially, because I can just find a "nuke" folder in my plugins directory.

No, I don't think that they are already compiled since there is no version specified.

When I merge the scripts is there something I should care about?

beaker
August 27th, 2011, 08:30 PM
.nuke is a hidden folder in your home directory. What OS are you using?

What plugin exactly are you trying to install?

kornyclown
August 28th, 2011, 12:13 PM
I am using windows 7 but I can't find that folder anywhere.

beaker
August 28th, 2011, 12:49 PM
It is hidden. Just goto into your home folder and on the top bar type .nuke. You can also browse to it by going to c:\Users\username\.nuke

kornyclown
August 28th, 2011, 01:18 PM
Yes, it works thank you very much.

The funny thing is that the folder itself wasn't hidden, but hidden in that way that I would have never expected it there.

RobPhoboS
August 30th, 2011, 08:17 AM
I have recently been struggling and battling with installing some gizmo's and scripts into Nuke.
They really didn't make it easy until (I'm guessing), you've done it a few times.

This should be handy.
I did notice that Luma have made a script that creates the menu items, but I've not tried it yet.
http://www.nukepedia.com/python-scripts/ui/auto-creation-of-menu-items-for-gizmos-menupy/

cool_9babe
September 2nd, 2011, 07:42 PM
Hi
i am on windows 7 as well and installed a nuke trial i still cant find my .nuke folder even after trying c:/users/chris

beaker
September 3rd, 2011, 04:24 PM
Are you running the PLE or a 15 day trial license? PLE versions can't load plugins. When you are in windows just type in the top bar "c:/users/chris/.nuke".