From a90a4e98972debacd2899b67a240ef3204d15ae6 Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Mon, 27 Feb 2023 19:36:39 +0100 Subject: row spacing for circular fill (#2099) --- lib/elements/fill_stitch.py | 1 + lib/stitch_plan/lock_stitch.py | 2 -- lib/stitch_plan/stitch_group.py | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) (limited to 'lib') 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): -- cgit v1.2.3