fix examples

This commit is contained in:
Jan Petykiewicz 2026-03-30 21:22:20 -07:00
commit e11132b51d

View file

@ -24,6 +24,7 @@ def materialize_path_seed(
current = start
dilation = clearance / 2.0
bend_collision_type = search.bend_collision_type
bend_clip_margin = search.bend_clip_margin
for segment in seed.segments:
if isinstance(segment, StraightSeed):
@ -35,6 +36,7 @@ def materialize_path_seed(
net_width,
segment.direction,
collision_type=bend_collision_type,
clip_margin=bend_clip_margin,
dilation=dilation,
)
elif isinstance(segment, SBendSeed):
@ -44,6 +46,7 @@ def materialize_path_seed(
segment.radius,
net_width,
collision_type=bend_collision_type,
clip_margin=bend_clip_margin,
dilation=dilation,
)
else: