Wykres commitów

196 Commity (7a73b201159bec1c45ad483251264baf872f6952)

Autor SHA1 Wiadomość Data
Lex Neva 7a73b20115 tidy imports 2018-12-12 20:55:04 -05:00
Lex Neva 74e6dac011 avoid creating paths with empty 'd' in stitch plan (#363) 2018-12-12 20:55:04 -05:00
Lex Neva e47fcaa8da tidy up imports 2018-12-12 20:55:04 -05:00
Lex Neva ef83ff75a0 use proper defaults for fill and stroke in Params (#362) 2018-12-12 20:55:04 -05:00
Kaalleen 8389d792ad
Fix encoding 2018-11-23 22:09:40 +01: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 1d55716f26
add g-code output format (#336) 2018-10-20 17:50:39 -06:00
Lex Neva 8830eb7d40
new extension: split satin (#315)
This branch adds a new command to split a satin column at a specified point.  The split happens at a stitch boundary to ensure that the two resulting satins sew just like the original.  All parameters set on the original satin remain set on the two new satins, and all rungs are retained.  If one of the satins would have no rungs left, a new rung is added.

How to use:

1. Select a satin column (simple satin doesn't work)
2. Attach the "Satin split point" command using the "Attach commands to selected objects" extension.
3. Move the symbol (or just the connector line's endpoint) to point to the exact spot you want the satin to be split at.
4. Select the satin column again.
5. Run "Split Satin Column".
6. The split point command and connector line disappear, and nothing else appears to have happened.  Select your satin and you'll see that it's been split.

This extension is a by-product of my initial work on #214.  Ink/Stitch will need the ability to split a satin at an arbitrary point, and I figured, why not go ahead and release that functionality as an extension while I'm at it? :)
2018-09-29 14:00:36 -06:00
Lex Neva 5139c13fd7
Merge pull request #316 from inkstitch/lexelby/bug-fixes
more bug fixes
2018-09-29 13:22:05 -06:00
Kaalleen efc2816f3c
update simulator (#318)
* fix change direction button
* pause animation when going one step forward or backward
* add button tool tips to inform about shortcut keys
2018-09-22 07:59:20 +02:00
Lex Neva ac77a72f3f bullets require unicode strings 2018-09-18 20:39:54 -04:00
Lex Neva 9203283081 use ugettext() instead of gettext() 2018-09-18 20:24:53 -04:00
Lex Neva 5e9cb83a93 remove code style exemption for params.py and simulator.py 2018-09-16 13:09:49 -04:00
Lex Neva fa125ff27e remove obselete 'fake color change' code 2018-09-16 13:09:00 -04:00
Lex Neva 9b619de228 use faster algorithm for ties 2018-09-15 21:35:04 -04:00
Lex Neva bdf98a7e91 handle SVGs without bounding box 2018-09-15 21:03:42 -04:00
Lex Neva d30507171b Merge remote-tracking branch 'origin/master' into lexelby/bug-fixes 2018-09-12 20:51:16 -04:00
Lex Neva d398e10b85 Merge remote-tracking branch 'origin/master' into lexelby/bug-fixes 2018-09-12 20:31:06 -04:00
Lex Neva a876066c75 Merge remote-tracking branch 'origin/master' into simulator-timeline 2018-09-12 20:30:13 -04:00
Lex Neva ba1c2ea78f fix lint 2018-09-12 20:25:15 -04:00
Lex Neva 7b5995c705 fix logic 2018-09-10 23:06:18 -04:00
Lex Neva 944022ee53 proper running stitch for big row spacing 2018-09-10 23:04:08 -04:00
Lex Neva b437b8403c fix pencil icon path 2018-09-09 00:07:59 -04:00
Lex Neva c980279ae6 fix missing imports 2018-09-01 20:11:44 -04:00
Lex Neva 71643ba280 make error messages more useful 2018-09-01 20:11:01 -04:00
Lex Neva 1c2dc2d954 add error message for invalid geometries (#216) 2018-09-01 20:11:01 -04:00
Lex Neva c3d6780bf1 only save modified values in presets 2018-09-01 20:11:01 -04:00
Lex Neva 29f0e31ccd name AutoFill tabs consistently 2018-09-01 20:11:01 -04:00
Lex Neva 05327d56db stop showing 'None' in Params 2018-09-01 20:11:01 -04:00
Lex Neva e2b5e96834 add change indicator to Params (#217) 2018-09-01 20:11:01 -04:00
Lex Neva 1531e8f520 support ~, and %vars% in Embroider output directory (#279) 2018-09-01 20:11:01 -04:00
Lex Neva 29a8bd37d5 useful error message when writing embroidery file fails (fixes #279) 2018-09-01 20:11:01 -04:00
Lex Neva 5c0e2b8e9f don't show an icon on windows 2018-09-01 20:11:01 -04:00
Lex Neva 7bf8c2d871 helpful error message for empty path "d" attribute (fixes #220)
also internationalizes "error:" string
2018-09-01 20:11:01 -04:00
Lex Neva 9360e9b930 fix code style 2018-09-01 14:22:46 -04:00
Lex Neva 3fe3399d90 simulator standalone mode 2018-09-01 13:35:47 -04:00
Lex Neva cdc95ceca3 make dest dir on windows 2018-08-28 15:20:35 -04:00
Lex Neva 5f29e5a4a5 show negative speed when animating backward 2018-08-27 21:56:25 -04:00
Lex Neva e749fdc781 reverse the >> button 2018-08-27 20:57:49 -04:00
Lex Neva 8d196ace7f position params's simulator window at the top of the screen 2018-08-27 16:43:23 -04:00
Lex Neva ab656800a0 fix windows issue 2018-08-27 16:27:51 -04:00
Lex Neva a636462803 i18n 2018-08-27 15:54:06 -04:00
Lex Neva 7eb36c5fc6 buttons for backward and forward one stitch 2018-08-27 15:51:27 -04:00
Lex Neva e56e99329a remove old code 2018-08-27 15:45:10 -04:00
Lex Neva 165d96e3b1 show command name in simulator (STITCH, JUMP, etc) 2018-08-27 15:36:54 -04:00
Lex Neva 7319937ea6 make line thickness value less magical 2018-08-26 23:50:17 -04:00
Lex Neva 7637848ad8 zoom and pan support 2018-08-26 23:34:27 -04:00
Lex Neva 6bb2fa0c91 uniform crosshair size independent of zoom 2018-08-26 16:41:57 -04:00