Skip to content

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

1.1 KB
Raw Blame
[
 {
  "note": "#31: a face wins a tie with an origin plane through it (a shelled box's floor where the XZ plane crosses it)."
 },
 {
  "call": "engine.execute",
  "params": {
   "command": "solid.box",
   "params": {
    "corner": [
     -10,
     -10,
     0
    ],
    "length": 20,
    "width": 20,
    "height": 6
   }
  }
 },
 {
  "call": "engine.execute",
  "params": {
   "command": "solid.shell",
   "params": {
    "faces": [
     [
      0,
      0,
      6
     ]
    ],
    "thickness": 2
   }
  }
 },
 {
  "expect": {
   "volume": [
    1376,
    0.001
   ]
  }
 },
 {
  "call": "ui.view",
  "params": {
   "view": "iso"
  }
 },
 {
  "start": "sketch.create"
 },
 {
  "click": {
   "world": [
    0,
    0,
    2
   ]
  }
 },
 {
  "note": "The certified Shell floor is picked rather than the origin plane and starts a healthy attached sketch directly."
 },
 {
  "expect": {
   "sketching": true,
   "dialog": null,
   "errors": 0
  }
 },
 {
  "expect": {
   "query": {
    "command": "sketch.inspect",
    "path": [
     "plane",
     "origin",
     2
    ],
    "value": 2
   }
  }
 }
]