Export OBJ ???
-
I know work is being done with an Import OBJ import plugin, but I am wondering if an Export plugin could be done.
I have a colleague who uses Lightwave for animation and high-end rendering. We've found that OBJ files from SU are translated well. However, groups and layers are not translated; the model's origin is.
Currently, unless it is a simple model, the best practice is to export each layer one at a time as separate OBJ files. This allows my colleague to audit the imported geometry, tweak it as necessary, apply textures and other properties, then import the next layer (which is properly placed relative to the previous import) and repeat the process.
Could a plugin automate the process of exporting all visible SU layers one at at time?
-
Seems TIG has made this sort of Plugin ?
See in the list -
My OBJexporter only exports visible objects, so layers that are off or objects that are hidden are excluded.
So you need to script something to swap layers/visibility around; then run the OBJexporter then and save/rename the OBJ/MTL/Images in a way to show each 'set'... At the moment the OBJexporter asks for the file name/PNG images etc, BUT those could be side stepped...How popular would an 'OBJexportByLayer' tool be ?
-
Of course IF you have Pro then my olde
export_by_layer.rb
will do what you want too http://forums.sketchucation.com/viewtopic.php?p=183609#p183609
It allows you to export a SKP as different files, one per layer. You need to set your exporter options as you wish first [for an OBJ that'd be triangulation, YZ-swap etc], then you simply typeexport_by_layer('obj')
into the Ruby Console and it does the rest automatically... -
TIG, I will give that a try.
Thank you.
Advertisement