diff options
| author | Lex Neva <github.com@lexneva.name> | 2022-05-05 22:53:31 -0400 |
|---|---|---|
| committer | Lex Neva <github.com@lexneva.name> | 2022-05-05 22:53:31 -0400 |
| commit | a275d49a24dc91b734c6dbee1e29157bfd0d59d5 (patch) | |
| tree | f2b636427a5e0997c99775ca7643912d58534dcb /lib/stitches/fill.py | |
| parent | ff0e28d3e552234f634867eaa613cdbb3b2e7c3c (diff) | |
tangential->contour, fix legacy, remove unused params
Diffstat (limited to 'lib/stitches/fill.py')
| -rw-r--r-- | lib/stitches/fill.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/stitches/fill.py b/lib/stitches/fill.py index 94df3f77..d5a983f9 100644 --- a/lib/stitches/fill.py +++ b/lib/stitches/fill.py @@ -162,7 +162,7 @@ def intersect_region_with_grating(shape, angle, row_spacing, end_row_spacing=Non runs.reverse() runs = [tuple(reversed(run)) for run in runs] - yield from runs + yield runs if end_row_spacing: current_row_y += row_spacing + \ @@ -225,6 +225,7 @@ def pull_runs(rows, shape, row_spacing): # print >>sys.stderr, "\n".join(str(len(row)) for row in rows) + rows = list(rows) runs = [] count = 0 while (len(rows) > 0): |
