MCP demo: examples/demo/enclosure_mcp.py builds an electronics enclosure in the running app over MCP, one execute call per step of enclosure_steps.json (rounded box, shell, USB port cut, four screw bosses, then width 80 -> 100 mm rebuilt), ending on an orbit; record.sh and captions.py record it with ffmpeg and burn in captions
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
517b7a911c
commit
025380277a
5 files changed
+477
No files matched your search
@@ -72,6 +72,15 @@ result with `isError: true` and the engine's message, which the model can read a
|
||||
`batch` rollback undoes as many steps as the batch added to the undo history; batches that
|
||||
themselves call `edit.undo`, `file.new` or `doc.open` are not rolled back exactly.
|
||||
|
||||
## Demo: an enclosure built over MCP
|
||||
|
||||
`examples/demo/enclosure_mcp.py` is a small MCP client. It drives a running app (`solvecraft
|
||||
--control PORT`) through `solvecraft-cli mcp --connect` and builds an electronics enclosure one
|
||||
`execute` call at a time (`enclosure_steps.json`): a rounded box, shelled open at the top, a
|
||||
USB port cut through a side wall, four screw bosses, and then a change of the `width`
|
||||
parameter that the timeline rebuilds. `examples/demo/record.sh` records the run with ffmpeg,
|
||||
with each step's caption burnt in.
|
||||
|
||||
## A typical session
|
||||
|
||||
```text
|
||||
|
||||
Reference in new issue
Block a user