Wykres commitów

217 Commity (main)

Autor SHA1 Wiadomość Data
Kaalleen 705dabaa56
fix gap after auto-route satin (#2907) 2024-05-16 06:43:01 +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 44442712b9
move default tartan starting point (#2877) 2024-05-02 06:53:40 +02:00
Kaalleen 2439adafa8
Add "the tartan universe" (#2782) 2024-03-29 10:25:02 +01:00
Kaalleen 78beb13ef0
do not filter small segments for linear gradient graph (#2707) 2024-02-01 19:17:49 +01:00
Kaalleen 92ac798693
add zigzag option to meander (#2699) 2024-01-28 08:48:44 +01:00
Kaalleen 2677c30a0f
Second chance for invalid fill stitch graphs (#2643) 2024-01-25 17:54:08 +01:00
Kaalleen 0673df5683
auto-route: do not add jumps between subpaths of satin columns (#2667) 2023-12-31 16:38:00 +01:00
Kaalleen e4f5035fb1
autorun: fix networkx no path (#2645) 2023-12-31 11:16:09 +01:00
Kaalleen d1624fdb36
Contour fill: replace buffer with offset_curve (#2654) 2023-12-26 09:37:30 +01:00
Kaalleen 9afbf02384
Ignore multipoints in intersect regions with gratings (#2647) 2023-12-25 08:48:20 +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 5e208661d2
Merge pull request #2431 from inkstitch/lexelby/split-satin-stagger
stagger split satin rows
2023-09-11 16:57:23 -04:00
Lex Neva af96d720e9
improve params errors (#2437) 2023-09-07 19:25:47 +02:00
Lex Neva cf2a1d6a3b add min/max split position 2023-07-20 21:53:45 -04:00
Lex Neva c969e2744f add running_stitch.split_segment_stagger_phase() 2023-07-16 16:27:52 -04:00
Kaalleen 795df7e315
avoid error message on small contour fill with single or double spiral (#2403) 2023-07-04 06:27:33 +02:00
Kaalleen 72a0a7384f fix guided and circular fill 2023-07-01 08:29:07 +02:00
Lex Neva 799b9a9131 ensure Points 2023-07-01 08:23:46 +02:00
Lex Neva ec68c17a05 remove debug timing in frequently-run functions 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
George Steel c15d2b4653 fid guided fill 2023-06-11 21:36:44 -04:00
Kaalleen dcb1b08597
fix circular fill (#2350) 2023-06-05 07:29:17 +02:00
Kaalleen c192d77afb
fix #2335 (#2336) 2023-06-04 13:38:49 +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
Kaalleen 3f7485c62e
Possible fix for parallel offset in guided fill for macOS (#2321)
* fix parallel offset in guided fill for macOS

* ripple grid start position

* circular ripple grid
2023-05-26 10:18:27 +02:00
Kaalleen 40976c82f6 ripple: apply stitch length and stagger to grid 2023-05-19 19:22:05 +02:00
Kaalleen 97d53bad33 ripple stitch grid starting point 2023-05-17 23:17:22 +02:00
Kaalleen 6c46eb2d86 ripple: ensure min line count 2023-05-14 09:32:23 +02:00
Kaalleen 6931d4868d ripple: line count 2023-05-14 09:11:33 +02:00
Kaalleen 111fd8f0ef * move all gradient methods to extension
* add underlay to single color elements to compensate density
2023-05-13 21:11:27 +02:00
Kaalleen 3a441427da ripple constant end position 2023-05-13 12:24:48 +02:00
Kaalleen 9d5cc6013e
circular fill bean: ignore travel stitches (#2281) 2023-05-10 09:02:17 +02:00
Kaalleen 2e62ba7926
Avoid duplicated points in make_spiral (#2268)
* 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-06 18:31:54 +02:00
Kaalleen 3dc922b993
fix irregular bean stitch start (#2257) 2023-04-30 11:27:21 +02:00
Kaalleen d458ea563b
Ripple stitch: add density and stagger option (#2206) 2023-04-27 20:00:59 +02:00
Kaalleen e5ccb10eef
Add bean stitch and repeat options to meander fill (#2232) 2023-04-24 22:52:31 +02:00
Lex Neva 63effb841f add meander angle 2023-04-03 22:59:02 -04:00
Lex Neva c01fb85c3d add clip option 2023-04-02 14:16:16 -04:00
Lex Neva f57d61b6e6 meander fixes 2023-04-02 00:14:57 -04:00
Kaalleen 29b72801cd
Auto route satin: apply path effects (#2145) 2023-03-16 16:32:46 +01:00
Kaalleen fd6e43cf00
Various fixes (#2125)
* add unit info to scale value in ripple stitch

* fix apply threadlist with empty description

* fix satin type ripple with unequal nodes

* fix legacy auto_fill conversion

* inform about too small meander shapes
2023-03-09 18:57:55 +01:00
Kaalleen da1cd33f3b
fix satin guided ripple (#2124) 2023-03-08 17:36:08 +01:00