An mdBook under docs/book: a user guide (getting started, UI tour, sketching, features, parameters, components and joints, sheet metal, plastic, files, shortcuts, MCP) and a developer guide (CONTRIBUTING, architecture, command engine, kernel boundary, persistent naming, test harnesses, and the existing docs/*.md pages). `cargo xtask book` generates the command reference from `solvecraft-cli commands` and renders the screenshots with `solvecraft-cli snapshot`, then runs mdbook. .github/workflows/pages.yml publishes the book at /solvecraft/ and the web app at /solvecraft/app/ (skipped while the repository is private). .github/workflows/ci.yml runs `cargo xtask ci` on pull requests. README and Help → Documentation link to the book. Fixes #28 Fixes #8 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
12 lines
759 B
JSON
12 lines
759 B
JSON
{"commands": [
|
|
{"command": "sketch.create", "params": {"plane": "XZ", "name": "Section"}},
|
|
{"command": "sketch.line", "params": {"points": [[6, 0], [30, 0], [30, 4], [12, 4], [12, 20], [6, 20]], "closed": true}},
|
|
{"command": "sketch.finish", "params": {}},
|
|
{"command": "solid.revolve", "params": {"axis": "Z", "body_name": "Hub"}},
|
|
{"command": "sketch.create", "params": {"plane": "XY", "name": "Bolt holes"}},
|
|
{"command": "sketch.circle.center", "params": {"center": [22, 0], "diameter": 5}},
|
|
{"command": "sketch.finish", "params": {}},
|
|
{"command": "solid.extrude", "params": {"distance": 4, "operation": "cut", "name": "Bolt hole"}},
|
|
{"command": "solid.pattern.circular", "params": {"features": ["Bolt hole"], "axis": "Z", "count": 6}}
|
|
]}
|