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

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
chroma
Newbie Member
Posts: 5
Joined: Sat Aug 03, 2013 3:48 pm

Can't open this file.

Post by 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 656 times

User avatar
andrew
Site Admin
Posts: 9036
Joined: Fri Mar 30, 2007 6:07 am

Re: Can't open this file.

Post by 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.

Post Reply

Return to “Pre-sales Questions”