Preserve bend geometry through refinement and validate joins

This commit is contained in:
Jan Petykiewicz 2026-11-27 15:51:53 -08:00
commit 489c20847a

View file

@ -32,7 +32,7 @@ The near-port attempt uses up to 100 nodes per search and two congestion iterati
## Geometry and refinement
Search uses proxies to check moves and estimate congestion. Verification rejects invalid polygons and checks that the physical geometry joins across a finite-width face at each port. It checks the polygons against keepouts, other nets, and the board rectangle in every routing mode. A circular S-bend with a fractional forward span ends with a short tangent extension to the next grid point, keeping the requested radius. Boundary contact with the board is allowed.
Search uses proxies to check moves and estimate congestion. Verification rejects invalid polygons and checks each port for a finite-width face with material on the correct side. It checks adjacent components for overlap and checks the route against keepouts, other nets, and the board rectangle in every routing mode. Refinement uses the same configured bend geometry as search and seed materialization. A circular S-bend with a fractional forward span ends with a short tangent extension to the next grid point, keeping the requested radius. Boundary contact with the board is allowed.
At a keepout corner, a mitred clearance buffer can reach farther than the specified clearance. Verification checks the actual distance before counting these hits as collisions. For an example with a corner close to the required clearance, see the [mitred-corner test](../inire/tests/test_collision.py#L146).