From 605692f7512480fcbba5048a7e730d8f6a5baa95 Mon Sep 17 00:00:00 2001 From: Florian Festi Date: Sun, 1 Sep 2019 15:36:36 +0200 Subject: [PATCH] StorageRack: Use top and bottom_egde for height calculation with "outside" set --- boxes/generators/storagerack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boxes/generators/storagerack.py b/boxes/generators/storagerack.py index c94e525..2bf416c 100644 --- a/boxes/generators/storagerack.py +++ b/boxes/generators/storagerack.py @@ -59,7 +59,7 @@ class StorageRack(Boxes): def render(self): if self.outside: self.depth = self.adjustSize(self.depth, e2=False) - self.sh = self.adjustSize(self.sh) + self.sh = self.adjustSize(self.sh, self.top_edge, self.bottom_edge) self.x = self.adjustSize(self.x) h = sum(self.sh) + self.thickness * (len(self.sh) - 1)