summaryrefslogtreecommitdiff
path: root/lib/stitches/auto_fill.py
AgeCommit message (Collapse)Author
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-03Avoid FloatingPointError (fill) (#2959)Kaalleen
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-12-25fix networkx nopath error for start/end nodes (fill) (#2635)Kaalleen
2023-11-22Add linear gradient fill (#2587)Kaalleen
2023-11-10fix invalid clip path (#2577)Kaalleen
use fallback if shape has grating issues (too small)
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-01ensure PointsLex Neva
2023-07-01smooth underpathsLex Neva
2023-07-01slightly less edge avoidanceLex Neva
2023-07-01avoid travel stitches outside shapeLex Neva
2023-05-28suppress annoying shapely warningLex Neva
2023-05-28fix "skip last stitch in each row"Lex Neva
2023-02-16make simulator threads pre-emptibleLex Neva
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-05-07undo aggressive line wrappingLex Neva
2022-05-06shapely geoms fixesLex Neva
2022-05-05tangential->contour, fix legacy, remove unused paramsLex Neva
2022-05-04wipLex Neva
2022-05-04use running_stitch instead for guided fillLex Neva
2022-05-04fix some shapelydeprecationsLex Neva
2022-05-04generalize get_segments and process_travel_edgesLex Neva
2022-05-04separate guided fill methodsKaalleen
2022-05-04adjusting namingsAndreas
2022-05-04minor changesAndreas
2022-05-04minor changesAndreas
2022-05-04Bug fixing + refactoringAndreas
2022-05-04Applied style guideAndreas
2022-05-04added tangential and guided fillAndreas
2021-08-15keep underlay, underpath, and border travelLex 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>
2020-12-28fix min_arg() is an empty sequence (#941)Kaalleen
2020-03-16actually split outline edgeLex Neva
2020-03-16ensure starting point is on the borderLex Neva
2020-03-16fix NetworkXNoPath errorLex Neva
2020-03-16avoid jumps when not underpathing autofillLex Neva
2019-08-05add Troubleshoot extension (#465)Kaalleen
adds an extension to help you understand what's wrong with an object and how to fix it, e.g. "invalid" fill shapes
2019-06-22handle single linestrings properly (fixes #471)Lex Neva
2019-04-10remove unnecessary comparisons to NoneLex Neva
2019-04-09make error message more readableLex Neva
2019-04-09split up long functionLex Neva
2019-04-04try harder to avoid traveling around the borderLex Neva
2019-03-30fix 'too many values to unpack' exceptionLex Neva