expose the trim_after param in the interface

pull/1940/head
George Steel 2022-12-03 17:38:57 -05:00
rodzic af65e9b8af
commit 3c37a016bf
2 zmienionych plików z 7 dodań i 0 usunięć

1
.gitignore vendored
Wyświetl plik

@ -23,3 +23,4 @@ locales/
/profile_stats
/profile_stats.prof
/.vscode
__pycache__

Wyświetl plik

@ -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)