From d1cd63eecd9665c789bd4263de07562408ec896f Mon Sep 17 00:00:00 2001 From: Lex Neva Date: Thu, 18 Feb 2016 21:40:37 -0500 Subject: 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. --- embroider_params.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'embroider_params.py') 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: -- cgit v1.2.3