Fix previous fix *sigh*

This commit is contained in:
Florian Festi 2017-02-09 18:47:20 +01:00
parent 3e3ed3b0dd
commit 250131e152
7 changed files with 7 additions and 7 deletions

View File

@ -22,7 +22,7 @@ class AngledBox(Boxes):
def __init__(self):
Boxes.__init__(self)
self.addSettingsArgs(boxes.edges.FingerJointSettings)
self.addSettingsArgs(edges.FingerJointSettings)
self.buildArgParser("x", "y", "h", "outside")
self.argparser.add_argument(
"--n", action="store", type=int, default=5,

View File

@ -22,7 +22,7 @@ class Box(Boxes):
def __init__(self):
Boxes.__init__(self)
self.addSettingsArgs(boxes.edges.FingerJointSettings)
self.addSettingsArgs(edges.FingerJointSettings)
self.buildArgParser("x", "y", "h", "outside")
def render(self):

View File

@ -23,7 +23,7 @@ class Box2(Boxes):
def __init__(self):
Boxes.__init__(self)
self.addSettingsArgs(boxes.edges.FingerJointSettings)
self.addSettingsArgs(edges.FingerJointSettings)
self.addSettingsArgs(edges.StackableSettings)
self.addSettingsArgs(edges.HingeSettings)
self.addSettingsArgs(edges.LidSettings)

View File

@ -22,7 +22,7 @@ class Box3(Boxes):
def __init__(self):
Boxes.__init__(self)
self.buildArgParser("x", "y", "h", "outside")
self.addSettingsArgs(boxes.edges.FingerJointSettings)
self.addSettingsArgs(edges.FingerJointSettings)
def render(self):
x, y, h = self.x, self.y, self.h

View File

@ -23,7 +23,7 @@ class MagazinFile(Boxes):
def __init__(self):
Boxes.__init__(self)
self.buildArgParser("x", "y", "h", "hi", "outside")
self.addSettingsArgs(boxes.edges.FingerJointSettings)
self.addSettingsArgs(edges.FingerJointSettings)
def side(self, w, h, hi):
r = min(h - hi, w) / 2.0

View File

@ -22,7 +22,7 @@ class RegularBox(Boxes):
def __init__(self):
Boxes.__init__(self)
self.addSettingsArgs(boxes.edges.FingerJointSettings)
self.addSettingsArgs(edges.FingerJointSettings)
self.buildArgParser("h", "outside")
self.argparser.add_argument(
"--radius", action="store", type=float, default=50.0,

View File

@ -22,7 +22,7 @@ class RoundedBox(Boxes):
def __init__(self):
Boxes.__init__(self)
self.addSettingsArgs(boxes.edges.FingerJointSettings)
self.addSettingsArgs(edges.FingerJointSettings)
self.buildArgParser("x", "y", "h", "outside")
self.argparser.add_argument(
"--radius", action="store", type=float, default=15,