diff options
| author | Lex Neva <github.com@lexneva.name> | 2023-02-05 22:33:38 -0500 |
|---|---|---|
| committer | Lex Neva <github.com@lexneva.name> | 2023-02-16 22:56:16 -0500 |
| commit | f6c2aa89197c82cedfb31465fc4b2acffaeb8f25 (patch) | |
| tree | 1123050a6ba7428dbcc8b72bd074161bdb3e014f /lib/stitches/fill.py | |
| parent | 62b7c0080c90d0cf44ee173db7d1f237e8df538e (diff) | |
add more check_stop_flag() calls
Diffstat (limited to 'lib/stitches/fill.py')
| -rw-r--r-- | lib/stitches/fill.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/stitches/fill.py b/lib/stitches/fill.py index b3bb0bb7..3bd7761d 100644 --- a/lib/stitches/fill.py +++ b/lib/stitches/fill.py @@ -140,6 +140,8 @@ def intersect_region_with_grating(shape, angle, row_spacing, end_row_spacing=Non current_row_y = start rows = [] while current_row_y < end: + check_stop_flag() + p0 = center + normal * current_row_y + direction * half_length p1 = center + normal * current_row_y - direction * half_length endpoints = [p0.as_tuple(), p1.as_tuple()] |
