QCAD Bugtracker

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category QCAD (main)
  • Assigned To
    Andrew
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version 3.24.3
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: QCAD Bugtracker
Opened by CVH - 22.05.2020
Last edited by Andrew - 03.06.2020

FS#2078 - Draw > Hatch: Small gap tolerated by QCAD, not by DXF/DWG

https://qcad.org/rsforum/viewtopic.php?f=33&t=7254

It seems to be an accuracy problem.
The original hatch boundaries are defined from 732 single entities.
These interconnect with an accuracy better then 1e-10 except for a gap of 0.000814 in two places.

Creating a Hatch of these entities with TA-HA is rather slow but succesfull.
After Save-Close-Open the Hatch may look different or may even be missing (=Null).

Suspected is that:
The recreation off the Hatch on load uses some other accuracy setting.
The outer boundary is not found and only some inner ones are considered as outer.

But that explains not why it looks fine after initial creation.
Nor that the outcome of a retry may vary.

Regards,
CVH

Closed by  Andrew
03.06.2020 08:08
Reason for closing:  Fixed
Admin
Andrew commented on 25.05.2020 14:03

The cause seems to be a small gap (0.00081428) between
247.33233151,252.66476252
247.33290729,252.66418674

Possibly others as well.

This is just about acceptable by QCAD (<0.001), but not by the OpenDesign libraries or the DXF/DWG format. The implemented solution lets QCAD insert a tiny bridge element in the hatch boundary to cover that case.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing