Hi Vesa, It is not currently possible to run DRC or find out collision information via Python, sorry. You can access and modify footprint locations, but you can't check if one footprint collides with another.
-Jon On Fri, Mar 7, 2025 at 10:35 AM Vesa Solonen <[email protected]> wrote: > Hi All, > > I am playing about an idea how to do some automatic placing and would > like to experiment a bit. To that I would need some advice regarding > Python access to PCB structures and DRC. E.g. is the following available > or not at the moment. > > 1. Courtyard overlap, the best would be somewhat continuous value > regarding how much overlap there is, but just boolean would do to start > with. > > 2. Rubberband length, overall and per component (planning to start with > overall) > > 3. Access to component locations in somewhat structured way, x, y and > orientation for all but locked ones. > > 4. Way to push changes and update the view. > > > -- > You received this message because you are subscribed to the Google Groups > "KiCad Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion visit > https://groups.google.com/a/kicad.org/d/msgid/devlist/33de102e-c2a8-4d4b-afcd-42718cc91ebb%40aalto.fi > . > -- You received this message because you are subscribed to the Google Groups "KiCad Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/a/kicad.org/d/msgid/devlist/CA%2BqGbCCm_UbeWcWzmJuWxyQynUhm74gf3_6XXHpjkczsUm-exA%40mail.gmail.com.
