Imported from KiCAD

What a board looks like after typecad-pcb import: placements, tracks, outline, and a zone — source you can build on instead of a file you only edit.

Click through the files — it's the whole project

Imported from KiCAD — Visual Studio Code
Select a file from the explorer
from .kicad_pcb import · TrackBuilder · zone

How this project came to be

1 — Import the board

terminal
typecad-pcb import ./existing-board.kicad_pcb

The importer prints the code — placements, tracks as TrackBuilder chains, the outline, zones, and a ready create(...) call. Paste it into hw/src/index.ts, exactly what the editor above shows.

2 — Build to confirm the round-trip

terminal
typecad-pcb build

The regenerated board should match the original. From here the code is the source of truth — change values, add parts, re-run the build.

3 — Keep working in KiCAD? Bring the edits back

terminal
typecad-pcb import ./existing-board.kicad_pcb --apply

--apply matches the board against your source and offers every KiCAD-side change — moved parts, text edits — to write back. You choose what lands.

Where to go next

© 2026 typeCAD — code-defined electronics github