Visual verification
Required after any edit to cad/parts/ or cad/assemblies/ (or main.py display wiring).
Steps
- Import the changed builder in
main.py(keepmain.pythin) just vieworuv run python main.py- Confirm geometry in OCP CAD Viewer panel — rotate, zoom, and use the Clip tab when you need to inspect pockets, bores, or embedded hardware

Agent loop (live updates)
When an agent edits model geometry, it should refresh the viewer immediately after each edit so you can watch changes in real time:
- Update
main.pyif the displayed model changed - Start
just viewin the background right after saving the geometry change (non-blocking — do not wait for the script to exit) - Continue implementation or run tests (
just test-unit, targeted groups, etc.) — viewer refresh is not tied to test commands
Re-launch just view in the background on every geometry edit. Each invocation re-executes main.py and pushes the latest solid to OCP CAD Viewer.
Alternatives
just mr-view sphere— view a published@artifact- MCP
capture_ocp_screenshot— agent visual confirmation
Skip only for non-geometry edits (docstrings, comments).