importBoujou v1.0


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Ivan Busquets
Creates a scene with camera and locators from a .txt exported from Boujou
Requirements:
5.0, 5.1, 5.2, 6.0, 6.1 or later
Linux, Mac, Windows
10 Jun 2010
543
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:

importBoujou1

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

importBoujou2



Please login in order to download these files.

Comments   

 
0 # Christos Parliaros 2010-08-09 05:13
looks so useful script but I cant make it work.

I am using Nuke 6.1

I am have create a nuke directory in my home directory which is linked with the C:userProgram FilesNuke6.1v1p luginsinit.py
Inside that directory I have all my custom tools, mainly gizmos. I have also another init.py:
nuke.pluginAddPath('./icons')
nuke.pluginAddPath('./python')
nuke.pluginAddPath('./gizmos')
which looks for files in these three directives. Your script is placed in the "python" directory.

I have also the menu.py which contain the following line in order to load your script:
newMenu.addComm and('Boujou2Nuk e', 'importBoujou.i mportBoujou()', 'Slate.png')

But there is no luck, cause "ImportBoujou is not defined"

Can you please give me more detail about how to install it?

Cheers
 
 
0 # Matthias Mueller 2012-03-20 22:44
a little late,but try this.

import importBoujou
toolbar = nuke.toolbar("Nodes")
toolbar.addCommand('importBoujou', 'importBoujou.i mportBoujou()', icon="Tracker.p ng")
 

You have no rights to post comments

We have 5057 guests and 143 members online