diff --git a/boxes/generators/angledbox.py b/boxes/generators/angledbox.py index c7845f6..9ef38f3 100644 --- a/boxes/generators/angledbox.py +++ b/boxes/generators/angledbox.py @@ -22,6 +22,7 @@ class AngledBox(Boxes): def __init__(self): Boxes.__init__(self) + self.addSettingsArgs(boxes.edges.FingerJointSettings) self.buildArgParser("x", "y", "h", "outside") self.argparser.add_argument( "--n", action="store", type=int, default=5, diff --git a/boxes/generators/box.py b/boxes/generators/box.py index 72feb30..8558070 100755 --- a/boxes/generators/box.py +++ b/boxes/generators/box.py @@ -22,6 +22,7 @@ class Box(Boxes): def __init__(self): Boxes.__init__(self) + self.addSettingsArgs(boxes.edges.FingerJointSettings) self.buildArgParser("x", "y", "h", "outside") def render(self): diff --git a/boxes/generators/box2.py b/boxes/generators/box2.py index bf0e034..683e53d 100755 --- a/boxes/generators/box2.py +++ b/boxes/generators/box2.py @@ -23,6 +23,7 @@ class Box2(Boxes): def __init__(self): Boxes.__init__(self) + self.addSettingsArgs(boxes.edges.FingerJointSettings) self.addSettingsArgs(edges.StackableSettings) self.addSettingsArgs(edges.HingeSettings) self.addSettingsArgs(edges.LidSettings) diff --git a/boxes/generators/box3.py b/boxes/generators/box3.py index 57f06f0..541dfd3 100755 --- a/boxes/generators/box3.py +++ b/boxes/generators/box3.py @@ -22,6 +22,7 @@ class Box3(Boxes): def __init__(self): Boxes.__init__(self) self.buildArgParser("x", "y", "h", "outside") + self.addSettingsArgs(boxes.edges.FingerJointSettings) def render(self): x, y, h = self.x, self.y, self.h diff --git a/boxes/generators/magazinefile.py b/boxes/generators/magazinefile.py index 84a1495..acf5d30 100755 --- a/boxes/generators/magazinefile.py +++ b/boxes/generators/magazinefile.py @@ -23,6 +23,7 @@ class MagazinFile(Boxes): def __init__(self): Boxes.__init__(self) self.buildArgParser("x", "y", "h", "hi", "outside") + self.addSettingsArgs(boxes.edges.FingerJointSettings) def side(self, w, h, hi): r = min(h - hi, w) / 2.0 diff --git a/boxes/generators/regularbox.py b/boxes/generators/regularbox.py index 50cd91e..99ac4ca 100644 --- a/boxes/generators/regularbox.py +++ b/boxes/generators/regularbox.py @@ -22,6 +22,7 @@ class RegularBox(Boxes): def __init__(self): Boxes.__init__(self) + self.addSettingsArgs(boxes.edges.FingerJointSettings) self.buildArgParser("h", "outside") self.argparser.add_argument( "--radius", action="store", type=float, default=50.0, diff --git a/boxes/generators/roundedbox.py b/boxes/generators/roundedbox.py index 17d85d5..1e0ec5a 100644 --- a/boxes/generators/roundedbox.py +++ b/boxes/generators/roundedbox.py @@ -22,6 +22,7 @@ class RoundedBox(Boxes): def __init__(self): Boxes.__init__(self) + self.addSettingsArgs(boxes.edges.FingerJointSettings) self.buildArgParser("x", "y", "h", "outside") self.argparser.add_argument( "--radius", action="store", type=float, default=15,