opinions on DXF/DWG

We're planning to create a DXF/DWG export/import for our program. We have two choices: Implement our exp/imp based on OpendDWG or purchase the OCC's DWG support.

What are the experiences with OCC's DWG (and with OpenDWG) ?
How much work would it take to use the OpenDWG?

Thanks a lot.

Patrik Mueller's picture

Hi,

if I read the infos for the Advanced Data exchange package I don't find infos about DWG support. So if you need DWG it seems you have to implement it by yourself.

Or has the forum supervisor other informations?

Greets,

Patrik

Ernest's picture

This far i thought DXF and DWG are (almost) the same. They were mentioned together all the time whereever i've checked it. So what's the difference? Is there any DWG support in OCC?

Patrik Mueller's picture

DXF is an ASCII format and DWG is binary. Apart from that newer DWG files have encryption. They are mentionend together because both are the AutoCAD standard file formats.
As written ask the supervisor for DWG support - I don't know it.

Greets,

Patrik

Sharjith Naramparambath's picture

Hi,
As far as I know, DWG is Autocad's native format extension but DFX is Autocad's import/export format which is implemented by almost all professional cad packages. If you want to make a DXF reader, it would be easier to read the ascii data and convert it into OCC objects.

Regards
N. Sharjith

Stefan Boeykens's picture

Check http://www.opendesign.com for DWG-libraries. They are used by most non-Autodesk software for compatibility with DWG.

Gennady Khokhorin's picture

I'm wonder if there are any updates on DXF issue since last post?

Bearloga's picture

It seems OCC has a product allowing import/export of DXF files into/from BRep:
http://www.opencascade.org/support/products/dataex/dxf/

Stefan Boeykens's picture

Beware that the DXF/DWG format has no support for NURBS. Might be an issue.

Ivan P's picture

Is DXF import-export a proprietary paid module in 2018?