From 1d865556fdc8f38dfa680c0d3913ef1e6a4c5a0f Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Mon, 6 May 2024 18:44:40 +0200 Subject: Remove unused param from legacy fill (#2879) * remove unused param from legacy fill * zigzag -> zig-zag, some ordering --- lib/elements/fill_stitch.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'lib/elements/fill_stitch.py') 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')], -- cgit v1.2.3