summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2023-02-27 19:36:39 +0100
committerGitHub <noreply@github.com>2023-02-27 19:36:39 +0100
commita90a4e98972debacd2899b67a240ef3204d15ae6 (patch)
tree7641a1e551fcd78ee9cb47e6c3571f506d539ace /lib
parentec076315bb8b5f901670fee1c06db028242b21fd (diff)
row spacing for circular fill (#2099)
Diffstat (limited to 'lib')
-rw-r--r--lib/elements/fill_stitch.py1
-rw-r--r--lib/stitch_plan/lock_stitch.py2
-rw-r--r--lib/stitch_plan/stitch_group.py2
3 files changed, 2 insertions, 3 deletions
diff --git a/lib/elements/fill_stitch.py b/lib/elements/fill_stitch.py
index 8eb12af2..c49f0b94 100644
--- a/lib/elements/fill_stitch.py
+++ b/lib/elements/fill_stitch.py
@@ -256,6 +256,7 @@ class FillStitch(EmbroideryElement):
select_items=[('fill_method', 'auto_fill'),
('fill_method', 'contour_fill'),
('fill_method', 'guided_fill'),
+ ('fill_method', 'circular_fill'),
('fill_method', 'legacy_fill')],
default=0.25)
def row_spacing(self):
diff --git a/lib/stitch_plan/lock_stitch.py b/lib/stitch_plan/lock_stitch.py
index ba0e5ba7..fec75653 100644
--- a/lib/stitch_plan/lock_stitch.py
+++ b/lib/stitch_plan/lock_stitch.py
@@ -1,10 +1,8 @@
import re
-from copy import copy
from math import degrees
from inkex import DirectedLineSegment, Path
from shapely.geometry import LineString
-from shapely.ops import substring
from ..i18n import _
from ..svg import PIXELS_PER_MM
diff --git a/lib/stitch_plan/stitch_group.py b/lib/stitch_plan/stitch_group.py
index 957da3f8..c85fc5f5 100644
--- a/lib/stitch_plan/stitch_group.py
+++ b/lib/stitch_plan/stitch_group.py
@@ -44,7 +44,7 @@ class StitchGroup:
# instance.foo = None
instance.lock_stitches = None
-
+
return instance
def __add__(self, other):