Claudine Peyrat
a0433db1f3
fix broken forced case ( #3509 )
2025-02-14 20:23:08 +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
Claudine Peyrat
a1badc255b
Update font_variant.py ( #3507 )
...
one more non connecting letter
2025-02-13 17:44:34 +01:00
Claudine Peyrat
097cf52573
allow some arabic voyels ( #3501 )
...
* Update font_variant.py
start allowing voyel
use category to recognise punctuation
* Update font_variant.py
* Update font_variant.py
make it cleaner
2025-02-12 19:16:57 +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
81c1fd834f
take transforms into account for path specific lpe satins ( #3500 )
2025-02-11 18:52:23 +01:00
Kaalleen
cee9aa0d1d
lettering tools: remember last font ( #3498 )
2025-02-11 18:52:01 +01:00
Claudine Peyrat
457d9e49e4
add categories to font ( #3497 )
...
allows to add information about the writing system (s) of the font. Json not yet updated
2025-02-10 21:40:21 +01:00
Kaalleen
24775f33bf
stroke: as_multi_line_string ignore single point paths ( #3491 )
2025-02-09 16:02:49 +01:00
Claudine Peyrat
c74240fefa
add one more variant of alef ( #3492 )
...
ٱ is also a non connecting letter
2025-02-08 23:56:41 +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
8f1f68a1db
troubleshoot: group pointers ( #3486 )
2025-02-05 16:50:01 +01:00
Kaalleen
76c3a6681a
fix auto_satin transform issue ( #3489 )
2025-02-05 16:47:03 +01:00
Kaalleen
1e1d14428c
fix simulator icon for light theme ( #3482 )
2025-02-04 21:17:18 +01:00
Kaalleen
cabfade613
do not use scipy for density map ( #3481 )
2025-02-04 18:33:03 +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
384db8235e
add development-only extension functionality ( #3470 )
2025-01-31 22:32:58 -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
26784be265
enable the expand option for contour fill ( #3462 )
2025-01-27 19:54:32 +01: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
7fcb5fcfb2
satin: ignore ending_point when it is already at the end ( #3460 )
2025-01-25 16:08:35 +01:00
Kaalleen
82c6af07a5
Auto-run: try harder to avoid networkx issues ( #3457 )
...
* auto-run: try harder to avoid networkx issues
* fix auto-run transforms
2025-01-24 18:16:08 +01:00
Kaalleen
903428106f
do not request update for legacy fonts ( #3456 )
2025-01-22 18:27:25 +01:00
Kaalleen
6ed0a35dd2
satin ending_point: fix error when split point at start/end ( #3452 )
2025-01-22 10:21:06 +01:00
Kaalleen
be595f1460
improve symbol handling ( #3440 )
2025-01-16 19:21:57 +01:00
Kaalleen
11cd0ea445
edit json: auto-enable/disable default checkbox when value is changed ( #3439 )
2025-01-16 19:21:23 +01:00
Kaalleen
d9f3476b85
lettering: ignore auto-satin from json when there is no satin ( #3434 )
2025-01-16 19:01:21 +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
4309f82fab
lettering: fix error in process trims ( #3431 )
2025-01-12 10:35:11 +01:00
Kaalleen
c7eaf49c5e
fill to satin: add pull compensation option ( #3428 )
2025-01-11 16:03:08 +01:00
Kaalleen
854d623564
fix next element for element_info and jump_to_trim extensions ( #3427 )
2025-01-11 13:46:48 +01:00
Kaalleen
cdb9fed538
edit json: scale precision ( #3426 )
2025-01-11 08:54:49 +01:00
Kaalleen
0e218fd317
satin: set start/end at nearest point as default ( #3423 )
2025-01-11 08:54:32 +01:00
Kaalleen
fd0550edbc
exclude invisible from node_to_elements directly ( #3424 )
2025-01-09 17:07:00 +01:00
Kaalleen
f0d0f559b6
cache: reset on operational error ( #3421 )
2025-01-09 17:06:35 +01:00
Kaalleen
ca02ac5b01
save and reload simulator speed (optionally) ( #3420 )
2025-01-09 17:06:07 +01:00
Kaalleen
b8f5241755
Fill to satin bridged rungs ( #3412 )
2025-01-08 17:16:38 +01:00
Kaalleen
cf579e4f3c
lettering: fix back and forth ( #3419 )
2025-01-08 17:16:02 +01:00
Kaalleen
82e6885ee4
Adapt jump to stroke extension to updated end point calculations ( #3413 )
2025-01-07 17:12:55 +01:00
Kaalleen
2f2873cbbf
remove glyphlist also from comments ( #3408 )
2025-01-06 07:29:57 +01:00
Kaalleen
51ee6c7a08
Fill to satin ( #3406 )
2025-01-05 12:52:02 +01:00
Kaalleen
be66297da6
Redwork: add combine option ( #3407 )
...
* add keep originals option
2025-01-05 12:46:06 +01:00
Kaalleen
9c89fc7675
precision test (FloatingPointError) ( #3404 )
2025-01-04 13:07:20 +01:00
Kaalleen
8c7c208b5e
fill: first stitch correction ( #3391 )
2025-01-01 07:54:14 +01:00
Kaalleen
2e234bb891
lettering: align color sorted text ( #3389 )
2024-12-31 17:14:39 +01:00
Kaalleen
2539af7e04
Multi shape tartan jumps ( #3386 )
...
* lettering_ description box size
* reduce jump stitches for combined tartan patterns
2024-12-30 20:40:24 +01:00
Kaalleen
f807ccf49a
Fix lettering commands ( #3385 )
2024-12-29 19:54:15 +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
057f0314d2
remove glyphlist update extension (replaced by edit json) ( #3380 )
2024-12-29 09:29:25 +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
5ce92a4621
Include all files of default variant for glyph list update ( #3368 )
2024-12-26 05:44:41 +01:00
Kaalleen
72b403bd50
Fix path effect clips ( #3364 )
2024-12-26 05:43:36 +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
7e6f161720
improve troubleshoot warnings visiblity ( #3357 )
2024-12-22 06:17:53 +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
f2d2d154d0
add rungs when rails are intersecting ( #3344 )
2024-12-15 14:58:30 +01:00
Kaalleen
98cf7a5955
do not translate Ink/Stitch as a term ( #3345 )
2024-12-15 14:54:10 +01:00
Kaalleen
1f3f15efde
auto satin: add option to keep original path elements ( #3332 )
2024-12-14 16:49:42 +01:00
Kaalleen
1abd305132
Split satins at stitch level ( #3336 )
2024-12-14 16:49:10 +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
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
e0095ea846
Lettering sortable trims ( #3308 )
...
* add trims as requested through user interface for each color block
* handle commands better
2024-11-30 17:36:12 +01:00
Kaalleen
13ddafb2ad
add bean stitch option to manual stitch ( #3312 )
2024-11-30 17:29:09 +01:00
Kaalleen
a980ed0dbc
add randomization options to linear gradient fill ( #3311 )
2024-11-30 17:27:48 +01:00
Kaalleen
7390a702ec
fix jump to stroke transform glitch ( #3306 )
2024-11-30 17:27:16 +01:00
Kaalleen
7c0e1d0fb7
make remove commands more robust for broken commands with active selection ( #3288 )
2024-11-19 16:46:09 +01:00
Kaalleen
a66ae845f1
Print-pdf: simplify path detection ( #3282 )
...
* print-pdf: simplify path detection
* i18n: more cleaning up
* Version, License paths
2024-11-18 12:56:38 +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
d15b1f40c7
Add icons and descriptions for extension gallery ( #3287 )
2024-11-18 11:39:57 +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
b20ad42733
clone: do not fixup href ( #3277 )
2024-11-12 19:08:33 +01:00
Kaalleen
45dda2616d
Clipped groups ( #3261 )
2024-11-12 19:07:24 +01:00
Kaalleen
7c99a138d1
unit: prevent zerodivision error for zero length segments ( #3268 )
2024-11-12 19:03:49 +01:00
Kaalleen
2e9ec2ca08
set svg version when opening an embroidery file ( #3276 )
2024-11-08 16:58:11 +01:00
Kaalleen
eafa256418
redwork/auto-run: keep stroke width ( #3264 )
2024-11-06 19:13:38 +01:00
Benson Muite
971d23c461
Use colormath2 instead of colormath ( #3266 )
2024-11-03 16:43:47 +01:00
Kaalleen
0113631627
Fix 'None'-string confusions in style ( #3243 )
2024-11-01 07:03:08 +01:00
Kaalleen
545b4b1413
Print pdf: prevent rendering original paths ( #3262 )
2024-11-01 07:00:53 +01:00
Kaalleen
4e6fd162cd
update realistic filter ( #3222 )
2024-10-24 18:01:41 +02: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
dbfdb3e8d4
satin column: ignore single point paths ( #3244 )
2024-10-21 16:45:10 +02:00
Kaalleen
bd4d300ed7
fix select redwork top layer ( #3230 )
2024-10-19 17:06:05 +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
5185237643
fix gradient style ( #3200 )
2024-09-30 10:57:26 +02:00
Kaalleen
4edb11d058
Fix clones with NoneType hrefs ( #3196 )
2024-09-17 17:35:31 +02:00
capellancitizen
7474aa7a3a
Fixed hidden objects being stitched out when cloned ( Fix #3167 ) ( #3171 )
...
Extracted Base.descendants into a util function
2024-08-28 20:12:16 -04:00
Kaalleen
d26ec21874
auto satin: transfer min jump length from satins on strokes ( #3154 )
2024-08-21 15:20:17 +02:00
Kaalleen
47893d5257
multicolor satin: option to adjust underlay ( #3152 )
2024-08-21 15:19:14 +02:00
capellancitizen
07f98b0a9b
Fixed transforms on cloned commands ( #3160 )
...
Also, point-upwards now applied to commands that are children
of cloned elements.
2024-08-20 23:18:13 -04:00
Kaalleen
7cf952dce2
fill: ensure polygon in pull comp adjusted shape ( #3143 )
2024-08-18 20:05:37 +02:00
Kaalleen
300755c436
add wxpython abort message (as alternative to stderr output) ( #3145 )
2024-08-17 17:29:54 +02:00
Kaalleen
404c483cc7
fix fills without underpath and bad start-end positions ( #3141 )
2024-08-17 17:28:08 +02:00
Kaalleen
5e387d76a7
satin troubleshoot: do not fail on satins without rails ( #3148 )
2024-08-17 17:27:29 +02:00
Kaalleen
45c873a304
fix slider dark theme issue ( #3147 )
2024-08-17 09:08:24 +02:00
Kaalleen
88fa78a9ad
auto satin: filter zero length strokes as well ( #3139 )
2024-08-17 07:26:52 +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
Kaalleen
51c27ae75c
skip empty gradient blocks ( #3142 )
2024-08-17 07:24:49 +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
e8896fe18e
add remove duplicated points extension ( #3117 )
2024-08-13 16:59:12 +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
828ce1d675
method expects string after all ( #3108 )
2024-07-24 16:27:37 +02:00
Kaalleen
3c37c52ab1
not a fix, but avoid to fail on an other networkx no path error ( #3106 )
2024-07-24 16:01:34 +02:00
Kaalleen
1b09fdbddb
multiple int param is expected to return int not str ( #3102 )
2024-07-22 17:39:41 +02:00
Kaalleen
c49e8d2f77
fix more runtime errors when simulator closes ( #3101 )
2024-07-21 10:52:13 +02:00
Kaalleen
94caf919ff
prevent showing RuntimeError on_stitch_plan_rendered ( #3097 )
2024-07-20 09:22:35 +02:00
Kaalleen
8b7605a7c6
Lettering wrap font description ( #3095 )
2024-07-20 09:21:24 +02:00
rejbasket
9c537f33b9
shapely arm fix ( #3094 )
2024-07-20 09:20:10 +02:00
Kaalleen
c089a5ed0c
ignore warnings in releases ( #3081 )
2024-07-18 18:59:00 +02:00
Kaalleen
eadeadb9a6
Fill: fallback to edge run when underpath fails ( #3089 )
2024-07-16 20:39:33 +02:00
Kaalleen
d9ed17d888
satin and stroke presets ( #3090 )
2024-07-16 20:38:53 +02:00
Kaalleen
ef1a483b2d
threadlist: size comma to x ( #3088 )
2024-07-16 20:36:15 +02:00
Kaalleen
6a39662fd1
Command translations ( #3075 )
...
* command translations
* windows: do not unescape
2024-07-14 15:40:16 +02:00
Kaalleen
2ad75356dd
redwork: fix starting_point issue ( #3082 )
2024-07-14 08:34:40 +02:00
Kaalleen
e38691be17
fix newly introduced param bug: fill without stroke should be possible ( #3079 )
2024-07-11 17:47:16 +02:00
Kaalleen
9f4e397947
Lettering: skip font with corrupt json file ( #3071 )
...
* lettering: warn about corrupt/missing json file
* ignore hidden directories and files placed directly in the font folder
2024-07-10 16:06:24 +02:00
Kaalleen
bce6e44ea4
fix transform issue in "display rendering order" ( #3046 )
2024-07-09 18:30:25 +02:00
Kaalleen
6c9b902d15
Skip stitch zero length row ( #3054 )
...
* fix #3052
* add one stitch for zero length row
2024-07-09 18:26:47 +02:00
Kaalleen
22920f5c51
reset corrupted cache files ( #3074 )
2024-07-09 18:19:15 +02:00
Kaalleen
4644c11949
Pull comp: remove holes again ( #3067 )
...
* pull comp: remove holes again
* rescue some more broken shapes
2024-07-09 18:18:49 +02:00
Kaalleen
f55571eac1
png: use viewport unit to take svg scale value into account ( #3073 )
2024-07-09 17:43:22 +02:00
Kaalleen
988bc27868
zip dpi default to 300 ( #3068 )
2024-07-09 17:38:19 +02:00
Kaalleen
a0bc013bb8
params: first fill then stroke ( #3065 )
2024-07-09 17:37:44 +02:00
Kaalleen
550061e15b
threadlist: add missing linebreak ( #3070 )
2024-07-08 09:48:03 +02:00
Kaalleen
8fdd5e502a
relative lock stitch direction ( #3066 )
2024-07-08 08:26:10 +02:00
Kaalleen
f5939d6341
Set redwork underpath style to dashed ( #3053 )
...
* set redwork underpath style to dashed
* unset dashes for top stitching paths
* update select elements template
2024-07-07 23:19:32 +02:00
Kaalleen
2b390b908e
Raster output ( #3036 )
...
* stitch plan preview png: 300, 600 dpi
* add png export dpi option
2024-07-03 07:09:06 +02:00
capellancitizen
6c166dca61
Trying to add commands to clones now shows an error. ( #3034 )
...
* Trying to add commands to clones now shows an error.
* warn about ignored clones and continue
---------
Co-authored-by: Kaalleen <reni@allenka.de>
2024-07-02 22:29:29 -04:00
Kaalleen
b3b7023cb8
fix split text ( #3037 )
2024-07-02 15:32:05 +02:00
Kaalleen
1b5b58736d
remove previously added extra space from svg tartan dimensions
2024-07-01 18:45:03 +02:00
Kaalleen
37bf83d8db
remove small lines from tartan strokes ( #3035 )
2024-07-01 17:01:53 +02:00
Kaalleen
e52886a64a
Various fixes ( #3028 )
...
* several thread palette extension fixes
* fix svg tartan when original shape is invalid
* tartan stroke spaces
* style
* fix tartan color substituion at pattern start
* ripple: do not render too small paths
* use less space for params warning headline
* fix clone shape path
* zip export template fix (typo)
* add realistic stitch plan output warning (help tab)
2024-06-30 22:49:18 +02:00
Kaalleen
d938ea3685
make line to satin a little bit more robust ( #3021 )
2024-06-27 20:29:15 +02:00