PaintStorage: Optimize part placement
This commit is contained in:
parent
c28541a977
commit
36077e6cb0
|
@ -63,18 +63,17 @@ class PaintStorage(Boxes):
|
||||||
|
|
||||||
h = t*(self.Stackable_holedistance+2*self.Stackable_height+1)+self.canheight
|
h = t*(self.Stackable_holedistance+2*self.Stackable_height+1)+self.canheight
|
||||||
# render your parts here
|
# render your parts here
|
||||||
self.rectangularWall(x, h, "seSe", callback=[lambda: self.fingerHolesAt(0, self.canheight/3, x, 0)],
|
self.rectangularWall(h, x, "eseS", callback=[None, lambda: self.fingerHolesAt(0, self.canheight/3, x, 0)],
|
||||||
move="right")
|
move="right")
|
||||||
self.rectangularWall(x, h, "seSe", callback=[lambda: self.fingerHolesAt(0, self.canheight/3, x, 0)],
|
|
||||||
move="right")
|
|
||||||
|
|
||||||
self.rectangularWall(y, x, "efef", callback=[self.paintholes],
|
|
||||||
move="up")
|
|
||||||
self.rectangularWall(y, x, "efef",
|
self.rectangularWall(y, x, "efef",
|
||||||
move="right")
|
move="right")
|
||||||
|
|
||||||
self.rectangularWall(t*(self.Stackable_holedistance+2*self.Stackable_height), x, "eeee",
|
self.rectangularWall(t*(self.Stackable_holedistance+2*self.Stackable_height), x, "eeee",
|
||||||
move="right")
|
move="up")
|
||||||
self.rectangularWall(t*(self.Stackable_holedistance+2*self.Stackable_height), x, "eeee",
|
self.rectangularWall(t*(self.Stackable_holedistance+2*self.Stackable_height), x, "eeee",
|
||||||
move="down")
|
move="")
|
||||||
|
self.rectangularWall(y, x, "efef", callback=[self.paintholes],
|
||||||
|
move="left")
|
||||||
|
self.rectangularWall(h, x, "eseS", callback=[None, lambda: self.fingerHolesAt(0, self.canheight/3, x, 0)],
|
||||||
|
move="left")
|
||||||
self.close()
|
self.close()
|
||||||
|
|
Loading…
Reference in New Issue