Wykres commitów

1136 Commity (kaalleen/simple-png)

Autor SHA1 Wiadomość Data
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
Kaalleen 5f23dea1a1
Make PNG (simple/realistic) and threadlist available in export file formats (#3019) 2024-06-26 22:51:15 +02:00
Kaalleen 850958b5bc
Simulator: make colors visible on background (#3010)
* simulator: color visible on background
* add design dimension info to simulator statusbar
* update preview when apply font size filter
* add info box
* preferences: check if stitch_plan is loaded
2024-06-25 23:46:50 +02:00
Kaalleen 2281130ab7
Various fixes (#3011)
* change satin underlay stitch length default for real
* fix zero length lock stitch
* fix typos
2024-06-23 13:59:20 +02:00
Kaalleen 7a856a77e4
wxpythonify about extension (#3007) 2024-06-23 10:58:16 +02:00
Kaalleen 8968f8698c
fix typo (#3006) 2024-06-22 06:51:41 +02:00
Kaalleen 4cef6be086
Fix realistic stitch plan preview for inkscape versions 1.3 and 1.3.1 (#3004)
Co-authored-by: CapellanCitizen
2024-06-21 18:43:18 +02:00
Kaalleen 4e143db33a
Ignore empty color blocks in linear gradient fill (#3003) 2024-06-21 16:47:12 +02:00
Lex Neva e8017e0bcc
auto-fill pull compensation (#2891) 2024-06-20 19:45:53 +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 c030e32835
Fix short relative lock stitches (#2998) 2024-06-20 16:51:43 +02:00
capellancitizen be2c3981b8
Fix realistic stitch filter rendering (#2988) 2024-06-14 14:45:51 -04:00
Kaalleen dbdba2cda3
Add preferences button to simulator (#2992)
* split simulator panel files
* add view panel to position view options at the side
* fix single simulator start size (macOS)
2024-06-14 09:49:57 +02:00
Kaalleen 39d9defef4
improve error message for files with too many color changes (#2984) 2024-06-12 12:25:52 +02:00
Kaalleen 1cc14f7ba6
add warning for closed path satins (#2976) 2024-06-09 11:06:08 +02:00
Kaalleen d9db1601d3
lettering along path: remove previous transforms (#2973) 2024-06-08 13:56:45 +02:00
Kaalleen 7241bbde08
update pan_and_zoom on simulator resize (#2974) 2024-06-08 13:56:08 +02: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 ee2506147e
Improve simulator dark theme (#2969)
* add simulator dark theme buttons
* refresh simulator drawing panel on resize (important for windows)
2024-06-07 10:33:45 +02:00
Kaalleen f153a6c27b
fix print pdf whith active realistic stitch plan (png) (#2967) 2024-06-05 07:01:15 +02:00
Kaalleen 952ba0023a
Update tartan gui (#2965)
* update tartan gui
* params settings size
* fix issue with set_precision
* fix issue with linear gradient
* do not add ignore layer command to png rerealistic output
2024-06-04 22:27:33 +02:00
Claudine Peyrat 38206d4ead
Claudine/redwork (#2958)
* add redwork extension

* fix issue when multiple lines have the same start and end
output to underlay and top layer paths

* use more networks algo

* make style corrections

* make starting  point effective

* organize in connected groups

* ending point

ending point could be used as starting point if no starting point is given

* add a comment

* don't add connected group

if the whole design is connected, don't add connected group

* remove too short paths

* bug correction

use length  of linestring not the distance betweend endpoiints

* allow parameters setting

stitch_length for both redwork and underpath
bean_stitch for redwork

* style correction

---------

Co-authored-by: Kaalleen <reni@allenka.de>
2024-06-04 20:18:13 +02:00
Kaalleen 054df54646
multicolor satin gui rewrite (#2960) 2024-06-03 10:11:24 +02:00
Kaalleen 7f9ae2ca1e
Avoid FloatingPointError (fill) (#2959) 2024-06-03 06:52:03 +02:00
Kaalleen 4cf85797bc
Avoid FloatingPointError in auto_route satin (#2954) 2024-06-02 09:58:16 +02:00
Kaalleen 1f57763e79
add help tab to lettering (#2948) 2024-05-29 14:38:17 +02:00
Kaalleen cf0356a6f3
fix boolean param (#2942) 2024-05-24 12:15:49 +02:00
Kaalleen 7a19800a6f
add links to documention in inx extensions (#2937) 2024-05-22 21:49:35 +02:00
Kaalleen 175709cdcf
set default underlay stitch length to 3 (#2925) 2024-05-22 21:47:29 +02:00
Kaalleen 0310f5d37d
print pdf: remove top level groups (not only layers) (#2924) 2024-05-22 21:47:01 +02:00
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