From e28ea888a9604052d6d7b94c8e29e34b74242994 Mon Sep 17 00:00:00 2001 From: George Steel Date: Mon, 26 Dec 2022 20:13:48 -0500 Subject: use random oracle for randomized satin columns and redo split stitches --- lib/stitches/ripple_stitch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/stitches/ripple_stitch.py') 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: -- cgit v1.2.3