Lex Neva
e204aadab0
Merge pull request #10 from lexelby/live-simulate
...
live stitching preview in the Params extension
2018-01-01 15:43:39 -05:00
Lex Neva
09b9dd94e6
adjust colors in the simulator to make them visible
...
Colors too close to white are darkened just a bit to make them stand out
against the white background.
2018-01-01 15:26:18 -05:00
Lex Neva
084dc783d2
add restart option for simulator
2018-01-01 15:00:58 -05:00
Lex Neva
e9bddedf36
render objects in the correct order
2018-01-01 14:56:27 -05:00
Lex Neva
3cb4427fe6
make debugging slightly easier by popping up traceback
2017-12-31 22:55:57 -05:00
Lex Neva
75241f5f9d
trim unnecessary whitespace
2017-12-31 22:38:15 -05:00
Lex Neva
fd4d19bf8d
don't start outdated simulation
2017-12-31 22:28:43 -05:00
Lex Neva
c2388a53a6
adjust default simulation speed to always take ~5 seconds
2017-12-31 22:28:28 -05:00
Lex Neva
82fe2b7144
show simulate window at start
2017-12-31 22:10:10 -05:00
Lex Neva
824dd3c4e6
don't mirror Y axis for patches
2017-12-31 22:05:05 -05:00
Lex Neva
85aafccf25
cancel should not output the SVG
...
also sped up simulation
2017-12-30 21:30:53 -05:00
Lex Neva
cb6df39773
get rid of thread killing
...
Switching to a cooperative model. This has the downside that a long
patch computation will cause the simulate window to take longer to
update, but in practice the longest this will be is a couple of
seconds (for a very complicated autofill region).
2017-12-30 21:16:58 -05:00
Lex Neva
7152caa14d
render in a background thread
...
The problem with this approach is that sometimes the SystemExit happens down
inside shapely and it complains bitterly (on stderr). May have to rethink.
2017-12-30 20:54:35 -05:00
Lex Neva
61ed1da1cf
params simulate window
...
when you change params, a simulate window opens to preview the results right
away
2017-12-30 16:05:21 -05:00
Lex Neva
42b83d4ec4
fix trailing whitespace
2017-12-28 19:55:04 -05:00
Lex Neva
69590df70c
generalize EmbroiderySimulator
...
* add ability to use patches instead of a stitch file
* add stop() and load() methods to use a new stitch file / patches list
2017-12-28 19:52:40 -05:00
Lex Neva
a736f7293f
rename draw_one_stitch to be more accurate
2017-12-28 15:39:56 -05:00
Lex Neva
6e85547432
Merge pull request #8 from lexelby/fix-macos
...
remove uses of `wx.CB_SORT` to fix OS X
2017-12-28 15:10:04 -05:00
Lex Neva
6a39517bd9
remove uses of wx.CB_SORT
...
Apparently that option is not available on OS X. It's easy enough to just
sort the values before giving them to wxGTK.
2017-12-27 21:39:12 -05:00
Lex Neva
7c2b0b211c
add some new ideas to TODO
2017-12-24 10:53:32 -05:00
Lex Neva
30cbe18714
Merge branch 'master' of github.com:lexelby/inkscape-embroidery
2017-12-07 15:17:19 +00:00
Lex Neva
fdec5f3428
add link to youtube tutorial video
2017-12-06 20:16:02 +00:00
Lex Neva
7f658f2542
Merge pull request #5 from Moini/patch-1
...
Add update/install script for Ubuntu
2017-12-03 16:47:12 -08:00
Moini
a870d48ad4
Do not install dependencies needed for building wxpython,
...
... and make sure pip can pick up the package installed via apt.
2017-12-03 02:53:33 +01:00
Moini
51399c0e16
Install wxpython via apt in Ubuntu autoinstall script
2017-12-03 02:11:12 +01:00
Moini
8406030070
Update README for installing wxpython via apt
2017-12-03 02:08:57 +01:00
Moini
bf382475bd
fix installation script for Ubuntu 16.04, add script to install libembroidery-convert, adapt README
2017-11-26 03:17:15 +01:00
Lex Neva
af7c27ec25
don't infinitely loop in build_graph heuristic
2017-11-25 21:22:56 +00:00
Lex Neva
a8a79e38de
don't omit jump stitches
2017-11-23 20:04:31 +00:00
Moini
ed8cdfa2c1
Move Ubuntu install script, change message to user, update README accordingly.
2017-11-22 18:24:20 +01:00
Lex Neva
b67eb8759f
fix image width in README
2017-11-21 22:21:46 -05:00
Lex Neva
193bb1b2fd
add soulstorm brew patch
2017-11-22 03:15:38 +00:00
Lex Neva
3cba500ff0
fix param definition for zigzag underlay inset
...
clearly I've never set this manually
2017-11-20 00:54:29 +00:00
Lex Neva
2695507dc3
switch stitch view from paths to polylines
...
Polylines in SVG are essentially the same thing as paths, but with no curves.
But inkscape-embroidery treats polylines as literal stitches; it does not
do satins, fills, etc but instead takes the coordinates and uses them directly
as stitches.
The advantage in this case is that one can re-run the extension on its own
output and get back the same stitch output. Why would you want to do this?
Consider the case where you have a basic embroidery machine that can only do
a 4x4" square. If you have something that's a bit bigger than 4 inches wide,
it might still fit in the square if you turn it at an angle. But working with
your entire design rotated at an angle is a total pain, and you'd also have to
rotate the angles of all the fills to compensate.
Instead, just run the extension, rotate the stitches to fit, and re-run, and
your stitch file will work on your 4x4" machine.
2017-11-19 01:18:48 +00:00
Moini
3c668bbd26
Update README for script
2017-11-19 00:28:57 +01:00
Moini
4c9cccfa5c
Add installation script for Ubuntu and its derivatives
...
TODO: extend README for instructions. Please do not merge yet.
2017-11-18 23:58:45 +01:00
Lex Neva
06d985f11d
remove copyright notices made redundant by LICENSE file
2017-11-18 20:52:34 +00:00
Lex Neva
dd1d0983b7
add note to outdated index.html
2017-11-18 20:51:34 +00:00
Lex Neva
4c8b597222
add license
2017-11-18 20:25:58 +00:00
Lex Neva
2841cb8c6f
rudimentary gradient support, only for manual fill currently
2017-11-18 20:11:43 +00:00
Lex Neva
2a97c5d25a
fix braino
2017-11-14 01:02:14 +00:00
Lex Neva
68f246b0b7
now compatible with networkx 2.0
2017-11-11 01:15:53 +00:00
Lex Neva
c7b1b22f68
update inkscape version notes
2017-11-11 00:59:57 +00:00
Lex Neva
cd5b1663bf
fix copypaste fail in 0986c8f2db
2017-11-10 03:35:56 +00:00
Lex Neva
2e03bbaa3f
Merge pull request #4 from vikrum/patch-1
...
Update README.md for python dependencies
2017-11-04 20:51:18 -04:00
Lex Neva
e974d89e6e
rework documentation around python modules
...
It's about time I added a proper requirements.txt.
2017-11-04 20:50:05 -04:00
Lex Neva
c558629412
add appdirs to requirements.txt
2017-11-05 00:48:22 +00:00
Lex Neva
f7fff3332a
remove unused import
2017-11-05 00:47:05 +00:00
Lex Neva
403b7c445e
add requirements.txt
2017-11-05 00:46:58 +00:00
Lex Neva
0986c8f2db
allow specification of output file for standalone processing
2017-11-05 00:44:57 +00:00