Support whole custom S-bend outlines and recover routing detours

This commit is contained in:
Jan Petykiewicz 2026-11-28 10:57:01 -08:00
commit 3d7fc3a705

View file

@ -42,6 +42,7 @@ def materialize_path_seed(
for segment in seed.segments:
kind, parameters = seed_move(segment)
outline = search.sbend_outline(segment.offset, segment.radius, net_width) if isinstance(segment, SBendSeed) else None
component = build_component(
current,
net_width,
@ -51,6 +52,7 @@ def materialize_path_seed(
physical_geometry_type=bend_physical_geometry,
clip_margin=bend_clip_margin,
dilation=dilation,
sbend_outline=outline,
)
path.append(component)
current = component.end_port