Compare commits
No commits in common. "4dc81bd9f7bcfe50d78abfb3705c4d340a68bbb1" and "184168f623fdf20d55a320661443ed4e621be145" have entirely different histories.
4dc81bd9f7
...
184168f623
@ -506,10 +506,7 @@ class PortPather:
|
|||||||
return self
|
return self
|
||||||
|
|
||||||
def path_from(self, *args, **kwargs) -> Self:
|
def path_from(self, *args, **kwargs) -> Self:
|
||||||
thru = kwargs.pop('thru', None)
|
|
||||||
self.pather.path_into(args[0], self.port, *args[1:], **kwargs)
|
self.pather.path_into(args[0], self.port, *args[1:], **kwargs)
|
||||||
if thru is not None:
|
|
||||||
self.rename_from(thru)
|
|
||||||
return self
|
return self
|
||||||
|
|
||||||
def mpath(self, *args, **kwargs) -> Self:
|
def mpath(self, *args, **kwargs) -> Self:
|
||||||
|
|||||||
@ -623,8 +623,6 @@ class AutoTool(Tool, metaclass=ABCMeta):
|
|||||||
out_ptype_actual = out_transition.their_port.ptype
|
out_ptype_actual = out_transition.their_port.ptype
|
||||||
elif ccw is not None:
|
elif ccw is not None:
|
||||||
out_ptype_actual = bend.out_port.ptype
|
out_ptype_actual = bend.out_port.ptype
|
||||||
elif not numpy.isclose(straight_length, 0):
|
|
||||||
out_ptype_actual = straight.ptype
|
|
||||||
else:
|
else:
|
||||||
out_ptype_actual = self.default_out_ptype
|
out_ptype_actual = self.default_out_ptype
|
||||||
|
|
||||||
@ -770,8 +768,6 @@ class AutoTool(Tool, metaclass=ABCMeta):
|
|||||||
out_ptype_actual = out_transition.their_port.ptype
|
out_ptype_actual = out_transition.their_port.ptype
|
||||||
elif not numpy.isclose(jog_remaining, 0):
|
elif not numpy.isclose(jog_remaining, 0):
|
||||||
out_ptype_actual = sbend.ptype
|
out_ptype_actual = sbend.ptype
|
||||||
elif not numpy.isclose(straight_length, 0):
|
|
||||||
out_ptype_actual = straight.ptype
|
|
||||||
else:
|
else:
|
||||||
out_ptype_actual = self.default_out_ptype
|
out_ptype_actual = self.default_out_ptype
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user