Check actual terminal faces in search and seed replay

Keep nominal terminal checks for standard geometry. Defer to materialized geometry when a custom outline can reach a terminal and report blocked terminals consistently in iteration callbacks.
This commit is contained in:
Jan Petykiewicz 2026-11-29 16:37:14 -08:00
commit 8a97c1e64b

View file

@ -91,6 +91,8 @@ A custom S-bend outline uses local coordinates. Its input face is centered at `(
When migrating a half-arc template, supply the complete outline through `sbend_outlines` and keep `bend_physical_geometry` for custom 90-degree bends. Both terminal faces of each custom polygon must be centered on their ports and match the routed width. A custom 90-degree template is shared across nets, so it can only be used by nets whose width matches its faces. Replay an `SBendSeed` with the same outlines and bend settings to recover its physical geometry.
When a net can use a custom outline, search checks the geometry of each candidate move at its terminals. Seed replay verifies the materialized faces.
Circular bends approximate the outer edge within a sagitta of 0.01 layout units. The router also sizes the subdivision for the outer edge of a clearance-expanded circular proxy. A generated circular arc that needs more than 250,000 subdivisions is rejected before sampling. Use coarser layout units if the required radii exceed this limit.
### ObjectiveWeights