A FCP 7 timeline with 20 shots in it (all in one video layer).
I need to comp them all separately in nuke.
I want to have each shot in a separate numbered directory, with subdirectories for “scripts” and “renders”
Here is a little python script i wrote this morning to export a basic FCP 7 timeline as a series of nuke scripts into numbered shot directories.
This script parses an XML file that I exported from FCP 7 (the sequence/edit).
I have only used this for the purposes i needed, but it works.
Perhaps it could be expanded to incorporate multiple video layers.
Each nuke script that is generated is just a read node, with the nuke.root frame range set to the duration of the clip in FCP 7.
Even if the script doesn’t help everyone’s fcp7-nuke needs I found that i learnt a lot about Python’s elementTree XML library. Nice clean simple.
And also this page was a big help to get things going:
The script needs to be run from a shell/terminal:
python /path/to/the/script/fcpNuke.py /path/to/you/xmlfile.xml
*file re-uploaded 11 May 2012
fcp7toNuke (260 downloads)