From cac7d6effd6910c535d2071911e7571df9a321a3 Mon Sep 17 00:00:00 2001 From: jyviko <2501648+jyviko@users.noreply.github.com> Date: Wed, 21 Oct 2026 23:14:00 -0400 Subject: [PATCH] kernel-cases: the hollow ball of case 450 has two shells The case's own method says one body with an inner shell (the void of radius 18.5 inside the ball of radius 40), but without a "shells" entry the rig asks one shell per body. It now asks two, as the method derives. SMLib still fails the case on its volume: 294558 mm3, near the sum of the two balls (294604) rather than their difference (241561), so the inner shell is not taken as a void. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_017itGh5fpMEousnZ91cYcVt --- .../expected.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/kernel-cases/sweeps/450-revolve-spherical-shell-sketched-off-the-origin/expected.json b/tests/kernel-cases/sweeps/450-revolve-spherical-shell-sketched-off-the-origin/expected.json index 54408ad81..8f8410807 100644 --- a/tests/kernel-cases/sweeps/450-revolve-spherical-shell-sketched-off-the-origin/expected.json +++ b/tests/kernel-cases/sweeps/450-revolve-spherical-shell-sketched-off-the-origin/expected.json @@ -5,8 +5,9 @@ ], "what": "a half ring between two arcs (both radial lines on the axis) revolved a full turn from a sketch plane 10 mm above the origin (volume +34 %)", "source": "analytic", - "method": "the revolve is a hollow ball of radii 40 and 18.5 centred at (0,0,10): V = 4/3 pi (40^3 - 18.5^3), A = 4 pi (40^2 + 18.5^2); two spherical faces, one body with an inner shell.", + "method": "the revolve is a hollow ball of radii 40 and 18.5 centred at (0,0,10): V = 4/3 pi (40^3 - 18.5^3), A = 4 pi (40^2 + 18.5^2); two spherical faces, one body with an inner shell. The inner sphere bounds the void, so the body has two shells.", "body_count": 1, + "shells": 2, "volume_mm3": 241560.72432594837, "area_mm2": 24407.033325739103, "faces": 2,