Skip to content

feat(sheet-metal): foundation tier — vcad-kernel-sheet + design spec#177

Merged
ecto merged 1 commit intomainfrom
claude/improve-vcad-sheet-metal-8WOS0
May 10, 2026
Merged

feat(sheet-metal): foundation tier — vcad-kernel-sheet + design spec#177
ecto merged 1 commit intomainfrom
claude/improve-vcad-sheet-metal-8WOS0

Conversation

@ecto
Copy link
Copy Markdown
Owner

@ecto ecto commented May 9, 2026

Lays the legendary architecture from docs/design/sheet-metal.md: a
SheetMetalModel as a graph of flat panels connected by cylindrical
bends, where the graph is the source of truth and both bent 3D and
flat-pattern views are derived. This makes unfold/refold inverses by
construction — the tests prove refold ∘ unfold = identity on bent
frames within 1e-9, with no drift across 10 round-trips.

Foundation tier:

  • Panel + Bend + SheetMetalModel with BFS traversal
  • BendTable with K-factor lookup and KFactorSource provenance
    (Builtin/Shop/Measured/Manual) — drives the colored dot in the UI
  • base_flange_rect / base_flange_polygon
  • add_edge_flange with manual_k override
  • unfold / refold operating in place on the model
  • FlatPattern projection for DXF / nesting / flat editor
  • 33 tests covering geometry, allowance math, involution, drift

Layered behind this: the strategic spec in docs/design/sheet-metal.md
covering bends-as-typed-topology, lossless bidirectional unfold,
open community bend-table registry, manufacturability-as-MCP,
springback physics, costing, and the dual-view + flat-as-peer UI plan.

https://claude.ai/code/session_019XYMEQuLaAX45cqDtpyen7

Lays the legendary architecture from docs/design/sheet-metal.md: a
SheetMetalModel as a graph of flat panels connected by cylindrical
bends, where the graph is the source of truth and both bent 3D and
flat-pattern views are derived. This makes unfold/refold inverses by
construction — the tests prove `refold ∘ unfold = identity` on bent
frames within 1e-9, with no drift across 10 round-trips.

Foundation tier:
- Panel + Bend + SheetMetalModel with BFS traversal
- BendTable with K-factor lookup and KFactorSource provenance
  (Builtin/Shop/Measured/Manual) — drives the colored dot in the UI
- base_flange_rect / base_flange_polygon
- add_edge_flange with manual_k override
- unfold / refold operating in place on the model
- FlatPattern projection for DXF / nesting / flat editor
- 33 tests covering geometry, allowance math, involution, drift

Layered behind this: the strategic spec in docs/design/sheet-metal.md
covering bends-as-typed-topology, lossless bidirectional unfold,
open community bend-table registry, manufacturability-as-MCP,
springback physics, costing, and the dual-view + flat-as-peer UI plan.

https://claude.ai/code/session_019XYMEQuLaAX45cqDtpyen7
@vercel
Copy link
Copy Markdown

vercel Bot commented May 9, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
mecheval Ready Ready Preview, Comment May 9, 2026 8:49pm
vcad Ready Ready Preview, Comment May 9, 2026 8:49pm
vcad-docs Ready Ready Preview, Comment May 9, 2026 8:49pm
vcad-mcp Ready Ready Preview, Comment May 9, 2026 8:49pm

Request Review

@ecto ecto merged commit 1c12be6 into main May 10, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants