Wykres commitów

35 Commity (7a73b201159bec1c45ad483251264baf872f6952)

Autor SHA1 Wiadomość Data
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 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 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 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 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 908f2cd772 pyflakes fixes 2018-08-21 21:43:09 -04:00
Lex Neva 94f391ab42 more pep8 fixes 2018-08-21 20:50:14 -04:00
Lex Neva 038875f876 autopep8 2018-08-21 20:32:50 -04:00
Lex Neva b40c373949 bugfix: don't crash on tiny objects 2018-08-09 15:17:33 -04:00
Kaalleen 40cb741092
add tooltips to params (#262)
* add tooltips to params

Closes #34
2018-08-09 20:32:41 +02:00
Lex Neva f749c4c1e8 Merge remote-tracking branch 'origin/master' into lexelby-e-stitch 2018-08-05 20:31:53 -04:00
Lex Neva f8f108367a fix simple satin 2018-07-28 20:10:27 -04:00
Lex Neva 0ab7223980 add E stitch for satin columns 2018-07-27 21:14:09 -04:00
Lex Neva cdb8fdb133 add bean stitch option 2018-07-27 20:26:18 -04:00
Lex Neva 62ef2850a2 generalize Element.shape and implement in all element types 2018-07-12 20:13:46 -04:00
Lex Neva aa86dc56ad remove 'TRIM after' and 'STOP after' from Params dialog 2018-07-12 20:13:46 -04:00
Lex Neva 3893d13b52 add support for trim/stop commands 2018-07-12 20:13:34 -04:00
Lex Neva 61983b615b add has_command() 2018-07-12 20:13:34 -04:00
Lex Neva abbda62835 ending point speciifed by fill_end command 2018-06-22 22:31:42 -04:00
Lex Neva 0c527cc51e starting point specified by fill_start command 2018-06-22 22:29:23 -04:00
Lex Neva 1f4bc62d96 add quick access methods for commands 2018-06-22 22:28:51 -04:00
Lex Neva e29096ee13 add commands framework 2018-06-21 15:41:06 -04:00
Lex Neva 83efa9e02f error if satin column set for path with single subpath 2018-06-10 16:03:12 -04:00
Lex Neva f79b3a7a95 default fill to black per SVG spec 2018-06-10 15:43:17 -04:00
Lex Neva d06ff488f0 fix defaulting of stroke width to 1 2018-06-10 15:25:46 -04:00
Lex Neva 1d73c040d8
Merge pull request #180 from lexelby/lexelby-outset
add Expand param for fills
2018-06-07 20:16:45 -04:00
Lex Neva 0ff4f2a61b convert Stroke to use stitches.running_stitch 2018-06-04 20:43:56 -04:00
Lex Neva 692e033e71 don't crash on empty subpaths 2018-06-04 20:19:37 -04:00
Lex Neva 2a4f3e8cdf add Expand param for fills 2018-06-01 20:34:27 -04:00
Lex Neva 05daffb7e0 refactor everything out of lib/__init__.py 2018-05-01 21:21:07 -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