The tool converts .SVG vector graphics to .PES embroidery files
 
 
 
Go to file
Reenforcements dbcf5a23c8 Update README.md 2020-11-09 11:19:00 -05:00
.idea Added presentation and report 2020-11-09 11:16:44 -05:00
Colors Progress 2018-11-22 15:40:42 -05:00
DATA Results pictures 2018-12-14 23:14:30 -05:00
PECRender Fixed a bug in writing color change indices 2018-12-06 12:12:58 -05:00
PESDump Machine recognizes exported PES 2018-12-04 12:46:12 -05:00
REPORT Results pictures 2018-12-14 23:14:30 -05:00
src Updated README 2018-12-14 20:20:08 -05:00
.gitattributes Initial commit 2018-11-04 12:07:35 -05:00
LOG.md Fixed bugs and added more options 2018-12-14 16:28:28 -05:00
Presentation.pdf Added presentation and report 2020-11-09 11:16:44 -05:00
README.md Update README.md 2020-11-09 11:19:00 -05:00
Report.pdf Added presentation and report 2020-11-09 11:16:44 -05:00

README.md

Presentation.pdf

Report.pdf

What is this?

This project is a program for a CAD tool design class (ECE 487) at Miami University. The tool converts .SVG vector graphics to .PES embroidery files that can be used by machines such as the Brother SE600.

Examples

Apple Tree Droplet Zigzag

Installation

Python 2.7 is required to run the program.

PES-Embroidery also relies on a number of third party libraries:

  • numpy
  • svgPathTools
  • pyEmbroidery
  • pyGlet

These libraries can be easily installed using pip.

sudo pip install numpy svgpathtools pyembroidery pyglet

Usage (Requires Python)

Sample command:

python src/main.py -i ./myVectorGraphic.svg -o ./myEmbroideryFile.pes -t 2.5 -d 10 -r -d

Parameter details:

For decimal parameters, 10 units are equal to 1mm.

  • -h Display parameter help.
  • -i [path] The full path of the input SVG file.
  • -o [path] The full path of the output PES file.
  • -t [decimal number] This will be used as the distance between parallel stitches. Default is 1.5.
  • -m [decimal number] This is the max distance the sewing machine will travel between stitches. Default is 20.
  • -l [decimal number] This is the mathematical slope that the stitch lines will have. Default is a slope of 1.
  • -s ['closest' or 'zigzag'] This is the stitch style for connecting parallel stitch groups. The default is closest.
  • --noOutline If this flag is specified, the embroidery design will not contain stitches that outline each shape.
  • -d Shows a debug rendering of the embroidery design.
  • -r Generates a debug rendering picture of the design in the same directory as the output PES file.

Known Issues

  • Some SVG shapes do not convert correctly. I believe this to be a bug in the svgPathTools library.
  • The outline of embroidered designs don't tend to line up with the fill stitches.

References

General PES/PEC information from here.

General PES/PEC information and colors for PES version 1 taken from here.

svgPathTools

numpy

pyEmbroidery

Tux embroidery demo file from here.