How craftoid/svg2embr works
svg2embroidery is a server-side PHP application for converting SVG vector drawings to embroidery files and embroidery files back to SVG. The principal workflow starts with a file upload, presents conversion options, then returns a downloadable result. Its main conversion implementation is supported by excerpts; tutorial, gallery, and inspiration capabilities are also represented from the sampled files. Evidence is limited to the README and excerpts, so unsampled conversion details and integrations are not inferred.
Main entry points: index.php Page Router · step2.php Upload Handler · home.php Upload Form · tut.php Tutorial Content
Components 14
File Conversion
- SVG Stitching
convert2stitch.php - Embroidery Export
save_pcs_exp.php - Embroidery Import
save_svg.php
Web Workflow
- Upload Form
home.php - Page Router
index.php - Upload Handler
step2.php
Tutorials
- Tutorial Content
tut.php - Tutorial Index
inkscapeEmbrTut.php - Tutorial Images
tut
Examples
- Embroidery Examples
myembroideries.php - Inspiration Gallery
insp.php - Inspiration Images
insp - Resource Links
links.php
Other components
- User
Connections 15
- User → Upload Form: uploads file
home.php - Upload Form → Upload Handler: submits upload
home.php - Page Router → Upload Form: includes page
index.php - Page Router → Upload Handler: routes page
index.php - Page Router → Tutorial Content: routes page
index.php - Upload Handler → Embroidery Export: posts SVG
step2.php - Upload Handler → Embroidery Import: posts embroidery
step2.php - Embroidery Export → SVG Stitching: calls conversion
save_pcs_exp.php - Page Router → Tutorial Index: includes index
index.php - Tutorial Index → Tutorial Content: links tutorials
inkscapeEmbrTut.php - Tutorial Content → Tutorial Images: uses images
- Page Router → Embroidery Examples: includes gallery
index.php - Page Router → Inspiration Gallery: includes gallery
index.php - Inspiration Gallery → Inspiration Images: uses images
insp.php - Page Router → Resource Links: includes links
index.php