diff options
Diffstat (limited to 'lib/elements/element.py')
| -rw-r--r-- | lib/elements/element.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/elements/element.py b/lib/elements/element.py index ec50ce22..78954683 100644 --- a/lib/elements/element.py +++ b/lib/elements/element.py @@ -247,6 +247,12 @@ class EmbroideryElement(object): return [self.strip_control_points(subpath) for subpath in path] + def flatten_subpath(self, subpath): + path = [deepcopy(subpath)] + cspsubdiv(path, 0.1) + + return self.strip_control_points(path[0]) + @property def trim_after(self): return self.get_boolean_param('trim_after', False) |
