Fixes #54 — Improves Smoothie Board DSN-to-Circuit-JSON conversion by addressing three core issues:
NaN in element IDs and null pin_number in source ports| Metric | Before | After |
|---|---|---|
| Elements with NaN | 920 | 0 |
| Unique pad IDs | 876/1055 | 1055/1055 |
| Unique via IDs | 1/42 | 42/42 |
convert-padstacks-to-smtpads.ts — rotation transform + pin label normalizationconvert-dsn-pcb-components-to-source-components-and-ports.ts — same fixes for source portsconvert-wiring-via-to-pcb-vias.ts — include coordinates in via IDrepro7-smoothie-board.snap.svg — updated snapshotrepro15-smoothie-board-integrity.test.ts — 4 new tests (no NaN, unique IDs, element counts, rotation verification)All 47 existing tests pass — zero regressions on motor-breakout, water-counter, USB-C, and all other boards.
/claim #54
🤖 Generated with Claude Code
aifunmobi
@aifunmobi
tscircuit
@tscircuit
aifunmobi
@aifunmobi
Mohan
@mohan-bee