Files
makeCAD/tests/kernel-cases/sweeps/2295-revolve-cut-torus-by-an-overlapping-ring/expected.json
T
Brennen Herbruck aa3ca73268 Wave 62/509: kernel-cases: sweeps revolve cases from #450-#2947 (faces, axis, cuts, seams)
1 commits, squashed; the originals stay reachable from tag archive/merge-main-develop.

- b60debec1 Brennen Herbruck: kernel-cases: sweeps revolve cases from #450-#2947 (faces, axis, cuts, seams)

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

12 lines
852 B
JSON

{
"sources": [
"tangency-labs/solidcraft#2295"
],
"what": "a torus (R 10, r 5) cut by a disc of radius 5 centred at (15,0) in the XZ plane revolved about Z (the disc overlaps the torus tube)",
"source": "analytic",
"method": "both are coaxial rings, so the cut removes the revolution of the lens where the two circles (centres 10 and 15, r 5) overlap. Lens area = 2 r^2 acos(d/2r) - d/2 sqrt(4r^2 - d^2) = 30.709, centroid x = 12.5 by symmetry. V = 2 pi^2 10 25 - 2 pi 12.5 A_lens = 2522.9. Area (Pappus for curves): arc of the tube circle outside the disc (240 degrees, centroid x 10 - 5 sin(120)/(2 pi/3)) and arc of the disc circle inside the tube (120 degrees, centroid x 15 - 5 sin(60)/(pi/3)), each turned 2 pi about Z. Two toroidal faces.",
"body_count": 1,
"volume_mm3": 2522.903937393692,
"area_mm2": 1758.767884317251,
"faces": 2
}