From 62b60164484d12dd4ca26356932d63a5cc7fde75 Mon Sep 17 00:00:00 2001 From: Florian Festi Date: Sat, 13 Jan 2018 21:11:33 +0100 Subject: [PATCH] OttoLegs: Increase number of tabs for feet and ankles --- boxes/generators/ottolegs.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/boxes/generators/ottolegs.py b/boxes/generators/ottolegs.py index b1719bf..c6a2b73 100644 --- a/boxes/generators/ottolegs.py +++ b/boxes/generators/ottolegs.py @@ -55,7 +55,7 @@ class OttoLegs(Boxes): self.moveTo(r, 0) for l in (x, y, x, y): - self.polyline((l - 2*r, 1), 45, r*2**0.5, 45) + self.polyline((l - 2*r, 2), 45, r*2**0.5, 45) self.move(x, y, move) @@ -74,7 +74,8 @@ class OttoLegs(Boxes): self.edges[edge](x) self.polyline(0, 90) self.cc(callback, 1) - self.polyline(h, 90, (f*x, 2), 45, (2**0.5)*(1-f)*x, 45, h-(1-f)*x, 90) + self.polyline((h, 2), 90, (f*x, 1), 45, ((2**0.5)*(1-f)*x, 1), 45, + (h-(1-f)*x, 1), 90) self.moveTo(tw, th, 180) self.ctx.stroke() self.move(tw, th, move)