Wykres commitów

532 Commity (main)

Autor SHA1 Wiadomość Data
Kaalleen ef7d056173
End points ()
* 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 () 2024-12-26 16:11:37 +01:00
Kaalleen 5ce92a4621
Include all files of default variant for glyph list update () 2024-12-26 05:44:41 +01:00
Kaalleen 2f727b31ab
Font management: add kerning tool () 2024-12-22 06:19:34 +01:00
Kaalleen 7e6f161720
improve troubleshoot warnings visiblity () 2024-12-22 06:17:53 +01:00
Kaalleen 1f3f15efde
auto satin: add option to keep original path elements () 2024-12-14 16:49:42 +01:00
Kaalleen b010519688
Enable start end commands for satins ()
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 cf2a44ef8e
use non-accumulative command scaling () 2024-12-07 15:12:37 +01:00
Kaalleen e0095ea846
Lettering sortable trims ()
* add trims as requested through user interface for each color block
* handle commands better
2024-11-30 17:36:12 +01:00
Kaalleen 7390a702ec
fix jump to stroke transform glitch () 2024-11-30 17:27:16 +01:00
Kaalleen 7c0e1d0fb7
make remove commands more robust for broken commands with active selection () 2024-11-19 16:46:09 +01:00
Kaalleen a66ae845f1
Print-pdf: simplify path detection ()
* print-pdf: simplify path detection
* i18n: more cleaning up
* Version, License paths
2024-11-18 12:56:38 +01:00
Kaalleen e8123b7274
Thread catalog: fix broken path ()
* 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 2e9ec2ca08
set svg version when opening an embroidery file () 2024-11-08 16:58:11 +01:00
Kaalleen eafa256418
redwork/auto-run: keep stroke width () 2024-11-06 19:13:38 +01:00
Kaalleen 545b4b1413
Print pdf: prevent rendering original paths () 2024-11-01 07:00:53 +01:00
Kaalleen c6fecfb0bc
Add color sort option for multicolor fonts () 2024-10-21 17:01:58 +02:00
Kaalleen bd4d300ed7
fix select redwork top layer () 2024-10-19 17:06:05 +02:00
capellancitizen 7474aa7a3a
Fixed hidden objects being stitched out when cloned (Fix ) ()
Extracted Base.descendants into a util function
2024-08-28 20:12:16 -04:00
Kaalleen 300755c436
add wxpython abort message (as alternative to stderr output) () 2024-08-17 17:29:54 +02:00
Kaalleen 88fa78a9ad
auto satin: filter zero length strokes as well () 2024-08-17 07:26:52 +02:00
Kaalleen 51c27ae75c
skip empty gradient blocks () 2024-08-17 07:24:49 +02:00
capellancitizen f3a3cde71e
Clones now also clone commands attached to element and its children. (, ) () 2024-08-14 19:40:42 -04:00
Kaalleen e8896fe18e
add remove duplicated points extension () 2024-08-13 16:59:12 +02:00
Lex Neva 47ad76f513
Show page in simulator ()
* 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 94caf919ff
prevent showing RuntimeError on_stitch_plan_rendered () 2024-07-20 09:22:35 +02:00
Kaalleen d9ed17d888
satin and stroke presets () 2024-07-16 20:38:53 +02:00
Kaalleen ef1a483b2d
threadlist: size comma to x () 2024-07-16 20:36:15 +02:00
Kaalleen 6a39662fd1
Command translations ()
* command translations
* windows: do not unescape
2024-07-14 15:40:16 +02:00
Kaalleen 2ad75356dd
redwork: fix starting_point issue () 2024-07-14 08:34:40 +02:00
Kaalleen e38691be17
fix newly introduced param bug: fill without stroke should be possible () 2024-07-11 17:47:16 +02:00
Kaalleen bce6e44ea4
fix transform issue in "display rendering order" () 2024-07-09 18:30:25 +02:00
Kaalleen 4644c11949
Pull comp: remove holes again ()
* 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 () 2024-07-09 17:43:22 +02:00
Kaalleen 988bc27868
zip dpi default to 300 () 2024-07-09 17:38:19 +02:00
Kaalleen a0bc013bb8
params: first fill then stroke () 2024-07-09 17:37:44 +02:00
Kaalleen 550061e15b
threadlist: add missing linebreak () 2024-07-08 09:48:03 +02:00
Kaalleen f5939d6341
Set redwork underpath style to dashed ()
* 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 ()
* 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. ()
* 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 () 2024-07-02 15:32:05 +02:00
Kaalleen e52886a64a
Various fixes ()
* 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 () 2024-06-27 20:29:15 +02:00
Kaalleen 5f23dea1a1
Make PNG (simple/realistic) and threadlist available in export file formats () 2024-06-26 22:51:15 +02:00
Kaalleen 7a856a77e4
wxpythonify about extension () 2024-06-23 10:58:16 +02:00
Kaalleen 4cef6be086
Fix realistic stitch plan preview for inkscape versions 1.3 and 1.3.1 ()
Co-authored-by: CapellanCitizen
2024-06-21 18:43:18 +02:00
Kaalleen c017cae01a
gray out randomize stitch length param when random stitch length is disabled () 2024-06-20 16:56:00 +02:00
Kaalleen dbdba2cda3
Add preferences button to simulator ()
* 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 d9db1601d3
lettering along path: remove previous transforms () 2024-06-08 13:56:45 +02:00
Kaalleen ee2506147e
Improve simulator dark theme ()
* add simulator dark theme buttons
* refresh simulator drawing panel on resize (important for windows)
2024-06-07 10:33:45 +02:00
Kaalleen 952ba0023a
Update tartan gui ()
* 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 ()
* 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 1f57763e79
add help tab to lettering () 2024-05-29 14:38:17 +02:00
Kaalleen cf0356a6f3
fix boolean param () 2024-05-24 12:15:49 +02:00
Kaalleen 7a19800a6f
add links to documention in inx extensions () 2024-05-22 21:49:35 +02:00
Kaalleen 0310f5d37d
print pdf: remove top level groups (not only layers) () 2024-05-22 21:47:01 +02:00
Kaalleen adb6f008af
tartan: fix non tartan group selection () 2024-05-20 16:02:09 +02:00
Kaalleen b024dc57f2
fix realistic preview for pyinstaller packaged linux build () 2024-05-17 09:56:47 +02:00
Kaalleen 9188d6aba7
fix zigzag line to satin () 2024-05-17 09:44:09 +02:00
Kaalleen 1e97ad32c0
Stitch plan: options render jumps and ignore layer () 2024-05-17 08:26:43 +02:00
Kaalleen af8b832191
lpe satin: increase fuse value () 2024-05-12 20:19:22 +02:00
Kaalleen 18deb5ee3b
Several fixes ()
* 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 ()
* fix currentColor
* fix pip inkex import
* fix color block extension
2024-05-11 08:14:40 +02:00
Kaalleen 958cb4210a
Rewrite outline extensions () 2024-05-09 10:32:08 +02:00
Kaalleen 9bd3f3658e
fix multiple param values when default None () 2024-05-07 20:48:31 +02:00
Kaalleen 45a8537c98
remove special treatment for polylines () 2024-05-07 20:48:05 +02:00
George Steel d32a8fd466
Add randomized running and fill stitches ()
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 . 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 ()
* 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 04e74c2c8f
cancel simulator extensions without applying changes () 2024-05-02 06:50:52 +02:00
capellancitizen 8d36d2aaa0
Improved stitch plan rasterization performance () 2024-05-01 14:05:24 -04:00
Kaalleen 298f911ec5
Add Jump to Trim Extension () 2024-05-01 19:44:04 +02:00
Kaalleen 2ee4175437
Remove electron entirely ()
Co-authored-by: rejbasket
2024-05-01 19:34:25 +02:00
Kaalleen eb64c88a8b
Fix select elements extension ()
* 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 () 2024-05-01 06:59:46 +02:00
Lex Neva 3f0f04abec
simulator fixes ()
* 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 ed33b29c28
Font sampling extension () 2024-04-27 10:02:20 +02:00
Lex Neva 3b16235821
move print PDF back to web browser ()
* 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 ()
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 7e756b8971
Additional Clone functionality ()
- 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 () 2024-04-06 08:26:48 +02:00
Kaalleen f40c89a4a6
avoid RuntimeError by closing params with CallAfter () 2024-03-30 17:51:21 +01:00
Kaalleen 697b6c64f8
add options to remove specific params only () 2024-03-29 11:09:17 +01:00
Kaalleen 2439adafa8
Add "the tartan universe" () 2024-03-29 10:25:02 +01:00
Kaalleen 8e70f3d2fe
Add object based min stitch length ()
* 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 () 2024-03-24 07:39:42 +01:00
Claudine Peyrat c59449d634
Update jump_to_stroke.py () 2024-03-23 23:26:41 +01:00
Kaalleen 1112959da1
use offset curve for convert satin extension ()
filter invalid rungs when merging satin sections
2024-03-23 09:00:40 +01:00
Kaalleen 4749eca8fd
Add apply palette extension ()
* 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 () 2024-03-11 13:55:00 +01:00
Kaalleen 3b5ed7c3f2
element info: fix metadata () 2024-03-11 13:53:45 +01:00
Kaalleen 84f213d000
satin to stroke: remove etree () 2024-03-08 17:18:27 +01:00
Kaalleen f6a0b2eeeb
Fix lettering along path when glyphs have subgroups ()
* remove "use no commands" restriction for lettering along path
2024-03-07 17:59:38 +01:00
Kaalleen d43f2e2ff9
Jump to strokes connect subpaths () 2024-03-07 17:57:51 +01:00
Kaalleen 0816635d7e
Jump to stroke options ()
* 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 () 2024-02-23 16:53:05 +01:00
Kaalleen e87fe0cce7
Detect satins with two rungs ()
1. select elements
2. troubleshoot
2024-02-21 22:48:33 +01:00
Kaalleen 0fb7d82f72
add ignore layer command to display stacking order () 2024-02-10 20:16:55 +01:00
rejbasket d929336f08
Rejbasket/pyinstaller fix installer checks ()
* 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
Kaalleen 9713b3cee5
Zip: fix error message when no file format is selected () 2024-02-05 17:37:43 +01:00
Kaalleen 33b0cdab9e
select elements: message when python path is not correct () 2024-01-25 18:24:13 +01:00