Support whole custom S-bend outlines and recover routing detours
This commit is contained in:
parent
e0f5543578
commit
3d7fc3a705
1 changed files with 304 additions and 129 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue