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

Multi-Layer PCB Routing in TSCircuit: Fixing Circuit-to-SVG & Auto-Routing Algorithms

A 3-hour deep dive into implementing layer-specific obstacle avoidance and fixing trace and pad rendering inside of circuit-to-svg

In this extensive development stream, Seve guides contributors through a complex implementation of multi-layer PCB routing in TSCircuit. The video covers:

  1. Debugging and fixing the Circuit-to-SVG library to properly render traces on different layers with correct colors

  2. Refactoring the auto-routing data set to support layer-specific obstacles

  3. Implementing layer information in the I-Jump A* algorithm for multi-layer routing

  4. Testing and verifying the new multi-layer routing capabilities

Key technical aspects covered include:

  • Modifying SVG generation to support layer-specific rendering

  • Refactoring obstacle definitions in the auto-routing algorithm

  • Updating the Simple Route JSON format to include layer information

  • Implementing layer-aware obstacle avoidance in the I-Jump A* algorithm

  • Debugging cross-repo dependencies and fixing build processes

This video is ideal for contributors familiar with TSCircuit's codebase and looking to understand the intricacies of implementing multi-layer PCB routing. It showcases real-time problem-solving and the iterative nature of complex feature implementation across multiple interconnected libraries.

Discussion about this podcast