summaryrefslogtreecommitdiff
path: root/embroider.py
AgeCommit message (Collapse)Author
2016-01-18fix gnarly bug in hill-climbing resulting in hill-fallingLex Neva
try_swap occasionally made very bad swaps that increased the overall cost. If asked to swap neighboring patches, the calculations were completely wrong.
2016-01-18fix bug that allowed a patch to be discontiguousLex Neva
2016-01-18rewrite intersect_region_with_grating to resolve TODOLex Neva
2016-01-18convert tabs to spacesLex Neva
2016-01-18really fix "preserve order"Lex Neva
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-08major revampLex Neva
* 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-06make 'preserve stacking order' actually workLex Neva
2016-01-06set to 10 pixels per mm for embroidermodder CSV outputLex Neva
2015-12-15allow specifying orientationBas Wijnen
2015-11-11Make it work well for FranklinBas Wijnen
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-01-03Fix preamble generation for very short patchesStefan Siegl
2015-01-02Improve zigzag path around stroke + sep. spacing configStefan Siegl
Don't use path nodes as stich points, just use the stroke as a guide for the zigzag stich
2015-01-02Optionally auto-generate preamblesStefan Siegl
2014-12-29Filter out duplicate stitchesStefan Siegl
2014-12-29Allow to collapse (jump) stitchesStefan Siegl
2014-12-29Allow to hatch filled pathsStefan Siegl
2014-12-29Correctly close polygons with multiple sub-pathsStefan Siegl
2014-12-27Add Embroidermodder 2 CSV exportStefan Siegl
2014-12-26Handle closed pathsStefan Siegl
2014-12-26Initial import of upstream codeStefan Siegl
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.