Editor's Path Properties section has no 'self-intersection' detection — user creating a path that crosses itself (e.g., a figure-8) gets no warning, embroidery on self-intersecting paths is undefined #336
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#336
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 'selfIntersect\|crossingPath' src/components/editor/returns 0. The editor doesn't detect self-intersections.A user drawing a path:
The fix is self-intersection detection: a path that crosses itself is highlighted, and the user is warned.
Where
src/components/editor/canvasRenderer.tssrc/components/editor/geometry.ts(where the algorithm lives)grep -rn 'selfIntersect' src/components/editor/returns 0Suggested fix shape
Visual highlight: intersections are drawn as small red circles.
Warning: in the Path Properties section, "X self-intersections detected" with a "View" button.
Auto-fix: a "Resolve" button that splits the path at the intersections (creates two separate paths).
Severity
Low. The user can spot intersections visually. Power users with complex shapes notice.
Discovered by
Gap analysis (2026-10-02) of editor validation.
Related