From 7ce4387ff6f8d4302ff374921d0b93b7b491b9a5 Mon Sep 17 00:00:00 2001 From: Momo Date: Wed, 10 Jul 2019 08:08:39 +0200 Subject: trim >= 3 jumps --- lib/extensions/input.py | 2 +- lib/stitch_plan/stitch_plan.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/extensions/input.py b/lib/extensions/input.py index 03148832..a82cdfca 100644 --- a/lib/extensions/input.py +++ b/lib/extensions/input.py @@ -13,7 +13,7 @@ class Input(object): def affect(self, args): embroidery_file = args[0] pattern = pyembroidery.read(embroidery_file) - pattern = pattern.get_pattern_interpolate_trim(2) + pattern = pattern.get_pattern_interpolate_trim(3) stitch_plan = StitchPlan() color_block = None diff --git a/lib/stitch_plan/stitch_plan.py b/lib/stitch_plan/stitch_plan.py index 59c54e3d..899c502f 100644 --- a/lib/stitch_plan/stitch_plan.py +++ b/lib/stitch_plan/stitch_plan.py @@ -78,7 +78,7 @@ class StitchPlan(object): if len(color_block) > 0: color_blocks.append(color_block) - self.color_block = color_blocks + self.color_blocks = color_blocks def add_color_block(self, color_block): self.color_blocks.append(color_block) -- cgit v1.2.3