From e26991695a742d689954bdc4213a6a67ab116bab Mon Sep 17 00:00:00 2001 From: Florian Festi Date: Sun, 17 Dec 2017 15:30:32 +0100 Subject: [PATCH] Mark top side of servo mount. Move servo mounts up as they need to be cut separately (in 5mm) --- boxes/generators/ottobody.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/boxes/generators/ottobody.py b/boxes/generators/ottobody.py index f4c2c40..a5a0d69 100644 --- a/boxes/generators/ottobody.py +++ b/boxes/generators/ottobody.py @@ -52,6 +52,7 @@ class OttoBody(Boxes): self.hole(6, self.y/2-20, 0.9) def rightBottomCB(self): + self.hole(7, self.y-5, 2) self.hole(8, self.y/2+9, 0.9) self.rectangularHole(8, self.y/2-5.5, 12, 23) @@ -144,8 +145,11 @@ class OttoBody(Boxes): self.ctx.restore() self.PCB_Clamp(y-53.5, 4.5, hl, move="up only") # servo mounts - self.rectangularWall(y, 14, callback=[None, self.leftBottomCB], move="up") - self.rectangularWall(y-5.6, 14, callback=[None, self.rightBottomCB], move="up") + self.moveTo(0, 50) + self.rectangularWall(y, 14, callback=[None, None, None, + self.leftBottomCB], move="up") + self.rectangularWall(y-5.6, 14, callback=[ + None, None, None, self.rightBottomCB], move="up") self.close()