Replies: 1 comment 2 replies
-
Hi @cdwilson !
Is not KiBot, is KiCad itself. The Python API doesn't currently handle the exclusions. Is reported as a bug. And it looks like the API is saving the project at some point that KiBot doesn't expect it.
Currently we don't have a mechanism, is in my todo list, but I want to finish other stuff first. And I'm not sure we can handle it, plus it shouldn't be necesary if KiCad is fixed. |
Beta Was this translation helpful? Give feedback.
-
I've got a design with a large castellated mounting hole:
This castellated mounting hole is created by "slicing" the board edge line (on
Edge.Cuts
) through a normal mounting hole footprint. However, this creates multiple DRC violations that I need to "Exclude" in KiCad 6 DRC GUI:These exclusions are stored in the KiCad project file (
*.kicad_pro
):From what I can tell, KiBot doesn't use these exclusions, so I have to filter these errors in the preflight section of the KiBot config:
However, when I run KiBot on this design, it clears out the
drc_exclusions
list in the KiCad project file:I keep the design in version control, so I have to run
git checkout my_project.kicad_pro
each time after running KiBot to restore the exclusions. It's a bit inconvenient, so I'm wondering if there is a way to make KiBot work better with KiCad 6 DRC exclusions (not sure if there is a better way to handle this).Question 1: why does KiBot delete the DRC exclusions in the KiCad project file?
Question 2: is there a way to tell KiBot to use the existing DRC exclusions already set in the KiCad project file? (rather than having to define separate filters in the KiBot config?)
Beta Was this translation helpful? Give feedback.
All reactions