Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section
Column
Windows

Locate the Nuke user directory (usually C:\Users\username\.nuke). The installer has copied the following files here:

Panel

icons\maxwell_icon.png
python\maxwell_utilities.py
maxwell python commands.txt

The plug-in for Nuke 7 installs automatically the scripts and the icon from the Windows installer.

Linux

Unpack the installer and copy the following files to the Nuke user folder (usually /home/username/.nuke):

Panel

icons (folder)
python (folder)
maxwell python commands.txt

Max OSX

Unpack the installer and copy the following files to the Nuke user folder (usually /Users/username/.nuke):

Panel

icons (folder)
python (folder)
maxwell python commands.txt

In the Nuke user directory you need to have the following files: menu.py and init.py. If either of them doesn’t exist, just create it.
You must add the following commands to the menu.py file:

Code Block
import maxwell_utilities
nodesMenu = nuke.menu('Nodes')
newMenu = nodesMenu.addMenu('Maxwell Utilities', 'maxwell_icon.png')
newMenu.addCommand('MxiMixer', 'nuke.createNode("MxiMixer")', 'ctrl+m', 'maxwell_icon.png')
newMenu.addCommand('MxiRender', 'nuke.createNode("MxiRender")', '', 'maxwell_icon.png')
newMenu.addCommand('MxiMask', 'nuke.createNode("MxiMask")', '', 'maxwell_icon.png')
newMenu.addCommand('Reload All', 'maxwell_utilities.reloadAllReads()', '', 'maxwell_icon.png')
newMenu.addCommand('Reload Selected', 'maxwell_utilities.reloadSelectedReads()', '','maxwell_icon.png')
newMenu.addCommand('Color Adjustments', 'maxwell_utilities.mxihue()', '', 'maxwell_icon.png')

And the following commands to the init.py file:

Code Block
nuke.pluginAddPath('./icons')
nuke.pluginAddPath('./python')
Column

 

...