default - automatic knobDefaults v4.0


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Simon Jokuschies
The default plugin is a visual approach to let you create knob defaults inside Foundry’s Nuke on the fly without the need to write and maintain any line of code. It contains the default main window which lets you create, edit and delete knob defaults and bundle them in preset lists that can be imported and exported and thus be shared with other artists.
Requirements:
11.0, 10.5, 10.0, 9.0, 8.0 or later
Linux, Mac, Windows
31 May 2017
791

watch the videoTool Video

The default plugin is a visual approach to let you create knob defaults inside Foundry’s Nuke on the fly without the need to write and maintain any line of code. It contains the default main window which lets you create, edit and delete knob defaults and bundle them in preset lists that can be imported and exported and thus be shared with other artists.

 

Updates
----------------------------------

4.0
- Made Nuke11 ready.
- Major code changes.
- Wrote documentation.

3.2
- Security validity check on xml files which can reset them if there is a
problem and if the user chooses to do so.

3.1
- Small bug fix in the validity check of nodes and knobs.

3.0
- Default window: shows all your custom knobDefaults. You can add new custom
knob defaults and edits and delete your custom knobDefaults directly inside the
default window. The default window is accessible through your menu bar:
Scripts->default->defaults window.
- About window: manual which shows you how default works: The about window is
accessible through your menu bar: Scripts->default->about.
- Added functionality to create presets. All knobDefaults can then be saved within a
preset. You can create multiple presets which can be edited, imported and
exported.

2.0
- Right click a knob and choose default -> show knob list. A pop up window
appears showing all knobs of the node. Choose a knob and set its new default
value. With that you get access to set default values of all knobs of each
node, even if it's a drop down.

1.0
- Initial commit.

 ----------------------------------

Default will now contain a detailed documentation that shows how to install and how to use it. The documentation can be found in default/docs/_build/html/index.html

How to instal default
Download default and copy it into your nuke home directory.
In your init.py add this line:

nuke.pluginAddPath('default')

 

Further information can be found here:

http://www.leafpictures.de/default


01

03 new

03 new



Please login in order to download these files.

Comments   

 
# Mohan Pugaz 2015-09-23 10:13
Awsum and very useful!
 
 
# Simon Jokuschies 2015-09-26 23:41
Hey Mohan,
Thank you very much :-)
 
 
# Mohan Pugaz 2015-11-26 04:26
Hey Happy to this on the cover ! :)

I already told you that was very useful :) . . Cheers..
 
 
# Simon Jokuschies 2015-11-26 06:59
Hey Mohan,
Thanks again, I really appreciate it.
 
 
# Andrew Mumford 2015-12-01 18:55
Simon - Is there a reason why you are only distributing the .pyc and not including the source ?
I get that you've put a ton of work into this and that's appreciated but thought I would ask since I wanted to customize something for our facility ?

Thx
 
 
# Simon Jokuschies 2015-12-01 21:02
Hey Andrew. Yes, actually it has some special reasons. Can you go to http://www.leafpictures.de/contact.php and send me a message?
 
 
# sridharan K 2016-01-20 14:49
Thanks A lot #simon .. really useful stuff :D
 
 
# Simon Jokuschies 2016-01-20 15:33
Hey #Sridharan, thank you i appreciate it :-)
 
 
# igor kozitsin 2016-11-06 21:53
Thank you for your work!

But bad news ^) tool not working with expressions
https://s.mail.ru/YtFq/hjUfbnwwH
generates some interesting effects ^) like additional views creation
 
 
# Simon Jokuschies 2017-05-31 04:44
Hi Igor,
Sorry, just seeing this comment now. Your posted link is dead. Could you post it again?
Cheers, Simon
 
 
# dhanjee maheshwary 2016-12-01 08:55
Amazing,

It is working good ,
But It is not working for expressions and for matrix also!
 
 
# Simon Jokuschies 2017-05-31 04:46
Hi Dhanjee,
I use it on a lot of expressions. Which exact expression do you need to accomplish?
 
 
# G. Scott Scribner 2019-10-29 18:42
Doesn't work on Linux. Nuke fails when reading the ~/.nuke/default /menu.py file.

"... error interpreting this plugin"

It's the last line that's causing the failure:

# Auto load knob defaults when launching.
helper.load_knob_defaults(init=True)

After commenting out the last line everything loads correctly but won't work. If I try to save a default Nuke reports:
"[Errno 13] Permission denied: '/Users'

I tried creating a "Users" directories everywhere: /Users, ~/Users, ~/.nuke/Users and ~/.nuke/default /Users ... none seem to help.
 
 
# Simon Jokuschies 2019-10-29 21:18
Hi there,
You seem to get a permission denied error as all the mentioned paths don't seem to be the correct ones. There should be no 'Users' folder created manually.

I just double checked the script on centos and it seems to work fine on my side. Which distro are you using? Please see if putting the extracted default folder into your nuke home directory and then adding it to nuke's plugin path works out for you:

nuke.pluginAddPath("default")

I hope that helps.
Cheers, Simon
 
 
# G. Scott Scribner 2019-10-30 15:55
That's exactly what I did. Although, I may have unpacked the .zip on my mac and then copied it ...

I'll try a fresh copy unpacked on the Linux box and see if that makes a difference.

I'll post the distro when I get to work. We are using Centos.

Thanks.
 
 
# G. Scott Scribner 2019-10-30 19:19
CentOS
Release 7 (Core) 64-bit
Kernal 3.10. ...
 
 
# G. Scott Scribner 2019-10-30 19:38
Fixed. It was a permissions issue.

Thanks!
 
 
# G. Scott Scribner 2019-10-31 23:13
Default is the best thing ever!
I like that it works on the root project as well.

Thank you!
 
 
# Simon Jokuschies 2019-11-02 09:07
Great to hear that it works now for you and it was simply just a folder permission issue. Great to hear you like the tool.
 

You have no rights to post comments

We have 3287 guests and 45 members online