No description
Surveys with identical local names at different hierarchy levels (e.g. two "entrance" subsections under different parents) produced the same fullName key in stationMap, causing one station to be overwritten and its dot/tooltip to disappear. Now builds the full dotted path for each survey by traversing the parent chain before constructing station keys. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| public | ||
| src | ||
| test | ||
| .gitignore | ||
| IDEA.md | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| PLAN.md | ||
| PROGRESS.md | ||
| README.md | ||
| vite.config.js | ||
Cave Viewer
A self-contained web-based 3D viewer for Survex .3d and Therion .lox cave survey files, embeddable via iframe in VSCode and Nextcloud.
Development
npm install
npm run dev # start dev server at http://localhost:5173
Build
npm run build # produces self-contained bundle in dist/
npm run preview # serve the dist/ bundle locally
Tests
npm test # run vitest unit tests
Usage
Open a .3d or .lox file via the postMessage API (see PLAN.md Phase 6) or drop it directly once file-drop support is added.