KnobScripter v1.0


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Adrian Pueyo
Script editor for python and callback knobs.
Requirements:
10.5, 10.0, 9.0 or later
Linux, Mac, Windows
06 Mar 2017
172

KnobScripter is a little nuke tool 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 snapshot

KnobScripter improves the UI side of scripting directly of knobs and makes it less annoying than nuke's 'Manage User Knobs...' interface:

  • Callback knobs are usually hidden so you 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 addig more complex scripts to the knobs I always missed line numbers or syntax highlighting.

Once installed, KnobScripter can be opened on Edit/Node/Open Floating Knob Scripter (shortcut alt+z).

Installation:

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:

import knob_scripter

4: Restart nuke, and you should now have knob_scripter installed.

Feedback and suggestions are appreciated. Hope you find it useful!

Copyright (c) 2017, Adrian Pueyo All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Credit goes to Wouter Gilsing for the script editor widget part, which he made for his tool W_Hotbox. It can be downloaded here: http://www.nukepedia.com/python/ui/w_hotbox
Please login in order to download these files.

Comments   

 
+2 # Simon Jokuschies 2017-02-01 06:08
Hi Adrian,
This is really useful, thanks for sharing this tool :)
 
 
+1 # Adrian Pueyo 2017-02-01 17:25
Hi Simon, glad you like it :)
 
 
+1 # Parimal Desai 2017-02-01 09:00
Much needed, Thanks Adrian!
 
 
# Adrian Pueyo 2017-02-01 17:31
You're welcome! :-)
 
 
# Gaetan Baldy 2017-02-03 10:27
Very good work ! this is awesome !
 
 
# Adrian Pueyo 2017-03-05 20:19
Thank you!
 
 
# Vitaly Musatov 2017-02-10 10:10
Thank you Adrian for sharing! Awesome tool!
 
 
# Adrian Pueyo 2017-03-05 20:20
You're welcome! :)
 
 
# Alexey Kuchinski 2017-05-26 12:58
Thank you Adrian, very useful!
 

You have no rights to post comments

We have 2246 guests and 52 members online