From 3c37a016bfd5805744eb18d82a76804a0a3e4806 Mon Sep 17 00:00:00 2001 From: George Steel Date: Sat, 3 Dec 2022 17:38:57 -0500 Subject: [PATCH] expose the trim_after param in the interface --- .gitignore | 1 + lib/elements/element.py | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/.gitignore b/.gitignore index e6dca05c0..e60a6aa95 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 96949ca3b..7c3f4ca43 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)