diff --git a/apps/control-station/package-lock.json b/apps/control-station/package-lock.json index 2d3cb9ac..3c1447cf 100644 --- a/apps/control-station/package-lock.json +++ b/apps/control-station/package-lock.json @@ -10,7 +10,7 @@ "hasInstallScript": true, "dependencies": { "@noble/hashes": "^2.2.0", - "@nodedc/bim-viewer": "file:../../vendor/bim/nodedc-bim-viewer-0.2.7.tgz", + "@nodedc/bim-viewer": "file:../../vendor/bim/nodedc-bim-viewer-0.2.9.tgz", "@nodedc/map-cesium-react": "file:../../../NODEDC_DESIGN_GUIDELINE/packages/map-cesium-react", "@nodedc/page-patterns": "file:../../../NODEDC_DESIGN_GUIDELINE/packages/page-patterns", "@nodedc/tokens": "file:../../../NODEDC_DESIGN_GUIDELINE/packages/tokens", @@ -884,9 +884,9 @@ } }, "node_modules/@nodedc/bim-viewer": { - "version": "0.2.7", - "resolved": "file:../../vendor/bim/nodedc-bim-viewer-0.2.7.tgz", - "integrity": "sha512-jJXYFDFOWz/YzrYWsiibYBZ3pAEDjnl7x/6wdv4O4xdO+pAn9BebHKRkDwM7JoSCQeAFOCisVyu6bbyNRWds4Q==", + "version": "0.2.9", + "resolved": "file:../../vendor/bim/nodedc-bim-viewer-0.2.9.tgz", + "integrity": "sha512-JjZkhurNY6PRAblcOOCoYsq27FGmsrMDuKwJRBVtw04FV5kq8Db2ofZSfGzKxUHvVUySPYMtOY23P1F9TvsZpA==", "peerDependencies": { "@nodedc/ui-react": "0.7.0", "react": ">=19 <20", diff --git a/apps/control-station/package.json b/apps/control-station/package.json index 3a12f0b5..45889581 100644 --- a/apps/control-station/package.json +++ b/apps/control-station/package.json @@ -15,7 +15,7 @@ }, "dependencies": { "@noble/hashes": "^2.2.0", - "@nodedc/bim-viewer": "file:../../vendor/bim/nodedc-bim-viewer-0.2.7.tgz", + "@nodedc/bim-viewer": "file:../../vendor/bim/nodedc-bim-viewer-0.2.9.tgz", "@nodedc/map-cesium-react": "file:../../../NODEDC_DESIGN_GUIDELINE/packages/map-cesium-react", "@nodedc/page-patterns": "file:../../../NODEDC_DESIGN_GUIDELINE/packages/page-patterns", "@nodedc/tokens": "file:../../../NODEDC_DESIGN_GUIDELINE/packages/tokens", diff --git a/docs/BIM_MODULE.md b/docs/BIM_MODULE.md index a033c763..56df13b2 100644 --- a/docs/BIM_MODULE.md +++ b/docs/BIM_MODULE.md @@ -3,11 +3,11 @@ ## Current cloud slice · 15 November 2026 -Host/Worker package 0.2.3, portable viewer 0.2.7. PTS/LAS/LAZ are converted on the single isolated BIM Worker into immutable Potree 2 products. The actual Bridge_2 1.pts was uploaded through the LivingBIM Dataset UI: 85,515,903 points, 3,323,939,155 source bytes, 897,877,195 ready bytes. Only the verified ready set enters Core; source/CAS remain on Worker and owned staging/scratch are empty. +Host/Worker package 0.2.3, portable viewer 0.2.9. PTS/LAS/LAZ are converted on the single isolated BIM Worker into immutable Potree 2 products. The actual Bridge_2 1.pts was uploaded through the LivingBIM Dataset UI: 85,515,903 points, 3,323,939,155 source bytes, 897,877,195 ready bytes. Only the verified ready set enters Core; source/CAS remain on Worker and owned staging/scratch are empty. Colored cloud and L3 IFC open as independent layers after full reload with BIM Worker service stopped. Original export correctly reports the unavailable server. IFC/FRAG native exports matched SHA-256; cloud format chooser offers PTS/Potree 2 ZIP. No guessed registration transform was saved: the scan and IFC have unmatched local frames, so exact geometric overlay remains unqualified. Eight unrelated running Worker containers were preserved; ndc-bim-worker was stopped for that offline probe and is now running again for intake/source exports. Canonical Core 8000 remains running. -117 module Python / 51 module client / 2 Core adapter tests passed. Core 1,604 frontend tests, architecture, typography, typecheck and build passed in the shared canonical checkout; unrelated edits are excluded from this delivery. Source-byte dedup ignores file names. Duplicate preflight creates no upload row or host intent. Orphan intake reconciliation after other queue refusals, full multiuser ACL/personalization and power-loss qualification remain open. Exact release identities/hashes are in vendor/bim manifests. [Current detailed evidence and limits](https://git.dcserve.ru/dctouch/NODEDC_BIM_MOD/src/branch/feat/portable-bim-ifc/docs/point-clouds.md). Older sections below are dated acceptance history. +117 module Python / 53 module client / 2 Core adapter tests passed. Core 1,604 frontend tests, architecture, typography, typecheck and build passed in the shared canonical checkout; unrelated edits are excluded from this delivery. Source-byte dedup ignores file names. Duplicate preflight creates no upload row or host intent. Orphan intake reconciliation after other queue refusals, full multiuser ACL/personalization and power-loss qualification remain open. Exact release identities/hashes are in vendor/bim manifests. [Current detailed evidence and limits](https://git.dcserve.ru/dctouch/NODEDC_BIM_MOD/src/branch/feat/portable-bim-ifc/docs/point-clouds.md). Older sections below are dated acceptance history. Qualified on 2026-11-14: **Данные → Архитектурные проекты** at the canonical `http://127.0.0.1:8000/`. The operator can create a project, upload IFC, wait for Worker conversion, download the prepared product and view it in 3D or through the navigation cube. MapLibre, project tree, model versions and visibility share the same catalog. Map markers, project eyes and version rows enter the same project viewer. @@ -61,7 +61,7 @@ different filename, asset or version. The selected file is hashed in bounded bro the current project before Add is enabled or an upload row is created. The final server byte hash remains authoritative and rejects concurrent admission races before conversion. A durable project/hash claim serializes -concurrent admission and survives interrupted publication. Client 0.2.7 reports +concurrent admission and survives interrupted publication. Client 0.2.9 reports «Этот файл уже добавлен в проект. Повторная загрузка не требуется.», releases the rejected File and queue row, then continues the next queued operation. @@ -99,24 +99,33 @@ upload, with Add disabled and no new row. Installed API checks returned duplicat for that project and available for another project/new digest, with zero new imports/jobs/products. Existing BIM and cloud layers still render. -The portable viewer owns RMB flight: physical WASD positions move the camera, -Q lowers it, E raises it, and Shift multiplies speed by four. Mouse look rotates -around the camera. Viewport settings expose speed in metres/second (default 5). -KeyboardEvent.code makes movement independent of input language. Release, blur, -hidden document, Escape and focus entering a field clear movement. No host app -shortcut or PlayCanvas camera implementation was changed. +Client 0.2.9 corrects RMB-only activation: after clicking the canvas, physical +WASD positions or arrow keys move without a held mouse button. Q lowers the +camera, E raises it, and Shift multiplies speed by four. RMB remains an independent +mouse-look gesture; releasing it does not stop a held movement key. Viewport +settings expose speed in metres/second (default 5). KeyboardEvent.code makes +movement independent of input language. Key release stops its direction; blur, +hidden document, Escape, disposal and focus entering a field clear movement. +Left-button orbit/selection and host app shortcuts are preserved. -Client fixtures exercise real Three cameras with physical codes and English, -Cyrillic and IME key labels, diagonal normalization and focus/release cleanup. -UI settings were verified; a physical held-RMB keyboard session across native -input methods was not independently qualified. Orthographic forward movement -changes camera depth, not zoom. Full reload/exit upload recovery remains open. +Client fixtures exercise real Three cameras after an ordinary click/release with +English, Cyrillic and IME key labels, arrows, diagonal normalization, independent +RMB release and field/blur cleanup. The server/Worker remain at 0.2.3; only the +portable browser package changed. In axonometry, forward/back also dolly the orthographic +scale, so W/S are visible without switching projection; Q/E and strafing preserve +scale. Full reload/exit upload recovery remains open. + +Live UI acceptance of client 0.2.9 confirmed keyboard-only forward movement in +perspective and visible W dolly in axonometry after an ordinary mouse click and +release. E and arrow movement worked; typing in hierarchy search left the camera +stationary. Initial projection restored; browser console errors zero. +[Keyboard navigation evidence](https://git.dcserve.ru/dctouch/NODEDC_BIM_MOD/src/branch/feat/portable-bim-ifc/docs/evidence/keyboard-flight-qualification-20261115.json). Evidence: [intake and flight qualification](https://git.dcserve.ru/dctouch/NODEDC_BIM_MOD/src/branch/feat/portable-bim-ifc/docs/evidence/intake-flight-qualification-20261115.json). ## Ownership and integration -The implementation belongs to [NODEDC_BIM_MOD](https://git.dcserve.ru/dctouch/NODEDC_BIM_MOD), branch `feat/portable-bim-ifc`. Core consumes Python host services 0.2.3 and browser workspace 0.2.7 from `vendor/bim/`; release manifests hold source commits and SHA-256 identities. The Python package owns contracts, project documents, transfer lifecycle and the host API. The browser package owns catalog, intake, map and renderer. It uses the host's React and NODE.DC UI, while keeping its Three/Fragments graph private; render objects are not exchanged with existing Core renderers. +The implementation belongs to [NODEDC_BIM_MOD](https://git.dcserve.ru/dctouch/NODEDC_BIM_MOD), branch `feat/portable-bim-ifc`. Core consumes Python host services 0.2.3 and browser workspace 0.2.9 from `vendor/bim/`; release manifests hold source commits and SHA-256 identities. The Python package owns contracts, project documents, transfer lifecycle and the host API. The browser package owns catalog, intake, map and renderer. It uses the host's React and NODE.DC UI, while keeping its Three/Fragments graph private; render objects are not exchanged with existing Core renderers. Core-specific files are `src/k1link/web/bim_module.py`, `apps/control-station/src/workspaces/data/ArchitecturalProjectsWorkspace.tsx` and asset declarations. The app mounts `/api/v1/bim`, closes the module on shutdown and runs its ready-copy retention with the existing reaper. Product registry/composition select the workspace. The generic shell reads capability status; no BIM pipeline is implemented in App.tsx. The adapter emits canonical toasts, observed by the current Core notification history. It does not depend on that history's source files. diff --git a/vendor/bim/client-release.json b/vendor/bim/client-release.json index b8449cad..de4a2236 100644 --- a/vendor/bim/client-release.json +++ b/vendor/bim/client-release.json @@ -1,12 +1,12 @@ { "schema_version": "missioncore.bim-client-release/v1", "repository": "https://git.dcserve.ru/dctouch/NODEDC_BIM_MOD", - "source_commit": "2fd1ab52b10aee516a964b095b9cace05b9f4a5f", - "package": "nodedc-bim-viewer-0.2.7.tgz", - "sha256": "1aa39005e054ff468355c31b3ccb89ffbfa401dbb05f77b6a9e7434de3a5713f", + "source_commit": "bea44a66ddcea28a6914b368704bd9c018349cf4", + "package": "nodedc-bim-viewer-0.2.9.tgz", + "sha256": "45ffcdd523ceaa11267fade30755c7481ee51e44ced08ed56f7f45df84362611", "types": "pass", - "contract_tests": 51, - "visual_acceptance": "Actual L2_HW_IFC selection in LivingBIM: duplicate message before upload, Add disabled, no new row. BIM/cloud viewer and physical-key flight speed/help visible.", + "contract_tests": 53, + "visual_acceptance": "LivingBIM: keyboard-only W in perspective and axonometry, E and arrow movement after mouse release; field typing leaves camera stationary. Initial projection restored; browser console errors zero.", "evidence": "docs/BIM_MODULE.md", "qualification_date": "2026-11-15", "design_guideline_commit": "70d5d8b3851df0d41233b46b6d39f5721508562b", @@ -16,6 +16,6 @@ "visual_limits": [ "System Fullscreen API rejected by embedded browser; unchanged control not requalified in this pass.", "Actual desktop pixel sampling was not independently automated.", - "Physical held-RMB keyboard flight across native input methods was not independently qualified; controller tests cover physical codes, camera movement and release/focus cleanup." + "Physical codes with Cyrillic/IME labels are covered by controller tests; native OS input-layout switching was not independently exercised." ] } diff --git a/vendor/bim/nodedc-bim-viewer-0.2.9.tgz b/vendor/bim/nodedc-bim-viewer-0.2.9.tgz new file mode 100644 index 00000000..6680aef7 Binary files /dev/null and b/vendor/bim/nodedc-bim-viewer-0.2.9.tgz differ