Skip to content

kernel: sheet-metal fold union leaves 64 open edges at the bend lip (+3.4 mm³ vs closed form) #896

Description

@ecto

The fold of a base flange + edge flange is (plate ∪ flange) ∪ bend-sector. In both the relieved and un-relieved variants of crates/vcad-eval/tests/loon_sheet_metal.rs::bend_relief_cuts_notches_at_the_bend_ends the result mesh has 64 unpaired edges at the bend lip and reads ≈ 3.41 mm³ above the analytic slab + sector − lip total (83 307.99 mm³). The excess is identical in both variants, so the relief delta is exact (162.0000), but the lip seam itself is unconformed. validate.rs already cites "a sound sheet-fold union 64" as a known-good open-edge count; this issue is to make it actually closed.

Found while getting the rana-60-cnc stator to solve (#890). Helpers ring(), post(), fillet_block(side) live in crates/vcad-kernel-booleans/tests/coplanar_cap_union.rs; assert volume against a closed form in any new test — every failure in this family was a plausible mesh of the wrong solid.

🤖 Filed by Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingkernelRust kernel cratesrobustnessEdge cases / numerical robustness

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions