Bound implicit exact S-bend offset discovery

This commit is contained in:
Jan Petykiewicz 2026-11-30 10:42:01 -08:00
commit 13b2d8b7de

View file

@ -99,6 +99,8 @@ A custom S-bend outline uses local coordinates. Its input face is centered at `(
Match custom outline faces to their declared ports and width. `SBendOutline` warns about a mismatch at construction. For a custom 90-degree outline used in a result, `route()` warns once per radius and net width. Replay an `SBendSeed` with the same outlines and bend settings.
Constructive planners that need exact integer S-bend spans check up to 65,536 implicit offsets. When that budget would be exceeded, automatic routing tries other candidates. In explicit bundle mode, supply `sbend_offsets` to check a specific list of offsets.
Search and replay use placed custom outlines for board containment. When a declared port lies outside the board, proximity scoring samples the nearest point on the placed outline. Final verification checks the placed polygons against the board, keepouts, and other routes.
For a complete custom S-bend outline, or a custom 90-degree bend with a custom polygon proxy, the radius determines the declared snapped endpoints. Use the supplied polygons to represent the process geometry.