Creates a scene with camera and locators from a .txt exported from Boujou
importBoujou
Updated: 11 June 2010
Author: iva.busquets
Compatible Nuke versions: 5.0 or later
Compatibility: Linux, Mac, Windows
This is largely based on Frank's import_boujou tcl script, ported to python.
This python version also supports image sequences not starting at frame 1, and "partial" exports from Boujou's timeline. Also added the option to choose between different kind of primitives to use as locators.
Usage: Copy importBoujou.py somewhere in your NUKE PATH. Import it in your menu.py. Add a menu item that calls importBoujou.importBoujou().
Selecting the menu option will then prompt the user for a .txt file. If one is selected, the user is then asked to choose between Axis, Cylinders or Cones to be created for each locator:

After accepting the dialog a scene will be created with a camera and a group containing all the locators in the .txt file.
This python version also supports image sequences not starting at frame 1, and "partial" exports from Boujou's timeline. Also added the option to choose between different kind of primitives to use as locators.
Usage: Copy importBoujou.py somewhere in your NUKE PATH. Import it in your menu.py. Add a menu item that calls importBoujou.importBoujou().
Selecting the menu option will then prompt the user for a .txt file. If one is selected, the user is then asked to choose between Axis, Cylinders or Cones to be created for each locator:

After accepting the dialog a scene will be created with a camera and a group containing all the locators in the .txt file.
