Wykres commitów

1136 Commity (kaalleen/simple-png)

Autor SHA1 Wiadomość Data
Kaalleen bd53e413c7
Tartan stroke distance (#2931) 2024-05-21 20:26:22 +02:00
Claudine Peyrat 501a089142
add a tooltip to split method param (#2926) 2024-05-20 22:53:44 +02:00
Kaalleen adb6f008af
tartan: fix non tartan group selection (#2922) 2024-05-20 16:02:09 +02:00
Kaalleen 2cd0f89747
filter invalid satin second trial (#2918) 2024-05-17 11:23:34 +02:00
Kaalleen 4cda460741
filter invalid paths in satins (#2916) 2024-05-17 09:57:16 +02:00
Kaalleen b024dc57f2
fix realistic preview for pyinstaller packaged linux build (#2912) 2024-05-17 09:56:47 +02:00
Kaalleen 9188d6aba7
fix zigzag line to satin (#2917) 2024-05-17 09:44:09 +02:00
Kaalleen 138aa78cb7
fix tartan threadcount code (#2913) 2024-05-17 08:35:08 +02:00
Kaalleen 1e97ad32c0
Stitch plan: options render jumps and ignore layer (#2911) 2024-05-17 08:26:43 +02:00
Kaalleen 705dabaa56
fix gap after auto-route satin (#2907) 2024-05-16 06:43:01 +02:00
Kaalleen 03bc909abb
fix invalid clip paths (#2897) 2024-05-13 16:49:31 +02:00
Kaalleen 7137863b60
add color description (#2899) 2024-05-13 16:48:25 +02:00
Claudine Peyrat 1c524f094a
Claudine/add ondulamarif fonts (#2902)
* add the ondulamarif file

+ add a tartan and a ripple category

* Update →.svg

add the german voyels

* scaling

* add the lost Ê to themedium font
2024-05-13 11:47:24 +02:00
Kaalleen ce26f096dd
Make font names not translatable (#2901) 2024-05-12 20:27:31 +02:00
Kaalleen 747ae5e3b7
fix center walk underlay repeats (#2895) 2024-05-12 20:19:56 +02:00
Kaalleen af8b832191
lpe satin: increase fuse value (#2896) 2024-05-12 20:19:22 +02:00
Kaalleen 18deb5ee3b
Several fixes (#2893)
* fix untranslatable string in tartan code panel
* warn about duplicated glyphs in font file
* font sampling: change default line length
* prevent element_id referenced before assignment
2024-05-11 08:19:23 +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 958cb4210a
Rewrite outline extensions (#2881) 2024-05-09 10:32:08 +02:00
Kaalleen 6019f0cce0
Sample correct font variant (#2883) 2024-05-07 23:36:35 +02:00
Kaalleen 9bd3f3658e
fix multiple param values when default None (#2854) 2024-05-07 20:48:31 +02:00
Kaalleen 45a8537c98
remove special treatment for polylines (#2866) 2024-05-07 20:48:05 +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
Kaalleen 39882db492
font-info: int -> float (#2853) 2024-05-06 18:43:44 +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
karnigen bf5c2dfd67
Kgn/logging revamp (#2720)
* update config files

* rebase after electron remove

* added toml to requirements

* logging update

* Unified use of the TOML format instead of INI [no ci]

* Unified use of the TOML format instead of INI [no ci]

* moving debug*.py to debug dir, moving some part for debugger [no ci]

* use of alternate logging in some cases

* updated debug logger [no ci]

* logging update

* updated notes

* updated notes about logging

* style check
2024-05-03 01:34:58 +02:00
Kaalleen ad2914284e
fix font sampling (#2878) 2024-05-02 06:55:18 +02:00
Kaalleen 44442712b9
move default tartan starting point (#2877) 2024-05-02 06:53:40 +02:00
Kaalleen 04e74c2c8f
cancel simulator extensions without applying changes (#2876) 2024-05-02 06:50:52 +02:00
capellancitizen 8d36d2aaa0
Improved stitch plan rasterization performance (#2873) 2024-05-01 14:05:24 -04:00
Kaalleen 298f911ec5
Add Jump to Trim Extension (#2864) 2024-05-01 19:44:04 +02:00
Kaalleen 2ee4175437
Remove electron entirely (#2859)
Co-authored-by: rejbasket
2024-05-01 19:34:25 +02:00
Kaalleen eb64c88a8b
Fix select elements extension (#2875)
* fix dbus issue
* add bean stitch repeats
* add tartan
* add autosatin underlay

---------

Co-authored-by: rejbasket
2024-05-01 19:12:01 +02:00
Kaalleen 0c825d2163
Add multicolor satin extension (#2863) 2024-05-01 06:59:46 +02:00
Lex Neva 3f0f04abec
simulator fixes (#2844)
* fix slide and control panel rendering bugs

* clear marker lists when clearing stitch plan

* switch simulator back to wx

* remove unused function

* fix off-by-one error in color bar

* avoid overlapping command symbols of different types

* don't maximize simulator

* adjust alignment

* remove unused API server

* bugfix

* focus entire simulator panel

* rename simulator/realistic preview -> simulator

* experimental: background color picker

* set pagecolor to background color by default

* satisfy macos

* toggle jumps on drawing canvas

* clear frog family

---------

Co-authored-by: Kaalleen
2024-04-30 20:21:32 +02:00
Kaalleen 4c7533d8c3
add outdated glyphlist warning (#2862) 2024-04-30 20:07:36 +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 ed33b29c28
Font sampling extension (#2858) 2024-04-27 10:02:20 +02:00
Lex Neva 3b16235821
move print PDF back to web browser (#2849)
* move print PDF back to web browser

* fix line wrapping for macOS

---------

Co-authored-by: Kaalleen <reni@allenka.de>
2024-04-24 22:38:32 -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
capellancitizen cca25ba679
Clean-up of clone code (#2851) 2024-04-23 18:09:32 -04:00
capellancitizen 7e756b8971
Additional Clone functionality (#2834)
- Recursive Clones now pick up inkstitch:angle etc. from clones they clone
- Style now properly propogates to clones
- Unlink Clone tool (which applies angle changes, etc.)
- Minor refactoring
2024-04-12 16:01:17 -04:00
Kaalleen 25984cf01d
cleanup document: list -> set (#2819) 2024-04-06 08:26:48 +02:00
Kaalleen 36ab53301d
remove empty d error (#2818) 2024-04-06 08:26:14 +02:00
Kaalleen a5aa9dd688
add stitch tolerance to satin underlays (#2814) 2024-04-01 22:52:27 +02:00
Kaalleen f40c89a4a6
avoid RuntimeError by closing params with CallAfter (#2809) 2024-03-30 17:51:21 +01:00
Kaalleen 231f3a50b6
tartan angles int -> float (#2808) 2024-03-30 08:05:49 +01:00
Kaalleen 41c73a2125
rename patch -> stitch_group (#2805) 2024-03-29 11:54:03 +01:00
Kaalleen 697b6c64f8
add options to remove specific params only (#2774) 2024-03-29 11:09:17 +01: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 88278d0c07
save thread names into embroidery files (#2777) 2024-03-24 07:39:42 +01:00
Claudine Peyrat c59449d634
Update jump_to_stroke.py (#2795) 2024-03-23 23:26:41 +01:00
Kaalleen 1112959da1
use offset curve for convert satin extension (#2775)
filter invalid rungs when merging satin sections
2024-03-23 09:00:40 +01:00
Kaalleen 3bf30f6f26
add no rung warning (#2791) 2024-03-23 08:18:39 +01:00
Kaalleen 7118bacb78
troubleshoot/linear gradient: add no linear gradient warning (#2779) 2024-03-13 15:03:34 +01:00
Kaalleen e89d9c6ff2
update meander zigzag defalt (#2778) 2024-03-13 15:03:02 +01:00
Kaalleen 3c7afaaf22
fix style (#2776) 2024-03-11 14:15:07 +01:00
Kaalleen 4749eca8fd
Add apply palette extension (#2738)
* add apply palette extension
* thread catalog: apply palette: do not overwrite cutwork settings
2024-03-11 14:08:56 +01:00
Kaalleen 3121bbaedf
add satins only option to force lock stitch extension (#2773) 2024-03-11 13:55:00 +01:00
Kaalleen ea4d48119a
troubleshoot: stroke and fill warning (#2761) 2024-03-11 13:54:20 +01:00
Kaalleen 3b5ed7c3f2
element info: fix metadata (#2772) 2024-03-11 13:53:45 +01:00
Kaalleen 84f213d000
satin to stroke: remove etree (#2764) 2024-03-08 17:18:27 +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
Kaalleen d43f2e2ff9
Jump to strokes connect subpaths (#2750) 2024-03-07 17:57:51 +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 0816635d7e
Jump to stroke options (#2733)
* Min width
* Max width
* Connect only within groups or layers
* Do not connect after trim, stop or forced lock stitches
* Merge new strokes with previous/next stroke
2024-02-23 16:54:39 +01:00
Kaalleen c61473f02f
handle zero stitch elements better (#2736) 2024-02-23 16:53:05 +01:00
Kaalleen 760f39df90
Satin warnings (#2735) 2024-02-23 16:52:29 +01:00
Kaalleen e87fe0cce7
Detect satins with two rungs (#2734)
1. select elements
2. troubleshoot
2024-02-21 22:48:33 +01:00
Kaalleen 0825da15db
Fix lettering id-error and trims (#2711) 2024-02-10 20:17:36 +01:00
Kaalleen 0fb7d82f72
add ignore layer command to display stacking order (#2719) 2024-02-10 20:16:55 +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
karnigen 2be2dd6c6d support for modified id and menu 2024-02-07 21:03:57 +01:00
karnigen e5b42c47ae file not used - cleanup 2024-02-07 20:55:41 +01:00
Kaalleen 9713b3cee5
Zip: fix error message when no file format is selected (#2674) 2024-02-05 17:37:43 +01:00
Kaalleen 39a825d823
Do not omit "multi_shapes" in geometry collections (#2708) 2024-02-01 19:23:29 +01:00
Kaalleen 78beb13ef0
do not filter small segments for linear gradient graph (#2707) 2024-02-01 19:17:49 +01:00
Kaalleen 92ac798693
add zigzag option to meander (#2699) 2024-01-28 08:48:44 +01:00
Kaalleen 33b0cdab9e
select elements: message when python path is not correct (#2685) 2024-01-25 18:24:13 +01:00
Kaalleen 2e60900b1a
Stroke to Fill: Ignore Small Artifacts (#2678)
* Ignore artifacts
* insert one centerline group per fill element
* prevent error on elements with fill and stroke
2024-01-25 17:59:27 +01:00
Kaalleen 2677c30a0f
Second chance for invalid fill stitch graphs (#2643) 2024-01-25 17:54:08 +01:00
Kaalleen d57bbb0f94
Stitch plan preview overwrite option (#2642) 2024-01-14 20:42:36 +01:00
karnigen 1b1779ee99 style cleanup 2024-01-13 15:42:49 +01:00
karnigen bc991aaa25
Merge pull request #2653 from inkstitch/kgn/debug_profile_extend_vscode
Kgn/debug profile extend vscode
2024-01-12 19:01:22 +01:00
karnigen 78a3c93fe3 just typo 2024-01-12 01:47:11 +01:00
karnigen 55145a568a added support for lxml <5.0.0 in write 2024-01-12 01:34:20 +01:00
karnigen 0e08a26311 updated decription 2024-01-11 17:48:11 +01:00
karnigen 0f404bb737 extending bash with cmd line args: -d -p 2024-01-11 14:19:16 +01:00
karnigen b4f50b1ed9 simplification, cleanup, docs, startup dialog, DEBUG.ini 2024-01-05 17:05:22 +01:00
Kaalleen 0673df5683
auto-route: do not add jumps between subpaths of satin columns (#2667) 2023-12-31 16:38:00 +01:00
Kaalleen cbae740a6a
update defaults and adapt to newer inkex (#2666) 2023-12-31 15:48:17 +01:00
Kaalleen e4f5035fb1
autorun: fix networkx no path (#2645) 2023-12-31 11:16:09 +01:00
Kaalleen fd01c2e2f1
Stitch plan: escape labels (#2644) 2023-12-29 17:00:41 +01:00
karnigen f1f9d275a1 replace DEBUG,PROFILE by DEVEL.ini 2023-12-29 16:25:17 +01:00
Kaalleen 28dba29684
troubleshoot: pointer on rail (#2657) 2023-12-28 06:53:29 +01:00
Kaalleen c0bcdb6e25
add display stacking order extension (#2656) 2023-12-28 06:53:05 +01:00
Kaalleen 7ede87f5a6
move lettering panel to gui (#2641) 2023-12-26 10:11:38 +01:00
Kaalleen d1624fdb36
Contour fill: replace buffer with offset_curve (#2654) 2023-12-26 09:37:30 +01:00
karnigen fe323375e4 env update from inkscape, bash names for script 2023-12-25 19:54:52 +01:00
Kaalleen 0200ba173c
add total min max stitch length to element info (#2609) 2023-12-25 09:15:55 +01:00
Kaalleen 9d0aebc5cf
fix polyline shape (#2603) 2023-12-25 08:51:00 +01:00
Kaalleen a001667470
Add shape property to clone (#2637) 2023-12-25 08:50:28 +01:00
Kaalleen 5daa3aa3f0
Remove previous troubleshoot layer (#2638)
... instead of deleting content
2023-12-25 08:49:46 +01:00
Kaalleen 9afbf02384
Ignore multipoints in intersect regions with gratings (#2647) 2023-12-25 08:48:20 +01:00
Kaalleen 838d811ae6
fix networkx nopath error for start/end nodes (fill) (#2635) 2023-12-25 08:42:22 +01:00
karnigen 746768d849 extending debug 2023-12-17 23:08:39 +01:00
karnigen cc016b193e initial changes 2023-12-17 23:03:39 +01:00
Claudine Peyrat 732a6556de
replace jumps by running stitches in large satin columns (#2624)
* replace jumps by running stitches

- this modify the contour underlay by adding a running stitch to travel from first side to second side
- it also add running stitches between underlays and between underlay and final satin stitches

* rename patch to stitch_group

* Update satin_column.py

add a function to avoid repetitive code
2023-12-17 18:58:52 +01:00
Kaalleen 3bd92265b2
Add linear gradient fill (#2587) 2023-11-22 20:55:58 +01:00
Kaalleen d6f8fc00c9
return valid shape (#2594) 2023-11-10 17:06:32 +01:00
Lex Neva f0262a5709
handle case of travelling along shape border (#2593) 2023-11-10 16:42:46 +01:00
Kaalleen 7edebd60f9
fix invalid clip path (#2577)
use fallback if shape has grating issues (too small)
2023-11-10 16:41:36 +01:00
Kaalleen 8d9930a52d
Save some space (simulator) (#2571)
* combine and untoggle direction buttons
* do not switch bitmap play/pause buttons
2023-11-09 17:28:55 +01:00
Claudine Peyrat 905bab632e
Update satin_column.py (#2578)
* Update satin_column.py

* Update satin_column.py
2023-10-28 19:56:47 +02:00
Kaalleen 0d77b99bfd
Add indicator size option for density map (#2572)
* add indicator size option
* obey min stitch length setting
2023-10-24 19:21:15 +02:00
Claudine Peyrat a2adb03b6a
correct tooltip (#2573)
tooltip for random zig-zag spacing was  hinting it was applied to stitch length.
2023-10-23 20:23:16 +02:00
Lex Neva d153132cf4
don't handle simulator click before stitch plan is loaded (#2570) 2023-10-22 17:55:02 +02:00
Lex Neva 82f2edac1a
attach params/lettering simulator window and allow detach (#2557) 2023-10-21 18:16:34 +02:00
Kaalleen 746a984dac
Fix new param simulator for macOS and Windows (#2546)
* fix tooltip
* combine play and pause button
---------

Co-authored-by: Lex Neva
2023-10-18 15:57:49 +02:00
Kaalleen e3c9f95ba3
element info: fix typo (#2559) 2023-10-17 20:10:52 +02:00
Kaalleen 1224636403
element info: update link (#2558) 2023-10-17 19:50:44 +02:00
Kaalleen 2e648eb1fb
Cleanup document: add option to remove empty groups/layers (#2552)
* cleanup document: add options to remove empty groups/layers

* cleanup document: add test run option
2023-10-17 19:34:58 +02:00
Kaalleen 58b2e971d3
zip: expose file name option better (#2555) 2023-10-17 19:33:55 +02:00
Kaalleen 6f0150db00
element info: add more info (#2556)
* add removed stitches info
* add color info
2023-10-15 14:47:46 +02:00
Kaalleen cea4f6fca8
add outline extension (#2529) 2023-10-15 07:54:04 +02:00
Kaalleen 1ff6777228
Add element info extension (#2544) 2023-10-15 07:18:26 +02:00
Kaalleen 45e430bb60
lettering: ignore empty layer glyphs (#2551) 2023-10-15 07:09:02 +02: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 bbd7391b18
Test Swatches: Reduce length of param list by checking for element type (#2545) 2023-10-15 07:06:43 +02:00
Kaalleen 8b23d35358
fix stitch plan multiply sequence error (#2527) 2023-10-02 17:21:56 +02:00
Kaalleen 556b538dba
add ignore layer command to density map (#2522) 2023-10-02 17:20:04 +02: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
Kaalleen 427dac519b
Fix Param Simulator (win/mac) (#2507)
* add pause icon

* fix params simulator for mac
2023-09-08 17:03:33 +02:00
Kaalleen 998edba99e
gradient_blocks: unit fix (#2505) 2023-09-07 19:30:09 +02:00
Kaalleen 98273652fd
fix toggle visibility of first command in invisible group or layer (#2491) 2023-09-07 19:29:35 +02:00
Lex Neva ac34dde283
add electron simulator slider features to wxPython simulator (#2481) 2023-09-07 19:28:52 +02:00
Lex Neva af96d720e9
improve params errors (#2437) 2023-09-07 19:25:47 +02:00
Kaalleen c90064d0d3 zigzag: ensure pairs 2023-09-07 18:55:57 +02:00
Kaalleen 3db335b0f4
fix "normal" lpe satin width (#2499) 2023-09-06 22:18:43 +02:00
Kaalleen 7a2bad56ae
remove specific commands only (#2494) 2023-09-03 13:00:23 +02:00
Kaalleen 6a8ea68651
update preferences title (#2495) 2023-09-03 12:59:39 +02:00
Lex Neva 09812b1e9e remove electron Preferences 2023-08-15 23:00:48 -04:00
Lex Neva e35cacc5cc convert Preferences to wxPython 2023-08-15 22:59:04 -04:00
Lex Neva e4de563010
Merge pull request #2464 from inkstitch/lexelby/fix-rungless-satin-reverse
obey reversed rails when synthesizing rungs
2023-08-13 12:23:08 -04:00
Kaalleen ee0cca2e86
do not ignore elements in a group (#2468) 2023-08-12 10:18:11 +02:00
Kaalleen bc40175147
render context-stroke and context-fill as black (#2470) 2023-08-12 10:17:27 +02:00
Kaalleen 98f9fedfea
Update letters_to_font.py (#2461) 2023-08-08 18:57:52 +02:00