Fix clearance checks and document the Terminal-Bench routing flow
This commit is contained in:
parent
0c66a1c15a
commit
365c14c59a
1 changed files with 270 additions and 108 deletions
|
|
@ -32,7 +32,7 @@ def materialize_path_seed(
|
|||
|
||||
for segment in seed.segments:
|
||||
if isinstance(segment, StraightSeed):
|
||||
kind, parameters = "straight", (segment.length,)
|
||||
kind, parameters = "straight", (max(1, round(segment.length)),)
|
||||
elif isinstance(segment, Bend90Seed):
|
||||
kind, parameters = "bend90", (segment.radius, segment.direction)
|
||||
elif isinstance(segment, SBendSeed):
|
||||
|
|
|
|||
Loading…
Reference in a new issue