From a980ed0dbc32e2f8039ee7a563f3c1ffa6c8a05b Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Sat, 30 Nov 2024 17:27:48 +0100 Subject: add randomization options to linear gradient fill (#3311) --- lib/elements/fill_stitch.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'lib/elements') diff --git a/lib/elements/fill_stitch.py b/lib/elements/fill_stitch.py index 4e5503ca..04ddeaea 100644 --- a/lib/elements/fill_stitch.py +++ b/lib/elements/fill_stitch.py @@ -496,7 +496,8 @@ class FillStitch(EmbroideryElement): select_items=[('fill_method', 'auto_fill'), ('fill_method', 'contour_fill'), ('fill_method', 'guided_fill'), - ('fill_method', 'circular_fill')], + ('fill_method', 'circular_fill'), + ('fill_method', 'linear_gradient_fill'),], default=False, sort_index=44) def enable_random_stitch_length(self): @@ -511,7 +512,8 @@ class FillStitch(EmbroideryElement): select_items=[('fill_method', 'auto_fill'), ('fill_method', 'contour_fill'), ('fill_method', 'guided_fill'), - ('fill_method', 'circular_fill')], + ('fill_method', 'circular_fill'), + ('fill_method', 'linear_gradient_fill'),], default=10, sort_index=46) def random_stitch_length_jitter(self): @@ -736,7 +738,8 @@ class FillStitch(EmbroideryElement): ('fill_method', 'contour_fill'), ('fill_method', 'guided_fill'), ('fill_method', 'circular_fill'), - ('fill_method', 'meander_fill')], + ('fill_method', 'meander_fill'), + ('fill_method', 'linear_gradient_fill')], type='random_seed', default='', sort_index=100) -- cgit v1.2.3