diff options
| author | George Steel <george.steel@gmail.com> | 2022-12-11 12:02:52 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-11 12:02:52 -0500 |
| commit | de55286b221b00b41a7773e8938c91b32f08d298 (patch) | |
| tree | a1827dd39da87fe2939fd4d66decd7885bffd677 | |
| parent | f74f427cae738246c75c37c991a2e762a5fcabe5 (diff) | |
| parent | e52f889bb0cb208685b3f3ef8271f63ecd318af1 (diff) | |
Merge pull request #1940 from inkstitch/george-steel/expose-trim-after
expose the trim_after param in the interface
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | lib/elements/element.py | 12 |
2 files changed, 13 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..84141d4f 100644 --- a/lib/elements/element.py +++ b/lib/elements/element.py @@ -342,10 +342,22 @@ 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) @property + @param('stop_after', + _ ('Stop After'), + tooltip=_('Add a STOP command after stitching this object.'), + type='boolean', + default=False, + sort_index=53) def stop_after(self): return self.get_boolean_param('stop_after', False) |
