This location is for Registered Users Only.
Perhaps you need to login or register.
11.0, 10.5, 10.0, 9.0 or later
Linux, Mac, Windows
KnobScripter is a nuke script editor panel to script on callback (knobChanged, onCreate, ...) or python knobs (Python script buttons or Python Custom Knobs). It works as a floating panel to be called on a selected node, and/or as a dockable pane.
Tutorial/Overview video: https://vimeo.com/adrianpueyo/knobscripter
KnobScripter improves the UI side of scripting directly on nodes and makes it less annoying than nuke's 'Manage User Knobs...' interface:
Callback knobs are usually hidden so normally you'd have to bring them in order to be able to script on them.
Python knobs accessed through Nuke's 'Manage User Knobs...' panel won't let you interact with the rest of the program, like seeing the name of other knobs or just testing the button without closing the scripting interface.
- For adding more complex scripts to the knobs I always missed line numbers or syntax highlighting.
Once installed, just select a node and press alt+z, or Edit/Node/Open Floating Knob Scripter.
You can also add it as a Pane (Windows/Custom/Knob Scripter).
1. Copy the included knob_scripter.py file inside of your ~/.nuke folder.
2. Inside your ~/.nuke folder, open menu.py with any text editor, or create it if it doesn't exist.
3. Add the following line to your menu.py:
4: Restart Nuke, and you should now have knob_scripter installed.
UPDATE v1.3 (7 September 2018)
- Change button can now switch to nodes inside of groups and viceversa.
- Knob dropdown list now displays the knob’s name and label in parentheses.
- PIN toggle button, to make the Knobscripter stay above all other windows or not.
- Scroll position on the script editor is remembered when you switch back and forth between knobs.
- Preferences: Change the number of spaces created with the tab key (2 or 4) and the PIN button’s default state On or Off.
- ... (check README.txt for the full update log)
UPDATE v1.2 (10 March 2018)
- Compatible with Nuke 11.
Bugs and suggestions are appreciated. Happy scripting!