summaryrefslogtreecommitdiff
path: root/lib/stitches/fill.py
AgeCommit message (Collapse)Author
2025-05-03legacy fill: do not ignore end_row_spacing when grouping sections (#3703)Kaalleen
2024-07-09Skip stitch zero length row (#3054)Kaalleen
* fix #3052 * add one stitch for zero length row
2024-06-20auto-fill pull compensation (#2891)Lex Neva
2024-06-20gray out randomize stitch length param when random stitch length is disabled ↵Kaalleen
(#3002)
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-03-29Add "the tartan universe" (#2782)Kaalleen
2023-12-25Ignore multipoints in intersect regions with gratings (#2647)Kaalleen
2023-02-27Various lock stitch options (#2006)Kaalleen
Co-authored-by: Lex Neva
2023-02-16add more check_stop_flag() callsLex Neva
2023-02-16make simulator threads pre-emptibleLex Neva
2022-11-27This and that (#1727)Kaalleen
* dont fail on satin with fill * fill stitch error message * convert to satin mac issue * auto_satin: add rung for two node old style satins * avoid divide by zero in intersect_region_with_grating * fix for incorrect stagger in guided fill * better rail sectioning algorithm * fix #1780 * fix #1816 Co-authored-by: Lex Neva
2022-11-10lettering: ignore invalid glyph layers (#1892)Kaalleen
2022-10-23Add support for fractional-length stagger cycles in fills.George Steel
2022-06-30Fixes (#1703)Kaalleen
* guide line position * use direction from line to shape * optimize intersection detection * fix flapack elf * handle weird guide lines better * update starting point for self crossing (multiple) fills * ripple: fixes and non circular join style * avoid jumps in ripple stitch * fallback only necessary if shape does not intersect grating * make valid may return a polygon * add profiling * Stitch.__init__ didn't work right and was super slow * shrink or grow to multipolygon Co-authored-by: Lex Neva
2022-05-07undo aggressive line wrappingLex Neva
2022-05-05tangential->contour, fix legacy, remove unused paramsLex Neva
2022-05-04rebase correctionsKaalleen
2022-05-04use running_stitch instead for guided fillLex Neva
2022-05-04separate guided fill methodsKaalleen
2022-05-04adjusting namingsAndreas
2022-05-04remove some pattern and marker mixups and some style issuesKaalleen
2022-05-04bug fixing+first spiral implementationAndreas
2022-05-04minor changesAndreas
2022-05-04bug fixingAndreas
2022-05-04Applied style guideAndreas
2022-05-04added tangential and guided fillAndreas
2022-01-23multipart geometry in intersect region (#1475)Kaalleen
2021-08-07use tags to decide which stitches to keepLex Neva
2021-08-07add tags to fill stitchesLex 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-03-14underpathing!Lex Neva
2018-12-12add option to skip last stitch in fill rowsLex Neva
2018-08-21pyflakes fixesLex Neva
2018-08-21more pep8 fixesLex Neva
2018-08-21autopep8Lex Neva
2018-05-01refactor everything out of lib/__init__.pyLex Neva
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.