summaryrefslogtreecommitdiff
path: root/inkstitch.py
AgeCommit message (Collapse)Author
2024-01-13style cleanupkarnigen
2024-01-11updated decriptionkarnigen
2024-01-11extending bash with cmd line args: -d -pkarnigen
2024-01-05simplification, cleanup, docs, startup dialog, DEBUG.inikarnigen
2023-12-29replace DEBUG,PROFILE by DEVEL.inikarnigen
2023-12-25env update from inkscape, bash names for scriptkarnigen
2023-12-17initial changeskarnigen
2023-09-07improve params errors (#2437)Lex Neva
2022-06-30Fixes (#1703)Kaalleen
* 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-05-24traceback errors: save svg (#1659)Kaalleen
2022-01-11releases: suppress warnings (#1534)Kaalleen
2021-10-30fix manual install macOS (#1399)Kaalleen
2021-07-25Fix Style Issues (#1154)Kaalleen
Co-authored-by: Lex Neva <github.com@lexneva.name>
2021-03-11add copyright headersLex Neva
2021-03-04Update for Inkscape 1.0 (#880)Kaalleen
* 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>
2020-04-28encode exception header (#675)Kaalleen
2020-04-20top level exception text (#647)Kaalleen
2019-04-21Removed duplicated logging codeKate Murphy
2019-03-28set up debug loggingLex Neva
2018-11-14basic lettering (#344)Lex Neva
Can handle multiple lines of text and routes the stitching in alternating directions on each line.
2018-10-30new extension: Auto-Route Satin Columns (#330)Lex Neva
**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-23fix manual stitch and add debugging support (#339)Lex Neva
* add debugging support using pydev * fix: don't add tie stitches for manual stitch * fix style
2018-07-28support multiword extension namesLex Neva
2018-05-01rename inkstitch/ to lib/Lex Neva
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-04-29fixesLex Neva
2018-04-29move extension classes into inkstitch/extensions and add inkstitch.pyLex Neva
2018-02-27Tie-in and tie-off (#100)Lex Neva
* turn inkstitch.py into a module * add running stitch library function * tie-in and tie-off * remove temporary testing code
2018-02-26user can specify origin for embroidery output by setting up guides (#52)Lex Neva
* user can specify origin using guides * embroidery origin defaults to center of canvas
2018-02-22Add support for pt and pc (#87)Scott Dutton
* Add support for pt and pc * Misc fixes
2018-02-19windows build (#79)Lex Neva
Ink/stitch now supports windows!
2018-02-17fix repeated colors showing as randomLex Neva
2018-02-04framework for translations (#55)Lex Neva
sets up all the plumbing to send strings to CrowdIn for translation and incorporate the results
2018-01-28Fix simulate (#42)Lex Neva
* 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).