diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2024-05-12 20:19:56 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-12 20:19:56 +0200 |
| commit | 747ae5e3b7b4f487320410a81a812fa4bb837288 (patch) | |
| tree | 0c1dd276cd098f1826313a1e4de1ca7c76465f1e /lib/elements | |
| parent | af8b83219172e643da7e3b4c8f0a4bb70927ce50 (diff) | |
fix center walk underlay repeats (#2895)
Diffstat (limited to 'lib/elements')
| -rw-r--r-- | lib/elements/satin_column.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/elements/satin_column.py b/lib/elements/satin_column.py index 6acb2f52..593eac01 100644 --- a/lib/elements/satin_column.py +++ b/lib/elements/satin_column.py @@ -1213,11 +1213,13 @@ class SatinColumn(EmbroideryElement): points = [points[0] for points in pairs] stitches = running_stitch.even_running_stitch(points, self.center_walk_underlay_stitch_length, self.center_walk_underlay_stitch_tolerance) + repeated_stitches = [] for i in range(self.center_walk_underlay_repeats - 1): if i % 2 == 0: - stitches.extend(reversed(stitches)) + repeated_stitches.extend(reversed(stitches)) else: - stitches.extend(stitches) + repeated_stitches.extend(stitches) + stitches.extend(repeated_stitches) return StitchGroup( color=self.color, |
