diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2023-02-27 19:36:39 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-27 19:36:39 +0100 |
| commit | a90a4e98972debacd2899b67a240ef3204d15ae6 (patch) | |
| tree | 7641a1e551fcd78ee9cb47e6c3571f506d539ace /lib | |
| parent | ec076315bb8b5f901670fee1c06db028242b21fd (diff) | |
row spacing for circular fill (#2099)
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/elements/fill_stitch.py | 1 | ||||
| -rw-r--r-- | lib/stitch_plan/lock_stitch.py | 2 | ||||
| -rw-r--r-- | lib/stitch_plan/stitch_group.py | 2 |
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): |
