summaryrefslogtreecommitdiff
path: root/lib/stitches/fill.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/stitches/fill.py')
-rw-r--r--lib/stitches/fill.py2
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()]