From c823cb78d64c94c7b5fa8ee700312b71dbcbc551 Mon Sep 17 00:00:00 2001 From: Florian Festi Date: Tue, 25 Jul 2017 21:57:58 +0200 Subject: [PATCH] OttoBot: Add Hole for on/off switch --- boxes/generators/ottobody.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/boxes/generators/ottobody.py b/boxes/generators/ottobody.py index 4a52139..8b9c3e8 100644 --- a/boxes/generators/ottobody.py +++ b/boxes/generators/ottobody.py @@ -38,6 +38,8 @@ class OttoBody(Boxes): #self.rectangularHole(self.x-20, self.y/2, 4, 30, 1.5) self.rectangularHole(self.x/2, self.y/2, 10, 5, 1.5) + self.rectangularHole(self.x-7, self.y-6.5, 7, 4) + self.moveTo(0, self.y-12) self.hexHolesCircle(12, (1, 2, 'circle')) @@ -49,6 +51,8 @@ class OttoBody(Boxes): self.hole(6, self.y/2-20, 0.9) def rightBottomCB(self): + self.rectangularHole(7, self.y-6.5, 11.6, 5.6) + self.hole(8, self.y/2+9, 0.9) self.rectangularHole(8, self.y/2-5.5, 12, 23) self.hole(8, self.y/2-20, 0.9)