From b9e8c919ad1b1a8b316ac8647e7963c4555edca2 Mon Sep 17 00:00:00 2001 From: Florian Festi Date: Mon, 9 Jan 2023 21:03:10 +0100 Subject: [PATCH] SmallPartsTray: Minor cleanups --- boxes/generators/smallpartstray.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/boxes/generators/smallpartstray.py b/boxes/generators/smallpartstray.py index 5f7fd9f..515eee4 100644 --- a/boxes/generators/smallpartstray.py +++ b/boxes/generators/smallpartstray.py @@ -23,7 +23,7 @@ class SmallPartsTray(Boxes): ui_group = "Tray" ui_group = "Unstable" - def __init__(self): + def __init__(self) -> None: Boxes.__init__(self) self.addSettingsArgs(edges.FingerJointSettings) @@ -45,7 +45,7 @@ class SmallPartsTray(Boxes): def innerWall(self, h, y, ramp_h, ramp_y, two_ramps, front=True, - edges="ffeff", move=None): + move=None): a = math.degrees(math.atan(ramp_h/ramp_y)) l = (ramp_h**2 + ramp_y**2)**.5 if two_ramps: @@ -59,7 +59,7 @@ class SmallPartsTray(Boxes): "ffeff" if front else "ffeef", move=move) def outerWall(self, h, y, ramp_h, ramp_y, two_ramps, front=True, - edges="ffeff", move=None): + move=None): a = math.degrees(math.atan(ramp_h/ramp_y)) l = (ramp_h**2 + ramp_y**2)**.5 t = self.thickness