studly caps to underscores (pep8)

pull/2/merge
Lex Neva 2016-10-27 22:32:49 -04:00
rodzic f2bb136c75
commit ae49143c3a
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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,