From 8c7c208b5e745146b2226e905db3f4a038e21939 Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Wed, 1 Jan 2025 07:54:14 +0100 Subject: fill: first stitch correction (#3391) --- lib/elements/fill_stitch.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/elements/fill_stitch.py') diff --git a/lib/elements/fill_stitch.py b/lib/elements/fill_stitch.py index d7e92433..41ac1de1 100644 --- a/lib/elements/fill_stitch.py +++ b/lib/elements/fill_stitch.py @@ -894,7 +894,8 @@ class FillStitch(EmbroideryElement): @property def first_stitch(self): # Serves as a reverence point for the end point of the previous element - # This isn't really used for fill stitches as they always make their first stitch point dependent on the previous element itself + if self.get_command('starting_point'): + return shgeo.Point(*self.get_command('starting_point').target_point) return None def get_starting_point(self, previous_stitch_group): -- cgit v1.2.3