21 lines
1.6 KiB
Markdown
21 lines
1.6 KiB
Markdown
# Routing examples
|
|
|
|
Run an example from the repository root after [installation](../README.md#install).
|
|
|
|
```sh
|
|
python examples/01_simple_route.py
|
|
```
|
|
|
|
| Example | What it demonstrates | Plot |
|
|
| --- | --- | --- |
|
|
| [Simple route](01_simple_route.py) | Create a problem, route one net, and check validity. | [PNG](01_simple_route.png) |
|
|
| [Congestion resolution](02_congestion_resolution.py) | Separate three nets that compete for routing space. | [PNG](02_congestion_resolution.png) |
|
|
| [Locked paths](03_locked_paths.py) | Reuse routed geometry as fixed obstacles. | [PNG](03_locked_paths.png) |
|
|
| [S-bends and radii](04_sbends_and_radii.py) | Route compact offsets with specified bend radii. | [PNG](04_sbends_and_radii.png) |
|
|
| [Port orientations](05_orientation_stress.py) | Route nets with perpendicular and opposing headings. | [PNG](05_orientation_stress.png) |
|
|
| [Bend proxies](06_bend_collision_models.py) | Compare arc, bounding-box, and clipped-box search geometry. | [PNG](06_bend_collision_models.png) |
|
|
| [Fan-out](07_large_scale_routing.py) | Route several nets through a bottleneck and plot expansions. | [PNG](07_large_scale_routing.png) |
|
|
| [Custom bends](08_custom_bend_geometry.py) | Supply separate physical and proxy polygons. | [PNG](08_custom_bend_geometry.png) |
|
|
| [Best-effort results](09_unroutable_best_effort.py) | Inspect a net that the router cannot complete. | [PNG](09_unroutable_best_effort.png) |
|
|
|
|
In route plots with the physical overlay enabled, dashed outlines show search proxies and solid outlines show physical geometry. Red marks paths that failed final validity checks or stopped before their target. [API and tuning guide](../DOCS.md)
|