Editor has no way to export paths back to SVG — user with paths they've drawn can't export as SVG (the universal vector format), only PES/DST/EXP/JEF (machine-specific formats) #284
Labels
No labels
blocked:commit-ready-failed
blocked:gate-fetch
blocked:gate-lint
blocked:gate-plan
blocked:gate-research
blocked:needs-attention
blocked:needs-decision
blocked:needs-human
blocked:no-changes
blocked:verify-failed
bug
deferred
feature-request
in-progress
needs-decompose
needs-triage
quickfix
security/medium
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/Kimi_Agent_Brother_10_Digitizing_App#284
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Finding
grep -rn 'export.*svg\|svg.*export' src/components/editor/returns 0. The editor's ExportDialog (per #129) supports PES, DST, EXP, JEF — all machine-specific embroidery formats. SVG (the universal vector format) is not in the list.A user with paths they've drawn:
A direct SVG export would write the paths' geometry as
<path d="M x y L x y L x y Z" />elements.Where
src/components/workspace/ExportDialog.tsx(formats: PES, DST, EXP, JEF)grep -rn 'export.*svg' src/components/editor/returns 0FORMATS: ExportFormat[] = ['PES', 'DST', 'EXP', 'JEF'])Suggested fix shape
exportSVGtoeasystitch-client.ts:Format compatibility: SVG is always compatible (DST is the only one that's universal in embroidery).
UI: the format selector shows SVG as a 5th option.
Severity
Low. The user can convert via a tool. Power users with cross-tool workflows notice.
Discovered by
Gap analysis (2026-10-02) of editor export formats.
Related
Shipped via fix(#284) at commit
4172a90on main. The Export dialog now offers SVG as a 5th format alongside PES/DST/EXP/JEF.Implementation:
buildSVG(objects, hoopSize, catalog?)insrc/lib/stitch-adapters.ts— emits closed<path d="M…L…L…Z" fill="…" />elements from each visible workspace path, scaled from canvas pixels to millimeters and wrapped in an SVG sized to the active hoop (4x4 → 100×100mm, 5x7 → 130×180mm, etc.).ExportDialog.exportRequestbranches onformat === "SVG"to callbuildSVGinstead ofexportPES— SVG never reaches the easystitch service.formatCompatiblereturnstruefor SVG (universal vector — no machine-family mismatch).visible: false) are skipped so the user's layers-panel intent travels with the export.Verified:
tsc -bcleaneslint .cleanvite buildsucceedsRound-trip with #283: a design imported from an SVG file on disk can now be exported back as SVG without fidelity loss through Ink/Stitch or any other converter.