From cd3fee5e763e0ccf46774e36a3bd00ce307402f8 Mon Sep 17 00:00:00 2001 From: Florian Festi Date: Sat, 11 Mar 2017 20:14:29 +0100 Subject: [PATCH] OttoLegs: More tweaks Lengthen front by 1mm to close gap to servo Lower ankle hole at leg by 0.5mm Shorten internal wall holding the servo at top --- boxes/generators/ottolegs.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/boxes/generators/ottolegs.py b/boxes/generators/ottolegs.py index ea219ea..b776265 100644 --- a/boxes/generators/ottolegs.py +++ b/boxes/generators/ottolegs.py @@ -77,16 +77,16 @@ class OttoLegs(Boxes): # Legs c1 = edges.CompoundEdge(self, "FE", (ly-7.0, 7.0)) - c2 = edges.CompoundEdge(self, "EF", (8.0, lh-8.0)) + c2 = edges.CompoundEdge(self, "EF", (7.0, lh-7.0)) e = [c1, c2, "F", "F"] ws = 25 for i in range(2): # front - self.rectangularWall(lx, lh-8., [LegEdge(self, None), "f", "F", "f"], callback=[None, lambda:self.fingerHolesAt(ws-8., 0, lx)], move="right") + self.rectangularWall(lx, lh-7., [LegEdge(self, None), "f", "F", "f"], callback=[None, lambda:self.fingerHolesAt(ws-7., 0, lx)], move="right") # back self.rectangularWall(lx, lh, "FfFf", callback=[ - lambda:self.hole(lx/2, 7.5, self.anklebolt/2)], move="right") + lambda:self.hole(lx/2, 7, self.anklebolt/2)], move="right") # sides self.rectangularWall(ly, lh, e, callback=[None, lambda:self.fingerHolesAt(ws, 7.0, ly-7.0)], move="right") @@ -100,9 +100,9 @@ class OttoLegs(Boxes): self.rectangularWall(ly, lx, "ffff", callback=[None, lambda: self.hole(lx/2, ly/2, 2.3)], move="down right only") # hold servo at the front - self.rectangularWall(5.15, lx, "efee", move="up") - self.rectangularWall(5.15, lx, "efee", move="") - self.rectangularWall(5.15, lx, "efee", move="down right only") + self.rectangularWall(4.6, lx, "efee", move="up") + self.rectangularWall(4.6, lx, "efee", move="") + self.rectangularWall(4.6, lx, "efee", move="down right only") # strengthen top self.rectangularWall(lx, ly, "eeee", callback=[lambda: self.hole(lx/2, ly/2, 1.5)], move="up")