OttoLegs: Increase number of tabs for feet and ankles

This commit is contained in:
Florian Festi 2018-01-13 21:11:33 +01:00
parent 68f1c375f7
commit 62b6016448
1 changed files with 3 additions and 2 deletions

View File

@ -55,7 +55,7 @@ class OttoLegs(Boxes):
self.moveTo(r, 0) self.moveTo(r, 0)
for l in (x, y, x, y): 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) self.move(x, y, move)
@ -74,7 +74,8 @@ class OttoLegs(Boxes):
self.edges[edge](x) self.edges[edge](x)
self.polyline(0, 90) self.polyline(0, 90)
self.cc(callback, 1) 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.moveTo(tw, th, 180)
self.ctx.stroke() self.ctx.stroke()
self.move(tw, th, move) self.move(tw, th, move)