OttoSoles: Add support for tabs
This commit is contained in:
parent
49ce2ed412
commit
f2106a2c8c
|
@ -52,12 +52,15 @@ class OttoSoles(Boxes):
|
||||||
|
|
||||||
for i in range(self.num*2):
|
for i in range(self.num*2):
|
||||||
if c2 >= 2 * d:
|
if c2 >= 2 * d:
|
||||||
self.polyline(c2, 45, y-2*c, 45, c2/2., 90, w, 90, c2/2-d, -45,
|
self.polyline((c2, 1), 45, (y-2*c, 1), 45, c2/2., 90, (w, 1),
|
||||||
y-2*c-2*d, -45, c2-2*d, -45, x-2*c-2*d, -45,
|
90, c2/2-d, -45, (y-2*c-2*d, 1), -45,
|
||||||
c2/2-d, 90, w, 90, c2/2., 45, x-2*c, 45)
|
(c2-2*d, 1), -45,
|
||||||
|
(x-2*c-2*d, 1), -45, c2/2-d, 90, (w, 1), 90,
|
||||||
|
c2/2., 45, (x-2*c, 1), 45)
|
||||||
self.moveTo(0, w + c2/2. + 2*2**0.5*self.burn)
|
self.moveTo(0, w + c2/2. + 2*2**0.5*self.burn)
|
||||||
else:
|
else:
|
||||||
self.polyline(c2, 45, y-2*c, 45, c2/2., 90, w2, 45,
|
self.polyline((c2, 1), 45, (y-2*c, 1), 45, c2/2., 90, (w2, 1),
|
||||||
y-2*w, -90, x-2*w, 45, w2, 90, c2/2., 45, x-2*c, 45)
|
45, (y-2*w, 1), -90, (x-2*w, 1), 45, (w2, 1), 90,
|
||||||
|
c2/2., 45, (x-2*c, 3), 45)
|
||||||
self.moveTo(0, w * 2**0.5 + 2*2**0.5*self.burn)
|
self.moveTo(0, w * 2**0.5 + 2*2**0.5*self.burn)
|
||||||
self.close()
|
self.close()
|
||||||
|
|
Loading…
Reference in New Issue