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)