Bound search memory and verify process geometry before layout export

This commit is contained in:
Jan Petykiewicz 2026-11-28 20:42:25 -08:00
commit e6ae242cb2

View file

@ -49,7 +49,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
template = search.sbend_template(segment.offset, segment.radius, net_width) if isinstance(segment, SBendSeed) else None
component = build_component(
current,
net_width,
@ -59,7 +59,8 @@ def materialize_path_seed(
physical_geometry_type=bend_physical_geometry,
clip_margin=bend_clip_margin,
dilation=dilation,
sbend_outline=outline,
sbend_outline=template.polygon if template is not None else None,
physical_length=search.bend_physical_length if kind == "bend90" else (template.length if template else None),
)
path.append(component)
current = component.end_port