summaryrefslogtreecommitdiff
path: root/lib/elements/fill_stitch.py
AgeCommit message (Collapse)Author
2025-10-24legacy fill: enable expand option (#3988)Kaalleen
2025-10-22Gradient color: fix cache key error (#4007)Kaalleen
* use first stop color for non linear gradient fill objects * fix bug in get_cache_key for gradient objects
2025-07-11Fix issue with bad color names (#3816)Kaalleen
* fix issue with bad color names and define element colors at one place and reuse * fix bad tartan color * verify color in gradient block * add thread color tests * use default color behavior for elements linked to non-existing definitions (gradients) * Added mypy change for tests (authored by: CapellanCitizen)
2025-05-20Manual stitch: apply clipping (#3734)Kaalleen
* manual stitch: apply clipping * add clip to cache
2025-04-15Add transform extension which also transforms the fill angles (#3657)Kaalleen
2025-03-20undo c2aeb39Kaalleen
2025-03-15Element info: take pattern into account (#3581)Kaalleen
* element info: take pattern into account * ensure multi-polygon for fill nonzero shapes
2025-03-09Mypy type correctness (#3199)capellancitizen
2025-03-08use buffer(0) when fill rule is nonzero (#3561)Kaalleen
2025-03-02Use symbol as command position (#3542)Kaalleen
2025-01-27enable the expand option for contour fill (#3462)Kaalleen
2025-01-01fill: first stitch correction (#3391)Kaalleen
2024-12-30Multi shape tartan jumps (#3386)Kaalleen
* lettering_ description box size * reduce jump stitches for combined tartan patterns
2024-12-26End points (#3370)Kaalleen
* end at nearest point to next element (if requested and possible)
2024-12-07Enable start end commands for satins (#3315)Kaalleen
Updates commands fill_start (_end) => starting_point (_end) stain_start (_end) and run_start (_end) => autoroute_start ripple_target => target_point Sets inkstitch svg version to 3
2024-11-30add randomization options to linear gradient fill (#3311)Kaalleen
2024-11-12Clipped groups (#3261)Kaalleen
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-06-07auto fill gap fix (#2884)Lex Neva
* first try * fill gaps * fix style * add parameter * loops can only be made of non-segments
2024-06-04Update tartan gui (#2965)Kaalleen
* update tartan gui * params settings size * fix issue with set_precision * fix issue with linear gradient * do not add ignore layer command to png rerealistic output
2024-06-03Avoid FloatingPointError (fill) (#2959)Kaalleen
2024-05-11Update inkex (#2892)Kaalleen
* fix currentColor * fix pip inkex import * fix color block extension
2024-05-07Sample correct font variant (#2883)Kaalleen
2024-05-06Remove unused param from legacy fill (#2879)Kaalleen
* remove unused param from legacy fill * zigzag -> zig-zag, some ordering
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-03-26Add object based min stitch length (#2792)Kaalleen
* add object based min stitch length (overwrites global) * add object based minimum jump stitch (overwrites global) * rename patches to stitch_groups
2024-03-13troubleshoot/linear gradient: add no linear gradient warning (#2779)Kaalleen
2024-03-13update meander zigzag defalt (#2778)Kaalleen
2024-03-11fix style (#2776)Kaalleen
2024-03-11troubleshoot: stroke and fill warning (#2761)Kaalleen
2024-01-28add zigzag option to meander (#2699)Kaalleen
2024-01-25Second chance for invalid fill stitch graphs (#2643)Kaalleen
2023-11-22Add linear gradient fill (#2587)Kaalleen
2023-11-10return valid shape (#2594)Kaalleen
2023-11-10fix invalid clip path (#2577)Kaalleen
use fallback if shape has grating issues (too small)
2023-09-07improve params errors (#2437)Lex Neva
2023-07-01default more likely to avoid stitching outside shapeLex Neva
2023-05-17fix starting point for multiple underlaysKaalleen
2023-05-16change running stitch length defaultKaalleen
2023-05-15troubleshoot: read numbers with exponentKaalleen
2023-05-10apply clip to stroke (#2283)Kaalleen
2023-05-06Avoid duplicated points in make_spiral (#2268)Kaalleen
* avoid duplicated points in make_spiral * circular fill: add end_row_spacing, repeats and bean repeats * fix circular fill if original shape is a circle
2023-05-03expose end_row_spacing and (re)order fill params (#2265)Kaalleen
2023-05-01remove random seed param from unaffected stitch types (#2251)Kaalleen
2023-04-27fill: ensure size (#2240)Kaalleen
2023-04-24Add bean stitch and repeat options to meander fill (#2232)Kaalleen
2023-04-03add meander angleLex Neva
2023-04-02add clip optionLex Neva