Skip to content

test(lang): add lattice mast crossing-beam union regression suite (Fixes #116) - #123

Merged
wrong-nebula merged 1 commit into
mainfrom
fix/issue-116-lattice-union
Dec 4, 2026
Merged

wrong-nebula merged 1 commit into
mainfrom
fix/issue-116-lattice-union

Conversation

@wrong-nebula

Copy link
Copy Markdown
Owner

Verified all lattice-mast crossing-beam repro cases from #116 on latest main (following the boolean seam-repair, BVH/overlap hardening, and kernel speedup PRs #91, #109, and #118) and added a permanent regression suite (issue_116_lattice_mast_crossing_box_and_tube_beams) covering both box and tube braces up to 12 tiers (148 beams) under strict_manifold = true.

Verified Results on main (--strict)

Kind Tiers Beams Native CLI WASM CLI Result
box 3 40 32 ms 104 ms WT=ok NM=0 B=0 g=45 vol=174.052
box 6 76 92 ms — WT=ok NM=0 B=0 g=93 vol=347.019
box 12 148 299 ms 877 ms WT=ok NM=0 B=0 g=189 vol=692.953
box 25 304 1,186 ms — WT=ok NM=0 B=0 (213 KB GLB)
tube 3 40 73 ms 211 ms WT=ok NM=0 B=0 g=45 vol=150.017
tube 12 148 880 ms 2,440 ms WT=ok NM=0 B=0 g=189 vol=597.563

Also checked !has_self_intersections(mast) and linear per-tier volume growth (+57.656/tier for box). All 5 test cases in issue_116_lattice_mast_crossing_box_and_tube_beams pass in 1.55 s total in release mode.

Fixes #116.

@wrong-nebula wrong-nebula added the area:core Mesh kernel, Forma-Pipe DSL, import/export, preview renderer label Dec 4, 2026
@wrong-nebula
wrong-nebula merged commit 0236b16 into main Dec 4, 2026
3 checks passed
@wrong-nebula
wrong-nebula deleted the fix/issue-116-lattice-union branch December 4, 2026 04:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:core Mesh kernel, Forma-Pipe DSL, import/export, preview renderer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Union of crossing box beams (a lattice mast): --strict rejects a valid-looking solid at 40 beams, and 148 beams end non-manifold after 110 s

1 participant