summaryrefslogtreecommitdiff
path: root/lib/stitches/ripple_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-05-21ensure start and end point for ripple lines (#3741)Kaalleen
2025-05-20ripple: return empty when there are no helper lines (#3733)Kaalleen
2025-04-18Manual stitch ripples: connector line stitch length (#3661)Kaalleen
2025-04-11ripple stitch: adjust distance a little bit better (#3655)Kaalleen
2025-01-26Improve satin guided ripple stitch and add stitch grid first option (#3436)Kaalleen
* ripple stitch: add stitch grid first option * introduce an anchor line to fine tune satin guided ripples
2024-11-18Manual ripple pattern (#3256)Kaalleen
* ripple stitch: add manual pattern placement option * add flip copies option * rewrite adjust grid * more control for satin guided ripples: render at rungs
2024-06-30Various fixes (#3028)Kaalleen
* several thread palette extension fixes * fix svg tartan when original shape is invalid * tartan stroke spaces * style * fix tartan color substituion at pattern start * ripple: do not render too small paths * use less space for params warning headline * fix clone shape path * zip export template fix (typo) * add realistic stitch plan output warning (help tab)
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
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-05-19ripple: apply stitch length and stagger to gridKaalleen
2023-05-17ripple stitch grid starting pointKaalleen
2023-05-14ripple: ensure min line countKaalleen
2023-05-14ripple: line countKaalleen
2023-05-13* move all gradient methods to extensionKaalleen
* add underlay to single color elements to compensate density
2023-05-13ripple constant end positionKaalleen
2023-04-27Ripple stitch: add density and stagger option (#2206)Kaalleen
2023-03-08fix satin guided ripple (#2124)Kaalleen
2023-02-16add more check_stop_flag() callsLex Neva
2022-12-26use random oracle for randomized satin columns and redo split stitchesGeorge Steel
2022-11-27fix ripples plot_points_on_railsKaalleen
2022-11-17Make pull-compensation and insets per-sideGeorge 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-22add running stitch tolerance param (#1701)Lex Neva
2022-06-10Guided ripple stitch (#1675)Kaalleen
Co-authored-by: @lexelby
2022-05-24Add ripple stitch feature (#1667)Kaalleen