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.4.6
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: QCAD Bugtracker
Opened by Laurent - 13.02.2014
Last edited by Andrew - 17.02.2014

FS#1022 - ZeroLengthDetection fails on arc

Hi,

it seems zero length detection fails on finding very small arcs.
As in previous 3.0.0 release the script ZeroLengthDetection.js was given, I found that the related line is #65 :

      } else if (isArcEntity(entity)) {
          if (entity.getRadius() <= this.distanceTolerance

should be

      } else if (isArcEntity(entity)) {
          if (entity.getLength() <= this.distanceTolerance

because a big radius with a very small angle will yield a very small arc length ...

Since 3.0.0 or so, the ZeroLengthDetection.js script seems to have been binarized in plugins/libqcadproscripts.so, and is not easily correctible any more ...

Closed by  Andrew
17.02.2014 08:07
Reason for closing:  Fixed
Admin
Andrew commented on 17.02.2014 08:07

Thanks.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing