Wykres commitów

33 Commity (main)

Autor SHA1 Wiadomość Data
karnigen 1b1779ee99 style cleanup 2024-01-13 15:42:49 +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
karnigen f1f9d275a1 replace DEBUG,PROFILE by DEVEL.ini 2023-12-29 16:25:17 +01:00
karnigen fe323375e4 env update from inkscape, bash names for script 2023-12-25 19:54:52 +01:00
karnigen cc016b193e initial changes 2023-12-17 23:03:39 +01:00
Lex Neva af96d720e9
improve params errors (#2437) 2023-09-07 19:25:47 +02:00
Kaalleen 8d5ef5b663
Fixes (#1703)
* guide line position

* use direction from line to shape

* optimize intersection detection

* fix flapack elf

* handle weird guide lines better

* update starting point for self crossing (multiple) fills

* ripple: fixes and non circular join style

* avoid jumps in ripple stitch

* fallback only necessary if shape does not intersect grating

* make valid may return a polygon

* add profiling

* Stitch.__init__ didn't work right and was super slow

* shrink or grow to multipolygon

Co-authored-by: Lex Neva
2022-06-30 19:22:33 +02:00
Kaalleen ca07b1b267
traceback errors: save svg (#1659) 2022-05-24 19:33:23 +02:00
Kaalleen 60664cc1c1
releases: suppress warnings (#1534) 2022-01-11 23:11:57 +01:00
Kaalleen 23e3f8d5d4
fix manual install macOS (#1399) 2021-10-30 11:09:59 +02:00
Kaalleen 2f35a4a192
Fix Style Issues (#1154)
Co-authored-by: Lex Neva <github.com@lexneva.name>
2021-07-25 07:24:34 +02:00
Lex Neva 3b3f890c12 add copyright headers 2021-03-11 23:17:19 -05:00
Kaalleen e84a86d4ac
Update for Inkscape 1.0 (#880)
* update for inkscape 1.0
* add about extension
* Build improvements for the inkscape1.0 branch (#985)
* zip: export real svg not stitch plan
* #411 and #726
* Tools for Font Creators (#1018)
* ignore very small holes in fills
* remove embroider (#1026)
* auto_fill: ignore shrink_or_grow if result is empty (#589)
* break apart: do not ignore small fills

Co-authored-by: Hagen Fritsch <rumpeltux-github@irgendwo.org>
Co-authored-by: Lex Neva <github.com@lexneva.name>
2021-03-04 18:40:53 +01:00
Kaalleen 588f098817
encode exception header (#675) 2020-04-28 22:05:22 +02:00
Kaalleen 1f43fad44f
top level exception text (#647) 2020-04-20 20:52:50 +02:00
Kate Murphy 4b99c70f86
Removed duplicated logging code 2019-04-21 13:12:12 -04:00
Lex Neva 8aa86f6619 set up debug logging 2019-03-28 15:21:50 -04:00
Lex Neva f5c85183d9
basic lettering (#344)
Can handle multiple lines of text and routes the stitching in alternating directions on each line.
2018-11-14 20:23:06 -05:00
Lex Neva be833f898f
new extension: Auto-Route Satin Columns (#330)
**video demo:** https://www.youtube.com/watch?v=tbghtqziB1g

This branch adds a new extension, Auto-Route Satin Columns, implementing #214!  This is a huge new feature that opens the door wide for exciting stuff like lettering (#142).

To use it, select some satin columns and run the extension.  After a few seconds, it will replace your satins with a new set with a logical stitching order.  Under-pathing and jump-stitches will be added as necessary, and satins will be broken to facilitate jumps.  The resulting satins will retain all of the parameters you had set on the original satins, including underlay, zig-zag spacing, etc.

By default, it will choose the left-most extreme as the starting point and the right-most extreme as the ending point (even if these occur partway through a satin such as the left edge of a letter "o").  You can override this by attaching the new "Auto-route satin stitch starting/ending position" commands.

There's also an option to add trims instead of jump stitches.  Any jump stitch over 1mm is trimmed.  I might make this configurable in the future but in my tests it seems to do a good job.  Trim commands are added to the SVG, so it's easy enough to modify/delete as you see fit.
2018-10-30 17:43:21 -06:00
Lex Neva d9525968a2
fix manual stitch and add debugging support (#339)
* add debugging support using pydev

* fix: don't add tie stitches for manual stitch

* fix style
2018-10-23 18:08:46 -06:00
Lex Neva 395067f97e support multiword extension names 2018-07-28 20:40:14 -04:00
Lex Neva 1b31806423 rename inkstitch/ to lib/
You can't have a module and a package named the same thing.  PyInstaller wants
to import the main script as if it were a module, and this doesn't work unless
there's no directory of the same name with a __init__.py in it.
2018-05-01 20:37:51 -04:00
Lex Neva b5fbc23f74 fixes 2018-04-29 21:45:56 -04:00
Lex Neva 32695e195a move extension classes into inkstitch/extensions and add inkstitch.py 2018-04-29 21:45:36 -04:00
Lex Neva 88b4ff3e66
Tie-in and tie-off (#100)
* turn inkstitch.py into a module

* add running stitch library function

* tie-in and tie-off

* remove temporary testing code
2018-02-27 19:43:15 -05:00
Lex Neva 4e7520c013
user can specify origin for embroidery output by setting up guides (#52)
* user can specify origin using guides

* embroidery origin defaults to center of canvas
2018-02-26 19:42:18 -05:00
Scott Dutton 48e5d628a8 Add support for pt and pc (#87)
* Add support for pt and pc

* Misc fixes
2018-02-22 13:21:52 -05:00
Lex Neva 633ec88186
windows build (#79)
Ink/stitch now supports windows!
2018-02-19 21:43:39 -05:00
Lex Neva 4c5e578939 fix repeated colors showing as random 2018-02-17 10:13:09 -05:00
Lex Neva 72d52dc317
framework for translations (#55)
sets up all the plumbing to send strings to CrowdIn for translation and incorporate the results
2018-02-04 22:38:24 -05:00
Lex Neva fabe5bcd32
Fix simulate (#42)
* Simulate now works regardless of the output format you chose when you ran Embroider.
* Simulate (and the preview in Params) now respects TRIMs.
* Inkscape restart required (embroider.inx changed).

This one kind of grew in the telling. #37 was a theoretically simple bug, but in reality, the code necessary to fix it was the straw that broke the camel's back, and I had to do a fair bit of (much needed) code reorganization. Mostly the reorganization was just under the hood, but there was one user-facing change around the Embroider extension's settings window.

Way back in the day, the only way to control things like the stitch length or satin density was through global options specified in the extension settings. We've long since moved to per-object params, but for backward compatibility, ink/stitch defaulted to the command-line arguments.

That means that it was possible to get different stitch results from the same SVG file if you changed the extension's settings. For that reason, I never touched mine. I didn't intend for my users to use those extension-level settings at all, and I've planned to remove those settings for awhile now.

At this point, the extension settings just getting in the way of implementing more features, so I'm getting rid of them and moving the defaults into the parameters system. I've still left things like the output format and the collapse length (although I'm considering moving that one too).
2018-01-28 16:10:37 -05:00