Initial buildout
This commit is contained in:
parent
34615f3aac
commit
84b76d0f6a
1 changed files with 25658 additions and 25 deletions
44
examples/README.md
Normal file
44
examples/README.md
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
# Routing examples
|
||||
|
||||
## Start with a connection
|
||||
|
||||
- [Quick start](../README.md#route-a-net)
|
||||
|
||||

|
||||
|
||||
## Route a challenging layout
|
||||
|
||||

|
||||
|
||||
All nine routes verify. Follow the long lower route beneath both south approaches.
|
||||
|
||||
- [Advanced example gallery](advanced.md)
|
||||
|
||||
## Optional workflows
|
||||
|
||||
After [installing Inire](../README.md#install), run the example scripts with Python from the repository root. Each saves a PNG in `examples/`.
|
||||
|
||||
### Route around fixed geometry
|
||||
|
||||

|
||||
|
||||
`FixedRoute.from_result()` reserves the straight route. The next connection detours around its end.
|
||||
|
||||
- [Fixed-route script](03_locked_paths.py)
|
||||
- [Route reuse](../docs/user/route-a-layout.md#reuse-an-existing-route)
|
||||
|
||||
<a id="fit-bends-to-available-room"></a>
|
||||
|
||||
### Set the bend geometry
|
||||
|
||||
- **Choose allowed radii and offsets.** The [radii and S-bends example](04_sbends_and_radii.py) supplies two 90-degree bend radii and a 5-unit S-bend offset.
|
||||
- **Supply a custom bend shape.** The [custom bends example](08_custom_bend_geometry.py) sets a physical polygon for the waveguide and a separate box for collision checks during search. The [bend proxy comparison](06_bend_collision_models.py) shows how the same circular bend can use different shapes for collision checks.
|
||||
|
||||
<a id="diagnose-congestion-or-an-incomplete-route"></a>
|
||||
|
||||
### Inspect an incomplete route
|
||||
|
||||
At `node_limit=3`, the route stops after its first turn. At 500 it reaches the target.
|
||||
|
||||
- [Best-effort script](09_unroutable_best_effort.py)
|
||||
- [Partial routes](../docs/user/tune-and-troubleshoot.md#why-a-net-stopped-short)
|
||||
Loading…
Reference in a new issue