Wykres commitów

135 Commity (dev-build-kaalleen-install-addons)

Autor SHA1 Wiadomość Data
Kaalleen 40405edfe1
parent.remove -> delete (#3600) 2025-03-22 17:43:50 +01:00
capellancitizen 99509df8d8
Mypy type correctness (#3199) 2025-03-09 21:21:48 -04:00
Kaalleen 497fbcfab5
Add debug variable to enable sew stack elements (#3476) 2025-02-03 22:37:36 +01:00
Lex Neva 913c2700d1
Sew Stack first steps (#3133)
* handle more recursive cases

* scaffolding for stitch layers

* scaffolding for SewStack

* always use DotDict when parsing json params

* add DefaultDotDict + DotDict fixes

* first working SewStack (no UI yet)

* ignore inkstitch_debug.log and .svg

* refactor

* early WIP: property grid display temporarily in stitch plan preview

* start of sew stack editor extension

* add layer properties panel and splitter

* spacing and better icon

* handle checkbox

* add layer action buttons

* show selected property help text in an HtmlWindow

* rename

* rephrase help text for tolerance

* refactor into separate file

* simplify structure

* better property type handling

* add randomization button

* add random seed re-roll button

* simulator preview

* update preview in a few more cases

* always DotDict

* avoid ridiculously slow simulations

* preview selected layer or all layers

* edit multiple objects and save only modified properties into the SVG

* better preview handling

* add reverse and jitter

* add stitch path jitter

* fix types

* fix random shuffle button

* fixes

* fix repeats

* type hinting to please pycharm

* show layer description

* avoid exception in properties with multiple values

* fix typing

* fix new layer

* draw a box around property grid and help box

* confirm before closing

* rename properties and fix seed

* fix close/cancel logic

* add buttons to undo changes and reset to default value

* set not modified if default is original setting

* fix invisible icon

* more space for properties

* fix random properties

* better regulation of simulator rendering speed

* Fixed timer being passed a float

* fix get_json_param() default handling

* fix tests

* add checkbox for sew stack only

* fix property help

* adjustable stitch layer editor help box size, with persistence

* repeat exact stitches

* "fix" style

* adjust for new next_element stuff

---------

Co-authored-by: CapellanCitizen <thecapellancitizen@gmail.com>
2025-01-29 12:04:07 -05:00
Kaalleen 160ef32d43
Improve satin guided ripple stitch and add stitch grid first option (#3436)
* ripple stitch: add stitch grid first option
* introduce an anchor line to fine tune satin guided ripples
2025-01-26 07:37:21 +01:00
Kaalleen ef7d056173
End points (#3370)
* end at nearest point to next element (if requested and possible)
2024-12-26 16:19:35 +01:00
Kaalleen 72b403bd50
Fix path effect clips (#3364) 2024-12-26 05:43:36 +01:00
Kaalleen b010519688
Enable start end commands for satins (#3315)
Updates commands

    fill_start (_end) => starting_point (_end)
    stain_start (_end) and run_start (_end) => autoroute_start
    ripple_target => target_point

Sets inkstitch svg version to 3
2024-12-07 15:20:11 +01: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 45dda2616d
Clipped groups (#3261) 2024-11-12 19:07:24 +01:00
Kaalleen 4e6fd162cd
update realistic filter (#3222) 2024-10-24 18:01:41 +02:00
capellancitizen f3a3cde71e
Clones now also clone commands attached to element and its children. (#3032, #3121) (#3086) 2024-08-14 19:40:42 -04:00
Kaalleen 6a39662fd1
Command translations (#3075)
* command translations
* windows: do not unescape
2024-07-14 15:40:16 +02:00
Kaalleen 5f23dea1a1
Make PNG (simple/realistic) and threadlist available in export file formats (#3019) 2024-06-26 22:51:15 +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
capellancitizen be2c3981b8
Fix realistic stitch filter rendering (#2988) 2024-06-14 14:45:51 -04: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 f153a6c27b
fix print pdf whith active realistic stitch plan (png) (#2967) 2024-06-05 07:01:15 +02:00
Kaalleen 1e97ad32c0
Stitch plan: options render jumps and ignore layer (#2911) 2024-05-17 08:26:43 +02:00
Kaalleen 03bc909abb
fix invalid clip paths (#2897) 2024-05-13 16:49:31 +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
capellancitizen c164f8d458
Added realistic stitch preview option (#2838)
Includes multiple optimizations for the realistic stitch preview

Co-authored-by: Lex Neva <github.com@lexneva.name>
2024-04-24 20:07:37 -04:00
Kaalleen a5aa9dd688
add stitch tolerance to satin underlays (#2814) 2024-04-01 22:52:27 +02:00
Kaalleen 2439adafa8
Add "the tartan universe" (#2782) 2024-03-29 10:25:02 +01:00
Kaalleen 8e70f3d2fe
Add object based min stitch length (#2792)
* add object based min stitch length (overwrites global)
* add object based minimum jump stitch (overwrites global)
* rename patches to stitch_groups
2024-03-26 07:10:40 +01:00
Kaalleen 0825da15db
Fix lettering id-error and trims (#2711) 2024-02-10 20:17:36 +01:00
rejbasket d929336f08
Rejbasket/pyinstaller fix installer checks (#2718)
* netowrkx deps added in build
* check for user inkscape config before installing
* get os version in exception
* update electron app location according to pyinstaller redesign
* fixed broken libgeos syslinks
* contents-directory added pyinstaller args fix broken linux and win versions
* updated inkex
* fix print_pdf

---------

authored-by: rejbasket
2024-02-10 20:16:30 +01:00
Kaalleen 92ac798693
add zigzag option to meander (#2699) 2024-01-28 08:48:44 +01:00
Kaalleen 3bd92265b2
Add linear gradient fill (#2587) 2023-11-22 20:55:58 +01:00
Kaalleen 61b76c7e8e
Add test swatches extension (#2528)
* remove duplicates (tags)
* sort extensions (init)
* add test swatches extension
2023-10-02 17:17:04 +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 2957615bf2 add staggered and simple split satin 2023-07-20 21:54:52 -04:00
Lex Neva 74e93834c0 clarify documentation on get_correction_transform() 2023-07-15 11:32:19 -04:00
Kaalleen c799b798bc
apply clip to stroke (#2283) 2023-05-10 09:02:47 +02:00
Kaalleen c25bf5370c
save stitch plan display mode (#2278) 2023-05-08 17:17:14 +02:00
Kaalleen d458ea563b
Ripple stitch: add density and stagger option (#2206) 2023-04-27 20:00:59 +02:00
Lex Neva 675898a602
(auto) reverse rung (#2223) 2023-04-27 19:53:34 +02:00
Kaalleen 6504c72fb7
Add inkstitch svg version tag (#2199)
... to make it easier to update legacy default values
2023-04-15 08:48:27 +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
Kaalleen 06b6f976a9
Command options (#2160)
* letters to font: add visual command import option

* add visual command option to stitch plan preview
2023-03-31 17:10:40 +02:00
Kaalleen 221ff2a645
Stitch selection methods (#2114) 2023-03-25 19:45:36 +01:00
Lex Neva 1b0245c52c add reverse one rail param 2023-03-10 22:15:40 -05:00
Kaalleen 28eb374bd0
Add extension stroke to lpe satin (#2115) 2023-03-07 18:27:28 +01:00
Kaalleen ec076315bb
Various lock stitch options (#2006)
Co-authored-by: Lex Neva
2023-02-27 16:05:52 +01:00
Lex Neva 9ea61ef3f3 remove buffer concept 2023-02-20 15:27:55 -05:00
Lex Neva 847e133f97 meander fill: more work 2023-02-20 15:27:55 -05:00
Lex Neva ba835b4f5e meander fill: initial version 2023-02-20 15:27:55 -05:00
Lex Neva 8cead6e3d9 add smoothness option for contour fill 2023-02-20 15:27:35 -05:00
Kaalleen dbded7c9b1
Add lock stitch plan option (#2020) 2023-01-28 14:55:10 +01:00