btachase.blogg.se

How to batch extract unity assets
How to batch extract unity assets













Mylist = īpy.ops.wm.read_factory_settings(use_empty=True)īpy.ops.import_scene.fbx(filepath=input_file)īpy.ops.export_scene.obj(filepath=output_file,use_materials=False,check_existing=True) I only needed the mesh files, so I excluded materials.To batch convert fbx files to wavefrontObj files I wrote the following script. The installation guide that I followed is from here.Īfter converting the files into fbx format I used blender to convert the files into obj format.

how to batch extract unity assets

To convert prefab files to fbx file format I used a Unity Package called FBX Exporter. I needed to convert prefab files to fbx format and then used blender to convert fbx files into wavefrontObj.

how to batch extract unity assets

The solution that I found is a bit lengthy.















How to batch extract unity assets