KiCad / kicad-library-utils

Some scripts for helping with library development
GNU General Public License v3.0
128 stars 95 forks source link

F7.4 improve detection of vias #322

Open poeschlr opened 4 years ago

poeschlr commented 4 years ago

Vias have different layer requirements compared to normal through hole pads. This means they need to be handled separately

A first limited implementation was added with #288 but it has some limitations that stem from the chosen design:


A possible replacement could work as follows:

The hard part of this implementation is finding a way to check if a pad is overlapping another pad. A simplification could be to only consider circular vias and rectangular (or roundrect) smd pads. This would already cover most of the cases found in the official library. A later extension to supporting other pad types for the SMD pad could be split into another issue.