AssembleEdit_v21

 v1.0

A very basic script to assemble an edit from a bunch of files in a folder structure. Basic, because the file structure must in a certain way and an edit list must be provided.
Author
Daniel Brylka
www.panicpost.de
Requirements
6.0, 6.1, 6.2 or later
Created on: 20/01/2011
Updated on: 20/01/2011
Downloads: 68
Login or Register

The idea is to keep an „edit" inside Nuke and have an easy way to update the edit with new versions of each shot.

All what is need is some read nodes, timeoffsets, switch nodes and a write node to render out the edit from Nuke.

My script is very unflexible, because it assumes that the edit won't change once it is approved, but here it worked just fine.

The demo edit has the following structure:

sh01, sh02, sh03, ... shxx.

Each shot has its own folder and subfolders for the comp versions.

/Volumes/RENDER/PROJECT/shots/sh01/v001/sh01_comp_v01_0001.dpx

And each shot starts counting from one as it happens by default when exporting from flame.

Imagine a 1500 frames edit with 11 cuts. Take the offline edit and count on which frame the next cut starts. This list I called „editpoints":

 

The Python script has to be installed in your gizmos folder and add to your menu.py the following :

import AssembleEdit

menubar=nuke.menu("Nodes")

toodee=menubar.addMenu("&TooDee", icon="TooDee.png")

toodee.addCommand('AssembleEdit', 'AssembleEdit.AssembleEdit()', icon="AssEdit.png")

When you run „AssembleEdit" you will see this:

 

Select the textfile that contains the editpoints, then select the path where the shots are located. When all is filled out correctly hit „ok“.

 

 

The result should look similar to this - I just added the write node manually. Having now always two instances of Nuke open, one for working on a shot and the other having the „edit" ready for render. Just change new to comp versions with the ALT-arrow up hotkey and render out a H264/PRORES or whatever.

For a little more detailed information and download links to the demo-material please check out:

http://www.panicpost.de/AssembleEdit.html

 

Have fun.

 

Daniel

Comments (3)

jean-louis autret said:

...
Hey
Funny I was specifically thinking of a script like this today!
For dailies purposes!
I'll try this on and let you know
thanks for sharing
January 20, 2011

Daniel Brylka said:

...
Hey, thanks for testing it.

I actually used the "resulting" nuke script on my first nuke job and two months after I got the python script finished - just in time :)

I am not a programmer and the script needs a lot more flexibility. But maybe it can be a starting point...
I mean the way from a EDL, XML to pass over the "editpoints" is not that far...but more than I can handle :)
January 21, 2011

Ahad Mohebbi said:

...
Thanks for your useful gizmo
I tested you gizmo and it's grate work. i am using FCP (Final Cut Pro) and FCP export EDL with standard EDL format (ex: CMX and ....) . your gizmo dose not works with this structure of EDLS . so please make it possible to works with these kind of EDLS

thanks
excuse me for my english, because english is not my native english
January 21, 2011

Write comment
You must be logged in to post a comment. Please register if you do not have an account yet.

busy