- Home /
Batch Convert DAE to FBX
I have about 7k DAE animations I'd like to convert to FBX and I'm hoping to use a batch converter to speed up the process. so far all my manual attempts to convert them have failed with the exception of blender. I've also tried C4D and Autodesk FBX Converter, neither will import the animations only the skeletons themselves. Any help would be greatly appreciated, thx in advance.
Answer by Gmjjr · Jun 01, 2018 at 10:45 PM
I was able to use a modified version of a batch script i found online for blender. Took a few tries, but i believe it's working correctly. The original script was made by ideasman42 on Stack Exchange
 import bpy
 import os
 
 path = 'C:/ Folder/Path/Here  # set this path
 
 for root, dirs, files in os.walk(path):
     for f in files:
         #if f.endswith('.meshdata') :
             mesh_file = os.path.join(path, f)
             obj_file = os.path.splitext(mesh_file)[0] + ".fbx"
 
             bpy.ops.object.select_all(action='SELECT')
 
             for action in bpy.data.actions:
                 bpy.data.actions.remove(action, do_unlink=True)
             
             bpy.ops.object.delete()
 
             bpy.ops.wm.collada_import(filepath=mesh_file) # change this line 
 
             bpy.ops.object.select_all(action='SELECT')
 
             bpy.ops.export_scene.fbx(filepath=obj_file)
Your answer
 
 
             Follow this Question
Related Questions
VMD motion to FBX anim 0 Answers
FBX Exporting from Maya 2011 1 Answer
Blender Skeleton Animation Import Problem. 1 Answer
Character Change its Position When Animation Apply on It 0 Answers
Collada/DAE Question 0 Answers
 koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                