fixed labels
This commit is contained in:
parent
2086eac5e6
commit
f57ba7fdb8
|
@ -109,12 +109,12 @@ class TypeTray(_TopEdge):
|
||||||
|
|
||||||
self.ctx.save()
|
self.ctx.save()
|
||||||
|
|
||||||
# outer walls
|
# outer walls - front/back
|
||||||
if bh:
|
if bh:
|
||||||
self.rectangularWall(x, h+bh, [b, "f", t1, "f"],
|
self.rectangularWall(x, h+bh, [b, "f", t1, "f"],
|
||||||
callback=[self.xHoles, None, self.gripHole],
|
callback=[self.xHoles, None, self.gripHole],
|
||||||
ignore_widths=[],
|
ignore_widths=[],
|
||||||
move="up")
|
move="up", label="back")
|
||||||
self.rectangularWall(x, h, ["f" if self.handle else b, "f", t3, "f"],
|
self.rectangularWall(x, h, ["f" if self.handle else b, "f", t3, "f"],
|
||||||
callback=[self.mirrorX(self.xHoles, x), ],
|
callback=[self.mirrorX(self.xHoles, x), ],
|
||||||
move="up")
|
move="up")
|
||||||
|
@ -122,7 +122,7 @@ class TypeTray(_TopEdge):
|
||||||
self.rectangularWall(x, h, [b, "F", t1, "F"],
|
self.rectangularWall(x, h, [b, "F", t1, "F"],
|
||||||
callback=[self.xHoles, None, self.gripHole],
|
callback=[self.xHoles, None, self.gripHole],
|
||||||
ignore_widths=[1, 6],
|
ignore_widths=[1, 6],
|
||||||
move="up")
|
move="up", label="back")
|
||||||
self.rectangularWall(x, h, ["f" if self.handle else b, "F", t3, "F"],
|
self.rectangularWall(x, h, ["f" if self.handle else b, "F", t3, "F"],
|
||||||
callback=[self.mirrorX(self.xHoles, x), ],
|
callback=[self.mirrorX(self.xHoles, x), ],
|
||||||
ignore_widths=[] if self.handle else [1, 6],
|
ignore_widths=[] if self.handle else [1, 6],
|
||||||
|
@ -131,9 +131,9 @@ class TypeTray(_TopEdge):
|
||||||
# floor
|
# floor
|
||||||
if b != "e":
|
if b != "e":
|
||||||
if self.handle:
|
if self.handle:
|
||||||
self.rectangularWall(x, y, "ffYf", callback=[self.xSlots, self.ySlots], move="up")
|
self.rectangularWall(x, y, "ffYf", callback=[self.xSlots, self.ySlots], move="up", label="bottom")
|
||||||
else:
|
else:
|
||||||
self.rectangularWall(x, y, "ffff", callback=[self.xSlots, self.ySlots], move="up")
|
self.rectangularWall(x, y, "ffff", callback=[self.xSlots, self.ySlots], move="up", label="bottom")
|
||||||
|
|
||||||
# Inner walls
|
# Inner walls
|
||||||
|
|
||||||
|
@ -161,7 +161,7 @@ class TypeTray(_TopEdge):
|
||||||
|
|
||||||
# y walls
|
# y walls
|
||||||
|
|
||||||
# outer walls
|
# outer walls - left/right
|
||||||
|
|
||||||
if bh:
|
if bh:
|
||||||
self.trapezoidSideWall(
|
self.trapezoidSideWall(
|
||||||
|
|
Loading…
Reference in New Issue