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?
Can't open this file.
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Can't open this file.
- Attachments
-
- basic.dxfviewer.dxf
- (406 Bytes) Downloaded 670 times
Re: Can't open this file.
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.
- 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.