Files
makeCAD/tests/kernel-cases/fillets/every-box-corner-three-edges-chamfer-2/expected.json
T
jyviko e6d1893f1c Wave 410/509: Kernel rig: everyday box corners and box edges, rounded and chamfered
1 commits, squashed; the originals stay reachable from tag archive/merge-main-develop.

- 57090ba2e jyviko: Kernel rig: everyday box corners and box edges, rounded and chamfered

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

24 lines
949 B
JSON

{
"sources": [],
"what": "the three edges at one box corner chamfered 2 together: three planar chamfers meeting at one point",
"source": "analytic",
"method": "box 40x30x20, the edges at (40,30,20) chamfered d = 2. In coordinates measured inward from the corner (u,v,w >= 0) each chamfer removes {v+w < d} (resp. u+w, u+v) along its edge; the body left is the intersection of the three half-spaces, whose planes meet at (d/2,d/2,d/2), so no corner face. Removed, by inclusion-exclusion: (d^2/2)(40+30+20) - 3 (pair overlaps, int_0^d (d-w)^2 dw = d^3/3 each) + (triple overlap: area (d-w)^2 less (d-2w)^2/2 for w < d/2, integrated: d^3/4) = 45 d^2 - (3/4) d^3 = 174.0000. V = 24000 - 174.0000 = 23826.0000. Faces 6 + 3 = 9; the chamfers meet the faces at creases (G0).",
"body_count": 1,
"volume_mm3": 23826.0,
"faces": 9,
"bbox": {
"min": [
0,
0,
0
],
"max": [
40,
30,
20
]
},
"continuity": {
"order": "g0"
}
}