Editor's Path Properties has 'Stitch type' but no 'stitch direction' per path — user with a fill path wanting to control the stitching direction (e.g., always top-to-bottom) has no UI #374
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#374
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 'stitchDirection\|stitchSequence' src/components/editor/returns 0. The editor has no per-path stitch direction.Stitch direction affects:
A user with a fill path:
The fix is a stitch direction selector.
Where
src/components/editor/EditorRightPanel.tsxgrep -rn 'stitchDirection' src/components/editor/returns 0Suggested fix shape
Type: add
stitchDirection: 'auto' | 'horizontal' | 'vertical' | 'diagonal-45' | 'diagonal-135' | 'radial' | 'contour'to the StitchPath type.UI: a SelectField in the Path Properties section when stitch type is 'fill':
Visual: the stitch direction is shown in the canvas as a faint pattern preview.
Use cases:
Severity**
Medium. Stitch direction is critical for production embroidery. Power users notice.
Discovered by
Gap analysis (2026-10-02) of editor path properties.
Related**
Shipped per-path stitch direction (7-value categorical enum) in editor Path Properties.
Closes #374. Commit
219df4aon origin/main.What lands:
stitchDirection?: StitchDirectionon StitchPath (optional, defaults to auto viacoerceStitchDirection).<select>+ apply-to-all button, rendered only whenstitchType === "fill". Hidden for satin / running / cross-stitch / zigzag / motif (value has no effect on those).handleUpdateSelectedPathStitchDirection+handleApplyToAllPathsStitchDirection(single setPaths + one pushHistory per change).Categorical companion to #373 (numeric fill angle + spacing). The two are orthogonal: #373 rotates the rows, #374 picks the family of walk pattern (linear vs radial vs contour). Both are editor-only metadata on StitchPath — the engine does not consume either today.