Files
solidcraft/tests/kernel-cases/booleans/1717-two-overlapping-sphere-cuts/expected.json
T
bherbruckandClaude Opus 5.5 6d72c526bf Wave 38/509: kernel-cases: booleans from #13-#2534, first half (30 cases, 73 skipped)
1 commits, squashed; the originals stay reachable from tag archive/merge-main-develop.

- 48db4fa2c bherbruck: kernel-cases: booleans from #13-#2534, first half (30 cases, 73 skipped)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ
2026-10-21 05:49:10 -04:00

12 lines
707 B
JSON

{
"sources": [
"tangency-labs/solidcraft#1717",
"tangency-labs/solidcraft#2158"
],
"what": "a second sphere cut overlapping an earlier sphere cut on a box edge: 'no result'",
"source": "analytic",
"method": "box 30x20x5 (V=3000). Each sphere r=10 centred on the back-bottom edge removes the quarter of the ball between z=-5..5: pi(r^2 h - h^3/3)/2 with h=5 -> 1375*pi/6 = 719.95. The two balls' common lens (centres 5 apart) over the slab, halved by the y<=20 half-space: 1/2 * integral_0^5 [2 rho^2 acos(d/2rho) - (d/2) sqrt(4 rho^2 - d^2)] dz with rho^2=100-z^2, d=5 -> 483.551. Removed = 2*719.95 - 483.551 = 956.345; V = 3000 - 956.345 = 2043.655",
"body_count": 1,
"volume_mm3": 2043.6548
}