I’m going to start sharing tools that I write here for Maya. If you use them, cool! Let me know what you think or if you find bugs or perhaps features could make them better? I should point out that I write these on my own time and therefore do not have tons of free time to really do tech support. With that said, use these at your own will.
Also, some of this stuff may not be the most perfect and efficiently written. I’m not a programmer by trade, just a lazy artist who doesn’t like doing redundant tasks over and over
Lastly all of my scripts should be put in your Maya Scripts Directory which can be determined by loading up the script editor and pasting the below command into it. If your script doesn’t live here then it may not launch properly.
*Edit: Some annoying bug fixes. Added functionality to export Groups as well as Meshes if you’re exporting FBX.
This script will allow you to select a bunch of poly mesh geo in Maya and batch export it out as either FBX or OBJ. This script was not designed to handle animation\rigs, etc … Strictly static props and environment stuff, mesh debris for particles. Whatever.
Download the script and unzip it to your scripts folder outlined in the initial post at the top. Use the below command to drag onto your shelf and execute: eval(“source \”" + `internalVar -usd` + “fbxMultiExporter/launchMultiExporter.mel\”");
To execute and create trails off of an animated object\component: eval(“source \”" + `internalVar -usd` + “shPlotCurves.mel\”"); shPlotCurves 0;
To quickly edit a trail that has already been generated use this command: eval(“source \”" + `internalVar -usd` + “shPlotCurves.mel\”"); shPlotCurves 1;
Edit
I went to use this script and found that it was completely broken. It is fixed and now works great. Apologies for those trying to use it! Also updated the download link to Gumroad stuff.
These are awesome! Thanks for sharing, this will really reduce a lot of time spent on repetitive tasks! The trail gen looks great can’t wait to use it!!
Been a while! Just finished moving and had some friends working as Environment Artists ask for a new batch FBX\OBJ export tool.
The tool will take an array of Mesh Objects and allow you to export them all to a path as individual FBX or OBJ files. You can also export Groups as FBX if need be. It will also provide information in the UI about what types of data are applied to your geometry; Color Sets, UVs, Shaders, etc.
So I updated the Attack Trail script above. The previous version for numerous reasons was completely broken and I can’t figure out how or why. It was working at the time of posting before, but, what have you. It’s fixed now. It got me thinking though, I wanted to also draw curves along cached nParticles.
Hi Seth, I’m trying to use your Trail Generator. I put the script in the directory that I got from internalVar -usd; and then I launched Maya, selected a plane mesh, and used eval(“source \”" + internalVar -usd + “shPlotCurves.mel\”"); shPlotCurves 0; but I get a syntax error. and I have `s around internalVar -usd;
EDIT: Ah, I figured it out. There are instructions in the script if it’s opened in a text editor. I just needed to use shPlotCurves 0;
Hi! Thanks a lot for creating this awesome tool, it works beautifully, I’m starting my way into becoming a technical artist, been trying to figure the poly mesh exporter code because I wanted to add the ability to add prefix or suffix to the files while exporting them, is this possible?