summaryrefslogtreecommitdiff
path: root/lib/elements/fill_stitch.py
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2024-05-06 18:44:40 +0200
committerGitHub <noreply@github.com>2024-05-06 18:44:40 +0200
commit1d865556fdc8f38dfa680c0d3913ef1e6a4c5a0f (patch)
treed0f9c599f16eac3845c49d60942965e885440c24 /lib/elements/fill_stitch.py
parent39882db492aac0b3126708535d0d79c9e8c9ba25 (diff)
Remove unused param from legacy fill (#2879)
* remove unused param from legacy fill * zigzag -> zig-zag, some ordering
Diffstat (limited to 'lib/elements/fill_stitch.py')
-rw-r--r--lib/elements/fill_stitch.py11
1 files changed, 9 insertions, 2 deletions
diff --git a/lib/elements/fill_stitch.py b/lib/elements/fill_stitch.py
index 56b9888d..555bcbe2 100644
--- a/lib/elements/fill_stitch.py
+++ b/lib/elements/fill_stitch.py
@@ -461,6 +461,13 @@ class FillStitch(EmbroideryElement):
unit='mm',
type='float',
default=0.1,
+ select_items=[('fill_method', 'auto_fill'),
+ ('fill_method', 'contour_fill'),
+ ('fill_method', 'guided_fill'),
+ ('fill_method', 'meander_fill'),
+ ('fill_method', 'circular_fill'),
+ ('fill_method', 'linear_gradient_fill'),
+ ('fill_method', 'tartan_fill')],
sort_index=43)
def running_stitch_tolerance(self):
return max(self.get_float_param("running_stitch_tolerance_mm", 0.2), 0.01)
@@ -538,8 +545,8 @@ class FillStitch(EmbroideryElement):
@property
@param('zigzag_width_mm',
- _('Zigzag width'),
- tooltip=_('Width of the zigzag line.'),
+ _('Zig-zag width'),
+ tooltip=_('Width of the zig-zag line.'),
unit='mm',
type='float',
select_items=[('fill_method', 'meander_fill')],