kopia lustrzana https://github.com/inkstitch/inkstitch
row spacing for circular fill (#2099)
rodzic
ec076315bb
commit
a90a4e9897
|
@ -256,6 +256,7 @@ class FillStitch(EmbroideryElement):
|
||||||
select_items=[('fill_method', 'auto_fill'),
|
select_items=[('fill_method', 'auto_fill'),
|
||||||
('fill_method', 'contour_fill'),
|
('fill_method', 'contour_fill'),
|
||||||
('fill_method', 'guided_fill'),
|
('fill_method', 'guided_fill'),
|
||||||
|
('fill_method', 'circular_fill'),
|
||||||
('fill_method', 'legacy_fill')],
|
('fill_method', 'legacy_fill')],
|
||||||
default=0.25)
|
default=0.25)
|
||||||
def row_spacing(self):
|
def row_spacing(self):
|
||||||
|
|
|
@ -1,10 +1,8 @@
|
||||||
import re
|
import re
|
||||||
from copy import copy
|
|
||||||
from math import degrees
|
from math import degrees
|
||||||
|
|
||||||
from inkex import DirectedLineSegment, Path
|
from inkex import DirectedLineSegment, Path
|
||||||
from shapely.geometry import LineString
|
from shapely.geometry import LineString
|
||||||
from shapely.ops import substring
|
|
||||||
|
|
||||||
from ..i18n import _
|
from ..i18n import _
|
||||||
from ..svg import PIXELS_PER_MM
|
from ..svg import PIXELS_PER_MM
|
||||||
|
|
|
@ -44,7 +44,7 @@ class StitchGroup:
|
||||||
# instance.foo = None
|
# instance.foo = None
|
||||||
|
|
||||||
instance.lock_stitches = None
|
instance.lock_stitches = None
|
||||||
|
|
||||||
return instance
|
return instance
|
||||||
|
|
||||||
def __add__(self, other):
|
def __add__(self, other):
|
||||||
|
|
Ładowanie…
Reference in New Issue