whitequark / kicad-boardview

KiCAD to Boardview exporter reads KiCAD PCB layout files and writes ASCII Boardview files
BSD Zero Clause License
152 stars 23 forks source link

Rewrite `pad_sort_key` to account for alphanumeric pads. #17

Closed sabogalc closed 7 months ago

sabogalc commented 7 months ago

This PR rewrites the pad_sort_key function to account for pad names such as A0 found on BGA packages. Below is a before and after with U30 on Glasgow. Previously, the pads were ordered A1, A10, A11, A2, A3.... but now they are in the proper order. Screenshot 2024-03-19 011926 Screenshot 2024-03-19 203507