Editor has no 'show stitched preview' option — paths render as smooth polylines, but a digitizer sees the actual stitch pattern (satin = parallel lines, fill = rows of stitches, etc.) as a dim overlay; no toggle to show full preview #214
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#214
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
src/components/editor/canvasRenderer.tsdrawPath(line 81) renders paths as smooth polylines with control-point handles visible. The canvas comment at line 378 says "stitched — the dim is purely a preview cue, not a [real stitch render]."A user with a fill path on the canvas sees a smooth curve. To see what the actual fill stitches would look like (the rows of stitches that the embroidery machine produces), the user has to:
There's no "preview stitches" toggle in the editor that overlays the rendered stitch pattern on top of the smooth path.
grep -rn 'stitch.*preview\|preview.*stitch' src/components/editor/returns 1 hit (the comment at line 378), no actual stitch preview renderer.Where
src/components/editor/canvasRenderer.ts:81(drawPath)src/components/editor/canvasRenderer.ts:298-340(drawUnderlayPath— the only stitch-pattern render)grep -n 'previewStitches\|showStitches' src/components/editor/returns 0Suggested fix shape
previewMode: 'smooth' | 'stitches'prop to the canvas (orEditorRightPanel).canvasRenderer.ts, whenpreviewMode === 'stitches', dispatch to a per-stitch-type render function:The render function uses the same
geometry.tsmath the digitizer uses; the visual is the digitizer's output rendered onto the editor canvas. The path'sstitchTypeanddensityalready drive the per-stitch-type spacing.This is a non-trivial feature (the stitch renderers need to be re-extracted from the workspace's auto-digitize path), but it's the right thing for the editor to do.
Severity
Medium-High. Power users with satin/fill/cross-stitch designs want to preview the actual stitch output without round-tripping to the Workspace.
Discovered by
Gap analysis (2026-10-02) of editor preview fidelity.
Related