OBJ Import/Export - Which script I should use?

There are several OBJ Import/Export scripts out there. I’ve tried the one comes with Blender, I believe that one is written by ideasman42; and the one downloaded from http://jmsoler.free.fr/util/blenderfile/py/obj_io_modif240c.py, which is modified by jms. I tried to import and export files for use with DAZ|Studio, a free but not open source 3D program made by DAZ, the object imported/exported properly for both. But I can’t make morph target by using the one comes with Blender. I aware that it is an known issue as posted at http://mediawiki.blender.org/index.php/Scripts/Manual/Export/wavefront_obj. The one modified by jms works fine.

I wonder if there is any plan to merge the 2 OBJ Import/Export scripts into one. I think it will be a good news for the users, especially for the one who uses MakeHuman, Poser and DAZ|Studio.

I’m going to try the import_obj.py and export_obj.py with all options turn off for importing and leave all defaults except the “Materials” is set to off for exporting. I think it is OK to turn off the Materials for morph target, but I’m not sure about the UV’s. I will let everyone know the result after that. All MakeHuman, Poser and DAZ|Studio users stay tune.

I’ve tried several settings for importing/exporting morph target for Poser and DAZ|Studio. The following settings seem to work.

These are my OBJ import settings:
http://img443.imageshack.us/img443/1313/objimport6ek.jpg

These are my OBJ export settings:http://img443.imageshack.us/img443/9016/objexport5dp.jpg

would a “Morph Target” button on obj import help :wink:
could add for 2.43

export maintains vertex order alredy

“Morph Target” button, it would be nice, especially for the new users. I’ll keep enabling feature till it breaks. If you would like to have someone to test the script, I would like to offer my help. Anyway, I like your script.

Thanks, ideasman42. I just downloaded the latest CVS build from http://www.graphicall.org/builds/builds/showbuild.php?action=show&id=282. The OBJ import has the “Morph Target” button! I would like to know how to use it properly.

your asking about how to use morph target…
All it does realy is set the options you found work as well as not sorting any faces…

“Morph Target” == Dont do any data sorting or seperation

It seems that I just need to select “Morph Target”. As you may notice that I did not select anything for import. Can I use “Morph Target” with other options selected?