Skip to content

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

1.0 KB
Raw Blame
[
 {
  "start": "sketch.create"
 },
 {
  "click": {
   "plane": "XY"
  }
 },
 {
  "start": "sketch.rectangle.two_point"
 },
 {
  "click": {
   "sketch": [
    0,
    0
   ]
  }
 },
 {
  "click": {
   "sketch": [
    40,
    20
   ]
  }
 },
 {
  "key": "Escape"
 },
 {
  "start": "sketch.finish"
 },
 {
  "start": "solid.extrude"
 },
 {
  "text": "10"
 },
 {
  "key": "Enter"
 },
 {
  "call": "ui.view",
  "params": {
   "view": "iso"
  }
 },
 {
  "call": "ui.menu",
  "params": {
   "x": 100,
   "y": 300,
   "target": {
    "type": "named_views"
   }
  }
 },
 {
  "call": "ui.menuPick",
  "params": {
   "item": "New Named View"
  }
 },
 {
  "expect": {
   "named_views": 1
  }
 },
 {
  "call": "ui.view",
  "params": {
   "view": "top"
  }
 },
 {
  "call": "ui.menu",
  "params": {
   "x": 100,
   "y": 300,
   "target": {
    "type": "named_view",
    "name": "Named View1"
   }
  }
 },
 {
  "call": "ui.menuPick",
  "params": {
   "item": "Restore"
  }
 },
 {
  "expect": {
   "camera_matches": "Named View1"
  }
 },
 {
  "shot": "s21_restored"
 }
]