summaryrefslogtreecommitdiff
path: root/lib/extensions
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2025-11-07 17:10:03 +0100
committerGitHub <noreply@github.com>2025-11-07 17:10:03 +0100
commit5a9ae03dc14ea5b68a99581c21a5d8085f1a3243 (patch)
tree4b729fbdc8656f3ba75b7dfdd2ccfecdd8718fee /lib/extensions
parent383f164b6d90c0819d49f4fb16deb9efa3e11df2 (diff)
Running stitch length sequence (#4034)
* allow running stitch length sequences * contour fill: fix error message for long stitch length * satin: fix center underlay stitch length
Diffstat (limited to 'lib/extensions')
-rw-r--r--lib/extensions/fill_to_stroke.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/extensions/fill_to_stroke.py b/lib/extensions/fill_to_stroke.py
index c1b5ce9d..f1d32cbe 100644
--- a/lib/extensions/fill_to_stroke.py
+++ b/lib/extensions/fill_to_stroke.py
@@ -110,11 +110,11 @@ class FillToStroke(InkstitchExtension):
def _get_high_res_polygon(self, polygon):
# use running stitch method
- runs = [even_running_stitch(line_string_to_point_list(polygon.exterior), 1, 0.1)]
+ runs = [even_running_stitch(line_string_to_point_list(polygon.exterior), [1], 0.1)]
if len(runs[0]) < 3:
return
for interior in polygon.interiors:
- shape = even_running_stitch(line_string_to_point_list(interior), 1, 0.1)
+ shape = even_running_stitch(line_string_to_point_list(interior), [1], 0.1)
if len(shape) >= 3:
runs.append(shape)
return MultiPolygon([(runs[0], runs[1:])])