be90b0ec6d
1 commits, squashed; the originals stay reachable from tag archive/merge-main-develop. - ec154f542 bherbruck: kernel-cases: booleans cases from items another area had skipped (#451, #1107, #1140, #2928, #3850/#3741, #1984, #3573) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ
12 lines
909 B
JSON
12 lines
909 B
JSON
{
|
|
"sources": [
|
|
"tangency-labs/solidcraft#3850",
|
|
"tangency-labs/solidcraft#3741"
|
|
],
|
|
"what": "a O50 x 50 cylinder with a 25 mm square through-hole, then a cross cut by a O40 circle split into two halves by a line (both halves picked, merged into one round tool whose end face x=25 touches the cylinder's side along y=0): the result must be one shell, not a good shell plus a zero-area one",
|
|
"source": "analytic",
|
|
"method": "slice by y: width(y) = 2 sqrt(625-y^2) minus 25 where |y|<=12.5 (the square hole); the tool is the cylinder y^2+(z-25)^2<=400 along x, removing 2 sqrt(400-y^2) of the 50 mm height for |y|<20. V = Int_-25^25 width(y) (50 - 2 sqrt(400-y^2) [|y|<20]) dy = 32897.51 (python midpoint quadrature, 400000 pts per piece, split at the breakpoints). The PR reports 32893.6 (mesh integration, within 1.2e-4). One body, one shell",
|
|
"body_count": 1,
|
|
"shells": 1,
|
|
"volume_mm3": 32897.506
|
|
} |