bake all gizmos starting at a given level
bakeGizmos
Updated: 10 May 2015
Author: frank
Compatible Nuke versions: 6.0 or later
Compatibility: Linux, Mac, Windows
1.4 preserving node names
1.3 added optional argument to exclude gizmos in Nuke's install path. e.g.:
this will only bake inside of Group1 (and any nested Groups) but leave the top level as is:
1 |
bakeGizmos.bakeGizmos(excludeDefaults=True)
|
1.2 oops, I forgot to actually copy the knob values so the resulting group always had default values. This version fixes that.
1.1 fixed bug where node connections would be messed up if nodes were selected when the script is run.
bakeGizmos drill through a script recursively and convert all gizmos to groups, keeping the node connections in tact.
You can specify the top level at which to start.
example:
this will just bake everything starting at the root level:
1 |
bakeGizmos.bakeGizmos()
|
this will only bake inside of Group1 (and any nested Groups) but leave the top level as is:
1 |
bakeGizmos.bakeGizmos( nuke.toGroup('Group1') )
|
I will work on a panel to give more control over baking only selected nodes etc. so update to come...