
Duplicating read nodes will slow the comp and as well as take more processing time. This python script, once run, reads through all read nodes and replaces duplicate ones with a postage stamp. It does so from top to bottom so the nodes on top are considered as Parents and the ones below them are replaced and linked to the parent node.
The script also adds a label to the postage stamp tool saying what file name it is pointing to and the name of the parent node so that it is easier to keep track of in a big flow.
Note: this is a python module so you will have to import it in your menu.py
Simply copy the file to .nuke directory. In the menu.py file (if you don't have one create a new file called menu.py) add the following lines:
import dupReadReplacer
toolbar=nuke.menu('Nuke')
toolbar.addCommand('Edit/Replace duplicate read nodes','dupReadReplacer.removeDupRead()')
This will add the script to the 'Edit' menu in nuke as 'Replace duplicate read nodes'
Click here to download (.py file)