Wykres commitów

16 Commity (fccefb3e0d9cf9a512983e3dbf4927ade1867f81)

Autor SHA1 Wiadomość Data
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