Skip to content

Latest commit

 

History

History
135 lines (103 loc) · 2.03 KB

README.md

File metadata and controls

135 lines (103 loc) · 2.03 KB

vpype-embroidery

Vpype plugin for embroidery See: https://github.com/abey79/vpype

Embroidery vpype plugin. Reads and Writes embroidery files for the vpype pipeline.

  • eread load an embroidery into the pipeline
  • ewrite write embroidery geometries to disk
  • efill fill closed shapes in the document with a Eulerian fill.

Installing

pipx-based vpype install:

$ pipx inject vpype vpype-embroidery

Global or venv-based vpype install:

$ pip install vpype-embroidery

Examples

Complex fills

vpype begin grid -o 25 25 10 10 circle 0 0 100 end efill show

epype

Zoomed

epype-zoom

Convert SVG -> DST

vpype read butterfly.svg ewrite butterfly.dst

Convert PES -> SVG

vpype eread duck.pes write duck.svg

Supported Formats.

This uses pyembroidery for the backend so the formats supported are as follows: https://github.com/EmbroidePy/pyembroidery

Embroidery Formats

Write

  • .pes
  • .dst
  • .exp
  • .jef
  • .vp3
  • .u01
  • .pec
  • .xxx
  • .tbf
  • .gcode

Read

  • .pes
  • .dst
  • .exp
  • .jef
  • .vp3
  • .10o
  • .100
  • .bro
  • .dat (barudan & sunstar)
  • .dsb
  • .dsz
  • .emd
  • .exy
  • .fxy
  • .gt
  • .hus
  • .inb
  • .jpx
  • .ksm
  • .max
  • .mit
  • .new
  • .pcd
  • .pcm
  • .pcq
  • .pcs
  • .pec
  • .phb
  • .phc
  • .sew
  • .shv
  • .stc
  • .stx
  • .tap
  • .tbf
  • .u01
  • .xxx
  • .zxy
  • .gcode

Related Formats

We also write some miscellaneous formats

Write

  • .col : Color format.
  • .edr : Color format.
  • .inf : Color format.
  • .pmv : Brother Stitch Format.

Read

  • .col : Color format.
  • .edr : Color format.
  • .inf : Color format.
  • .pmv : Brother Stitch Format.

Utility Formats:

Write

  • .csv : comma-separated values
  • .json : JavaScript Object Notation
  • .png : Portable Network Graphic
  • .txt : text file.
  • .svg : Scalable Vector Graphics

Read

  • .csv : comma-separated values
  • .json : JavaScript Object Notation