VEHICLE LAB / DOCUMENTATION
Your first project
Use Python 3.11 or later and a recent browser with WebGL. Running the website and project CLI requires only the Python standard library. Node.js and FFmpeg are optional tools for browser checks and film capture.
1. Run the included example
Extract the source archive, then run this from the extracted directory:
python3 tools/serve.pyOpen localhost:8767 in your browser. Choose Explore for the vehicle notebook. The first load verifies four detailed geometry assets; give it time to finish. The film is a lighter alternative on devices with limited graphics memory.
2. Create your notebook
In a second terminal, from the same source directory:
python3 tools/project.py init projects/my-rover --name "My rover"
python3 tools/project.py validate projects/my-rover/project.jsonThe command creates an original illustrative rover fixture, packed geometry and project.json. It refuses to overwrite a nonempty directory. Open localhost:8767/studio.html?project=projects/my-rover/project.json.
3. Make the study yours
Edit the project name, description and stage questions in project.json. Use the geometry guide to add your own OBJ export, then attach a run with the simulation guide. Every file path is relative to the source directory. Keep each project's files under its own directory.
For a complete small example, open the linear-stage notebook. Inspect its grouped assembly, failed fit, revised clearance and prescribed travel. Choose Project record to follow the revision graph and read or download the original evidence.
4. Verify before sharing
python3 tools/project.py validate projects/my-rover/project.json
python3 tools/check_release.pyThe validator checks asset existence and hashes, mesh ranges, finite coordinates, revision cycles and explicit claim boundaries. The release check audits the files explicitly listed in release-files.json. New notebooks are excluded from the bundled software archive; keep your project assets together and review their contents and rights before distributing them. Keep original source files and export settings alongside your own project when licensing permits.
Optional developer tools
python3 -m venv .venv
. .venv/bin/activate
python3 -m pip install -r requirements-analysis.txt
npm ci
npx playwright install chromium
npm test
npm run test:browserThe compact geometry study uses the standard library. Matrix geometry and the four-link study need NumPy and SciPy; install requirements-analysis.txt into an isolated virtual environment.
Troubleshooting
- Blank 3D view: open the site over local HTTP, enable WebGL, and check the visible error message. Opening the HTML with a file URL is unsupported.
- Port in use: run
python3 tools/serve.py --port 8770and open that port. - Checksum mismatch: re-export the asset and update its metadata. Do not delete the check to hide a mismatch.
- Large model stalls: use the small desk-rover example first. Split your OBJ into smaller study-specific models.