Wykres commitów

28 Commity (capellan-mypy)

Autor SHA1 Wiadomość Data
CapellanCitizen 47e03c08cc Mypy type correctness. 2025-03-05 21:13:11 -05:00
Kaalleen dde0444ac2
Manual ripple pattern (#3256)
* ripple stitch: add manual pattern placement option
* add flip copies option
* rewrite adjust grid
* more control for satin guided ripples: render at rungs
2024-11-18 11:54:14 +01:00
Kaalleen 404c483cc7
fix fills without underpath and bad start-end positions (#3141) 2024-08-17 17:28:08 +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
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 3bd92265b2
Add linear gradient fill (#2587) 2023-11-22 20:55:58 +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
Kaalleen 72a0a7384f fix guided and circular fill 2023-07-01 08:29:07 +02:00
George Steel c15d2b4653 fid guided fill 2023-06-11 21:36:44 -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 d458ea563b
Ripple stitch: add density and stagger option (#2206) 2023-04-27 20:00:59 +02:00
Lex Neva f6c2aa8919 add more check_stop_flag() calls 2023-02-16 22:56:16 -05:00
Kaalleen e9278c55c3
This and that (#1727)
* dont fail on satin with fill

* fill stitch error message

* convert to satin mac issue

* auto_satin: add rung for two node old style satins

* avoid divide by zero in intersect_region_with_grating

* fix for incorrect stagger in guided fill

* better rail sectioning algorithm

* fix #1780

* fix #1816

Co-authored-by: Lex Neva
2022-11-27 08:37:59 +01:00
Kaalleen 7445b91851
lettering: ignore invalid glyph layers (#1892) 2022-11-10 14:03:32 +01:00
George Steel 1cc0eab911 Add support for fractional-length stagger cycles in fills. 2022-10-23 00:54:35 -04: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 ffd770cbbd
guided fill stagger (#1700) 2022-06-22 16:11:12 +02:00
Kaalleen 48d0a0250e undo build changes for depq, update clone 2022-05-04 19:19:54 +02:00
Lex Neva 330c6be787 refactor, tidy, and C901 fixes 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 920063b324 fix style 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
Andreas 6916a33716 bug fixing + introduction of min_stitch_distance parameter 2022-05-04 19:18:33 +02:00
Kaalleen 515ed3ea2f separate guided fill methods 2022-05-04 19:10:23 +02:00