aboutsummaryrefslogtreecommitdiff
path: root/tools/router/src/lib.rs
diff options
context:
space:
mode:
authorLouis <louis@dnge.de>2026-11-11 10:32:51 +0100
committerLouis <louis@dnge.de>2026-11-11 10:32:51 +0100
commita59e8e99243a895197a30d6cd6dd8d744dd606de (patch)
tree8910cc7476ff1317932257dfc8497a0f9ffc29f7 /tools/router/src/lib.rs
parent6f2bbe1f94e4321c329f92ec3420f6d32fd7b26d (diff)
downloadhw-toolchain-a59e8e99243a895197a30d6cd6dd8d744dd606de.tar.gz
Keep only the current router: drop the Python router, router-rs -> routerHEADmain
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 <noreply@anthropic.com>
Diffstat (limited to 'tools/router/src/lib.rs')
-rw-r--r--tools/router/src/lib.rs15
1 files changed, 15 insertions, 0 deletions
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;