diff --git a/boxes/generators/trafficlight.py b/boxes/generators/trafficlight.py index 1598fd1..a2c1d7c 100644 --- a/boxes/generators/trafficlight.py +++ b/boxes/generators/trafficlight.py @@ -85,19 +85,28 @@ class TrafficLight(Boxes): # change class name here and below self.addPart(ShadyEdge(self, None)) + # back self.rectangularWall(th, h, "FFFF", callback=[self.backCB], move="up") + # sides self.rectangularWall(th, d, "fFsF", callback=[self.sideCB], move="up") self.rectangularWall(th, d, "fFsF", callback=[self.sideCB], move="up") - + + # horizontal Walls / blinds tops e = edges.CompoundEdge(self, "fF", (d, s)) e2 = edges.CompoundEdge(self, "Ff", (s, d)) for i in range(n): self.rectangularWall(h, d+s, ['f', e, 'e', e2], move="right" if i