Wykres commitów

19 Commity (3e0bbcd38ab2775e47e3bc16976cdc5d519a9c82)

Autor SHA1 Wiadomość Data
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 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 696e3802ba remove hatching option 2016-10-27 21:59:46 -04:00
Lex Neva b06783a557 get rid of preamble code and feature
The code was poorly implemented and unclear.  I haven't ever had a need for
preamble.  I think my machine (brother SE400) might do it automatically.
2016-10-24 21:25:12 -04:00
Lex Neva b70e0e7fa8 stuff 2016-10-19 20:47:30 -04:00
Lex Neva 8f3b03ff6d add option to preserve absolute object stacking order 2016-02-25 17:11:03 -05:00
Lex Neva cf2db11d60 add 'Embroider Params' extension to set XML attributes on svg nodes 2016-01-20 03:04:32 -05:00
Lex Neva 521be47402 really fix "preserve order"
My previous fix didn't really do the job.  It took patches in Z-order, but runs of patches of the same color were fed into the TSP algorithm and it could embroider them in whatever order it chose.  This resulted in underlays for my fill regions being embroidered AFTER the fill.

Now, the "preserve order" option has been changed to "preserve layers".  Patches on different layers are gauranteed to be stitched in layer order.  Patches of the same color within the same layer can be stitched in any order as chosen by the TSP algorithm.
2016-01-18 18:18:30 -05:00
Lex Neva 3e3d540089 major revamp
* properly process transform parameters (ungrouping no longer necessary!)
  * handle satin on beziers properly
    * previously beziers were stroked as straight line segments that included control points
  * allow overriding parameters on individual paths by adding extra svg params
    * embroider_angle, embroider_stitch_length, embroider_zigzag_spacing, embroider_row_spacing, etc
    * set using "Edit XML"
  * default to 10 pixels per millimeter
  * properly write CSV files in millimeters (was dividing by 10)
  * always translate pattern to origin to fit in hoop
  * add "running stitch length" for < 0.5 stroke width)
  * don't traceback if no paths were selected
  * add "repeats" option for stroke (satin/running stitch) to go back and forth over the line
    * good for a double line of center-line underlay below satin
2016-01-08 22:56:10 -05:00
Bas Wijnen 284e6e4d21 Make it work well for Franklin
Add Franklin G-Code target as output.
Fix issue that filled area was treated as one patch per stitch.
Don't autodetect orientation; let the user choose by orienting the object.
Remove empty stitches.
Base generated inkscape path on output from file.
Allow maximum stitch length of 10 cm.
Save debug output in /tmp.
Disable almost all debugging.
Let hatching connect the segments.
2015-11-11 00:17:45 -05:00
Stefan Siegl 58967a4681 Increase precision of spacing params 2015-01-03 03:00:24 +01:00
Stefan Siegl 160b08062c Improve zigzag path around stroke + sep. spacing config
Don't use path nodes as stich points, just use the stroke as a
guide for the zigzag stich
2015-01-02 23:48:33 +01:00
Stefan Siegl 1689309c6e Optionally auto-generate preambles 2015-01-02 14:30:33 +01:00
Stefan Siegl 35e5c09c99 Allow to collapse (jump) stitches 2014-12-29 22:38:22 +01:00
Stefan Siegl e80f5f4003 Allow to hatch filled paths 2014-12-29 13:54:14 +01:00
Stefan Siegl b9d08f87ce Fix indentation 2014-12-29 13:29:53 +01:00
Stefan Siegl 4aef2789a2 Add Embroidermodder 2 CSV export 2014-12-27 17:30:54 +01:00
Stefan Siegl 47449d22cb Initial import of upstream code
Embroidery output extension for Inkscape;
downloaded from http://www.jonh.net/~jonh/inkscape-embroidery/
on 2014-12-26 19:38 CET

Copyright 2010 by Jon Howell, licensed under GPLv3.
2014-12-26 23:15:48 +01:00