From a59e8e99243a895197a30d6cd6dd8d744dd606de Mon Sep 17 00:00:00 2001 From: Louis Date: Wed, 11 Nov 2026 10:32:51 +0100 Subject: Keep only the current router: drop the Python router, router-rs -> router The sequential Python/C router (pcbroute.py, pipeline.py, astar.c) is gone. The Rust crate takes its place at tools/router/, next to the KiCad I/O scripts it uses (dump_board.py, write_board.py, plot_routes.py). knowledge/tooling/router.md is now the Rust router's reference; the small Python venv for plots and 3D checks moves to tools/.venv (tools/requirements.txt). Co-Authored-By: Claude Opus 5.5 --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index f6cbf0b..0fc37d2 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Tools and conventions for building KiCad boards with an AI agent in the loop. At its core is an automatic **placer and router for 2-layer KiCad boards**, written in Rust: - **Placer** (`tools/placer`): simulated annealing over footprint positions and rotations. Its cost terms come from hand placement: ratsnest length and crossings, decoupling distance, fan-out bands, groups, links and replicated channels. -- **Router** (`tools/router-rs`): a 0.05 mm grid router with negotiated congestion (PathFinder), so all nets route at once with no net order. It adds cleanup passes, a pour-connectivity model for the ground plane, escape lines for module interfaces, and a TOML config per board. +- **Router** (`tools/router`): a 0.05 mm grid router with negotiated congestion (PathFinder), so all nets route at once with no net order. It adds cleanup passes, a pour-connectivity model for the ground plane, escape lines for module interfaces, and a TOML config per board. - **pnr.sh**: places 32 candidates, routes all of them, checks the best ones with KiCad's DRC and installs the one you pick. Around it are KiCad helpers in Python (headless "Update PCB from Schematic", a schematic generator, a placement checker, board composition from routed modules, connector tabs, thermal vias, 3D model checks), an `AGENTS.md` with repo conventions for coding agents, and the notes in `knowledge/` that record how the tools work and what was learned using them. @@ -14,7 +14,7 @@ Requirements: KiCad 10 (`kicad-cli` and a Python with `pcbnew`) and Rust stable. ``` sh git clone https://git.dnge.de/hw-toolchain && cd hw-toolchain -cargo build --release --manifest-path tools/router-rs/Cargo.toml +cargo build --release --manifest-path tools/router/Cargo.toml cargo build --release --manifest-path tools/placer/Cargo.toml # myboard/ holds myboard.kicad_pro/.kicad_sch/.kicad_pcb + placement.toml + route.toml @@ -24,7 +24,7 @@ sh tools/pnr.sh install path/to/myboard rank_00 The minimal `placement.toml` and `route.toml`, routing an already placed board, and what to do when a board does not route: **[knowledge/tooling/pnr.md](knowledge/tooling/pnr.md)**. -Reference: [Rust router and route.toml](knowledge/tooling/rust-router.md), [Placer and placement.toml](knowledge/tooling/placer.md), [Placement for routing](knowledge/topics/placement-for-routing.md). Everything else: [knowledge/index.md](knowledge/index.md). +Reference: [Router and route.toml](knowledge/tooling/router.md), [Placer and placement.toml](knowledge/tooling/placer.md), [Placement for routing](knowledge/topics/placement-for-routing.md). Everything else: [knowledge/index.md](knowledge/index.md). The tools are found relative to themselves. The board can live anywhere. -- cgit v1.3