Integrate BIM selection, cube settings and shared viewport refinements

This commit is contained in:
DCCONSTRUCTIONS
2026-11-14 23:16:52 +03:00
parent e8920f56a2
commit f6e0bab559
10 changed files with 63 additions and 33 deletions
+4 -4
View File
@@ -10,7 +10,7 @@
"hasInstallScript": true,
"dependencies": {
"@noble/hashes": "^2.2.0",
"@nodedc/bim-viewer": "file:../../vendor/bim/nodedc-bim-viewer-0.1.8.tgz",
"@nodedc/bim-viewer": "file:../../vendor/bim/nodedc-bim-viewer-0.1.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.1.8",
"resolved": "file:../../vendor/bim/nodedc-bim-viewer-0.1.8.tgz",
"integrity": "sha512-oZDT98cNOP+QZfACtpK4nv2AWci7c8JqI6+VZtByOzrvbGbFQzvlpFrO84Yjcq//igLYVx8LC2Q0vJnrzds4Nw==",
"version": "0.1.9",
"resolved": "file:../../vendor/bim/nodedc-bim-viewer-0.1.9.tgz",
"integrity": "sha512-HcMksUQyH71ylRBS3zNreao4wxDrUL/S3jEe22k5DP62xAvBVliob0pBnQUjHfWKWJXSdpEOwhQNnGLPyRKKBA==",
"peerDependencies": {
"@nodedc/ui-react": "0.7.0",
"react": ">=19 <20",
+1 -1
View File
@@ -15,7 +15,7 @@
},
"dependencies": {
"@noble/hashes": "^2.2.0",
"@nodedc/bim-viewer": "file:../../vendor/bim/nodedc-bim-viewer-0.1.8.tgz",
"@nodedc/bim-viewer": "file:../../vendor/bim/nodedc-bim-viewer-0.1.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",
+33 -6
View File
@@ -4,7 +4,7 @@ Qualified on 2026-11-14: **Данные → Архитектурные прое
## 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.1.3 and browser workspace 0.1.8 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.1.4 and browser workspace 0.1.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.
@@ -64,7 +64,7 @@ Live UI fault qualification: with Worker stopped, confirmation enqueued the temp
## Current viewer workspace · 14 November 2026
Client 0.1.8 / host 0.1.3 retain Worker 0.1.2. The viewport fills the workspace;
Client 0.1.9 / host 0.1.4 retain Worker 0.1.2. The viewport fills the workspace;
NavigationCube is upper left, Layers/Hierarchy/Viewport settings/Fit/Fullscreen
are upper right. Header shows the project name after a slash and only back/add/
close. Layers and hierarchy reuse EditorDockLayout/Tree/ResourceRows from the
@@ -80,7 +80,7 @@ Old map-only/viewer clients preserve the new render settings.
Tools use public Fragments APIs. The right palette orders selection, isolation,
measurements (ruler), section and view/projection after Hold. Projection offers
perspective, orthographic, axonometric and six axis views. Properties and volume
only perspective and axonometry; axis directions belong to the navigation cube. Properties and volume
live in each IFC row's information dropdown, opened by hover/click/keyboard activation.
The hierarchy contains only the open project: nonempty material types, versions,
@@ -93,13 +93,40 @@ position/reverse are current-view state, not persisted annotations. Advanced
upstream drawing/editing/postproduction/section-fill components remain outside
this slice. Source and scope: [viewer qualification](https://git.dcserve.ru/dctouch/NODEDC_BIM_MOD/src/branch/feat/portable-bim-ifc/docs/viewer-workspace-qualification.md).
Validation: 82 host tests, 24 client tests, two Core adapter tests, shared docking,
Validation: 83 host tests, 33 client tests, two Core adapter tests, shared docking,
floating geometry, icon and typography gates, architecture/typecheck and
production build. Final complete Core frontend suite: 1603 pass / 0 failures.
production build. Final complete Core frontend suite: 1604 pass / 0 failures.
Live acceptance on School and LivingBIM confirmed project-only IFC structure,
Earlier client 0.1.8 acceptance on School and LivingBIM confirmed project-only IFC structure,
bidirectional selection/reveal, element and container isolation, row information
and volume, projection/top view, fullscreen buttons, narrow 700 px settings and
keyboard window handling. Escape closes information without reopening. Final
browser console: no errors. Compact evidence is in the module's
`docs/evidence/viewer-workspace-qualification-20261114.json`.
Current refinement: shared EditorDockLayout rounds only outside corners; square
internal seams recalculate with the tile arrangement. Viewport Toolbar and top
buttons share individual Glass V4, with no common capsule. Tree rows have both
visibility eyes and plain `i` actions. Visibility applies to complete IFC
subtrees without repeating a spatial traversal for each already known ID.
Navigation Cube settings include face/edge colors and independent transparency,
text and hover colors; selection color is configurable. Host 0.1.4 validates and
merges nested preferences, preserving new fields when old clients save.
Selection is one set across scene/tree/models: ordinary click replaces, Ctrl adds,
Shift removes in the scene, Command toggles. Shift selects a displayed row range
in the tree. The selection tool supports containment/crossing rectangles; hidden
geometry is excluded. Normal empty-space click and Escape clear highlights and
tree selection. Whole-set isolation uses the same IDs. Tests cover actual runtime
pointer handling, not only set arithmetic. The Worker and data lifecycle did not
change in this increment.
Current live refinement acceptance on LivingBIM: Shift range (3), Command removal
(2), isolation, rectangle selection (480), empty-space clearing, fast subtree
visibility, stacked exterior corners, actual toolbar glass, two view modes/cube
navigation and color/opacity persistence after reload passed. Test preferences
were restored; console errors: 0. The embedded browser rejected the unchanged
system Fullscreen API during this pass, so fullscreen is not claimed as newly
requalified. Earlier fullscreen evidence above remains dated acceptance.
+2 -2
View File
@@ -18,7 +18,7 @@ dependencies = [
"httpx>=0.28,<1",
"lz4>=4.4,<5",
"missioncore-plugin-sdk",
"nodedc-bim-module==0.1.3",
"nodedc-bim-module==0.1.4",
"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.1.3-py3-none-any.whl" }
nodedc-bim-module = { path = "vendor/bim/nodedc_bim_module-0.1.4-py3-none-any.whl" }
missioncore-plugin-sdk = { path = "packages/plugin-sdk", editable = true }
[project.optional-dependencies]
Generated
+4 -4
View File
@@ -479,8 +479,8 @@ wheels = [
[[package]]
name = "nodedc-bim-module"
version = "0.1.3"
source = { path = "vendor/bim/nodedc_bim_module-0.1.3-py3-none-any.whl" }
version = "0.1.4"
source = { path = "vendor/bim/nodedc_bim_module-0.1.4-py3-none-any.whl" }
dependencies = [
{ name = "fastapi" },
{ name = "httpx" },
@@ -488,7 +488,7 @@ dependencies = [
{ name = "uvicorn" },
]
wheels = [
{ filename = "nodedc_bim_module-0.1.3-py3-none-any.whl", hash = "sha256:90b2797e2bf028113b46c3c0c38ff374d64220be4e63941957700963daa4be16" },
{ filename = "nodedc_bim_module-0.1.4-py3-none-any.whl", hash = "sha256:af742c7c9d47260c9f7390726744a1f94b299c3bea9460c9736fbdc0ccfb2a67" },
]
[package.metadata]
@@ -556,7 +556,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.1.3-py3-none-any.whl" },
{ name = "nodedc-bim-module", path = "vendor/bim/nodedc_bim_module-0.1.4-py3-none-any.whl" },
{ name = "paho-mqtt", specifier = ">=2.1,<3" },
{ name = "pillow", specifier = ">=12,<13" },
{ name = "pyyaml", specifier = ">=6.0,<7" },
+3 -3
View File
@@ -2,8 +2,8 @@
Immutable packages from the independent [NODEDC_BIM_MOD](https://git.dcserve.ru/dctouch/NODEDC_BIM_MOD) repository:
- Python host services 0.1.3: `release.json`, wheel, `uv.lock` integrity.
- Browser workspace 0.1.8: `client-release.json`, npm tarball, Control Station lockfile integrity. Runtime workers and third-party notices are included in the tarball.
- Python host services 0.1.4: `release.json`, wheel, `uv.lock` integrity.
- Browser workspace 0.1.9: `client-release.json`, npm tarball, Control Station lockfile integrity. Runtime workers and third-party notices are included in the tarball.
Core consumes these versioned artifacts without importing a sibling checkout or copying the domain implementation. Update through a new module release, identity review and host qualification. The Worker image and durable data volume remain on Worker 006. Private connection settings and service tokens are never part of these releases.
@@ -13,4 +13,4 @@ The retained 0.1.0/0.1.1 artifacts identify the previous qualified release. New
Full-version deletion requires Worker 0.1.2 or later. Do not roll back to an implementation without deletion journals while retirement is pending; retain the durable journals and deploy a compatible forward fix. Local-copy eviction is still separate.
Viewer preferences include new fields; host 0.1.2 cannot parse them. Keep host 0.1.3 when reverting a client instead of discarding durable meta.json. Worker remains 0.1.2.
Viewer preferences include new fields; host 0.1.3 cannot parse the new cube fields. Keep host 0.1.4 when reverting a client instead of discarding durable meta.json. Worker remains 0.1.2.
+11 -8
View File
@@ -1,16 +1,19 @@
{
"schema_version": "missioncore.bim-client-release/v1",
"repository": "https://git.dcserve.ru/dctouch/NODEDC_BIM_MOD",
"source_commit": "6b27a1ac9b91387c30c0b3bfbfd9653a6259c0e9",
"package": "nodedc-bim-viewer-0.1.8.tgz",
"sha256": "9a71be57051b06070e7089ecacb67548dc6acc811e1b8cc2f40393efa0a51d76",
"source_commit": "3a21d44c7de3dc92f267904f051a6aaecc3cc87d",
"package": "nodedc-bim-viewer-0.1.9.tgz",
"sha256": "e91aa5888989e0520007b37813eef930684c63246ba2c1098ceae3123710c81d",
"types": "pass",
"contract_tests": 24,
"visual_acceptance": "pass: current-project IFC tree, scene/tree selection, information/volume, isolation, measurements, section, projection, shared docking/settings, fullscreen buttons and 700px layout",
"contract_tests": 33,
"visual_acceptance": "pass: visibility, multi-selection, rectangle, empty-space clearing, cube preferences, glass, projection and dock corners",
"evidence": "docs/BIM_MODULE.md",
"qualification_date": "2026-11-14",
"design_guideline_commit": "616ec9160a4cdc6d1482f259bc55193a0b391b4c",
"core_frontend_tests": 1603,
"design_guideline_commit": "d7885fe098470d4ef0c5494867659c0d612a3074",
"core_frontend_tests": 1604,
"core_frontend_failures": 0,
"validation_context": "shared canonical working checkout; unrelated concurrent edits preserved"
"validation_context": "shared canonical working checkout; unrelated concurrent edits preserved",
"visual_limits": [
"System Fullscreen API rejected by embedded browser; unchanged control not requalified in this pass."
]
}
Binary file not shown.
Binary file not shown.
+5 -5
View File
@@ -1,10 +1,10 @@
{
"schema_version": "missioncore.bim-release/v1",
"repository": "https://git.dcserve.ru/dctouch/NODEDC_BIM_MOD",
"source_commit": "d0f2eb3c7304f697e0061f15906e098876c3096c",
"package": "nodedc_bim_module-0.1.3-py3-none-any.whl",
"sha256": "90b2797e2bf028113b46c3c0c38ff374d64220be4e63941957700963daa4be16",
"python_tests": 82,
"source_commit": "f775ce15c8285561ec4bbc999a2c7a7976ddc26c",
"package": "nodedc_bim_module-0.1.4-py3-none-any.whl",
"sha256": "af742c7c9d47260c9f7390726744a1f94b299c3bea9460c9736fbdc0ccfb2a67",
"python_tests": 83,
"node_reader_tests": 1,
"scope": "host map/viewer preferences and durable deletion; Worker protocol unchanged"
"scope": "host viewport/cube preferences and durable deletion; Worker unchanged"
}