summaryrefslogtreecommitdiff
path: root/lib/stitches/running_stitch.py
AgeCommit message (Collapse)Author
11 daysRunning stitch length sequence (#4034)Kaalleen
* allow running stitch length sequences * contour fill: fix error message for long stitch length * satin: fix center underlay stitch length
2025-07-11Do not redefine underscore (#3865)Kaalleen
* do not redefine underscore * Disallow any redefinitions going forward --------- Co-authored-by: CapellanCitizen <>
2025-04-18Disconnect stroke and fill pull compensation param (#3670)Kaalleen
* make stroke pull compensation a sided property
2025-03-09Mypy type correctness (#3199)capellancitizen
2024-05-05Add randomized running and fill stitches (#2830)George Steel
Add a mode to running stitch that uses randomized phase and stitch length instead of even spacing. This greatly reduces moire effects when stitching closely-spaced curves in running-stitch-based fills. Add option for randomized running stitch to: ripple stitch circular fill contour fill guided fill auto-fill When is randomization is not selected, ripple stitch will use even running stitch when staggers are set to 0 (default) and the stagger algorithm from guided fill (which does not look nice with a stagger period of 0) when staggers is nonzero. Also includes fix for satin contour underlays (missing tolerance default) mentioned in #2814. This sets the default tolerance to 0.2mm, which is the largest tolerance guaranteed to be backwards-compatible with existing designs using the default inset of 0.4mm. Original commits: * fix satin underlay tolerance default * Add randomized running stitch, make available in ripple stitch, circular, and contour * add randomized guided fill * make ripple stitch use even stitching when not staggering or randomizing. * add random auto-fill and switch jitter parameter to a percentage (matches satin) * fix comments
2024-01-28add zigzag option to meander (#2699)Kaalleen
2023-07-20add min/max split positionLex Neva
2023-07-16add running_stitch.split_segment_stagger_phase()Lex Neva
2023-07-04avoid error message on small contour fill with single or double spiral (#2403)Kaalleen
2023-07-01remove debug timing in frequently-run functionsLex Neva
2023-05-10circular fill bean: ignore travel stitches (#2281)Kaalleen
2023-04-30fix irregular bean stitch start (#2257)Kaalleen
2023-04-02meander fixesLex Neva
2023-02-20use snake caseLex Neva
per python coding standard
2023-02-16add more check_stop_flag() callsLex Neva
2023-01-29fix commentGeorge Steel
2023-01-29tidy path_to_curvesGeorge Steel
2023-01-28add minimum length check to path_to_curves and add commentsGeorge Steel
2023-01-22add missing bounds checkGeorge Steel
2023-01-22fix backtracking caseGeorge Steel
2023-01-22add comments and a rounding correctionGeorge Steel
2023-01-22fix 3.8 errorGeorge Steel
2023-01-22Replace running stitch algorithm to give consistent stitch lengths.George Steel
2023-01-15Add bean stitch repeat pattern (#1938)Kaalleen
! backward compatibility warning: Users need to fix their documents if they used comma separated values for multiple fill underlays (without a space)
2022-12-26python 3.8 fixesGeorge Steel
2022-12-26use random oracle for randomized satin columns and redo split stitchesGeorge Steel
2022-06-22add running stitch tolerance param (#1701)Lex Neva
2022-06-10Guided ripple stitch (#1675)Kaalleen
Co-authored-by: @lexelby
2022-05-04way better corner handling for running stitchLex Neva
2021-03-11add copyright headersLex Neva
2021-03-04Update for Inkscape 1.0 (#880)Kaalleen
* update for inkscape 1.0 * add about extension * Build improvements for the inkscape1.0 branch (#985) * zip: export real svg not stitch plan * #411 and #726 * Tools for Font Creators (#1018) * ignore very small holes in fills * remove embroider (#1026) * auto_fill: ignore shrink_or_grow if result is empty (#589) * break apart: do not ignore small fills Co-authored-by: Hagen Fritsch <rumpeltux-github@irgendwo.org> Co-authored-by: Lex Neva <github.com@lexneva.name>
2019-08-05add Troubleshoot extension (#465)Kaalleen
adds an extension to help you understand what's wrong with an object and how to fix it, e.g. "invalid" fill shapes
2019-01-04ability to stitch a single-point running stitch pathLex Neva
2018-07-27add bean stitch optionLex Neva
2018-05-28fix two bugs in running stitchLex Neva
* the first stitch was duplicated * the last stitch was omitted
2018-05-01rename inkstitch/ to lib/Lex Neva
You can't have a module and a package named the same thing. PyInstaller wants to import the main script as if it were a module, and this doesn't work unless there's no directory of the same name with a __init__.py in it.