summaryrefslogtreecommitdiff
path: root/lib/utils
AgeCommit message (Collapse)Author
2025-01-09cache: reset on operational error (#3421)Kaalleen
2025-01-09save and reload simulator speed (optionally) (#3420)Kaalleen
2024-12-07save more simulator settings (#3323)Kaalleen
2024-11-18Print-pdf: simplify path detection (#3282)Kaalleen
* print-pdf: simplify path detection * i18n: more cleaning up * Version, License paths
2024-11-18Thread catalog: fix broken path (#3281)Kaalleen
* thread catalog: fix broken path * apply threadlist: use wxpython to also include custom lists * apply_palette: save last choice
2024-11-12unit: prevent zerodivision error for zero length segments (#3268)Kaalleen
2024-08-18fill: ensure polygon in pull comp adjusted shape (#3143)Kaalleen
2024-08-14Clones now also clone commands attached to element and its children. (#3032, ↵capellancitizen
#3121) (#3086)
2024-07-24default min stitch length 0 to 0.1 (as previously) (#3107)Kaalleen
2024-07-09reset corrupted cache files (#3074)Kaalleen
2024-06-23wxpythonify about extension (#3007)Kaalleen
2024-06-20auto-fill pull compensation (#2891)Lex Neva
2024-06-14Add preferences button to simulator (#2992)Kaalleen
* split simulator panel files * add view panel to position view options at the side * fix single simulator start size (macOS)
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-04-30simulator fixes (#2844)Lex Neva
* fix slide and control panel rendering bugs * clear marker lists when clearing stitch plan * switch simulator back to wx * remove unused function * fix off-by-one error in color bar * avoid overlapping command symbols of different types * don't maximize simulator * adjust alignment * remove unused API server * bugfix * focus entire simulator panel * rename simulator/realistic preview -> simulator * experimental: background color picker * set pagecolor to background color by default * satisfy macos * toggle jumps on drawing canvas * clear frog family --------- Co-authored-by: Kaalleen
2024-04-27Add option to disable the stitch plan cache (#2655)George Steel
Setting the cache size to 0 bypasses the cache completely. This is necessary during development to ensure newly-changed code actually gets run. Also fixes the error pane in the params gui. * make params warning pane large enough to see contents * rename sizers in preferences dialog descriptive names * add shapely version bound * add option to disable stitch plan cache * remove out-of-date wxg file * make a cache size of 0 disable the cache
2024-03-29Add "the tartan universe" (#2782)Kaalleen
2024-02-01Do not omit "multi_shapes" in geometry collections (#2708)Kaalleen
2024-01-25Second chance for invalid fill stitch graphs (#2643)Kaalleen
2023-12-26Contour fill: replace buffer with offset_curve (#2654)Kaalleen
2023-11-10handle case of travelling along shape border (#2593)Lex Neva
2023-10-21attach params/lettering simulator window and allow detach (#2557)Lex Neva
2023-07-01return early for paths already insideLex Neva
2023-07-01remove debug timing in frequently-run functionsLex Neva
2023-07-01avoid losing start and end of path when clampingLex Neva
2023-04-14new way betterer satin algo (#2178)Lex Neva
* significantly faster length calculation * way betterer satin algo
2023-04-02meander fixesLex Neva
2023-03-07change method to update legacy fill_method (#2111)Kaalleen
2023-03-07add meander preview images (#2113)Kaalleen
2023-02-27Various lock stitch options (#2006)Kaalleen
Co-authored-by: Lex Neva
2023-02-27Circular fill (#2053)Kaalleen
2023-02-22fix flask json deprecationLex Neva
2023-02-20fix deprecation warningLex Neva
2023-02-20better smoothing algorithmLex Neva
2023-02-20avoid weird end of line after smoothingLex Neva
2023-02-20meander fill: more workLex Neva
2023-02-20use snake caseLex Neva
per python coding standard
2023-02-20typo fixLex Neva
2023-02-20meander fill: initial versionLex Neva
2023-02-20add smoothness option for contour fillLex Neva
2023-02-20add clamp_path_to_polygonLex Neva
2023-02-20add smooth_pathLex Neva
2023-02-18add preferences UI including cache settingsLex Neva
2023-02-18cache key generation using params, path, color, and styleLex Neva
2023-02-18move get_stitch_plan_cache() to utils.cacheLex Neva
2023-02-16add commentLex Neva
2023-02-16make simulator threads pre-emptibleLex Neva
2023-01-22Replace running stitch algorithm to give consistent stitch lengths.George Steel
2023-01-02add comment to PRNGGeorge Steel