Connect architectural project maps to the existing Cesium gateway
This commit is contained in:
Generated
+6
-5
@@ -10,7 +10,7 @@
|
||||
"hasInstallScript": true,
|
||||
"dependencies": {
|
||||
"@noble/hashes": "^2.2.0",
|
||||
"@nodedc/bim-viewer": "file:../../vendor/bim/nodedc-bim-viewer-0.2.46.tgz",
|
||||
"@nodedc/bim-viewer": "file:../../vendor/bim/nodedc-bim-viewer-0.2.47.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",
|
||||
@@ -42,7 +42,7 @@
|
||||
},
|
||||
"../../../NODEDC_DESIGN_GUIDELINE/packages/map-cesium-react": {
|
||||
"name": "@nodedc/map-cesium-react",
|
||||
"version": "0.1.0",
|
||||
"version": "0.1.1",
|
||||
"dependencies": {
|
||||
"cesium": "1.143.0"
|
||||
},
|
||||
@@ -884,10 +884,11 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@nodedc/bim-viewer": {
|
||||
"version": "0.2.46",
|
||||
"resolved": "file:../../vendor/bim/nodedc-bim-viewer-0.2.46.tgz",
|
||||
"integrity": "sha512-nlI4IVgrdVXKRsDd1VwH/7J30SC6z1rV68+/I/yCJwiJso7dX2asuUrubAweWviy6oGr49PpYHt7lzS9emny2g==",
|
||||
"version": "0.2.47",
|
||||
"resolved": "file:../../vendor/bim/nodedc-bim-viewer-0.2.47.tgz",
|
||||
"integrity": "sha512-oBD5I3q1Rpi46LAASM2XtjpDlmE86b94rVEh4kboDHjhKHkxccNsxqgJGcjc1TU9LbNFbQYKq5OiEM/9aIsONQ==",
|
||||
"peerDependencies": {
|
||||
"@nodedc/map-cesium-react": ">=0.1.1 <0.2",
|
||||
"@nodedc/ui-react": "0.7.1",
|
||||
"react": ">=19 <20",
|
||||
"react-dom": ">=19 <20"
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@noble/hashes": "^2.2.0",
|
||||
"@nodedc/bim-viewer": "file:../../vendor/bim/nodedc-bim-viewer-0.2.46.tgz",
|
||||
"@nodedc/bim-viewer": "file:../../vendor/bim/nodedc-bim-viewer-0.2.47.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",
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
import {defaultMapViewDocument} from '../../core/map/mapView';
|
||||
import {mapPresentation} from '../../components/map/mapPresentation';
|
||||
import {lazy, Suspense, useCallback, useMemo, useState, type ComponentProps} from 'react';
|
||||
import {Description, ToastStack} from '@nodedc/ui-react';
|
||||
import type {BimHost, Notice} from '@nodedc/bim-viewer';
|
||||
@@ -19,6 +21,7 @@ export function ArchitecturalProjectsWorkspace({headerToolsHost,headerTitleHost}
|
||||
}, []);
|
||||
const host = useMemo<BimHost>(() => ({
|
||||
apiBase: '/api/v1/bim', assets: {fragmentsWorker, mapWorker}, notify,
|
||||
cesium:{runtimeConfigUrl:'/api/v1/map/runtime-config',settings:mapPresentation(defaultMapViewDocument().view.visualSettings),cacheIntent:{enabled:true,no_overwrite:true}},
|
||||
}), [notify]);
|
||||
return <>
|
||||
<Suspense fallback={<Description role="status">Открываем архитектурные проекты…</Description>}>
|
||||
|
||||
+26
-1
@@ -1,6 +1,31 @@
|
||||
# Portable BIM module in Mission Core
|
||||
|
||||
## Current delivery · 16 November 2026
|
||||
## Current delivery · Cesium project map · 16 November 2026
|
||||
|
||||
Portable client **0.2.47**, host **0.2.15**, Worker unchanged **0.2.12**.
|
||||
Exact source identities and artifact hashes are in `vendor/bim/*release.json`.
|
||||
The map Layers menu now selects **Libre / Cesium**. Cesium uses the existing
|
||||
`@nodedc/map-cesium-react` adapter (0.1.1), CesiumJS **1.143.0**, runtime BFF and
|
||||
Map Gateway. Terrain, imagery and buildings retain their existing server/cache
|
||||
ownership. No browser credentials, separate Viewer service or new cache.
|
||||
|
||||
All configured project markers remain available. Multiple nearby ready BIM
|
||||
previews are admitted by distance and memory budgets, independently of catalog
|
||||
selection. Settings support terrain click/drag, view-center placement, heading
|
||||
and terrain-relative/ellipsoid height. The renderer draws verified ready
|
||||
Fragments; Worker sources and conversions are unchanged. Map provider, camera
|
||||
and provider visibility persist in the BIM workspace document.
|
||||
|
||||
172 BIM client / 168 Python / 8 shared adapter checks passed; Core frontend
|
||||
1608, focused BIM/Map API 15, architecture, typography, types and production
|
||||
build passed. Live BUH geometry, terrain placement and Cancel were checked on
|
||||
canonical :8000. Detailed residency is bounded to 8 nearby models / 128 MiB live
|
||||
geometry; millions of complete IFC meshes and NAS Internet-outage failover are
|
||||
not newly qualified. See the module's `docs/project-map.md` for contracts/limits.
|
||||
Previous compact inspector/selection changes were committed and pushed before
|
||||
this delivery. Existing user uploads were not interrupted during UI validation.
|
||||
|
||||
## Notes, project state and upload delivery · 16 November 2026
|
||||
|
||||
Portable client **0.2.32**, host and single BIM Worker **0.2.12**. The current
|
||||
release identities and artifact hashes are in `vendor/bim/*release.json`.
|
||||
|
||||
+2
-2
@@ -18,7 +18,7 @@ dependencies = [
|
||||
"httpx>=0.28,<1",
|
||||
"lz4>=4.4,<5",
|
||||
"missioncore-plugin-sdk",
|
||||
"nodedc-bim-module==0.2.14",
|
||||
"nodedc-bim-module==0.2.15",
|
||||
"paho-mqtt>=2.1,<3",
|
||||
"pillow>=12,<13",
|
||||
"pyyaml>=6.0,<7",
|
||||
@@ -29,7 +29,7 @@ dependencies = [
|
||||
]
|
||||
|
||||
[tool.uv.sources]
|
||||
nodedc-bim-module = { path = "vendor/bim/nodedc_bim_module-0.2.14-py3-none-any.whl" }
|
||||
nodedc-bim-module = { path = "vendor/bim/nodedc_bim_module-0.2.15-py3-none-any.whl" }
|
||||
missioncore-plugin-sdk = { path = "packages/plugin-sdk", editable = true }
|
||||
|
||||
[project.optional-dependencies]
|
||||
|
||||
@@ -479,8 +479,8 @@ wheels = [
|
||||
|
||||
[[package]]
|
||||
name = "nodedc-bim-module"
|
||||
version = "0.2.14"
|
||||
source = { path = "vendor/bim/nodedc_bim_module-0.2.14-py3-none-any.whl" }
|
||||
version = "0.2.15"
|
||||
source = { path = "vendor/bim/nodedc_bim_module-0.2.15-py3-none-any.whl" }
|
||||
dependencies = [
|
||||
{ name = "fastapi" },
|
||||
{ name = "httpx" },
|
||||
@@ -488,7 +488,7 @@ dependencies = [
|
||||
{ name = "uvicorn" },
|
||||
]
|
||||
wheels = [
|
||||
{ filename = "nodedc_bim_module-0.2.14-py3-none-any.whl", hash = "sha256:f4a91742b490932490eb2eb6851b16d1d32e8681920e9d64e1d0fee30a8149ec" },
|
||||
{ filename = "nodedc_bim_module-0.2.15-py3-none-any.whl", hash = "sha256:d650c84ed3d7d8a29f53b6dbdbd0d9d84aaa4bf1e181d67ca73a80007ced3457" },
|
||||
]
|
||||
|
||||
[package.metadata]
|
||||
@@ -561,7 +561,7 @@ requires-dist = [
|
||||
{ name = "httpx", specifier = ">=0.28,<1" },
|
||||
{ name = "lz4", specifier = ">=4.4,<5" },
|
||||
{ name = "missioncore-plugin-sdk", editable = "packages/plugin-sdk" },
|
||||
{ name = "nodedc-bim-module", path = "vendor/bim/nodedc_bim_module-0.2.14-py3-none-any.whl" },
|
||||
{ name = "nodedc-bim-module", path = "vendor/bim/nodedc_bim_module-0.2.15-py3-none-any.whl" },
|
||||
{ name = "paho-mqtt", specifier = ">=2.1,<3" },
|
||||
{ name = "pillow", specifier = ">=12,<13" },
|
||||
{ name = "pyyaml", specifier = ">=6.0,<7" },
|
||||
|
||||
Vendored
+15
-10
@@ -1,18 +1,18 @@
|
||||
{
|
||||
"schema_version": "missioncore.bim-client-release/v1",
|
||||
"repository": "https://git.dcserve.ru/dctouch/NODEDC_BIM_MOD",
|
||||
"source_commit": "2be6e9e8773cc0426a7a9aaf00935ce97e03130c",
|
||||
"package": "nodedc-bim-viewer-0.2.46.tgz",
|
||||
"sha256": "181fb067272cc5512e503b276d50606780f8b0faa49b18f7e6d6be4948096bfe",
|
||||
"source_commit": "581666957ed3855906be34081f5ebdfe04307b1a",
|
||||
"package": "nodedc-bim-viewer-0.2.47.tgz",
|
||||
"sha256": "d02aa0731f0a341ef9141c3a47bcf87c724e208949e29ef416c334847c0dfe26",
|
||||
"types": "pass",
|
||||
"contract_tests": 167,
|
||||
"visual_acceptance": "KU layer notes list/tiles/gallery and exact per-project view roundtrip passed; project deletion confirmation open/cancel only; 219074194-point LAS rendered and reopened after full page reload; IAB held W and mouse drag changed heading and displayed flight speed, then Fit restored cloud overview; 2026-11-16: individual IFC translation/rotation/scale, group translation and Ctrl/Command undo checked; compact inspector has nine editable fields and no caption/section plates; window and toolbar read «Инспектор»; single shared tooltip verified in viewer and main navigation: radius 14px, blur 18px, border/outline 0, 12px text.; 0.2.46: background click cleared whole cloud and BIM group selected through tree in navigate mode; inspector and selected rows removed. Compact axis headings align on one line (verified equal top coordinate), units hidden in headings. Regression covers geometry/modifier clicks and orbit returning to its starting point.",
|
||||
"contract_tests": 172,
|
||||
"visual_acceptance": "KU layer notes list/tiles/gallery and exact per-project view roundtrip passed; project deletion confirmation open/cancel only; 219074194-point LAS rendered and reopened after full page reload; IAB held W and mouse drag changed heading and displayed flight speed, then Fit restored cloud overview; 2026-11-16: individual IFC translation/rotation/scale, group translation and Ctrl/Command undo checked; compact inspector has nine editable fields and no caption/section plates; window and toolbar read «Инспектор»; single shared tooltip verified in viewer and main navigation: radius 14px, blur 18px, border/outline 0, 12px text.; 0.2.46: background click cleared whole cloud and BIM group selected through tree in navigate mode; inspector and selected rows removed. Compact axis headings align on one line (verified equal top coordinate), units hidden in headings. Regression covers geometry/modifier clicks and orbit returning to its starting point.; 0.2.47: existing Cesium runtime rendered prepared BUH geometry; terrain click, marker drag and center placement changed draft coordinates, Cancel preserved project. Libre/Cesium switching and saved Cesium camera survived reload.",
|
||||
"evidence": "docs/BIM_MODULE.md",
|
||||
"qualification_date": "2026-11-16",
|
||||
"design_guideline_commit": "f8aa8022f14f8f8050a411c5f40a29ce03c9b6ba",
|
||||
"design_guideline_commit": "f4e7369eeccc9745c30ddf6476810ddc1efd523d",
|
||||
"core_frontend_tests": 1608,
|
||||
"core_frontend_failures": 0,
|
||||
"validation_context": "167 module client tests; 1608 Core frontend tests; architecture, typography, typecheck and production build passed.",
|
||||
"validation_context": "172 module client tests; 1608 Core frontend tests; 8 shared Cesium adapter tests; architecture, typography, typecheck and production build passed.",
|
||||
"visual_limits": [
|
||||
"Native RMB drag not independently automated; actual OrbitControls pan regression passed",
|
||||
"Native OS layout switch not exercised; physical code fixtures cover Cyrillic/IME labels",
|
||||
@@ -24,11 +24,16 @@
|
||||
"Live note deletion and native fullscreen were not newly qualified; note deletion/recovery is covered by focused tests.",
|
||||
"1895 imported camera notes have source poses; 75 photographs remain explicitly unplaced. Exact pixel reprojection, lens distortion and roll are not qualified.",
|
||||
"The operator stopped further photo admission at 1970 photographs plus one text note. No additional image imports are pending.",
|
||||
"IFC sub-element pointer transforms preview the shared frame; geometry updates on release. Transform history is session-local."
|
||||
"IFC sub-element pointer transforms preview the shared frame; geometry updates on release. Transform history is session-local.",
|
||||
"Detailed map previews are bounded to 8 nearby models / 128 MiB live geometry, not millions of IFC meshes; multi-model residency has unit qualification, no large live load benchmark.",
|
||||
"Existing gateway/cache path retained; NAS failover during a real Internet outage was not newly qualified."
|
||||
],
|
||||
"source_base_commit": "868838651ed5af1b00c81843f2937ea7806a652e",
|
||||
"source_base_commit": "2be6e9e8773cc0426a7a9aaf00935ce97e03130c",
|
||||
"source_state": "committed",
|
||||
"design_guideline_version": "0.7.1",
|
||||
"design_guideline_source_state": "committed",
|
||||
"inspector_evidence": "inspector-compact-axes.jpg (operator Codex workspace)"
|
||||
"inspector_evidence": "inspector-compact-axes.jpg (operator Codex workspace)",
|
||||
"map_cesium_adapter_version": "0.1.1",
|
||||
"cesium_version": "1.143.0",
|
||||
"map_evidence": "docs/project-map.md in NODEDC_BIM_MOD; cesium-project-map.png and cesium-bim-placement.png in operator task workspace"
|
||||
}
|
||||
|
||||
BIN
Binary file not shown.
Binary file not shown.
Vendored
+7
-7
@@ -1,20 +1,20 @@
|
||||
{
|
||||
"schema_version": "missioncore.bim-release/v1",
|
||||
"repository": "https://git.dcserve.ru/dctouch/NODEDC_BIM_MOD",
|
||||
"source_commit": "2be6e9e8773cc0426a7a9aaf00935ce97e03130c",
|
||||
"package": "nodedc_bim_module-0.2.14-py3-none-any.whl",
|
||||
"sha256": "f4a91742b490932490eb2eb6851b16d1d32e8681920e9d64e1d0fee30a8149ec",
|
||||
"python_tests": 167,
|
||||
"source_commit": "581666957ed3855906be34081f5ebdfe04307b1a",
|
||||
"package": "nodedc_bim_module-0.2.15-py3-none-any.whl",
|
||||
"sha256": "d650c84ed3d7d8a29f53b6dbdbd0d9d84aaa4bf1e181d67ca73a80007ced3457",
|
||||
"python_tests": 168,
|
||||
"node_reader_tests": 1,
|
||||
"scope": "Host project affine transforms for full materials and individual IFC items; existing viewer and workspace contracts.",
|
||||
"scope": "Host workspace preferences add provider-specific Cesium camera/layers; existing project and Worker contracts preserved.",
|
||||
"qualification_date": "2026-11-16",
|
||||
"worker_source_commit": "dd201554220a10d3825b04a146f0f044f47355c5",
|
||||
"worker_image": "sha256:dd987e8201391ec92cc8a6f9e10f9d4b9e50ada45fb6a68f31d2f5775925af32",
|
||||
"core_adapter_tests": 2,
|
||||
"notes_regression_tests": 13,
|
||||
"validation_context": "167 server tests passed; Core host installed 0.2.14. Worker remains 0.2.12, with no conversion or storage change for the inspector.",
|
||||
"validation_context": "168 server tests passed; Core host installed 0.2.15. Worker remains 0.2.12. Fifteen focused Core BIM/Map API checks passed.",
|
||||
"worker_package_version": "0.2.12",
|
||||
"worker_cloud_regression_tests": 19,
|
||||
"source_base_commit": "868838651ed5af1b00c81843f2937ea7806a652e",
|
||||
"source_base_commit": "2be6e9e8773cc0426a7a9aaf00935ce97e03130c",
|
||||
"source_state": "committed"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user