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 --- tools/router/src/lib.rs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tools/router/src/lib.rs (limited to 'tools/router/src/lib.rs') diff --git a/tools/router/src/lib.rs b/tools/router/src/lib.rs new file mode 100644 index 0000000..5156e0b --- /dev/null +++ b/tools/router/src/lib.rs @@ -0,0 +1,15 @@ +//! Grid maze router for 2-layer KiCad boards (see knowledge/tooling/router.md). +//! +//! Reads board.json from tools/router/dump_board.py and the board's route.toml, writes +//! routes.json for tools/router/write_board.py. + +pub mod astar; +pub mod board; +pub mod cleanup; +pub mod config; +pub mod geom; +pub mod io; +pub mod placement; +pub mod pour; +pub mod router; +pub mod run; -- cgit v1.3