Files
makeCAD/tests/kernel-cases/booleans/1647-box-cylinder-general-intersect/expected.json
T
bherbruck 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

11 lines
717 B
JSON

{
"sources": [
"tangency-labs/solidcraft#1647"
],
"what": "a box and a cylinder in general position (nothing coincident or tangent): Intersect refused as an implausible volume",
"source": "analytic",
"method": "axis along z, so V = (area of the box's xy rectangle inside the cylinder's disc) * (z overlap). Rectangle x 11.4838..16.2729, y 4.8016..7.8016; disc centre (29.2481, 8.3683) r 13.5029; area = integral over x of the y-length inside both (clipped chord) = 1.019217 mm2 (integrated with 4e6 midpoint steps and cross-checked with Simpson). z overlap: max(3.6313, 6.9479)=6.9479 .. min(14.0507, 26.667)=14.0507 -> 7.102761. V = 1.019217 * 7.102761 = 7.2393",
"body_count": 1,
"volume_mm3": 7.2392536
}