CleanScript v1.3
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Dario Siero
After selecting a node (or nodes), checks the dependencies upstring in the node tree and removes all unused nodes.
v1.3 Loop optimization
v1.2. Also working with backdrops
Requirements:
14.0, 13.2, 13.1, 13.0, 12.2, 12.1, 12.0, 11.3, 11 or later
Linux, Windows
14.0, 13.2, 13.1, 13.0, 12.2, 12.1, 12.0, 11.3, 11 or later
Linux, Windows
![](http://www.nukepedia.com/components/com_remository/images/added-on.png)
![](http://www.nukepedia.com/components/com_remository/images/downloaded-num.png)
Select one or more nodes and it will clean up the script, just saving the nodes used and its dependencies (including expressions)
menu.py
import CleanScript_panel
sMenu = nuke.menu('Nuke').addMenu('Scripts')
sMenu.addCommand('Clean Script', 'CleanScript_panel.main()')
Please login in order to download these files.