summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMomo <reni@allenka.de>2019-07-10 08:08:39 +0200
committerMomo <reni@allenka.de>2019-07-10 08:08:39 +0200
commit7ce4387ff6f8d4302ff374921d0b93b7b491b9a5 (patch)
tree3ad05a4b44f5bd5804bc9a10e590eddc9be3bed4 /lib
parentcff12ce18ff94a4d7b779b3c7063eb6b82afa526 (diff)
trim >= 3 jumps
Diffstat (limited to 'lib')
-rw-r--r--lib/extensions/input.py2
-rw-r--r--lib/stitch_plan/stitch_plan.py2
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)