[Fixed] Redundant data in ltypeshp.cxf

Please use this forum to post feedback and suggestions related to QCAD.

Moderator: andrew

Post Reply
CVH
Premier Member
Posts: 4958
Joined: Wed Sep 27, 2017 4:17 pm

[Fixed] Redundant data in ltypeshp.cxf

Post by CVH » Fri Feb 07, 2025 1:20 pm

Based on the findings regarding this forum topic.

Both BOX (0x0042) and CIRC1 (0x0043) can be of the PLC (Closed polyline) type.
BOX only requires 4 vertices, it was geometrically AND logically closed, removed a duplicate.
CIRC1 was geometrically closed, it only requires 2 vertices when logically closed.

TRACK1 (0x0054) is simplified as a line segment.
As open polyline it only requires 2 vertices, removed a duplicate, QCAD stored it as an L (line) type, its simplest form.

ltypeshp.cxf
Updated file
(448 Bytes) Downloaded 553 times

It's a bit counter-productive that the Linetype rendering engine must handle duplicate vertices for each shape to include. :wink:

Regards,
CVH

CVH
Premier Member
Posts: 4958
Joined: Wed Sep 27, 2017 4:17 pm

Re: [Fixed] Redundant data in ltypeshp.cxf

Post by CVH » Thu Feb 13, 2025 10:02 am

Fixed with Commit ab0e2ea

Regards,
CVH

Post Reply

Return to “QCAD Suggestions and Feedback”