3

How can i convert an autocad dwg or dxf file to a more 'common' format like OBJ, FBX, 3DS, etc. ?

I have tried a free software called abviewer 10 but the exported file is always empty.

AHS
  • 175
  • 1
  • 3
  • 13

3 Answers3

1

You can use the AutoCAD I/O web service to batch convert files. See documentation at http://developer.autodesk.com

In summary you can upload a .dwg along with script contains a -FBXEXPORT command, which will make the export. After that you can download the exported file.

Augusto Goncalves
  • 8,493
  • 2
  • 17
  • 44
  • Are you sure it could do it ?. I'm trying to use it but it's an API. Do you have any URL which could explain it. – AHS Aug 20 '15 at 12:00
  • I also can not see a clear solution to this problem. It's just an API. Is there any URL where you can upload a DWG-file and then let i convert to json – Rein Van Leirsberghe Dec 14 '15 at 10:51
0

At the end, I used a program called Rhino3d. You can check it here.
https://www.rhino3d.com/download

AHS
  • 175
  • 1
  • 3
  • 13
0

This is possible using the new Autodesk Forge API. I created a simple PHP script for this: https://github.com/fvonellerts/AutoCADtoOBJ

If you prefer a program, use the freeware https://pcon-planner.com. It worked great for me and offers a range of export formats including obj, fbx and collada.

Fabian von Ellerts
  • 4,763
  • 40
  • 35