summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--lib/elements/element.py6
2 files changed, 7 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e6dca05c..e60a6aa9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -23,3 +23,4 @@ locales/
/profile_stats
/profile_stats.prof
/.vscode
+__pycache__
diff --git a/lib/elements/element.py b/lib/elements/element.py
index 96949ca3..7c3f4ca4 100644
--- a/lib/elements/element.py
+++ b/lib/elements/element.py
@@ -342,6 +342,12 @@ class EmbroideryElement(object):
return self.strip_control_points(path[0])
@property
+ @param('trim_after',
+ _ ('Trim After'),
+ tooltip=_('Add a TRIM command after stitching this object.'),
+ type='boolean',
+ default=False,
+ sort_index=52)
def trim_after(self):
return self.get_boolean_param('trim_after', False)