diff options
| author | George Steel <george.steel@gmail.com> | 2022-12-03 17:38:57 -0500 |
|---|---|---|
| committer | George Steel <george.steel@gmail.com> | 2022-12-03 17:38:57 -0500 |
| commit | 3c37a016bfd5805744eb18d82a76804a0a3e4806 (patch) | |
| tree | 23fac7dd18c352b7ff35610c74451e550ddca5e1 | |
| parent | af65e9b8afbfd31f050cfafecb838270fc48fe8f (diff) | |
expose the trim_after param in the interface
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | lib/elements/element.py | 6 |
2 files changed, 7 insertions, 0 deletions
@@ -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) |
