summaryrefslogtreecommitdiff
path: root/embroider.py
AgeCommit message (Collapse)Author
2016-11-19bugfixLex Neva
2016-11-19params GUI fixupsLex Neva
2016-11-19rewrite of Embroidery Params into a full GUI appLex Neva
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-12clean up PyEmb.PointLex Neva
2016-11-11avoid doubly multiplying by pixels_per_mmLex Neva
2016-11-11add caching decoratorLex Neva
2016-11-09auto-fill: try to hide connecting stitches in the fill patternLex Neva
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-07don't do auto-fill for regions with holesLex Neva
2016-11-06fix fill underlay paramsLex Neva
2016-11-06fix bug in get_paramLex Neva
2016-11-06pep8Lex Neva
2016-11-06add fill underlay settings to embroider_params and embroider_update extensionsLex Neva
2016-11-06default to auto-fillLex Neva
2016-11-06start auto-fill at end of previous patchLex Neva
2016-11-06add underlay option to auto-fillLex Neva
2016-11-06pick closest starting pointLex Neva
2016-11-04WIPLex Neva
2016-11-03WIPLex Neva
2016-11-03split out fill algorithm into a functionLex Neva
2016-11-02major refactorLex Neva
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-10-29pep8 fixesLex Neva
2016-10-28remove obselete stitch order optionLex Neva
2016-10-28switch to millimeters and make pixels_per_millimeter an optionLex Neva
2016-10-28remove unnecessary importsLex Neva
2016-10-27tidyLex Neva
2016-10-27studly caps to underscores (pep8)Lex Neva
2016-10-27inline reverseTupleLex Neva
2016-10-27get rid of shapelyLineSegmentToPyTupleLex Neva
2016-10-27simplify polygon sortingLex Neva
2016-10-27remove hatching optionLex Neva
2016-10-26big refactor to untangle embroidery from stitch generationLex Neva
2016-10-26remove PatchList class and use a simple ListLex Neva
2016-10-26remove sortorder bitsLex Neva
2016-10-26be sure to visit selected nodes in the right orderLex Neva
2016-10-24get rid of traveling salesman stuffLex Neva
The algorithm was terrible. In general, it seems to work a lot better to just have the human choose what order things are stitched in than to try to do it automatically.
2016-10-24remove unused row_spacing_px option from EmbroideryObjectLex Neva
2016-10-24get rid of preamble code and featureLex Neva
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-24remove unused functionsLex Neva
2016-10-24tidy up PatchLex Neva
2016-10-24refactor satin a bitLex Neva
2016-10-20proper zigzag underlayLex Neva
2016-10-19add center walk and zigzag underlay for satinLex Neva
the code's a total hack, but it gets the job done
2016-10-19stuffLex Neva
2016-05-16protect from foot-shooting by printing to stdoutLex Neva
2016-05-16bugfixesLex Neva
2016-05-14add pull compensation for satin columnsLex Neva
2016-04-28align rows properly even for rotated regions, also fix float inaccuracyLex Neva
2016-04-27a bunch of features and fixesLex Neva
* added "flip" option for fills to start stitching in upper left rather than right * line up rows in abutting fills properly * handle intersect_with_grating intersection result that is a line or single point (skip row) * skip endpoint marker tags in SVG files (subtags look like paths) * dashed stroke indicates running stitch (<=0.5 width still works but is deprecated) * in running stitches, add a stitch at apex of sharp corners
2016-02-28fix: stitches appearing outside fill in case of very short rowsLex Neva
2016-02-25don't embroider stuff set to invisible (layers, groups, paths, etc)Lex Neva