← All bug reports

FS#2249Can not open this file in 3.26.4, but in 3.22.0.5 I can

Type
Bug
Status
Closed
Resolution
Not a bug
Category
QCAD (main)
Severity
Low
Priority
Low
Reported version
3.26.4
Operating system
Windows (All)
Reported
2021-06-10 by btjacker
Closed
2021-06-10 by andrew

This file is produces by .js script which some QCad user wrote for me. The script produce many dxf files which are ok, but this one can not be loaded to 3.26.4. (3.22.0.5 is fine)

Comments (3)

andrew 2021-06-10

The file is not strictly valid DXF.

However, you can import it using dxflib which is more tolerant than the OpenDesign libraries:
- File > Open
- Choose "Filter: DXF Files [dxflib] (*.dxf)"

btjacker 2021-06-11

Ok, I understand. But I use qcad bbox tool to get dxf size which fails to load the drawing.
I guess there is something wrong in these script files. I have a drawing edited and saved in 3.26.4, then I use create_blocks.js to create blocks from entities in rectangles and then I use export_blocks.js to create individual dxf files from blocks. With 3.22.0.5 it works fine and with 3.26.4 some exported blocks can not be opened. Would it be possible to review those scripts for some donation?