diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2024-11-30 17:27:48 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-30 17:27:48 +0100 |
| commit | a980ed0dbc32e2f8039ee7a563f3c1ffa6c8a05b (patch) | |
| tree | 1d2128bf96b80c5372ab8f884e5d6f89caec9fb1 /lib/elements | |
| parent | 7390a702ecb58b0de14c679b1e7e612e957e1907 (diff) | |
add randomization options to linear gradient fill (#3311)
Diffstat (limited to 'lib/elements')
| -rw-r--r-- | lib/elements/fill_stitch.py | 9 |
1 files changed, 6 insertions, 3 deletions
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) |
