fix examples
This commit is contained in:
parent
bc218a416b
commit
e11132b51d
1 changed files with 406 additions and 101 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue