summaryrefslogtreecommitdiff
path: root/lib/stitches
diff options
context:
space:
mode:
authorLex Neva <github.com@lexneva.name>2019-03-08 20:06:36 -0500
committerLex Neva <github.com@lexneva.name>2019-03-08 20:06:36 -0500
commitfb3c8186d275afa18c8146a453654afaf879ed34 (patch)
treee48053de68b0254b27ff650103e40fb13d80e4be /lib/stitches
parenta14ed903cf6043e4138d7d3d59a5cac9750cb191 (diff)
lower trim threshold to 0.75mm
Diffstat (limited to 'lib/stitches')
-rw-r--r--lib/stitches/auto_satin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stitches/auto_satin.py b/lib/stitches/auto_satin.py
index 7c09b023..75b13176 100644
--- a/lib/stitches/auto_satin.py
+++ b/lib/stitches/auto_satin.py
@@ -613,7 +613,7 @@ def operations_to_elements_and_trims(operations, preserve_order):
elements.append(operation.to_element())
original_parent_nodes.append(operation.original_node.getparent())
elif isinstance(operation, (JumpStitch)):
- if elements and operation.length > PIXELS_PER_MM:
+ if elements and operation.length > 0.75 * PIXELS_PER_MM:
trims.append(len(elements) - 1)
return elements, list(set(trims)), original_parent_nodes