# 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](https://user-images.githubusercontent.com/3302478/101284648-fe3d0a00-3795-11eb-8a3b-5f340624195d.png)
Zoomed
![epype-zoom](https://user-images.githubusercontent.com/3302478/101285367-9a1c4500-3799-11eb-9695-f1c51b7ff840.png)
## 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
Raw data
{
"_id": null,
"home_page": "https://github.com/embroidepy/vpype-embroidery/",
"name": "vpype-embroidery",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "Tatarize",
"author_email": "tatarize@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/c1/7d/ab61349f69e8ef62474fe39769a40980aae1b7d0d7645b3bba9acb49147e/vpype-embroidery-0.3.2.tar.gz",
"platform": null,
"description": "# vpype-embroidery\r\nVpype plugin for embroidery\r\nSee: https://github.com/abey79/vpype\r\n\r\n\r\nEmbroidery vpype plugin. Reads and Writes embroidery files for the vpype pipeline.\r\n\r\n* `eread` load an embroidery into the pipeline\r\n* `ewrite` write embroidery geometries to disk\r\n* `efill` fill closed shapes in the document with a Eulerian fill.\r\n\r\n\r\n# Installing\r\n\r\npipx-based *vpype* install:\r\n\r\n```\r\n$ pipx inject vpype vpype-embroidery\r\n```\r\n\r\nGlobal or venv-based *vpype* install:\r\n\r\n```\r\n$ pip install vpype-embroidery\r\n```\r\n\r\n# Examples\r\n\r\n## Complex fills\r\n\r\n`vpype begin grid -o 25 25 10 10 circle 0 0 100 end efill show`\r\n\r\n![epype](https://user-images.githubusercontent.com/3302478/101284648-fe3d0a00-3795-11eb-8a3b-5f340624195d.png)\r\n\r\nZoomed\r\n\r\n![epype-zoom](https://user-images.githubusercontent.com/3302478/101285367-9a1c4500-3799-11eb-9695-f1c51b7ff840.png)\r\n\r\n## Convert SVG -> DST\r\n\r\n`vpype read butterfly.svg ewrite butterfly.dst`\r\n\r\n## Convert PES -> SVG\r\n\r\n`vpype eread duck.pes write duck.svg`\r\n\r\n\r\n# Supported Formats.\r\n\r\nThis uses `pyembroidery` for the backend so the formats supported are as follows:\r\nhttps://github.com/EmbroidePy/pyembroidery\r\n\r\n## Embroidery Formats\r\n### Write\r\n\r\n* .pes\r\n* .dst\r\n* .exp\r\n* .jef\r\n* .vp3\r\n* .u01\r\n* .pec\r\n* .xxx\r\n* .tbf\r\n* .gcode\r\n\r\n### Read\r\n* .pes\r\n* .dst\r\n* .exp\r\n* .jef\r\n* .vp3\r\n* .10o\r\n* .100\r\n* .bro\r\n* .dat (barudan & sunstar)\r\n* .dsb\r\n* .dsz\r\n* .emd\r\n* .exy\r\n* .fxy\r\n* .gt\r\n* .hus\r\n* .inb\r\n* .jpx\r\n* .ksm\r\n* .max\r\n* .mit\r\n* .new\r\n* .pcd\r\n* .pcm\r\n* .pcq\r\n* .pcs\r\n* .pec\r\n* .phb\r\n* .phc\r\n* .sew\r\n* .shv\r\n* .stc\r\n* .stx\r\n* .tap\r\n* .tbf\r\n* .u01\r\n* .xxx\r\n* .zxy\r\n* .gcode\r\n\r\n## Related Formats\r\n\r\nWe also write some miscellaneous formats\r\n\r\n### Write\r\n* .col : Color format.\r\n* .edr : Color format.\r\n* .inf : Color format.\r\n* .pmv : Brother Stitch Format.\r\n\r\n### Read\r\n* .col : Color format.\r\n* .edr : Color format.\r\n* .inf : Color format.\r\n* .pmv : Brother Stitch Format.\r\n\r\n## Utility Formats:\r\n\r\n### Write\r\n* .csv : comma-separated values\r\n* .json : JavaScript Object Notation\r\n* .png : Portable Network Graphic\r\n* .txt : text file.\r\n* .svg : Scalable Vector Graphics\r\n\r\n### Read\r\n* .csv : comma-separated values\r\n* .json : JavaScript Object Notation\r\n",
"bugtrack_url": null,
"license": "",
"summary": "vpype embroidery plugin",
"version": "0.3.2",
"project_urls": {
"Homepage": "https://github.com/embroidepy/vpype-embroidery/"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "91848f4f493d8896cc902045b86e3c262291554435308c6e8c0220938489528c",
"md5": "8fea4f135f7fb60ad4613c20c57332f2",
"sha256": "f916284443bdef05fcdcfdaed6ff43897f441d7896841c08eb2f2488644db333"
},
"downloads": -1,
"filename": "vpype_embroidery-0.3.2-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "8fea4f135f7fb60ad4613c20c57332f2",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 12263,
"upload_time": "2023-11-06T15:59:36",
"upload_time_iso_8601": "2023-11-06T15:59:36.002097Z",
"url": "https://files.pythonhosted.org/packages/91/84/8f4f493d8896cc902045b86e3c262291554435308c6e8c0220938489528c/vpype_embroidery-0.3.2-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c17dab61349f69e8ef62474fe39769a40980aae1b7d0d7645b3bba9acb49147e",
"md5": "cb24206486ddd76a9854562bbb4d51a8",
"sha256": "ccaf4fbc36e5654e62434d2e7d53af733097adac761f1453904440697af98960"
},
"downloads": -1,
"filename": "vpype-embroidery-0.3.2.tar.gz",
"has_sig": false,
"md5_digest": "cb24206486ddd76a9854562bbb4d51a8",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 12693,
"upload_time": "2023-11-06T15:59:37",
"upload_time_iso_8601": "2023-11-06T15:59:37.354027Z",
"url": "https://files.pythonhosted.org/packages/c1/7d/ab61349f69e8ef62474fe39769a40980aae1b7d0d7645b3bba9acb49147e/vpype-embroidery-0.3.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-11-06 15:59:37",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "embroidepy",
"github_project": "vpype-embroidery",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "vpype-embroidery"
}