Skip to content

Format imported KiCad symbol and footprint files in pcb search#552

Merged
akhilles merged 2 commits intomainfrom
cleanup-symbols
Feb 18, 2026
Merged

Format imported KiCad symbol and footprint files in pcb search#552
akhilles merged 2 commits intomainfrom
cleanup-symbols

Conversation

@akhilles
Copy link
Contributor

@akhilles akhilles commented Feb 18, 2026

Note

Medium Risk
Moderate risk because it changes how downloaded KiCad assets are parsed/rewritten and written back to disk, which could affect compatibility with edge-case vendor symbol/footprint files.

Overview
pcb search now formats imported/generated KiCad S-expression files (.kicad_sym, .kicad_mod) via the new pcb-sexpr formatter, including formatting footprints after STEP embedding.

It also rewrites the symbol property "Footprint" value to the local lib:footprint form derived from the downloaded footprint path, then generates the .zen file from the exact formatted symbol content; adds a unit test for the footprint-property rewrite and wires in the pcb-sexpr dependency.

Written by Cursor Bugbot for commit 3c07b45. This will update automatically on new commits. Configure here.

@akhilles akhilles enabled auto-merge (squash) February 18, 2026 21:04
@akhilles akhilles merged commit 58123ad into main Feb 18, 2026
12 checks passed
@akhilles akhilles deleted the cleanup-symbols branch February 18, 2026 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants