Skip to content

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

884 B
Raw Blame
[
  {"note": "The Move window's value box on the canvas. Picking a body gives it the keyboard, so a typed number sets the move without hunting for a field first. Which value the box reads follows the move type, covered by dialogs_move_tests."},
  {"call": "engine.execute", "params": {"command": "solid.box", "params": {"length": 20, "width": 20, "height": 20}}},
  {"call": "ui.view", "params": {"view": "iso"}},

  {"note": "Free Move: pick the body, type 30, press Enter. Nothing is clicked in the window at all."},
  {"start": "solid.move"},
  {"click": {"world": [10, 10, 20]}},
  {"expect": {"dialog": "Move", "bodies": 1}},
  {"text": "30"},
  {"expect": {"dialog": "x: \"30\""}},
  {"key": "Enter"},
  {"expect": {"dialog": null, "errors": 0, "bodies": 1}},
  {"expect": {"bbox": {"body": "Body1", "min": [30, 0, 0], "max": [50, 20, 20]}}},

  {"shot": "move_canvas_value"}
]