summaryrefslogtreecommitdiff
path: root/lib/stitches/fill.py
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/stitches/fill.py
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/stitches/fill.py')
-rw-r--r--lib/stitches/fill.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/stitches/fill.py b/lib/stitches/fill.py
index ad082b2d..e50c4007 100644
--- a/lib/stitches/fill.py
+++ b/lib/stitches/fill.py
@@ -63,7 +63,8 @@ def stitch_row(stitches, beg, end, angle, row_spacing, max_stitch_length, stagge
stitches.append(beg)
if enable_random_stitch_length:
- stitches += split_segment_random_phase(beg, end, max_stitch_length, random_sigma, random_seed)
+ stitched_line = split_segment_random_phase(beg, end, max_stitch_length, random_sigma, random_seed)
+ stitches.extend([Stitch(stitch, tags=('fill_row',)) for stitch in stitched_line])
else:
# We want our stitches to look like this:
#