summaryrefslogtreecommitdiff
path: root/lib/stitches/fill.py
diff options
context:
space:
mode:
authorLex Neva <github.com@lexneva.name>2018-08-21 20:32:50 -0400
committerLex Neva <github.com@lexneva.name>2018-08-21 20:32:50 -0400
commit038875f876d79d0f1e971886fe42f5bee4f9f31e (patch)
tree296c60d3b490f988802f9bec884eed32dcbf9c0c /lib/stitches/fill.py
parentf26042f477f1520443b1d9dad0bb88ef3ad7ca47 (diff)
autopep8
Diffstat (limited to 'lib/stitches/fill.py')
-rw-r--r--lib/stitches/fill.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/stitches/fill.py b/lib/stitches/fill.py
index 14971cb4..ac8b52ee 100644
--- a/lib/stitches/fill.py
+++ b/lib/stitches/fill.py
@@ -37,6 +37,7 @@ def adjust_stagger(stitch, angle, row_spacing, max_stitch_length, staggers):
return stitch - offset * east(angle)
+
def stitch_row(stitches, beg, end, angle, row_spacing, max_stitch_length, staggers):
# We want our stitches to look like this:
#
@@ -163,6 +164,7 @@ def intersect_region_with_grating(shape, angle, row_spacing, end_row_spacing=Non
return rows
+
def section_to_stitches(group_of_segments, angle, row_spacing, max_stitch_length, staggers):
stitches = []
first_segment = True