kopia lustrzana https://github.com/inkstitch/inkstitch
Merge pull request #1940 from inkstitch/george-steel/expose-trim-after
expose the trim_after param in the interfacepull/1955/head
commit
de55286b22
|
@ -23,3 +23,4 @@ locales/
|
|||
/profile_stats
|
||||
/profile_stats.prof
|
||||
/.vscode
|
||||
__pycache__
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue