Hey Adrian! Looks very cool! If you need to bake-clone a Camera you can copy from this line onward, it's less code:
https://github.com/julik/projectionist/blob/master/projectionist.py#L80 except that you won't need the branching around line 87. If you use this trick cloned_cam = getattr(nuke.nodes, selected_camera.Class())() you can be sure that you are going to create a node of the same Camera subclass as the one you started with. On 2 okt. 2013, at 15:03, Adrian Baltowski <[email protected]> wrote: > This is a simple python script, which create independent copy of selected > camera. All dependencies, parenting, targets etc. are resolved and > recalculated to "standalone" Nuke Camera, with baked XYZ. Such a camera You > can export with chan file or fbx or whatever. > -- Julik Tarkhanov | HecticElectric | Keizersgracht 736 1017 EX Amsterdam | The Netherlands | tel. +31 20 330 8250 cel. +31 61 145 06 36 | http://hecticelectric.nl _______________________________________________ Nuke-users mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
