summaryrefslogtreecommitdiff
path: root/embroider.py
AgeCommit message (Collapse)Author
2017-12-30params simulate windowLex Neva
when you change params, a simulate window opens to preview the results right away
2017-11-25don't infinitely loop in build_graph heuristicLex Neva
2017-11-23don't omit jump stitchesLex Neva
2017-11-20fix param definition for zigzag underlay insetLex Neva
clearly I've never set this manually
2017-11-19switch stitch view from paths to polylinesLex Neva
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-18remove copyright notices made redundant by LICENSE fileLex Neva
2017-11-18rudimentary gradient support, only for manual fill currentlyLex Neva
2017-11-14fix brainoLex Neva
2017-11-11now compatible with networkx 2.0Lex Neva
2017-11-10fix copypaste fail in 0986c8f2dbLex Neva
2017-11-05allow specification of output file for standalone processingLex Neva
2017-10-28fix occasional failure of which_outline()Lex Neva
2017-10-25preserve order of rails in satin with rungsLex Neva
2017-10-22add handling for <polyline>Lex Neva
2017-10-18resurrect correct connect_points algorithmLex Neva
2017-10-17don't go the long way around the outlineLex Neva
2017-10-17fix snipping of unnecessary outline sectionLex Neva
2017-09-27bugfix and useful warningLex Neva
2017-09-24way easier satin column using additional subpaths to delineate sectionsLex Neva
2017-09-23fix handling of starting point / last stitchLex Neva
2017-09-23ignore empty subpathsLex Neva
2017-09-23rewrite of autofill to handle arbitrary holes!Lex Neva
2017-02-05bugfix in is_same_runLex Neva
2017-02-05fix type for pixels_per_mm optionLex Neva
2017-01-20fix nasty stroke bugLex Neva
2016-12-19bugfixLex Neva
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