summaryrefslogtreecommitdiff
path: root/lib/stitches/guided_fill.py
AgeCommit message (Collapse)Author
2024-06-20gray out randomize stitch length param when random stitch length is disabled ↵Kaalleen
(#3002)
2024-05-11Update inkex (#2892)Kaalleen
* fix currentColor * fix pip inkex import * fix color block extension
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
2024-01-25Second chance for invalid fill stitch graphs (#2643)Kaalleen
2023-11-22Add linear gradient fill (#2587)Kaalleen
2023-10-15Update shapely (#2471)Kaalleen
* update shapely * pin pyinstaller to 5.13.2 (issues with macOS) (rejbasket) * macOS: do not install shapely from binary, but remove .dylibs folder (breaks notarizazion) (rejbasket)
2023-07-01fix guided and circular fillKaalleen
2023-06-11fid guided fillGeorge Steel
2023-05-26Possible fix for parallel offset in guided fill for macOS (#2321)Kaalleen
* fix parallel offset in guided fill for macOS * ripple grid start position * circular ripple grid
2023-04-27Ripple stitch: add density and stagger option (#2206)Kaalleen
2023-02-16add more check_stop_flag() callsLex 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-06-22guided fill stagger (#1700)Lex Neva
2022-05-04undo build changes for depq, update cloneKaalleen
2022-05-04refactor, tidy, and C901 fixesLex Neva
2022-05-04use running_stitch instead for guided fillLex Neva
2022-05-04fix some shapelydeprecationsLex Neva
2022-05-04fix styleLex Neva
2022-05-04generalize get_segments and process_travel_edgesLex Neva
2022-05-04bug fixing + introduction of min_stitch_distance parameterAndreas
2022-05-04separate guided fill methodsKaalleen