-
Notifications
You must be signed in to change notification settings - Fork 92
Conversation
This checks for duplicate/overlapping lines in silkscreen and fab layers. |
Merging this would require documenting this also on the website. Would you be up to extending rule 5.1 with this? We can not include any check against undocumented rules ;) |
Imho it would require changes in 5.1 and 5.2 |
I just figured that this patch could be considered as incomplete. What do you think? |
Should this also check courtyard line overlaps? That is the other layer that typically includes lines. Definitely circles should be included if they're relatively simple. Arcs would be great too but I don't see a reason not to merge lines and circles if they're quick and then do arcs as a second step if you prefer. |
If we extend this to courtyard (and other layers) then we might want to write a new separate rule that clarifies this instead of adding this to every rule. This would then mean that this check should also be in a separate file. |
I made another patch to check the courtyard (#284). That's why I did not include the courtyard check in this patch. That means this #286 should also check the courtyard layers. Adding a check for circles is trivial; a update for this PR will be ready soon. Making a F5.4 rule that checks all layers seems like a good idea. |
Introduce new rule F5.4 It checks for duplicate/overlapping lines and circles on all graphic layers. Currently arcs are not supported yet. Related KiCad#278
212de8f
to
301e47b
Compare
A changed patch has been (force) pushed. KLC (website) has a PR as well: KiCad/kicad-website#384 |
I think this is ok now. lets test it on the real world. |
@cpresser it seems your script has false positives if a two lines meet at a point and are in the same angle (so if a long line is split into two smaller lines.) |
Related #278