summaryrefslogtreecommitdiff
path: root/lib/stitches
AgeCommit message (Collapse)Author
2019-04-10remove unnecessary comparisons to NoneLex Neva
2019-04-09make error message more readableLex Neva
2019-04-09split up long functionLex Neva
2019-04-04try harder to avoid traveling around the borderLex Neva
2019-03-30fix 'too many values to unpack' exceptionLex Neva
2019-03-29avoid parsing forward slashes in docstringLex Neva
2019-03-29add vertical travel edges for less jagged travel pathsLex Neva
2019-03-29more debug loggingLex Neva
2019-03-28add timing logging for auto-fillLex Neva
2019-03-24penalize outline edges moreLex Neva
2019-03-22make travel stitch prefer the center of the shapeLex Neva
2019-03-21don't try to end inside the shapeLex Neva
2019-03-20switch to multigraph to avoid accidentally deleting outline edgesLex Neva
2019-03-20add first stitchLex Neva
2019-03-20tidy up start/end travel codeLex Neva
2019-03-20protect against shapely errorLex Neva
2019-03-19fix start/end at top or bottom of shapeLex Neva
2019-03-19allow starting and ending on the border of a holeLex Neva
2019-03-19avoid cutting cornersLex Neva
2019-03-19use blazing-fast STRtree for intersection detectionLex Neva
2019-03-18avoid putting underpathing on topLex Neva
2019-03-14more cleanupLex Neva
2019-03-14deduplicate and comment codeLex Neva
2019-03-14underpathing!Lex Neva
2019-03-13tidy up the code a bitLex Neva
2019-03-13remove unused codeLex Neva
2019-03-12faster, simpler auto-fill algorithmLex Neva
2019-03-12shapely.geometry -> shgeo for brevityLex Neva
2019-02-16fix styleLex Neva
2019-02-16improve error message when trying to autofill tiny shapesLex Neva
2019-02-16fix argument bug in auto-satinLex Neva
2019-01-04fix crash if fill start and end points are very closeLex Neva
2019-01-04ability to stitch a single-point running stitch pathLex Neva
2018-12-13fix styleLex Neva
2018-12-12add option to skip last stitch in fill rowsLex Neva
2018-11-14basic lettering (#344)Lex Neva
Can handle multiple lines of text and routes the stitching in alternating directions on each line.
2018-10-30new extension: Auto-Route Satin Columns (#330)Lex Neva
**video demo:** https://www.youtube.com/watch?v=tbghtqziB1g This branch adds a new extension, Auto-Route Satin Columns, implementing #214! This is a huge new feature that opens the door wide for exciting stuff like lettering (#142). To use it, select some satin columns and run the extension. After a few seconds, it will replace your satins with a new set with a logical stitching order. Under-pathing and jump-stitches will be added as necessary, and satins will be broken to facilitate jumps. The resulting satins will retain all of the parameters you had set on the original satins, including underlay, zig-zag spacing, etc. By default, it will choose the left-most extreme as the starting point and the right-most extreme as the ending point (even if these occur partway through a satin such as the left edge of a letter "o"). You can override this by attaching the new "Auto-route satin stitch starting/ending position" commands. There's also an option to add trims instead of jump stitches. Any jump stitch over 1mm is trimmed. I might make this configurable in the future but in my tests it seems to do a good job. Trim commands are added to the SVG, so it's easy enough to modify/delete as you see fit.
2018-09-29new extension: split satin (#315)Lex Neva
This branch adds a new command to split a satin column at a specified point. The split happens at a stitch boundary to ensure that the two resulting satins sew just like the original. All parameters set on the original satin remain set on the two new satins, and all rungs are retained. If one of the satins would have no rungs left, a new rung is added. How to use: 1. Select a satin column (simple satin doesn't work) 2. Attach the "Satin split point" command using the "Attach commands to selected objects" extension. 3. Move the symbol (or just the connector line's endpoint) to point to the exact spot you want the satin to be split at. 4. Select the satin column again. 5. Run "Split Satin Column". 6. The split point command and connector line disappear, and nothing else appears to have happened. Select your satin and you'll see that it's been split. This extension is a by-product of my initial work on #214. Ink/Stitch will need the ability to split a satin at an arbitrary point, and I figured, why not go ahead and release that functionality as an extension while I'm at it? :)
2018-09-10proper running stitch for big row spacingLex Neva
2018-08-21pyflakes fixesLex Neva
2018-08-21more pep8 fixesLex Neva
2018-08-21autopep8Lex Neva
2018-08-17adjust magic number to 1.4Lex Neva
2018-08-09avoid cutting corners in auto-fill running stitchLex Neva
2018-07-27add bean stitch optionLex Neva
2018-06-23tidy commentsLex Neva
2018-06-23remove unnecessary travel back to startLex Neva
2018-06-23fix collapse_sequential_outline_edgesLex Neva
2018-06-23end on the ending pointLex Neva
2018-05-28fix two bugs in running stitchLex Neva
* the first stitch was duplicated * the last stitch was omitted