KiCad / kicad-library-utils

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

Skip THT checks for SMD components #319

Closed drid closed 4 years ago

drid commented 4 years ago

SMD components can have pads for thermal vias that should not conform to through hole pad requirements.

Rule F7.4 should be skipped for such components

poeschlr commented 4 years ago

I would say https://github.com/KiCad/kicad-library-utils/pull/288 is the better approach

drid commented 4 years ago

I would say #288 is the better approach

I agree, initially i started looking for a way to detect a th pad within an smd pad.

My logic behind this PR was that TH pads in an SMD component are always thermal via otherwise it would just be a TH component.

drid commented 4 years ago

On second thought this does not cover a TH component with TH pads and smd pads with thermal vias

poeschlr commented 4 years ago

The more powerful implementation has been merged. It is still limited but an improvement over what we have now. I documented the limitations and a proposed improved implementation in #322

Feel free to comment on that issue with your own ideas.