Center flex
This commit is contained in:
parent
5888485b16
commit
c07dee1dd5
|
@ -217,7 +217,7 @@ def draw_flex(t, h):
|
|||
cut = ((h-gap) / ncut) - gap
|
||||
dx = args.flex_width*args.thickness
|
||||
nlines = int(args.corner // dx)
|
||||
x0 = .5*(args.corner - nlines*dx)
|
||||
x0 = .5*(args.corner - (nlines-1)*dx)
|
||||
|
||||
turtle.forward(x0)
|
||||
for line in range(nlines):
|
||||
|
|
Loading…
Reference in New Issue
Block a user