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 7d8121d2..638f8b61 100644
--- a/embroider.py
+++ b/embroider.py
@@ -785,14 +785,14 @@ class Stroke(EmbroideryElement):
if stroke_width == 0.0 and last_segment_direction is not None:
if abs(1.0 - along * last_segment_direction) > 0.5:
# if greater than 45 degree angle, stitch the corner
- rho = self.zigzag_spacing
+ rho = zigzag_spacing
patch.add_stitch(p0)
# iteration variable: how far we are along segment
while (rho <= seg_len):
left_pt = p0 + along * rho + perp * side
patch.add_stitch(left_pt)
- rho += self.zigzag_spacing
+ rho += zigzag_spacing
side = -side
p0 = p1