Skip to content

SolidCraft: an open-source parametric 3D CAD application built in pure Rust. Desktop, web, and automation through MCP.

844 B
Raw Blame
{
 "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": [
  {
   "step": 3,
   "pointer": "/count",
   "json": 1
  },
  {
   "step": 3,
   "pointer": "/interferences/0/volume_mm3",
   "json": 1000.0
  },
  {
   "step": 3,
   "pointer": "/interferences/0/area_mm2",
   "json": 600.0
  },
  {
   "step": 3,
   "pointer": "/interferences/0/center",
   "json": [
    35.0,
    25.0,
    15.0
   ]
  },
  {
   "step": 3,
   "pointer": "/interferences/0/bbox/min",
   "json": [
    30.0,
    20.0,
    10.0
   ]
  },
  {
   "step": 3,
   "pointer": "/interferences/0/bbox/max",
   "json": [
    40.0,
    30.0,
    20.0
   ]
  }
 ]
}