Wykres commitów

101 Commity (cd6663dd9300c12e262f723823bdebb599adc30c)

Autor SHA1 Wiadomość Data
CapellanCitizen 51a922702f Additional strictness and some logging 2025-03-08 15:33:38 -05:00
CapellanCitizen f3c064b4e5 Progress 2025-03-07 21:20:22 -05: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 ef7d056173
End points (#3370)
* end at nearest point to next element (if requested and possible)
2024-12-26 16:19:35 +01:00
Kaalleen 0113631627
Fix 'None'-string confusions in style (#3243) 2024-11-01 07:03:08 +01:00
Kaalleen 5185237643
fix gradient style (#3200) 2024-09-30 10:57:26 +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 828ce1d675
method expects string after all (#3108) 2024-07-24 16:27:37 +02:00
Kaalleen 1b09fdbddb
multiple int param is expected to return int not str (#3102) 2024-07-22 17:39:41 +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
Kaalleen 1d865556fd
Remove unused param from legacy fill (#2879)
* remove unused param from legacy fill
* zigzag -> zig-zag, some ordering
2024-05-06 18:44:40 +02:00
George Steel 05ca4132f1
Add option to disable the stitch plan cache (#2655)
Setting the cache size to 0 bypasses the cache completely.
This is necessary during development to ensure newly-changed code actually gets run.

Also fixes the error pane in the params gui.


* make params warning pane large enough to see contents
* rename sizers in preferences dialog descriptive names
* add shapely version bound
* add option to disable stitch plan cache
* remove out-of-date wxg file
* make a cache size of 0 disable the cache
2024-04-27 14:16:18 -04:00
Kaalleen 36ab53301d
remove empty d error (#2818) 2024-04-06 08:26:14 +02:00
Kaalleen 2439adafa8
Add "the tartan universe" (#2782) 2024-03-29 10:25:02 +01:00
capellancitizen 2bbebe56fd
Fixed clones of group elements not appearing. (#2766) 2024-03-28 22:21:42 +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 f6a0b2eeeb
Fix lettering along path when glyphs have subgroups (#2754)
* remove "use no commands" restriction for lettering along path
2024-03-07 17:59:38 +01:00
Claudine Peyrat 4d520fece2
collapse length is not used anymore (#2745)
replace collapse length by minimum jump stitch length in a tool tip
2024-03-01 02:37:41 +01:00
Kaalleen 3bd92265b2
Add linear gradient fill (#2587) 2023-11-22 20:55:58 +01:00
Lex Neva af96d720e9
improve params errors (#2437) 2023-09-07 19:25:47 +02:00
Kaalleen 2542f124eb
remove random seed param from unaffected stitch types (#2251) 2023-05-01 12:03:06 +02:00
Kaalleen fd4ab28add
multiple_int_param: ignore multiple spaces (#2255) 2023-04-30 11:26:39 +02:00
Kaalleen f13864b3bc
Fix custom lock (#2224)
Authored by: Lex Neva
2023-04-20 18:56:57 +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
Kaalleen b289c4a633
zigzag: do not care about dashes (#2188) 2023-04-01 15:28:04 +02:00
Kaalleen 221ff2a645
Stitch selection methods (#2114) 2023-03-25 19:45:36 +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 28eb374bd0
Add extension stroke to lpe satin (#2115) 2023-03-07 18:27:28 +01:00
Kaalleen 9552291de5
change method to update legacy fill_method (#2111) 2023-03-07 17:52:09 +01:00
Rick Levine ca6fc84d4b
Allow locks, trim, stop on manual stitch placement (#2101)
Co-authored-by: Lex Neva
2023-03-07 17:02:26 +01:00
Kaalleen ec076315bb
Various lock stitch options (#2006)
Co-authored-by: Lex Neva
2023-02-27 16:05:52 +01:00
Kaalleen ed0ab5a44d
Clone Cache (#2086)
Co-authored-by: Lex Neva
2023-02-25 09:31:40 +01:00
Lex Neva aa65a2bf3f include guides in cache key 2023-02-18 22:34:47 -05:00
Lex Neva 2865f4161e consistent cache key for Stitch objects 2023-02-18 22:34:47 -05:00
Lex Neva a0834e2e7c use patterns in cache key 2023-02-18 22:34:36 -05:00
Lex Neva 89441d3d59 use commands in cache key 2023-02-18 22:34:36 -05:00
Lex Neva 20e419d795 cache key includes previous stitch 2023-02-18 22:34:36 -05:00
Lex Neva d51feec98d cache key generation using params, path, color, and style 2023-02-18 22:34:16 -05:00
Lex Neva 44af368c79 remove unused and broken has_style() method 2023-02-18 22:34:16 -05:00
Lex Neva 0e225277db move get_stitch_plan_cache() to utils.cache 2023-02-18 22:34:16 -05:00
Lex Neva 47eb81cb0e first draft of stitch plan caching 2023-02-18 22:34:16 -05:00
Kaalleen 1cdb3538a8
Add bean stitch repeat pattern (#1938)
! backward compatibility warning:
Users need to fix their documents if they used comma separated values for multiple fill underlays (without a space)
2023-01-15 20:04:10 +01:00
George Steel b63f19b2d0 fix seed param and error messages 2022-12-26 20:10:10 -05:00
George Steel 7d60b8e9d3 Merge branch 'main' of https://github.com/inkstitch/inkstitch into george-steel/random-base-satin 2022-12-23 19:26:43 -05:00
Kaalleen a4f86a3106
Point to troubleshoot in fatal error message (#1967)
* point to troubleshoot in fatal error message

* shapely version
2022-12-19 21:11:50 +01:00
Kaalleen b932f6a443
fix #1936
(#1955)
2022-12-12 18:36:02 +01:00
George Steel 54b0a3d6bf add comment on set_param 2022-12-11 22:29:29 -05:00
George Steel 903f724c88 refine GUI for text-based random_seed parameter and add global param. 2022-12-11 22:18:09 -05:00
George Steel 178dfffbeb expose stop_after 2022-12-10 19:11:43 -05:00