StorageShelf: Fix holes for inner vertical walls
This commit is contained in:
parent
71711baa1a
commit
e8cda89381
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue