Page 1 of 1

DxfImporter registration

Posted: Tue Jan 22, 2013 4:12 pm
by antoniolc
I cannot import/export dxf files using QCad3 version, in open or save dialogs no formats appear.
I noticed that line RDxfImporter.registerFileImporter() on DxfImporter.js was disabled, and on was no DxfImporter subdir.
Changing that dxf format appears, but when I try to open a dxf file program crashes.
Also I cannot find an equivalent file to QCad2 rs_filterdxf.

Re: DxfImporter registration

Posted: Tue Jan 22, 2013 8:03 pm
by andrew
Please note that QCAD 3 does currently not have its own DXF importer. QCAD 3 uses the OpenDesign Teigha libraries for DXF / DWG import and export. It is possible (and planned) to port the QCAD 2 DXF import / export based on dxflib also to QCAD 3 for use cases without Teigha, but that has not happened yet.

Most developers choose to extend and modify QCAD through the new QCAD 3 scripting interface. In this case, no new binary is compiled and our Teigha license may be used for DXF / DWG support.