Hi All, and big thanks to all contributors,
I have been working on a software which uses generative AI to automate the creation of business cards
The software accepts a handful of text fields and outputs some image files and these image files I run through more software to turn into .kicad_pcb files and then more software turns them into a .zip archive of gerbers
I have sent my designs to PCBWay and to Elecrow and I have found that Elecrow results in a higher quality product so I have sent all my recent tests to them
A few times my designs get rejected by them for DRC and I have been trying to automate the DRC process myself so I can catch the errors before sending them to Elecrow
The KiBot and KiAuto projects have been a huge win for me and I use them via Docker:
https://github.com/INTI-CMNB/KiBot
https://github.com/INTI-CMNB/KiAuto
This issue / question I am writing here now I first asked on the KiAuto repo here:
https://github.com/INTI-CMNB/KiAuto/issues/36
The maintainer understood exactly what I was trying to do and suggested I ask here on the forum
The specific KiCad program in question is pcbnew_do
and my github issue has all relevant details and additionally I have links to KiCad project files which can be used to reproduce the issue
At the heart of this question is the title:
I Want Copper to Copper DRC errors for unconnected copper polygons
AKA my software is producing hundreds / thousands of unconnected copper polygons and I want to run a DRC step which reports if any polygons are within X mm of each other
I plan to publish the full source for this software once the DRC is working as I want
I dont want Elecrow to be flooded with gerbers which fail their DRC
Thanks!