← All bug reports

FS#2117BBOX inconsistent output

Type
Bug
Status
Closed
Resolution
Fixed
Category
Command line tools
Severity
Low
Priority
Low
Reported version
3.25.2
Operating system
Ubuntu Linux
Reported
2020-09-21 by PAULMORAN
Closed
2020-09-23 by andrew
Votes
1

When I run bbox with the attached file I get inconsistent results if I run it 6 or 10 times.

Sometimes the size is 448979.2349223149/310815.2964427199 (it thinks that there is an object at 0,0)
sometimes it is 338.0789223148604/302.31644271989353 (this is what I think is correct)

ubuntu@server-a:/opt/qcad-3.25.2-pro-linux-x86_64$ ./bbox test.dwg
QCAD version 3.25.2
Warning: RPropertyTypeId::generateId: property already initialized: 7RObject : "" : "Invisible"
15:59:40: Debug: calling odInitialize
15:59:42: Debug: dropped global XDATA (no res buf): "ViewportCenter"
Min: 0/0
Max: 448979.2349223149/310815.2964427199
Size: 448979.2349223149/310815.2964427199

ubuntu@server-a:/opt/qcad-3.25.2-pro-linux-x86_64$ ./bbox test.dwg
QCAD version 3.25.2
Warning: RPropertyTypeId::generateId: property already initialized: 7RObject : "" : "Invisible"
15:59:49: Debug: calling odInitialize
15:59:51: Debug: dropped global XDATA (no res buf): "ViewportCenter"
Min: 448641.156/310512.98
Max: 448979.2349223149/310815.2964427199
Size: 338.0789223148604/302.31644271989353

Comments (1)

PAULMORAN 2020-09-21

This is important:
The output has always been consistent before. Previous install was 3.21.3 and it is always rock solid.

I use the output of bbox to calc a resolution for dwg2bmp for my web application. So this bug needs to be fixed.

Any ideas?