summaryrefslogtreecommitdiff
path: root/lib/elements/element.py
diff options
context:
space:
mode:
authorLex Neva <lexelby@users.noreply.github.com>2025-08-22 08:47:24 -0400
committerGitHub <noreply@github.com>2025-08-22 08:47:24 -0400
commitc6c10ad642b92c5dd2687d4b6b48b1b4b36c8de7 (patch)
treefebe691c3fafa050b102fc5897ff85fe494356b1 /lib/elements/element.py
parente9bcdc910a2101c0da2fa379da36e1d1be2fe3f2 (diff)
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
Diffstat (limited to 'lib/elements/element.py')
-rw-r--r--lib/elements/element.py6
1 files changed, 0 insertions, 6 deletions
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):