From d61567d8f1b4524baf2559d473e3421ff02c6c14 Mon Sep 17 00:00:00 2001 From: Florian Festi Date: Tue, 3 May 2016 23:01:40 +0200 Subject: [PATCH] box2: Add optional click on top --- boxes/generators/box2.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/boxes/generators/box2.py b/boxes/generators/box2.py index fa6897e..4a62214 100755 --- a/boxes/generators/box2.py +++ b/boxes/generators/box2.py @@ -52,7 +52,9 @@ class Box(Boxes): self.rectangularWall(x, h, [b, "F", t, "F"], bedBolts=[d2], move="left up") - self.rectangularWall(x, y, "ffff", bedBolts=[d2, d3, d2, d3]) + self.rectangularWall(x, y, "ffff", bedBolts=[d2, d3, d2, d3], move="right") + if self.top_edge == "c": + self.rectangularWall(x, y, "CCCC", bedBolts=[d2, d3, d2, d3], move="up") self.close()