summaryrefslogtreecommitdiff
path: root/embroider.py
diff options
context:
space:
mode:
Diffstat (limited to 'embroider.py')
-rw-r--r--embroider.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/embroider.py b/embroider.py
index 9c8b507b..918f0632 100644
--- a/embroider.py
+++ b/embroider.py
@@ -120,7 +120,7 @@ def flatten(path, flatness):
return flattened
-def cspToShapelyPolygon(path):
+def csp_to_shapely_polygon(path):
poly_ary = []
for sub_path in path:
point_ary = []
@@ -719,7 +719,7 @@ class Embroider(inkex.Effect):
def filled_region_to_patchlist(self, node):
angle = math.radians(float(get_float_param(node,'angle',0)))
paths = flatten(parse_path(node), self.options.flat)
- shapelyPolygon = cspToShapelyPolygon(paths)
+ shapelyPolygon = csp_to_shapely_polygon(paths)
threadcolor = simplestyle.parseStyle(node.get("style"))["fill"]
return self.process_one_path(
node,