FS#106DWG file loaded incorrect
- Type
- Bug
- Status
- Closed
- Resolution
- Fixed
- Category
- QCAD (main)
- Severity
- Low
- Priority
- Low
- Reported version
- Development
- Operating system
- All
- Reported
- 2011-05-27 by anonymous
- Closed
- 2011-05-27 by deleted user
- see attached DWG file, taken from http://www.cadtutor.net/download/vector/autocad-plan-trees.php
- loads correctly in DraftSight
QCAD drawing dump:
RDocument("ba3bc58", RStorage("bb7aa28",
current block ID: 22
current layer ID: 21
current view ID: -1
drawing unit: 0
bounding box: RBox(RVector(invalid) - RVector(invalid) )
RLayer(RObject(id: 21, document: "0xba3bc58", address: "0xbc2dbb0", undone: 0), name: "0", color: RColor(RGBA: 0, 255, 0, 255) , lineweight: -3 , linetype: 2 )
RBlock(RObject(id: 22, document: "0xba3bc58", address: "0xbb45d10", undone: 0), name: "*Model_Space", origin: RVector(0, 0, 0) )
RBlock(RObject(id: 23, document: "0xba3bc58", address: "0xbb442c0", undone: 0), name: "*MODEL_SPACE", origin: RVector(0, 0, 0) )
RBlock(RObject(id: 24, document: "0xba3bc58", address: "0xbc2dc00", undone: 0), name: "*PAPER_SPACE", origin: RVector(0, 0, 0) )
lastTransactionId: -1
variables:
"PageSettings/Scale": QVariant(QString, "1:1")
Known variables (DWG):
...
) RSpatialIndex()
Comments (3)
Problem: block names should not be case sensitive for DXF/DWG compatibility (i.e. "*Model_Space" == "*MODEL_SPACE")
The drawings can be converted to SVG with DraftSight. These SVG can be loaded correctly with QCAD then. However, doesn't really solve the problem.
No, I'm working on it. Block names really have to be case insensitive in general.