4 commits, squashed; the originals stay reachable from tag archive/merge-main-develop. -cacc394f9jyviko: Kernel rig: inspect cases, the centre of mass and volume of a box, of a box and cylinder, and an unknown body refused -f43a0c7acjyviko: Kernel rig: inspect cases, the smallest radius of a fillet, an ellipse and a circular edge, and none on a box -311b57bb7jyviko: Kernel rig: inspect cases, a fillet's seams are G1 with a 1/r curvature jump, a box edge is sharp, too few stations refused -58b384d7djyviko: Kernel rig: inspect cases, the overlap volume of two boxes, none where they only touch, a box inside a box Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ
51 lines
850 B
JSON
51 lines
850 B
JSON
{
|
|
"sources": [],
|
|
"what": "the overlap of two boxes",
|
|
"source": "analytic",
|
|
"method": "box 40 x 30 x 20 with a corner at the origin and a box 40 x 30 x 20 from (30,20,10): they share the cube x 30..40, y 20..30, z 10..20: V 1000, A 600, centre (35,25,15)",
|
|
"results": [
|
|
{
|
|
"command": 2,
|
|
"pointer": "/count",
|
|
"value": 1
|
|
},
|
|
{
|
|
"command": 2,
|
|
"pointer": "/interferences/0/volume_mm3",
|
|
"value": 1000.0
|
|
},
|
|
{
|
|
"command": 2,
|
|
"pointer": "/interferences/0/area_mm2",
|
|
"value": 600.0
|
|
},
|
|
{
|
|
"command": 2,
|
|
"pointer": "/interferences/0/center",
|
|
"value": [
|
|
35,
|
|
25,
|
|
15
|
|
]
|
|
},
|
|
{
|
|
"command": 2,
|
|
"pointer": "/interferences/0/bbox/min",
|
|
"value": [
|
|
30,
|
|
20,
|
|
10
|
|
]
|
|
},
|
|
{
|
|
"command": 2,
|
|
"pointer": "/interferences/0/bbox/max",
|
|
"value": [
|
|
40,
|
|
30,
|
|
20
|
|
]
|
|
}
|
|
]
|
|
}
|