NODEDC_BIM_VIEWER/frontend
CODEX f28de867c7 Tune section toolbar icons and gizmo thickness 2026-06-18 22:21:14 +03:00
..
assets Initial import of NODEDC BIM Viewer 2026-06-04 13:25:42 +03:00
examples Initial import of NODEDC BIM Viewer 2026-06-04 13:25:42 +03:00
lib Tune section toolbar icons and gizmo thickness 2026-06-18 22:21:14 +03:00
src/ui Tune section toolbar icons and gizmo thickness 2026-06-18 22:21:14 +03:00
README.md Initial import of NODEDC BIM Viewer 2026-06-04 13:25:42 +03:00
dcViewer.css Tune section toolbar icons and gizmo thickness 2026-06-18 22:21:14 +03:00
dcViewer.js Tune section toolbar icons and gizmo thickness 2026-06-18 22:21:14 +03:00
examples.json Initial import of NODEDC BIM Viewer 2026-06-04 13:25:42 +03:00
index.html Tune section toolbar icons and gizmo thickness 2026-06-18 22:21:14 +03:00
theme.js Tune section toolbar icons and gizmo thickness 2026-06-18 22:21:14 +03:00
transformGizmo.js beam: avoid point cloud highlight masking 2026-06-05 00:03:31 +03:00

README.md

Frontend

Статический клиент переехал в директорию frontend/. Точка входа — index.html (использует модульный dcViewer.js и стили/ассеты из этой папки).

Быстрый запуск

  • Совместно с API: npm --prefix server start (по умолчанию PORT=8080; если занят, сервер попробует 8081/8082/8083). Открыть http://localhost:<порт>.
  • Только фронт (без API): npx http-server frontend -p 9001 и открыть http://localhost:9001

API-запросы идут на тот же origin (/api/projects), поэтому при отдельном поднятии фронта без сервера API работать не будет.

Снимок проекта собирается на фронте (модели, состояние камеры/виджетов, трансформы, дизайн) и отправляется POST /api/projects.