Playback speed
×
Share post
Share post at current time
0:00
/
0:00
Transcript

KiCad Integration: Parsing and Exporting Kicad PCB to and from Circuit JSON

Bridging TS Circuit and KiCad with AI-assisted development

In this 2-hour coding session, Seve tackles the challenge of integrating KiCad file formats with TS Circuit. He starts by using ChatGPT's 01 preview to generate an initial KiCad PCB parser, then iteratively debugs and refines the code to convert between CircuitJSON and KiCad's S-expression format. Key highlights include:

  • Implementing KiCad PCB to CircuitJSON conversion

  • Debugging pad and footprint positioning issues

  • Adding layer mapping and support for SMT pads

  • Creating a CircuitJSON to KiCad PCB exporter

  • Discussing future plans for design rule checks and error visualization

Seve demonstrates real-time problem-solving, leveraging AI tools, and shares insights on naming conventions, type safety, and maintaining backwards compatibility. The stream concludes with a successfully imported circuit in KiCad and plans for further refinement of the integration.