Child of #15: mechanical reconstruction path (feature-based, the core path) #17
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#17
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?
Parent
Part of #15 — refine pc2cad strategy. The end-to-end pipeline forks into three reconstruction paths. This is the mechanical / feature-based path — the core path and the one the user cares about most.
What "mechanical" means here
Inputs that are manufactured parts:
Pipeline characteristics
What to design
Feature detection — extend the existing cylinder fit into a feature classifier. For each fitted cylinder: is it a hole, a boss, a bore, a fillet? For each fitted plane: is it a base, a step, a pocket floor? For each fitted cone: countersink or cone?
Boolean assembly — features combine via boolean ops. Document the rule order: subtract holes first, then add/subtract bosses, then fillets, then chamfers. Each feature has a parameter set that survives in the STEP.
Parameter preservation — when exporting STEP, ensure each feature has identifying metadata so a downstream CAD user can edit the radius of a hole without losing the feature history. This means: name features, store parameters as USER properties on the STEP entities where possible.
MVP — the smallest mechanical part that exercises every feature type. Candidate: a flat plate with one counterbored hole, one through hole, one slot, one rib, two fillets, one chamfer. If this works, the pipeline handles real parts.
Test corpus — at minimum: 5 synthetic mechanical parts covering the feature mix, 2 real scans (the user has one). All scans stored under
samples/.Scope
Acceptance
docs/STRATEGY-MECHANICAL.mdcovering: feature classification rules, boolean assembly order, parameter preservation strategy, MVP scope with specific test part, test corpus listWhy this matters
The mechanical path IS the product. Without a unifying design, the existing tickets (#6, #11, #12, #13, #14) are islands. The user will need a single document that says "here is how all the pieces fit together" before any of them can land without breaking the others.
Mark referenced this issue2026-06-20 19:12:53 +00:00