You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 2, 2020. It is now read-only.
I think that the SIMPLE options is a good start, and would be worlds easier to implement.
If you have the time and inclination to implement the COMPLEX option, then go for it, although I can see that raising a lot more false-positives than the SIMPLE one.
This looks like a similar challenge than #286
I think that the code in there can be easily adopted to work for symbols as well.
Is anyone aware of a (real) symbol with this problem that I can use for testing?
I recall seeing a few PRs I merged recently with overlapping or duplicate stuff. I don't recall all the details but I searched a few keywords and they may help:
I could make up a test case if you're looking for one. What did you have in mind to cover?
Note that a polyline and rectangle could overlap. Or the points in a polyline could be in reverse order. Perhaps other geometries can cause duplication of elements with no visual change as well. So doing this thoroughly won't be the same as checking for duplicate lines.
cpresser
added a commit
to cpresser/kicad-library-utils
that referenced
this issue
Jun 1, 2019
It can easily happen when you are copying same parts of symbol.
or
What do you think?
The text was updated successfully, but these errors were encountered: