By doing various tests and using bpy.ops.wm.collada_import(), there are compatibility problems between some software with the '.dae' format, so I was wondering, is there any way to interact with objects inside a '.dae' file , before uploading it? Is there a way that allows me to examine the objects present in a dae? with their names and data? When the object is imported into bpy.data.objects, does any trace of property dae remain?

Basically some software create instances that enclose other instances, this does not allow blender to maintain the correct hierarchy, so I was wondering if you could analyze a .dae file and possibly act directly on it. I still don't know how a dae works. so please be patient, i am trying to get a direction for my research to the solution.

  • 1
    $\begingroup$ I'm not a coder so just mentioning this just in case it may help.... You can edit .dae files with Notepad or have more control with Notepad++. $\endgroup$ – 3fingeredfrog Feb 15 '20 at 10:59
  • 1
    $\begingroup$ PyCollada might help: github.com/pycollada/pycollada $\endgroup$ – brockmann Feb 15 '20 at 11:01
  • 1
    $\begingroup$ Pure python. If you want to embed it inside blender for whatever reason, read Using 3rd party Python modules. How to use the module: pycollada.readthedocs.io/en/latest $\endgroup$ – brockmann Feb 15 '20 at 11:52
  • 1
    $\begingroup$ Why not? Just make sure the license type match with yours or ask in their mailing list if that's ok or not. $\endgroup$ – brockmann Feb 15 '20 at 13:49
  • 1
    $\begingroup$ Glad that my comment was useful @Pastrokkio. Problem is: I have no idea about pycollada itself so I don't want to give any unproven answer. Also I don't want to spend any time on that because I personally don't use it and never will. Thanks though. $\endgroup$ – brockmann Feb 19 '20 at 14:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.