StorageShelf: Fix holes for inner vertical walls

This commit is contained in:
Florian Festi 2019-11-09 23:31:26 +01:00
parent 71711baa1a
commit e8cda89381
1 changed files with 2 additions and 4 deletions

View File

@ -37,12 +37,10 @@ class StorageShelf(_TopEdge):
def ySlots(self): def ySlots(self):
posy = -0.5 * self.thickness posy = -0.5 * self.thickness
h = sum(self.sh) + self.thickness * (len(self.sh) - 1)
for y in self.sy[:-1]: for y in self.sy[:-1]:
posy += y + self.thickness posy += y + self.thickness
posh = 0 self.fingerHolesAt(posy, 0, h, 90)
for h in self.sh:
self.fingerHolesAt(posy, posh, h)
posh += h + self.thickness
def hSlots(self): def hSlots(self):
posh = -0.5 * self.thickness posh = -0.5 * self.thickness