Wykres commitów

98 Commity (kall/test-notarization)

Autor SHA1 Wiadomość Data
Kaalleen a40b810721
fix NoneType error in auto_fill travel (#3659) 2025-04-18 19:09:20 +02:00
Kaalleen b9432f040d
Edit json (#3371)
* convert kerning tool to json edit
2024-12-26 16:23:38 +01:00
Kaalleen 7cf952dce2
fill: ensure polygon in pull comp adjusted shape (#3143) 2024-08-18 20:05:37 +02:00
Kaalleen 404c483cc7
fix fills without underpath and bad start-end positions (#3141) 2024-08-17 17:28:08 +02:00
Kaalleen 3c37c52ab1
not a fix, but avoid to fail on an other networkx no path error (#3106) 2024-07-24 16:01:34 +02:00
rejbasket 9c537f33b9
shapely arm fix (#3094) 2024-07-20 09:20:10 +02:00
Kaalleen eadeadb9a6
Fill: fallback to edge run when underpath fails (#3089) 2024-07-16 20:39:33 +02:00
Kaalleen 4644c11949
Pull comp: remove holes again (#3067)
* pull comp: remove holes again
* rescue some more broken shapes
2024-07-09 18:18:49 +02:00
Lex Neva e8017e0bcc
auto-fill pull compensation (#2891) 2024-06-20 19:45:53 +02:00
Kaalleen c017cae01a
gray out randomize stitch length param when random stitch length is disabled (#3002) 2024-06-20 16:56:00 +02:00
Lex Neva f3ed7249eb
auto fill gap fix (#2884)
* first try

* fill gaps

* fix style

* add parameter

* loops can only be made of non-segments
2024-06-07 14:33:20 -07:00
Kaalleen 7f9ae2ca1e
Avoid FloatingPointError (fill) (#2959) 2024-06-03 06:52:03 +02:00
Kaalleen bf42ef00ca
Update inkex (#2892)
* fix currentColor
* fix pip inkex import
* fix color block extension
2024-05-11 08:14:40 +02:00
George Steel d32a8fd466
Add randomized running and fill stitches (#2830)
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-05-05 13:55:33 -04:00
Kaalleen 2439adafa8
Add "the tartan universe" (#2782) 2024-03-29 10:25:02 +01:00
Kaalleen 2677c30a0f
Second chance for invalid fill stitch graphs (#2643) 2024-01-25 17:54:08 +01:00
Kaalleen 838d811ae6
fix networkx nopath error for start/end nodes (fill) (#2635) 2023-12-25 08:42:22 +01:00
Kaalleen 3bd92265b2
Add linear gradient fill (#2587) 2023-11-22 20:55:58 +01:00
Kaalleen 7edebd60f9
fix invalid clip path (#2577)
use fallback if shape has grating issues (too small)
2023-11-10 16:41:36 +01:00
Kaalleen 2f966ce4de
Update shapely (#2471)
* 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-10-15 07:08:36 +02:00
Lex Neva 799b9a9131 ensure Points 2023-07-01 08:23:46 +02:00
Lex Neva 1256505188 smooth underpaths 2023-07-01 08:23:46 +02:00
Lex Neva acc2b1a7fb slightly less edge avoidance 2023-07-01 08:23:46 +02:00
Lex Neva bb9f7b7d82 avoid travel stitches outside shape 2023-07-01 08:23:46 +02:00
Lex Neva 920701c424 suppress annoying shapely warning 2023-05-28 22:11:47 -04:00
Lex Neva 2307fcd190 fix "skip last stitch in each row" 2023-05-28 22:00:43 -04:00
Lex Neva b461253958 make simulator threads pre-emptible 2023-02-16 22:54:21 -05:00
Kaalleen 8d5ef5b663
Fixes (#1703)
* 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-30 19:22:33 +02:00
Lex Neva e884fb78db
add running stitch tolerance param (#1701) 2022-06-22 15:26:37 +02:00
Lex Neva b30fce85db undo aggressive line wrapping 2022-05-07 16:20:15 -04:00
Lex Neva 672bded125 shapely geoms fixes 2022-05-06 21:03:56 -04:00
Lex Neva a275d49a24 tangential->contour, fix legacy, remove unused params 2022-05-05 22:53:31 -04:00
Lex Neva aeeaf72338 wip 2022-05-04 19:18:33 +02:00
Lex Neva bd8cb0d1ff use running_stitch instead for guided fill 2022-05-04 19:18:33 +02:00
Lex Neva e6fcf11035 fix some shapelydeprecations 2022-05-04 19:18:33 +02:00
Lex Neva f4c47a8e22 generalize get_segments and process_travel_edges 2022-05-04 19:18:33 +02:00
Kaalleen 515ed3ea2f separate guided fill methods 2022-05-04 19:10:23 +02:00
Andreas d514eac819 adjusting namings 2022-05-04 19:07:04 +02:00
Andreas 8966fa1919 minor changes 2022-05-04 18:59:11 +02:00
Andreas e15bce1401 minor changes 2022-05-04 18:59:11 +02:00
Andreas 1a1939b5da Bug fixing + refactoring 2022-05-04 18:57:20 +02:00
Andreas 125db3f83b Applied style guide 2022-05-04 18:57:12 +02:00
Andreas 0fcf8bb97c added tangential and guided fill 2022-05-04 18:55:40 +02:00
Lex Neva dd86500835 keep underlay, underpath, and border travel 2021-08-15 17:26:14 -04:00
Lex Neva 3b3f890c12 add copyright headers 2021-03-11 23:17:19 -05:00
Kaalleen e84a86d4ac
Update for Inkscape 1.0 (#880)
* 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>
2021-03-04 18:40:53 +01:00
Kaalleen f31e09312a
fix min_arg() is an empty sequence (#941) 2020-12-28 07:13:16 +01:00
Lex Neva 46dbe4668e actually split outline edge 2020-03-16 23:00:19 -04:00
Lex Neva c81c11eb53 ensure starting point is on the border 2020-03-16 23:00:19 -04:00
Lex Neva 9bb4686df7 fix NetworkXNoPath error 2020-03-16 23:00:19 -04:00