fix transition calculation
This commit is contained in:
parent
5a6826f8e5
commit
4de82ab2ba
1 changed files with 1 additions and 1 deletions
|
|
@ -370,7 +370,7 @@ class BasicTool(Tool, metaclass=ABCMeta):
|
||||||
out_ptype_actual = self.default_out_ptype
|
out_ptype_actual = self.default_out_ptype
|
||||||
|
|
||||||
straight_length = length - bend_dxy[0] - itrans_dxy[0] - otrans_dxy[0]
|
straight_length = length - bend_dxy[0] - itrans_dxy[0] - otrans_dxy[0]
|
||||||
bend_run = bend_dxy[1] + itrans_dxy[1] + otrans_dxy
|
bend_run = bend_dxy[1] + itrans_dxy[1] + otrans_dxy[1]
|
||||||
|
|
||||||
if straight_length < 0:
|
if straight_length < 0:
|
||||||
raise BuildError(
|
raise BuildError(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue