Closed wijnen closed 8 years ago
I added an option to allow changing the orientation of the stitches through the object description, so different patches can have different orientations. I also added a random first stitch length for stitches that are broken into parts, to avoid lines in the patch.
thanks @wijnen for your improvements to that plugin + sorry for not merging earlier.
I really appreciate your work and I definitely need to give the plugin another try. I played with the embroidering machine in the Fablab nearby, just once, quite some months ago. That was when I stumbled over the original sources of this (off Github), and fixed them for me ...
I have converted my 3-D printer into several things[0], one of which is an embroidery machine (still experimental, so not described in that link). Now I need to have toolpaths that work well. This plugin did almost what I needed, but I had some issues with it. I fixed those. I also added an output format to generate G-Code for my control software, Franklin[1]. Please consider merging my changes into your code. Below is a list of the changes, and obviously you can look at the diffs.
Thanks, Bas [0] https://www.indiegogo.com/projects/make-anything-with-athena#/ [1] https://github.com/mtu-most/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.