SolidCraft: an open-source parametric 3D CAD application built in pure Rust. Desktop, web, and automation through MCP.
{
"sources": [],
"what": "the centre of mass of a box and a cylinder together",
"source": "analytic",
"method": "box 40 x 30 x 20 with a corner at the origin (V 24000 at (20,15,10)) and a cylinder r 5, h 10 on (60,0,0) (V 250 pi = 785.40 at (60,0,5)): the volume-weighted mean (21.2675, 14.5247, 9.8416), V = 24000 + 250 pi",
"results": [
{
"step": 3,
"pointer": "/center",
"json": [
21.267517524987444,
14.524680928129708,
9.84156030937657
]
},
{
"step": 3,
"pointer": "/volume",
"json": 24785.398163397447
},
{
"step": 3,
"pointer": "/bodies/1/center",
"json": [
60.0,
0.0,
5.0
]
},
{
"step": 3,
"pointer": "/bodies/1/volume",
"json": 785.3981633974482
}
]
}