Skip to content

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

932 B
Raw Blame
{
 "sources": [],
 "what": "a sketch and its extrude moved from the design into a component placed turned and moved",
 "source": "analytic",
 "method": "Holder placed a quarter turn about z and 100 mm along x; the rectangle (10,20)-(30,30) on XY extruded 5 mm: 20x10x5 = 1000. Moved into Holder, it keeps its world place (re-expressed in Holder's frame): Holder's total is the block at centre (20,25,2.5), box (10,20,0)-(30,30,5)",
 "body_count": 1,
 "volume_mm3": 1000.0,
 "center_of_mass": [
  20.0,
  25.0,
  2.5
 ],
 "bbox": {
  "min": [
   10.0,
   20.0,
   0.0
  ],
  "max": [
   30.0,
   30.0,
   5.0
  ]
 },
 "results": [
  {
   "step": 8,
   "json": {
    "total": {
     "volume_mm3": 1000.0,
     "center_of_mass": [
      20.0,
      25.0,
      2.5
     ],
     "bbox": {
      "min": [
       10.0,
       20.0,
       0.0
      ],
      "max": [
       30.0,
       30.0,
       5.0
      ]
     }
    }
   }
  }
 ]
}