Adjacency-driven fusing should be opt-in or removed #13
Labels
No labels
blocked:needs-decision
blocked:preflight
bug
in-progress
in-progress
lint-cleanup
needs-decompose
quickfix
triage-approved
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/pc2cad#13
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?
Context
From
PLAN.mdline 68:The current
--fuse-mode adjacencysetting builds an adjacency graph and fuses solids that share faces. This is on by default (choices=["adjacency", "none"], default="adjacency").The problem: adjacency-based fusion can over-fuse when surfaces are nearly-coplanar (within tessellation tolerance). A base plane and a near-coplanar bottom face of a cylinder can get merged into a single face, breaking downstream feature detection (the user's "find the counterbored cylinder" workflow depends on distinct planar features).
Scope
Two options to evaluate:
Option A: Make fusing opt-in
--fuse-modedefault tononeadjacencyis faster, simpler output, but can over-fuseOption B: Smarter fusion
1°AND whose planes are within<tolAcceptance
PLAN.mdandpointcloud-to-cad-guide.md--fuse-modehelp textWhy this matters
The user's workflow is feature detection from a scan — finding the holes, pads, ribs in a mechanical part. Over-fusing destroys features. This is a correctness issue, not a performance issue.