Maya to Nuke obj script / by Mauricio Ricaldi

One of the things you do in LRC (ligth render and comp) is moving geometry from Maya to Nuke for a number of reasons, like projecting plates, or textures also knowing where are the things on 3d space and tracking them, etc.

Maya 2 Nuke

Maya 2 Nuke

Is very useful to have reference Geo in Nuke in a fast way,  so this script will grab the geometry in Maya save it as obj and generate a Nuke script that is matter of copy and paste into Nuke.

Maya 

Maya 

Select your GEO in Maya, you can select multiple objects, press generate Nuke script, maya will ask you for a directory where to store the .obj and will save all the files there, keep in mind that the name of the file is the same of the object in maya, so don't use strange characters.

Once is done, just copy paste the script from maya to nuke and done!.

Nuke

Nuke

I hope is usefull,  happy comping!!

Mel Script: Maya2Nuke16m.mel