Demo and media tooling¶
The README media is reproducible without a provider key.
Deterministic demo LLM¶
tools/demo_llm.py is an OpenAI-compatible mock that returns a fixed feature tree chosen from keywords in the prompt. It supports normal and SSE streaming responses.
python tools\demo_llm.py --port 5055
set QINIU_API_KEY=demo
set QINIU_BASE_URL=http://127.0.0.1:5055/v1
set QINIU_MODEL=vulcan-demo
python server\app.py
Real SolidWorks captures¶
SwVerify --capture <dir> saves one screenshot per scenario. The suite covers 33 scenarios.
msbuild tools\SolidWorksVerify\SwVerify.csproj /p:Configuration=Release /p:Platform=x64
tools\SolidWorksVerify\bin\SwVerify.exe --capture build\captures
python tools\build_feature_gifs.py --captures build\captures --out docs\assets
UI screenshots and GIF¶
tools/UiShot renders the production WPF controls into PNG frames. The current README UI images and workflow GIF are captured from the installed add-in; UiShot remains useful for deterministic UI regression shots.
dotnet build tools\UiShot\UiShot.csproj
tools\UiShot\bin\Debug\net48\UiShot.exe build\ui-frames docs\assets
Adding a feature demo¶
- Add a deterministic prompt tree to
tools/demo_llm.py. - Add a task-pane example chip and, if the document type differs, its availability rule.
- Add a
SwVerifyscenario and a capture name. - Regenerate the relevant capability GIF with
build_feature_gifs.py. - Update the feature gallery and captions in all three READMEs.