Wykres commitów

128 Commity (capellan-mypy)

Autor SHA1 Wiadomość Data
CapellanCitizen 47e03c08cc Mypy type correctness. 2025-03-05 21:13:11 -05:00
Kaalleen f672d71335
use get_user_dir (#3549) 2025-03-04 09:56:51 +01:00
Benson Muite bef98ef4eb
Migrate from appdirs to platformdirs (#3449) (#3450) 2025-03-04 09:17:22 +01:00
Kaalleen dc23265d2d
Use symbol as command position (#3542) 2025-03-02 20:54:56 +01:00
Kaalleen 332a05405b
greater lettering memory (#3504) 2025-02-13 18:06:12 +01:00
Kaalleen 942af5acb4
fix a bug in lettering extensions when the last_font can't be found (#3508) 2025-02-13 18:05:54 +01:00
Kaalleen 9ac55934fa
Edit-json: add kerning filter (#3499)
* edit-json: add kerning filter
* fix missing kerning pairs
2025-02-12 16:58:26 +01:00
Kaalleen cee9aa0d1d
lettering tools: remember last font (#3498) 2025-02-11 18:52:01 +01:00
Kaalleen af6cdc442b
Lettering typographic features (#3466)
* add svg font to layers extension which saves glyph annotations into the glyph name
---------
Co-authored-by: Claudine
2025-02-05 18:50:31 +01:00
Kaalleen 1e1d14428c
fix simulator icon for light theme (#3482) 2025-02-04 21:17:18 +01:00
Kaalleen 497fbcfab5
Add debug variable to enable sew stack elements (#3476) 2025-02-03 22:37:36 +01:00
Kaalleen b0cf5924f4
adapt simulator slider symbols to dark theme (#3475) 2025-02-01 16:26:34 +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 11cd0ea445
edit json: auto-enable/disable default checkbox when value is changed (#3439) 2025-01-16 19:21:23 +01:00
Kaalleen dceb129121
preferences: 0.0 or this is always this (#3430) 2025-01-12 20:55:23 +01:00
Kaalleen a20029bc1c
lettering: add right to left support (#3432) 2025-01-12 20:46:37 +01:00
Kaalleen cdb9fed538
edit json: scale precision (#3426) 2025-01-11 08:54:49 +01:00
Kaalleen ca02ac5b01
save and reload simulator speed (optionally) (#3420) 2025-01-09 17:06:07 +01:00
Kaalleen 2f2873cbbf
remove glyphlist also from comments (#3408) 2025-01-06 07:29:57 +01:00
Kaalleen c429bf5f17
lettering: description box size (#3384) 2024-12-29 16:42:43 +01:00
Kaalleen 091e114b44
lettering: align text (#3382) 2024-12-29 15:19:33 +01:00
Kaalleen 9ff48f2719
lettering: color sort options (#3381) 2024-12-29 11:38:59 +01:00
Kaalleen f76db86222
improve handling of changes for horiz_adv_x_default (#3378) 2024-12-29 11:38:42 +01:00
Kaalleen 38e74354cd
forgot to remove this (#3375) 2024-12-27 22:53:04 +01:00
Kaalleen 7ba51c0c96
various fixes (#3372) 2024-12-27 18:10:39 +01:00
Kaalleen b9432f040d
Edit json (#3371)
* convert kerning tool to json edit
2024-12-26 16:23:38 +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 e20161a4ec
use text scale layer also for 100% scaled fonts (#3365) 2024-12-26 16:11:37 +01:00
Kaalleen 1253544ea0
lettering: add scale info in mm (#3366) 2024-12-26 05:39:49 +01:00
Kaalleen 9bae24a79a
fix for kerning tool (#3363) 2024-12-22 06:48:40 +01:00
Kaalleen 2f727b31ab
Font management: add kerning tool (#3361) 2024-12-22 06:19:34 +01:00
Kaalleen fe96b00968
lettering simulator: use more accurate start points (#3358) 2024-12-19 20:13:50 +01:00
Kaalleen e22170a6ba
lettering: automated size info (#3346) 2024-12-18 20:45:25 +01:00
Kaalleen 98cf7a5955
do not translate Ink/Stitch as a term (#3345) 2024-12-15 14:54:10 +01:00
Kaalleen 154309906f
save more simulator settings (#3323) 2024-12-07 15:13:22 +01:00
Kaalleen cf2a44ef8e
use non-accumulative command scaling (#3329) 2024-12-07 15:12:37 +01:00
Kaalleen e8123b7274
Thread catalog: fix broken path (#3281)
* thread catalog: fix broken path
* apply threadlist: use wxpython to also include custom lists
* apply_palette: save last choice
2024-11-18 11:12:58 +01:00
Kaalleen 6dd1dcd1f5
avoid error message on info panel pdate (#3246) 2024-10-24 17:57:33 +02:00
Kaalleen 0367cab34c
Fix font sample gui (#3251) 2024-10-24 17:57:10 +02:00
Kaalleen c6fecfb0bc
Add color sort option for multicolor fonts (#3242) 2024-10-21 17:01:58 +02:00
Kaalleen d9293893ab
Request permission to update if inkstitch svg version is not specified (#3228) 2024-10-19 08:34:45 +02:00
Kaalleen 47893d5257
multicolor satin: option to adjust underlay (#3152) 2024-08-21 15:19:14 +02:00
Kaalleen 300755c436
add wxpython abort message (as alternative to stderr output) (#3145) 2024-08-17 17:29:54 +02:00
Kaalleen 45c873a304
fix slider dark theme issue (#3147) 2024-08-17 09:08:24 +02:00
Kaalleen 2f3737e3cf
Disable darkmode symbols for windows (#3144)
* disable darkmode symbols for windows

* Simulator slider also ignores dark mode for Windows

---------

Co-authored-by: CapellanCitizen <thecapellancitizen@gmail.com>
2024-08-17 07:26:28 +02:00
Lex Neva 47ad76f513
Show page in simulator (#3120)
* add exception logging helpers

* wip

* show page and drop shadow from SVG

* allow toggling page

* add page icon

* add dark mode icon

* showpageshadow

* refresh after background change (fix for macOS)

* fix params sim background

* try a native GraphicsBrush for windows

* show page button in standalone simulator only and adapt shadow color

* remove doubled line

---------

Co-authored-by: Kaalleen <reni@allenka.de>
2024-08-08 09:43:36 -04:00
Kaalleen 17b88ce2c1
Simulator: toggle info and preferences dialog (#3115)
Co-authored-by: Lex Neva
2024-08-04 18:34:50 +02:00
Kaalleen 90994356ec
default min stitch length 0 to 0.1 (as previously) (#3107) 2024-07-24 16:28:23 +02:00
Kaalleen c49e8d2f77
fix more runtime errors when simulator closes (#3101) 2024-07-21 10:52:13 +02:00
Kaalleen 8b7605a7c6
Lettering wrap font description (#3095) 2024-07-20 09:21:24 +02:00