Skip to content
hw.dev
hw.dev/signal/pcbforge-kicad-footprint-regression-2026
Signalpcbforge

pcbforge Checks 235 Generated Pads Against KiCad

pcbforge replaces guessed package geometry with 235 KiCad pad definitions and checks every value to 0.0001 millimeter.

Thesis connection

A generated component library now has a numerical comparison that can stop bad pad geometry before a board is fabricated.

#pcb#eda#testing#tools
Read Original

pcbforge has added 29 component packages containing 235 pads, then tied their geometry to KiCad's official footprint library with a regression test. The test compares generated pad dimensions with the source files to 0.0001 millimeter, turning a component footprint, the copper and holes where a part is soldered, into data the build can check.

The project first tried to derive the pads from Institute for Printed Circuits (IPC) standard 7351B for surface-mount land patterns, and found large differences. Its calculated pad length for a 0402 resistor was 0.275 millimeter while KiCad used 0.510. For a 1206 resistor, the values were 0.825 and 1.4625 millimeters. pcbforge chose the known library values rather than claiming its interpretation of the formula was correct.

That choice trades a universal generator for a traceable reference, which is sensible when a wrong pad can make an assembled board impossible to solder. Component heights remain estimates because KiCad stores them in separate three-dimensional models, and pcbforge labels them that way. If the project keeps the comparison pinned to a named KiCad release, a library update can become a reviewed geometry change instead of silently altering the next fabrication package.