From 44442712b926ba134c4d1d674fdcb2d300684f77 Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Thu, 2 May 2024 06:53:40 +0200 Subject: move default tartan starting point (#2877) --- lib/stitches/tartan_fill.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/stitches/tartan_fill.py b/lib/stitches/tartan_fill.py index 4d9f3b0f..acac1ed1 100644 --- a/lib/stitches/tartan_fill.py +++ b/lib/stitches/tartan_fill.py @@ -710,8 +710,8 @@ def _get_fill_stitch_groups( if stitch_groups: starting_point = stitch_groups[-1].stitches[-1] else: - starting_point = ensure_multi_line_string(shape.boundary).geoms[0].coords[0] - ending_point = ensure_multi_line_string(shape.boundary).geoms[0].coords[0] + starting_point = ensure_multi_line_string(shape.boundary).geoms[0].coords[1] + ending_point = ensure_multi_line_string(shape.boundary).geoms[0].coords[1] segments = [list(line.coords) for line in lines if len(line.coords) > 1] stitch_group = _segments_to_stitch_group(fill, shape, segments, i, color, starting_point, ending_point) if stitch_group is not None: -- cgit v1.2.3