Strange things happening with blocks in file
Posted: Thu Jun 06, 2019 7:31 pm
Hi there,
Problem: I am running into a strange problem with some block references in a reduced number of cad files being rendered in strange places.
Description: I have a routine that batch-rasterizes cad files. The script relies on "dwg2bmp" with the "-zoom-all" argument. However, I started noticing that for some files, the zoom all option zoom out too much to objects that didn't seem to be on the drawing.
For example, for the following file:
I get a rasterized image like this: If I open the file in a different software and "zoom all", I get everything in the right place: However, when I open the same file with the QCAD GUI (no zoom all), I get this: Notice that in the QCAD version, the chair and computer on the desk of the lower right corner of room 210 are missing. On zoom all, I get the same view bounding box as in the rasterization process: Now, if I zoom on the brown dot at the bottom, the missing chair is there: But if I try to select it and zoom out, the selection box is offset by +3000 units! The missing laptop (part of the same block) is to be found on the top part of the drawing, but this one doesn't allow to be selected: So, I guess my question is if you think this is a problem with the files or with the way QCAD renders these strange blocks. This problem doesn't seem to appear when opening the files with other software.
Here is a collection of other files that have similar issues: Thank you so much in advance!
Problem: I am running into a strange problem with some block references in a reduced number of cad files being rendered in strange places.
Description: I have a routine that batch-rasterizes cad files. The script relies on "dwg2bmp" with the "-zoom-all" argument. However, I started noticing that for some files, the zoom all option zoom out too much to objects that didn't seem to be on the drawing.
For example, for the following file:
I get a rasterized image like this: If I open the file in a different software and "zoom all", I get everything in the right place: However, when I open the same file with the QCAD GUI (no zoom all), I get this: Notice that in the QCAD version, the chair and computer on the desk of the lower right corner of room 210 are missing. On zoom all, I get the same view bounding box as in the rasterization process: Now, if I zoom on the brown dot at the bottom, the missing chair is there: But if I try to select it and zoom out, the selection box is offset by +3000 units! The missing laptop (part of the same block) is to be found on the top part of the drawing, but this one doesn't allow to be selected: So, I guess my question is if you think this is a problem with the files or with the way QCAD renders these strange blocks. This problem doesn't seem to appear when opening the files with other software.
Here is a collection of other files that have similar issues: Thank you so much in advance!