PaintStorage: Add carrying hole
This commit is contained in:
parent
9cb3d4b735
commit
8f03030c53
|
@ -75,7 +75,9 @@ class PaintStorage(Boxes):
|
||||||
h = self.canheight - stack.height - stack.holedistance + t
|
h = self.canheight - stack.height - stack.holedistance + t
|
||||||
|
|
||||||
# render your parts here
|
# render your parts here
|
||||||
self.rectangularWall(h, x, "eseS", callback=[None, lambda: self.fingerHolesAt(0, self.canheight/3, x, 0)],
|
self.rectangularWall(h, x, "eseS", callback=[
|
||||||
|
lambda: self.rectangularHole(h/3, x/2., h/4., 3./4.*x, r=2*t),
|
||||||
|
lambda: self.fingerHolesAt(0, self.canheight/3, x, 0)],
|
||||||
move="right")
|
move="right")
|
||||||
self.rectangularWall(y, x, "efef",
|
self.rectangularWall(y, x, "efef",
|
||||||
move="right")
|
move="right")
|
||||||
|
@ -86,6 +88,8 @@ class PaintStorage(Boxes):
|
||||||
move="")
|
move="")
|
||||||
self.rectangularWall(y, x, "efef", callback=[self.paintholes],
|
self.rectangularWall(y, x, "efef", callback=[self.paintholes],
|
||||||
move="left")
|
move="left")
|
||||||
self.rectangularWall(h, x, "eseS", callback=[None, lambda: self.fingerHolesAt(0, self.canheight/3, x, 0)],
|
self.rectangularWall(h, x, "eseS", callback=[
|
||||||
|
lambda: self.rectangularHole(h/3, x/2., h/4., 3./4.*x, r=2*t),
|
||||||
|
lambda: self.fingerHolesAt(0, self.canheight/3, x, 0)],
|
||||||
move="left")
|
move="left")
|
||||||
self.close()
|
self.close()
|
||||||
|
|
Loading…
Reference in New Issue