diff options
| author | George Steel <george.steel@gmail.com> | 2023-01-08 18:33:02 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-08 18:33:02 -0500 |
| commit | fbf57b92d2f37814e0029a1e5b8b413f76697463 (patch) | |
| tree | a5c302b6e093edbca4c20b18ebd9b14dea29da11 /lib/stitches/ripple_stitch.py | |
| parent | a7b2122d91703d72177cf980cecbef8fca3d54ec (diff) | |
| parent | 8d13e09bc41f9cfeaa0cd32cd75fa4da07afc03c (diff) | |
Merge pull request #1918 from inkstitch/george-steel/random-base-satin
Add randomization options to satin columns and rewrite split stitches
Diffstat (limited to 'lib/stitches/ripple_stitch.py')
| -rw-r--r-- | lib/stitches/ripple_stitch.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stitches/ripple_stitch.py b/lib/stitches/ripple_stitch.py index 6b7ce6ca..a66eff74 100644 --- a/lib/stitches/ripple_stitch.py +++ b/lib/stitches/ripple_stitch.py @@ -74,12 +74,12 @@ def _get_satin_ripple_helper_lines(stroke): length = stroke.grid_size or stroke.running_stitch_length # use satin column points for satin like build ripple stitches - rail_points = SatinColumn(stroke.node).plot_points_on_rails(length) + rail_pairs = SatinColumn(stroke.node).plot_points_on_rails(length) steps = _get_steps(stroke.get_line_count(), exponent=stroke.exponent, flip=stroke.flip_exponent) helper_lines = [] - for point0, point1 in zip(*rail_points): + for point0, point1 in rail_pairs: helper_lines.append([]) helper_line = LineString((point0, point1)) for step in steps: |
