Can't open this file.

Do you have a question you want to ask an existing QCAD user about QCAD and what you can do with it? Do you want to know if a particular feature exists? This is the place to ask.

Moderator: andrew

Can't open this file.

Postby chroma » Sat Aug 03, 2013 5:18 pm

I've been considering switching to the new QCad from LibreCAD, but I noticed that it doesn't open certain kinds of files.

Attached is a file generated by the Java Ycad library. QCad 3.1.6 for Linux refuses to open this file. LibreCAD and the old (2.x) QCad seem to be able to read this file just fine. Is there a setting I can change to read this file correctly?
Attachments
basic.dxfviewer.dxf
(406 Bytes) Downloaded 44 times
chroma
Registered Member
 
Posts: 1
Joined: Sat Aug 03, 2013 3:48 pm

Re: Can't open this file.

Postby andrew » Sat Aug 03, 2013 5:31 pm

You can open this file as follows:

- File - Open
- Switch "Files of type: " to "DXF Files (dxflib) (*.dxf)"
- Select the file and click OK

The explanation for this behavior is that QCAD uses the Teigha libraries by default to open DXF / DWG files. Teigha is rather strict about the syntax of DXF files and rejects them if they are invalid. dxflib on the other hand always attempts to import as much data as possible, even if a DXF file is corrupt or obviously incomplete.
User avatar
andrew
Site Admin
 
Posts: 2366
Joined: Fri Mar 30, 2007 6:07 am


Return to Pre-sales Questions

Who is online

Users browsing this forum: No registered users and 1 guest