From bc4f3b4699555f48c571be9a22a6768635c38cd0 Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Wed, 18 May 2022 16:02:07 +0200 Subject: Auto route for running stitch (#1638) * add auto route for running stitch * introduce free motion commands Co-authored-by: Lex Neva --- lib/elements/satin_column.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'lib/elements/satin_column.py') diff --git a/lib/elements/satin_column.py b/lib/elements/satin_column.py index a30f16d4..83080003 100644 --- a/lib/elements/satin_column.py +++ b/lib/elements/satin_column.py @@ -216,10 +216,7 @@ class SatinColumn(EmbroideryElement): # This isn't used for satins at all, but other parts of the code # may need to know the general shape of a satin column. - flattened = self.flatten(self.parse_path()) - line_strings = [shgeo.LineString(path) for path in flattened] - - return shgeo.MultiLineString(line_strings) + return shgeo.MultiLineString(self.flattened_rails).convex_hull @property @cache -- cgit v1.2.3