Refine routing geometry checks and streamline documentation

Report coincident terminals and unusable seeds per net, update custom bend handling and verification, and cover the revised behavior with regression tests.

Shorten the user and developer guides around reader tasks and keep the illustrated routing walkthrough and reference links easy to find.
This commit is contained in:
Jan Petykiewicz 2026-11-29 23:12:28 -08:00
commit eac083a37d

View file

@ -2,7 +2,7 @@
## Start with a connection
The [quick start](../README.md#route-a-net) uses one call to `route()` to connect two ports 200 units apart.
- [Run the quick start](../README.md#route-a-net)
![A straight waveguide from (50, 100) to (250, 100). Both port arrows point east.](../docs/figures/first-route.png)
@ -10,7 +10,9 @@ The [quick start](../README.md#route-a-net) uses one call to `route()` to connec
![The input board has two preplaced crossing cells, port arrows, and gray keepouts. The result shows all nine routes, including a straight link between the cells and a long detour underneath their south ports.](../docs/figures/example-stress-crossings-shared-outside-detour.png)
Inire verifies all nine connections on this board. One waveguide links the two preplaced crossings, and the long lower route passes beneath both south approaches. For the runnable setup and more boards, see the [advanced gallery](advanced.md).
All nine routes verify. Follow the long lower route beneath both south approaches.
- [Run this layout and browse other advanced cases](advanced.md)
## Optional workflows
@ -20,7 +22,10 @@ After [installing Inire](../README.md#install), run the example scripts with Pyt
![A second waveguide makes a U-shaped detour around the left end of a fixed straight waveguide.](03_locked_paths.png)
The first call routes a straight waveguide. `FixedRoute.from_result()` reserves its exact polygons, so the new connection detours around one end of the fixed route. Run [`03_locked_paths.py`](03_locked_paths.py) to plot the detour and print its resolved net and placement recipe. To hold a route fixed in your own design, follow the [route reuse workflow](../docs/user/route-a-layout.md#reuse-an-existing-route).
`FixedRoute.from_result()` reserves the straight route. The next connection detours around its end.
- [Runnable fixed-route example](03_locked_paths.py)
- [Reuse a route in your own layout](../docs/user/route-a-layout.md#reuse-an-existing-route)
<a id="fit-bends-to-available-room"></a>
@ -33,4 +38,7 @@ The first call routes a straight waveguide. `FixedRoute.from_result()` reserves
### Inspect an incomplete route
In the [best-effort example](09_unroutable_best_effort.py), the path stops after its first turn at `node_limit=3` and reaches its target at 500. Compare the two paths to see [where the node budget matters](../docs/user/tune-and-troubleshoot.md#why-a-net-stopped-short).
At `node_limit=3`, the route stops after its first turn. At 500 it reaches the target.
- [Run the best-effort example](09_unroutable_best_effort.py)
- [Diagnose a partial route](../docs/user/tune-and-troubleshoot.md#why-a-net-stopped-short)