diff options
| author | Lex Neva <github@lexneva.name> | 2016-02-18 21:40:37 -0500 |
|---|---|---|
| committer | Lex Neva <github@lexneva.name> | 2016-02-18 21:43:16 -0500 |
| commit | d1cd63eecd9665c789bd4263de07562408ec896f (patch) | |
| tree | 49261ac42a2634d2a48e6e8b4a911979a9b966d9 /embroider_params.py | |
| parent | cf81db3670dd985583b2d158dd1214f8f2e717e0 (diff) | |
get rid of randomness in fills
Previously, each row in a fill region was offset by a random amount. This
looks better than not offsetting at all (which will create visible columns of
stitches), but humans are very good at finding patterns in randomness. The
result is that fill regions look weird.
This commit instead carefully orders the stitches in fill regions such that
each row's stitches are offset by half of max_stitch_length from the previous.
There are also a couple of other miscellaneous fixes and features in here --
sorry about that.
Diffstat (limited to 'embroider_params.py')
| -rw-r--r-- | embroider_params.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/embroider_params.py b/embroider_params.py index d9fc21c1..8b9e376a 100644 --- a/embroider_params.py +++ b/embroider_params.py @@ -16,13 +16,14 @@ class EmbroiderParams(inkex.Effect): inkex.Effect.__init__(self) self.params = ["zigzag_spacing", - "running_stitch_length", + "stitch_length", "row_spacing", "max_stitch_length", "repeats", "angle", "hatching", - "satin_column" + "satin_column", + "stroke_first", ] for param in self.params: |
