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)