Mirror holes on the other walls

to have them match up. Otherwise boxes with non symetric top edges don't fit
together.

Fixes #141
This commit is contained in:
Florian Festi 2019-05-11 17:18:10 +02:00
parent 46157b2030
commit a6ca723759
1 changed files with 2 additions and 2 deletions

View File

@ -100,7 +100,7 @@ class TypeTray(_TopEdge):
# outer walls
self.rectangularWall(x, h, [b, "F", t1, "F"], callback=[self.xHoles, None, self.gripHole], move="up")
self.rectangularWall(x, h, [b, "F", t3, "F"], callback=[self.xHoles, ], move="up")
self.rectangularWall(x, h, [b, "F", t3, "F"], callback=[self.mirrorX(self.xHoles, x), ], move="up")
# floor
if b != "e":
@ -135,7 +135,7 @@ class TypeTray(_TopEdge):
# outer walls
self.rectangularWall(y, h, [b, "f", t2, "f"], callback=[self.yHoles, ], move="up")
self.rectangularWall(y, h, [b, "f", t4, "f"], callback=[self.yHoles, ], move="up")
self.rectangularWall(y, h, [b, "f", t4, "f"], callback=[self.mirrorX(self.yHoles, y), ], move="up")
# inner walls
for i in range(len(self.sx) - 1):