-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Treat some DRC Errors as Warnings #5
Comments
The report from KiCad is stored so you can consult it. Reporting every thing to the output isn't a good choice, just enable debug messages with -vv and you'll see what I mean. But I'm tagging it as a possible enhancement. |
Sure, I understand this very well
Yes, this can be done. It is not good, especially when working with more people like in my case. They use to use the laziest approach, using things they know only. Well, my idea is that the user can add in the yml the types of errors that he can ignore (so he will know what he is doing). And then Kiplot can parse the report.erc checking errors outside of that list. |
Hi @leoheck! |
Hello @set-soft For instance,
One of the errors above, for instance, happens here. When 2 capacitors/resistors share the same pad. This was the designer's decision so it should not be an error. Here the intention was to give only one option while soldering the parts. Maybe in v6. Kicad will have a better DRC/ERC system to help us on this feature. |
Thanks! |
Nice, let me know if I can help with something or maybe something that is blocking you. |
I added something to the "drc_errors" branch: You have to create a file with the errors you want to filter, for the above report the file could contain: 45,Footprint C16 Then you can pass it to pcbnew_do using -f option. |
This is pretty interesting. Let me see It I got it right. To ignore this single error
I have to declare 2 items
Also, maybe a good idea is to have a way to add comments to this file as in:
Got it, it should come after run_drc
|
Nope, the first line will ignore the above mentioned error.
Any line starting with # is already ignored ;-)
Yes this is an option for the run_drc sub-command. |
Thanks, should I add an issue on kiplot to add a test to integrate this? |
Yes, do it. I'll add it but if you add a request people will know about it. |
Ok, I replied there. |
Time to close it |
Does Kiplot have any way to waive some kind of errors?
For instance, maybe it will be better to consider things like:
as warnings, since some times it is needed to sacrifice them.
So a nice console output would be also print the step results on the screen since user don't have these in hands to fix them when they fail (well at least at this moment, since I was not able to finish your CI flow yet)
The text was updated successfully, but these errors were encountered: