- Status Closed
- Percent Complete
- Task Type Feature Request
- Category QCAD (main)
-
Assigned To
Andrew - Operating System Windows 7
- Severity Low
- Priority Very Low
- Reported Version 3.9.4
- Due in Version Undecided
-
Due Date
Undecided
- Votes 2
- Private
Attached to Project: QCAD Bugtracker
Opened by V. Oth - 20.09.2015
Last edited by Andrew - 05.10.2015
Opened by V. Oth - 20.09.2015
Last edited by Andrew - 05.10.2015
FS#1270 - Modify > Detect Duplicates: add option to treat reversed entities as duplicates
Add option to treat entities with identical geometry but reversed direction as duplicates.
Original report:
In the attached example, there is a double line from 46/28 to 46/-28.
However it is not detected when searching for double objects.
Interesting. I can reproduce that also with 3.10.0.
It seems to have something to do with the orientation of the line. One line is drawn under 90° the other one is drawn under 270° and QCAD can't detect that ...
Both lines under the same Angle will be found by QCAD.
Reversed lines are NOT counted as being identical. This is a matter of definition of course, but since there are applications of CAD in which entities with identical geometry but reversed direction are clearly distinguished (e.g. CAM), QCAD choses the save side here.
I'll change this into a feature request to add a tool option to treat reversed entities as identical.
I understand that there are cases where direction matters, but with the current implementation, it is mere chance if a duplicate is found since nobody cares if a line is drawn from the top to the bottom or vice versa.
So while making it an option is perfectly fine for me, I guess the question is what the default setting of that option should be.
Side note: I think I also observed that minimum differences like in the 10th decimal place lead to failing of he duplicate search. So maybe in addition to ignoring the direction, it should be possible to define a tolerance.