Wykres commitów

262 Commity (d9e907a49ec9c0e0b14fbc53ee3a5f11dcbd3473)

Autor SHA1 Wiadomość Data
Lex Neva b7db218d92 remove notes about autofill hole hacks 2017-09-23 01:07:21 +01:00
Lex Neva 1e86acdc58 rewrite of autofill to handle arbitrary holes! 2017-09-23 01:03:33 +01:00
Vikrum Nijjar 16e138cd17 Update README.md
Added missing dependency for Mac.
2017-07-30 23:28:45 -07:00
Lex Neva a13745e39b add 'use last settings' button 2017-06-14 00:43:42 +01:00
Lex Neva 8f9e6028f9 bugfix in is_same_run 2017-02-05 20:37:03 +00:00
Lex Neva 290f5cd1da fix type for pixels_per_mm option 2017-02-05 20:24:20 +00:00
Lex Neva fdd1124624 remove ancient example images 2017-01-25 07:58:37 +00:00
Lex Neva f1b829d11f add doc on patches 2017-01-25 07:58:19 +00:00
Lex Neva 24293e5286 patches.md wip 2017-01-25 07:08:44 +00:00
Lex Neva ff6e45c48f start README.md 2017-01-23 01:12:42 +00:00
Lex Neva 6bf62825c9 fix nasty stroke bug 2017-01-20 22:04:17 +00:00
Lex Neva 5ac04a40b8 uniqify values 2017-01-05 03:36:20 +00:00
Lex Neva 2c2c58e572 Fill and Stroke are not mutually exclusive 2016-12-24 19:18:41 +00:00
Lex Neva 3afd6e500f bugfix 2016-12-19 02:58:21 +00:00
Lex Neva 80a482af80 handle boolean parameters with no values 2016-11-19 22:52:33 -05:00
Lex Neva 723e580b14 set sane defaults in embroider.inx 2016-11-19 22:34:21 -05:00
Lex Neva 3e0bbcd38a remove completed TODO item 2016-11-19 21:53:23 -05:00
Lex Neva 4f895d6919 bugfix 2016-11-19 21:52:47 -05:00
Lex Neva 5fbd665fb9 params GUI fixups 2016-11-19 21:45:47 -05:00
Lex Neva a7bfc17e7c rewrite of Embroidery Params into a full GUI app
The Embroidery Params filter now pops up a full GTK dialog.  This alows it to
load existing values in the selected shapes and present them to the user.  The
user can also load and save presets.

If selected shapes have differing values for a given param, the values are
presented in a dropdown so the user can select one to apply to all.
2016-11-19 16:11:24 -05:00
Lex Neva 1fedbc11b5 clean up PyEmb.Point 2016-11-12 14:05:09 -05:00
Lex Neva 055eb63bec avoid doubly multiplying by pixels_per_mm 2016-11-11 20:09:21 -05:00
Lex Neva 9d7a148f63 add caching decorator 2016-11-11 19:59:00 -05:00
Lex Neva b9637a9287 auto-fill: try to hide connecting stitches in the fill pattern
This lets us auto-fill regions with holes in it.  Just cut the region exactly
along the fill angle to convert a region with a hole to a region without.

This:
 __________________
|                  |
|      ______      |
|     |      |     |
|     |      |     |
|     |      |     |
|     |______|     |
|__________________|

Becomes this:
 __________________
|                  |
|      ______      |
|     |      |     |
|     |      |     |
 =====       |     |
|     |______|     |
|__________________|

The cut ( ===== ) is less than the width of the row spacing.  Any connecting
stitch that follows this path becomes hidden among the rest of the fill --
an extra row of stitching isn't visible so long as the staggers line up.
2016-11-09 22:00:14 -05:00
Lex Neva 6bbfbf6ef3 update TODO 2016-11-07 20:58:10 -05:00
Lex Neva a180cd7b16 don't do auto-fill for regions with holes 2016-11-07 20:55:12 -05:00
Lex Neva 45336a18dc fix fill underlay params 2016-11-06 20:00:28 -05:00
Lex Neva 78abc90459 fix bug in get_param 2016-11-06 19:47:01 -05:00
Lex Neva 50493add9e pep8 2016-11-06 19:30:49 -05:00
Lex Neva 6cdf990c76 add fill underlay settings to embroider_params and embroider_update extensions 2016-11-06 19:28:17 -05:00
Lex Neva a28dbd2c2d default to auto-fill 2016-11-06 19:19:41 -05:00
Lex Neva 247855cb57 start auto-fill at end of previous patch 2016-11-06 19:19:22 -05:00
Lex Neva 7e685222af add underlay option to auto-fill 2016-11-06 17:04:31 -05:00
Lex Neva e48a0f6556 pick closest starting point 2016-11-06 14:07:48 -05:00
Lex Neva b16f7de2fc WIP 2016-11-04 20:31:13 -04:00
Lex Neva 318da3bb18 WIP 2016-11-03 22:49:59 -04:00
Lex Neva 2d34bed8ad split out fill algorithm into a function 2016-11-03 21:21:55 -04:00
Lex Neva 9805398644 add embroider_update extension to convert old-style param names to new 2016-11-02 23:20:31 -04:00
Lex Neva 841e9196ba major refactor
Split into classes for Fill, Stroke, and SatinColumn.  Renamed params to be
the same across XML attributes and OptionParser.  Added distinct stitch length
params for satin underlay.  Renamed "satin underlay" to "contour underlay" and
split out "center walk underlay" and "zigzag underlay".

The code is ten times more readable, parameters make more sense, and everything
is specified by the user in millimeters.  Basically, everything is way better.
2016-11-02 23:20:31 -04:00
Lex Neva 9249a3ae77 pep8 fixes 2016-10-29 13:28:37 -04:00
Lex Neva 579ef18b56 remove obselete stitch order option 2016-10-28 22:12:03 -04:00
Lex Neva 14ec80d012 switch to millimeters and make pixels_per_millimeter an option 2016-10-28 22:10:54 -04:00
Lex Neva b63abea797 remove unnecessary imports 2016-10-28 21:52:48 -04:00
Lex Neva 46482bfd5e tidy 2016-10-27 22:35:47 -04:00
Lex Neva ae49143c3a studly caps to underscores (pep8) 2016-10-27 22:32:49 -04:00
Lex Neva f2bb136c75 inline reverseTuple 2016-10-27 22:31:59 -04:00
Lex Neva 752b34b4ea get rid of shapelyLineSegmentToPyTuple 2016-10-27 22:29:44 -04:00
Lex Neva 65cb5bf875 simplify polygon sorting 2016-10-27 22:09:59 -04:00
Lex Neva 696e3802ba remove hatching option 2016-10-27 21:59:46 -04:00
Lex Neva dbda3ed3e3 remove trailing spaces 2016-10-27 12:49:05 -04:00