Center flex
This commit is contained in:
		@@ -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):
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user