Tie documentation links to reader workflows
This commit is contained in:
parent
ec2768853e
commit
a029791f33
1 changed files with 161 additions and 119 deletions
|
|
@ -8,14 +8,13 @@ python examples/01_simple_route.py
|
|||
|
||||
## Start with a connection
|
||||
|
||||
- [Simple route](01_simple_route.py) connects one pair of ports and checks validity. For copyable code and its plot, use the [README quick start](../README.md#route-a-net).
|
||||
- [Port orientations](05_orientation_stress.py) explores routes with perpendicular or opposing headings. [Plot](05_orientation_stress.png)
|
||||
Use the [quick start](../README.md#route-a-net) to connect two ports with copyable code. For perpendicular and opposing headings, compare the [port orientations example](05_orientation_stress.py) with its [route plot](05_orientation_stress.png).
|
||||
|
||||
## Route around fixed geometry
|
||||
|
||||

|
||||
|
||||
The first route runs straight. The second must turn around its left end to reach the other side. Run the [locked-path example](03_locked_paths.py), or use the [public API workflow](../docs/user/route-a-layout.md#reuse-an-existing-route) to pass fixed polygons into another run.
|
||||
The straight route is fixed, so the second route loops around its left end. Run the [locked-path example](03_locked_paths.py) to reproduce the detour. To pass a fixed route into your own layout, follow the [route reuse workflow](../docs/user/route-a-layout.md#reuse-an-existing-route).
|
||||
|
||||
## Fit bends to available room
|
||||
|
||||
|
|
@ -23,13 +22,17 @@ The first route runs straight. The second must turn around its left end to reach
|
|||
|
||||
The short path fits a small offset with an S-bend. The longer path has room for a pair of right-angle bends. Run [S-bends and radii](04_sbends_and_radii.py) to see both geometries.
|
||||
|
||||
- [Bend proxies](06_bend_collision_models.py) compares an arc, a box proxy for an arc, and a custom physical bend. [Plot](06_bend_collision_models.png)
|
||||
- [Custom bends](08_custom_bend_geometry.py) provides separate physical and proxy polygons. [Plot](08_custom_bend_geometry.png)
|
||||
| Example | What to look for | Preview |
|
||||
| --- | --- | --- |
|
||||
| [Bend proxies](06_bend_collision_models.py) | How an arc, a box proxy for an arc, and a custom physical bend affect the route. | [Bend model comparison](06_bend_collision_models.png) |
|
||||
| [Custom bends](08_custom_bend_geometry.py) | A route whose search proxy and physical bend use different polygons. | [Custom bend overlay](08_custom_bend_geometry.png) |
|
||||
|
||||
## Diagnose congestion or an incomplete route
|
||||
|
||||
- [Congestion resolution](02_congestion_resolution.py) separates nets that compete for the same space. [Plot](02_congestion_resolution.png)
|
||||
- [Best-effort result](09_unroutable_best_effort.py) stops after a tiny search budget. Try `node_limit=500` and compare the two outcomes on the [troubleshooting page](../docs/user/tune-and-troubleshoot.md#why-a-net-stopped-short).
|
||||
- [Fan-out](07_large_scale_routing.py) overlays search states around a bottleneck. This advanced example adjusts the heuristic between iterations through the internal worker. [Plot](07_large_scale_routing.png)
|
||||
| Example | What to look for | Preview |
|
||||
| --- | --- | --- |
|
||||
| [Congestion resolution](02_congestion_resolution.py) | How rerouting separates nets competing for the same space. | [Separated routes](02_congestion_resolution.png) |
|
||||
| [Best-effort result](09_unroutable_best_effort.py) | Where a path stops with a small node budget. Try `node_limit=500` to complete it. | [Budget comparison](../docs/user/tune-and-troubleshoot.md#why-a-net-stopped-short) |
|
||||
| [Fan-out](07_large_scale_routing.py) | How search states cluster around a bottleneck. The example adjusts the heuristic between iterations through the internal worker. | [Fan-out search overlay](07_large_scale_routing.png) |
|
||||
|
||||
In plots with a physical overlay, dashed outlines show search proxies and solid outlines show physical geometry. Use the physical outlines to inspect clearance and `result.outcome` to interpret red paths. [Result guide](../docs/user/tune-and-troubleshoot.md#read-the-result)
|
||||
In physical overlays, dashed outlines show search proxies and solid outlines show physical geometry. Inspect clearance using the solid outlines. For red paths, look up `result.outcome` in the [result guide](../docs/user/tune-and-troubleshoot.md#read-the-result).
|
||||
|
|
|
|||
Loading…
Reference in a new issue