Topic: Use python to convert a 3D model at upload

I'm building a web form to accommodate users uploading 3D models as .obj and .fbx to a site. Everything else is in place, but I need a server-side solution to convert these model files to Collada (.dae) and I know python is definatly the way to go. However python is my weakest area of knowledge.

I really need some help finding or writing a python program to do this. It would need to be triggered by PHP at upload and a progress bar monitor the conversion as it happens.

Any advice or librarys you know would be massively helpful.

Many thanks in advance,

Thumbs up

Re: Use python to convert a 3D model at upload

Hi EricZun,

Did you try a google for fbx to dae conversion? What file types are the obj and fbx?

Community of helpful Python developers here at PythonForum.Org.
Everyone's welcome, feel free to join the community!

Re: Use python to convert a 3D model at upload

I have, but no direct solutions. Can you explain what you mean by 'file types'?

Thanks Einherjar

Thumbs up

Re: Use python to convert a 3D model at upload

I mean the actual file format, i.e. what type of data does it contain? It would be easier to figure out how to do this based on what format we are converting from and to..

Thumbs up

Re: Use python to convert a 3D model at upload

Well COLLADA is an XML file format. FBX I'm a little unclear on: According to Autodesk who maintain the format: "Currently there are 2 FBX SDK bindings: one for C++ and Python supplied by Autodesk". I'm personally new to python, but I'm guessing there is a way to use the SDK supplied by Autodesk (http://download.autodesk.com/us/fbx/201 … er=d0e8312) to do the conversion?

Apologies if I'm not providing sufficient information. Can you help?

Thanks,

Thumbs up 0

Re: Use python to convert a 3D model at upload

Are there any Python devs who would be willing to solve this as a paid gig?

Last edited by EricZun (November 4, 2011 13:32)

Thumbs up