From c6c10ad642b92c5dd2687d4b6b48b1b4b36c8de7 Mon Sep 17 00:00:00 2001 From: Lex Neva Date: Fri, 22 Aug 2025 08:47:24 -0400 Subject: a few fixes for converting stroke to satin internally (#3926) * remove unused flatten_subpath() * there will always be two rails here * handle degenerate zero-length sections * remove unused SatinColumn.merge() * mark merge() as private and adjust docstring --- lib/elements/element.py | 6 ------ 1 file changed, 6 deletions(-) (limited to 'lib/elements/element.py') diff --git a/lib/elements/element.py b/lib/elements/element.py index 1ca78b04..4aaf7580 100644 --- a/lib/elements/element.py +++ b/lib/elements/element.py @@ -520,12 +520,6 @@ class EmbroideryElement(object): return [self.strip_control_points(subpath) for subpath in path] - def flatten_subpath(self, subpath): - path = [deepcopy(subpath)] - bezier.cspsubdiv(path, 0.1) - - return self.strip_control_points(path[0]) - @property @cache def lock_stitches(self): -- cgit v1.2.3