@pascal-app/core 0.9.2 → 1.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -10
- package/dist/events/bus.d.ts +21 -2
- package/dist/events/bus.d.ts.map +1 -1
- package/dist/hooks/spatial-grid/floor-placed-elevation.d.ts +17 -1
- package/dist/hooks/spatial-grid/floor-placed-elevation.d.ts.map +1 -1
- package/dist/hooks/spatial-grid/floor-placed-elevation.js +61 -8
- package/dist/hooks/spatial-grid/spatial-grid-manager.d.ts +116 -66
- package/dist/hooks/spatial-grid/spatial-grid-manager.d.ts.map +1 -1
- package/dist/hooks/spatial-grid/spatial-grid-manager.js +319 -441
- package/dist/hooks/spatial-grid/spatial-grid-sync.d.ts +46 -1
- package/dist/hooks/spatial-grid/spatial-grid-sync.d.ts.map +1 -1
- package/dist/hooks/spatial-grid/spatial-grid-sync.js +204 -12
- package/dist/hooks/spatial-grid/support-host-id.d.ts +3 -0
- package/dist/hooks/spatial-grid/support-host-id.d.ts.map +1 -0
- package/dist/hooks/spatial-grid/support-host-id.js +2 -0
- package/dist/hooks/spatial-grid/support-host-patch.d.ts +51 -0
- package/dist/hooks/spatial-grid/support-host-patch.d.ts.map +1 -0
- package/dist/hooks/spatial-grid/support-host-patch.js +164 -0
- package/dist/index.d.ts +23 -11
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +22 -10
- package/dist/lib/measurement-geometry.d.ts +4 -0
- package/dist/lib/measurement-geometry.d.ts.map +1 -1
- package/dist/lib/measurement-geometry.js +27 -10
- package/dist/lib/slab-polygon.d.ts.map +1 -1
- package/dist/lib/slab-polygon.js +33 -1
- package/dist/lib/space-detection.d.ts +15 -4
- package/dist/lib/space-detection.d.ts.map +1 -1
- package/dist/lib/space-detection.js +232 -91
- package/dist/lib/terrain-brush.d.ts +163 -0
- package/dist/lib/terrain-brush.d.ts.map +1 -0
- package/dist/lib/terrain-brush.js +359 -0
- package/dist/lib/terrain-codec.d.ts +51 -0
- package/dist/lib/terrain-codec.d.ts.map +1 -0
- package/dist/lib/terrain-codec.js +167 -0
- package/dist/lib/terrain-field.d.ts +150 -0
- package/dist/lib/terrain-field.d.ts.map +1 -0
- package/dist/lib/terrain-field.js +248 -0
- package/dist/lib/terrain-raycast.d.ts +44 -0
- package/dist/lib/terrain-raycast.d.ts.map +1 -0
- package/dist/lib/terrain-raycast.js +188 -0
- package/dist/lib/terrain-source.d.ts +60 -0
- package/dist/lib/terrain-source.d.ts.map +1 -0
- package/dist/lib/terrain-source.js +90 -0
- package/dist/lib/terrain-support.d.ts +85 -0
- package/dist/lib/terrain-support.d.ts.map +1 -0
- package/dist/lib/terrain-support.js +218 -0
- package/dist/lib/zone-quantities.d.ts +1 -1
- package/dist/lib/zone-quantities.d.ts.map +1 -1
- package/dist/lib/zone-quantities.js +311 -66
- package/dist/material-library.d.ts +9 -1
- package/dist/material-library.d.ts.map +1 -1
- package/dist/material-library.js +56 -4
- package/dist/registry/handles.d.ts +16 -1
- package/dist/registry/handles.d.ts.map +1 -1
- package/dist/registry/index.d.ts +1 -1
- package/dist/registry/index.d.ts.map +1 -1
- package/dist/registry/subtree.d.ts.map +1 -1
- package/dist/registry/subtree.js +5 -2
- package/dist/registry/types.d.ts +83 -1
- package/dist/registry/types.d.ts.map +1 -1
- package/dist/schema/index.d.ts +6 -3
- package/dist/schema/index.d.ts.map +1 -1
- package/dist/schema/index.js +6 -3
- package/dist/schema/nodes/cabinet.d.ts +2 -0
- package/dist/schema/nodes/cabinet.d.ts.map +1 -1
- package/dist/schema/nodes/cabinet.js +4 -2
- package/dist/schema/nodes/ceiling.d.ts +1 -1
- package/dist/schema/nodes/ceiling.d.ts.map +1 -1
- package/dist/schema/nodes/ceiling.js +7 -1
- package/dist/schema/nodes/column.d.ts +1 -0
- package/dist/schema/nodes/column.d.ts.map +1 -1
- package/dist/schema/nodes/column.js +2 -0
- package/dist/schema/nodes/construction-dimension.d.ts +195 -0
- package/dist/schema/nodes/construction-dimension.d.ts.map +1 -0
- package/dist/schema/nodes/construction-dimension.js +151 -0
- package/dist/schema/nodes/door.d.ts +29 -0
- package/dist/schema/nodes/door.d.ts.map +1 -1
- package/dist/schema/nodes/door.js +20 -0
- package/dist/schema/nodes/duct-terminal.d.ts +1 -0
- package/dist/schema/nodes/duct-terminal.d.ts.map +1 -1
- package/dist/schema/nodes/duct-terminal.js +2 -0
- package/dist/schema/nodes/fence.d.ts +2 -0
- package/dist/schema/nodes/fence.d.ts.map +1 -1
- package/dist/schema/nodes/fence.js +8 -0
- package/dist/schema/nodes/hvac-equipment.d.ts +1 -0
- package/dist/schema/nodes/hvac-equipment.d.ts.map +1 -1
- package/dist/schema/nodes/hvac-equipment.js +2 -0
- package/dist/schema/nodes/item.d.ts +1 -0
- package/dist/schema/nodes/item.d.ts.map +1 -1
- package/dist/schema/nodes/item.js +13 -0
- package/dist/schema/nodes/level.d.ts +2 -1
- package/dist/schema/nodes/level.d.ts.map +1 -1
- package/dist/schema/nodes/level.js +12 -33
- package/dist/schema/nodes/shelf.d.ts +1 -0
- package/dist/schema/nodes/shelf.d.ts.map +1 -1
- package/dist/schema/nodes/shelf.js +2 -0
- package/dist/schema/nodes/site.d.ts +9 -0
- package/dist/schema/nodes/site.d.ts.map +1 -1
- package/dist/schema/nodes/site.js +8 -6
- package/dist/schema/nodes/slab.d.ts +5 -0
- package/dist/schema/nodes/slab.d.ts.map +1 -1
- package/dist/schema/nodes/slab.js +14 -2
- package/dist/schema/nodes/spawn.d.ts +1 -0
- package/dist/schema/nodes/spawn.d.ts.map +1 -1
- package/dist/schema/nodes/spawn.js +2 -0
- package/dist/schema/nodes/stair.d.ts +3 -1
- package/dist/schema/nodes/stair.d.ts.map +1 -1
- package/dist/schema/nodes/stair.js +8 -1
- package/dist/schema/nodes/structural-grid.d.ts +27 -0
- package/dist/schema/nodes/structural-grid.d.ts.map +1 -0
- package/dist/schema/nodes/structural-grid.js +17 -0
- package/dist/schema/nodes/wall.d.ts +5 -2
- package/dist/schema/nodes/wall.d.ts.map +1 -1
- package/dist/schema/nodes/wall.js +13 -4
- package/dist/schema/nodes/window.d.ts +29 -0
- package/dist/schema/nodes/window.d.ts.map +1 -1
- package/dist/schema/nodes/window.js +18 -0
- package/dist/schema/nodes/zone.d.ts +20 -0
- package/dist/schema/nodes/zone.d.ts.map +1 -1
- package/dist/schema/nodes/zone.js +15 -0
- package/dist/schema/terrain.d.ts +28 -0
- package/dist/schema/terrain.d.ts.map +1 -0
- package/dist/schema/terrain.js +30 -0
- package/dist/schema/types.d.ts +211 -3
- package/dist/schema/types.d.ts.map +1 -1
- package/dist/schema/types.js +4 -0
- package/dist/services/__fixtures__/wall-plane-top-boundary-repro.d.ts +80 -0
- package/dist/services/__fixtures__/wall-plane-top-boundary-repro.d.ts.map +1 -0
- package/dist/services/__fixtures__/wall-plane-top-boundary-repro.js +89 -0
- package/dist/services/index.d.ts +2 -1
- package/dist/services/index.d.ts.map +1 -1
- package/dist/services/index.js +2 -1
- package/dist/services/level-height.d.ts +8 -9
- package/dist/services/level-height.d.ts.map +1 -1
- package/dist/services/level-height.js +48 -16
- package/dist/services/storey.d.ts +103 -0
- package/dist/services/storey.d.ts.map +1 -0
- package/dist/services/storey.js +296 -0
- package/dist/store/actions/node-actions.d.ts.map +1 -1
- package/dist/store/actions/node-actions.js +47 -3
- package/dist/store/history-control.d.ts +20 -0
- package/dist/store/history-control.d.ts.map +1 -1
- package/dist/store/history-control.js +110 -13
- package/dist/store/use-live-terrain.d.ts +65 -0
- package/dist/store/use-live-terrain.d.ts.map +1 -0
- package/dist/store/use-live-terrain.js +31 -0
- package/dist/store/use-live-transforms.d.ts +8 -0
- package/dist/store/use-live-transforms.d.ts.map +1 -1
- package/dist/store/use-scene.d.ts +31 -2
- package/dist/store/use-scene.d.ts.map +1 -1
- package/dist/store/use-scene.js +638 -8
- package/dist/systems/elevator/elevator-opening-system.d.ts +1 -0
- package/dist/systems/elevator/elevator-opening-system.d.ts.map +1 -1
- package/dist/systems/elevator/elevator-opening-system.js +27 -21
- package/dist/systems/elevator/elevator-service.d.ts +0 -2
- package/dist/systems/elevator/elevator-service.d.ts.map +1 -1
- package/dist/systems/elevator/elevator-service.js +2 -24
- package/dist/systems/slab/slab-placement.d.ts +11 -0
- package/dist/systems/slab/slab-placement.d.ts.map +1 -0
- package/dist/systems/slab/slab-placement.js +14 -0
- package/dist/systems/slab/slab-support.d.ts +150 -0
- package/dist/systems/slab/slab-support.d.ts.map +1 -0
- package/dist/systems/slab/slab-support.js +575 -0
- package/dist/systems/stair/stair-opening-preview.d.ts +1060 -935
- package/dist/systems/stair/stair-opening-preview.d.ts.map +1 -1
- package/dist/systems/stair/stair-opening-sync.d.ts.map +1 -1
- package/dist/systems/stair/stair-opening-sync.js +18 -15
- package/dist/systems/stair/stair-opening-system.d.ts.map +1 -1
- package/dist/systems/stair/stair-opening-system.js +32 -4
- package/dist/systems/stair/stair-rise.d.ts +22 -0
- package/dist/systems/stair/stair-rise.d.ts.map +1 -0
- package/dist/systems/stair/stair-rise.js +79 -0
- package/dist/systems/wall/wall-curve.d.ts +10 -0
- package/dist/systems/wall/wall-curve.d.ts.map +1 -1
- package/dist/systems/wall/wall-curve.js +1 -1
- package/dist/systems/wall/wall-mitering.js +6 -6
- package/dist/systems/wall/wall-top.d.ts +40 -0
- package/dist/systems/wall/wall-top.d.ts.map +1 -0
- package/dist/systems/wall/wall-top.js +46 -0
- package/dist/utils/clone-scene-graph.d.ts.map +1 -1
- package/dist/utils/clone-scene-graph.js +34 -3
- package/dist/utils/heal-scene-graph.d.ts +1 -1
- package/dist/utils/heal-scene-graph.d.ts.map +1 -1
- package/dist/utils/heal-scene-graph.js +25 -9
- package/dist/validation/validate-build-json.d.ts +2 -0
- package/dist/validation/validate-build-json.d.ts.map +1 -1
- package/dist/validation/validate-build-json.js +59 -3
- package/package.json +2 -2
- package/dist/hooks/scene-registry/scene-registry.test.d.ts +0 -2
- package/dist/hooks/scene-registry/scene-registry.test.d.ts.map +0 -1
- package/dist/hooks/scene-registry/scene-registry.test.js +0 -26
- package/dist/hooks/spatial-grid/floor-placed-elevation.test.d.ts +0 -2
- package/dist/hooks/spatial-grid/floor-placed-elevation.test.d.ts.map +0 -1
- package/dist/hooks/spatial-grid/floor-placed-elevation.test.js +0 -366
- package/dist/hooks/spatial-grid/wall-slab-overlap.test.d.ts +0 -2
- package/dist/hooks/spatial-grid/wall-slab-overlap.test.d.ts.map +0 -1
- package/dist/hooks/spatial-grid/wall-slab-overlap.test.js +0 -363
- package/dist/lib/measurement-geometry.test.d.ts +0 -2
- package/dist/lib/measurement-geometry.test.d.ts.map +0 -1
- package/dist/lib/measurement-geometry.test.js +0 -102
- package/dist/lib/slab-polygon.test.d.ts +0 -2
- package/dist/lib/slab-polygon.test.d.ts.map +0 -1
- package/dist/lib/slab-polygon.test.js +0 -635
- package/dist/lib/space-detection-pause.test.d.ts +0 -2
- package/dist/lib/space-detection-pause.test.d.ts.map +0 -1
- package/dist/lib/space-detection-pause.test.js +0 -42
- package/dist/lib/space-detection.test.d.ts +0 -2
- package/dist/lib/space-detection.test.d.ts.map +0 -1
- package/dist/lib/space-detection.test.js +0 -376
- package/dist/lib/zone-quantities.test.d.ts +0 -2
- package/dist/lib/zone-quantities.test.d.ts.map +0 -1
- package/dist/lib/zone-quantities.test.js +0 -82
- package/dist/registry/registry.test.d.ts +0 -2
- package/dist/registry/registry.test.d.ts.map +0 -1
- package/dist/registry/registry.test.js +0 -196
- package/dist/registry/relations-resolver.test.d.ts +0 -2
- package/dist/registry/relations-resolver.test.d.ts.map +0 -1
- package/dist/registry/relations-resolver.test.js +0 -183
- package/dist/registry/scene-api.test.d.ts +0 -2
- package/dist/registry/scene-api.test.d.ts.map +0 -1
- package/dist/registry/scene-api.test.js +0 -183
- package/dist/registry/subtree.test.d.ts +0 -2
- package/dist/registry/subtree.test.d.ts.map +0 -1
- package/dist/registry/subtree.test.js +0 -163
- package/dist/schema/asset-url.test.d.ts +0 -2
- package/dist/schema/asset-url.test.d.ts.map +0 -1
- package/dist/schema/asset-url.test.js +0 -134
- package/dist/schema/material.test.d.ts +0 -2
- package/dist/schema/material.test.d.ts.map +0 -1
- package/dist/schema/material.test.js +0 -43
- package/dist/schema/nodes/measurement.test.d.ts +0 -2
- package/dist/schema/nodes/measurement.test.d.ts.map +0 -1
- package/dist/schema/nodes/measurement.test.js +0 -139
- package/dist/schema/nodes/ridge-vent-defaults.test.d.ts +0 -2
- package/dist/schema/nodes/ridge-vent-defaults.test.d.ts.map +0 -1
- package/dist/schema/nodes/ridge-vent-defaults.test.js +0 -205
- package/dist/schema/nodes/roof-segment-shape.test.d.ts +0 -2
- package/dist/schema/nodes/roof-segment-shape.test.d.ts.map +0 -1
- package/dist/schema/nodes/roof-segment-shape.test.js +0 -175
- package/dist/schema/nodes/roof-segment-surface.test.d.ts +0 -2
- package/dist/schema/nodes/roof-segment-surface.test.d.ts.map +0 -1
- package/dist/schema/nodes/roof-segment-surface.test.js +0 -48
- package/dist/schema/nodes/roof-segment-trim.test.d.ts +0 -2
- package/dist/schema/nodes/roof-segment-trim.test.d.ts.map +0 -1
- package/dist/schema/nodes/roof-segment-trim.test.js +0 -107
- package/dist/schema/nodes/roof-segment-walls.test.d.ts +0 -2
- package/dist/schema/nodes/roof-segment-walls.test.d.ts.map +0 -1
- package/dist/schema/nodes/roof-segment-walls.test.js +0 -92
- package/dist/schema/nodes/wall.test.d.ts +0 -2
- package/dist/schema/nodes/wall.test.d.ts.map +0 -1
- package/dist/schema/nodes/wall.test.js +0 -208
- package/dist/services/alignment-anchors.test.d.ts +0 -2
- package/dist/services/alignment-anchors.test.d.ts.map +0 -1
- package/dist/services/alignment-anchors.test.js +0 -383
- package/dist/services/alignment.test.d.ts +0 -2
- package/dist/services/alignment.test.d.ts.map +0 -1
- package/dist/services/alignment.test.js +0 -92
- package/dist/services/drag-session.test.d.ts +0 -2
- package/dist/services/drag-session.test.d.ts.map +0 -1
- package/dist/services/drag-session.test.js +0 -219
- package/dist/services/hosting.test.d.ts +0 -2
- package/dist/services/hosting.test.d.ts.map +0 -1
- package/dist/services/hosting.test.js +0 -230
- package/dist/services/movement.test.d.ts +0 -2
- package/dist/services/movement.test.d.ts.map +0 -1
- package/dist/services/movement.test.js +0 -133
- package/dist/services/opening-guides.test.d.ts +0 -2
- package/dist/services/opening-guides.test.d.ts.map +0 -1
- package/dist/services/opening-guides.test.js +0 -208
- package/dist/services/port-connectivity.test.d.ts +0 -2
- package/dist/services/port-connectivity.test.d.ts.map +0 -1
- package/dist/services/port-connectivity.test.js +0 -297
- package/dist/services/riser-diagram.test.d.ts +0 -2
- package/dist/services/riser-diagram.test.d.ts.map +0 -1
- package/dist/services/riser-diagram.test.js +0 -66
- package/dist/services/single-undo-dance.test.d.ts +0 -2
- package/dist/services/single-undo-dance.test.d.ts.map +0 -1
- package/dist/services/single-undo-dance.test.js +0 -210
- package/dist/services/snap.test.d.ts +0 -2
- package/dist/services/snap.test.d.ts.map +0 -1
- package/dist/services/snap.test.js +0 -137
- package/dist/services/system-graph.test.d.ts +0 -2
- package/dist/services/system-graph.test.d.ts.map +0 -1
- package/dist/services/system-graph.test.js +0 -138
- package/dist/services/validate-dwv.test.d.ts +0 -2
- package/dist/services/validate-dwv.test.d.ts.map +0 -1
- package/dist/services/validate-dwv.test.js +0 -109
- package/dist/store/actions/node-mutation-sanitize.test.d.ts +0 -2
- package/dist/store/actions/node-mutation-sanitize.test.d.ts.map +0 -1
- package/dist/store/actions/node-mutation-sanitize.test.js +0 -147
- package/dist/store/actions/reparent.test.d.ts +0 -2
- package/dist/store/actions/reparent.test.d.ts.map +0 -1
- package/dist/store/actions/reparent.test.js +0 -212
- package/dist/store/actions/ridge-vent-update.test.d.ts +0 -2
- package/dist/store/actions/ridge-vent-update.test.d.ts.map +0 -1
- package/dist/store/actions/ridge-vent-update.test.js +0 -264
- package/dist/store/use-scene-dirty-tracking.test.d.ts +0 -2
- package/dist/store/use-scene-dirty-tracking.test.d.ts.map +0 -1
- package/dist/store/use-scene-dirty-tracking.test.js +0 -68
- package/dist/store/use-scene-elevator-migration.test.d.ts +0 -2
- package/dist/store/use-scene-elevator-migration.test.d.ts.map +0 -1
- package/dist/store/use-scene-elevator-migration.test.js +0 -109
- package/dist/store/use-scene-measurement-roundtrip.test.d.ts +0 -2
- package/dist/store/use-scene-measurement-roundtrip.test.d.ts.map +0 -1
- package/dist/store/use-scene-measurement-roundtrip.test.js +0 -97
- package/dist/store/use-scene-plugins.test.d.ts +0 -2
- package/dist/store/use-scene-plugins.test.d.ts.map +0 -1
- package/dist/store/use-scene-plugins.test.js +0 -51
- package/dist/store/use-scene-wall-slot-migration.test.d.ts +0 -2
- package/dist/store/use-scene-wall-slot-migration.test.d.ts.map +0 -1
- package/dist/store/use-scene-wall-slot-migration.test.js +0 -210
- package/dist/store/use-scene-window-migration.test.d.ts +0 -2
- package/dist/store/use-scene-window-migration.test.d.ts.map +0 -1
- package/dist/store/use-scene-window-migration.test.js +0 -85
- package/dist/systems/elevator/elevator-opening-sync.test.d.ts +0 -2
- package/dist/systems/elevator/elevator-opening-sync.test.d.ts.map +0 -1
- package/dist/systems/elevator/elevator-opening-sync.test.js +0 -146
- package/dist/systems/elevator/elevator-runtime.test.d.ts +0 -2
- package/dist/systems/elevator/elevator-runtime.test.d.ts.map +0 -1
- package/dist/systems/elevator/elevator-runtime.test.js +0 -64
- package/dist/systems/fence/fence-spline.test.d.ts +0 -2
- package/dist/systems/fence/fence-spline.test.d.ts.map +0 -1
- package/dist/systems/fence/fence-spline.test.js +0 -136
- package/dist/systems/stair/stair-opening-preview.test.d.ts +0 -2
- package/dist/systems/stair/stair-opening-preview.test.d.ts.map +0 -1
- package/dist/systems/stair/stair-opening-preview.test.js +0 -80
- package/dist/systems/stair/stair-opening-sync.test.d.ts +0 -2
- package/dist/systems/stair/stair-opening-sync.test.d.ts.map +0 -1
- package/dist/systems/stair/stair-opening-sync.test.js +0 -485
- package/dist/systems/wall/wall-mitering.test.d.ts +0 -2
- package/dist/systems/wall/wall-mitering.test.d.ts.map +0 -1
- package/dist/systems/wall/wall-mitering.test.js +0 -63
- package/dist/utils/clone-scene-graph.test.d.ts +0 -2
- package/dist/utils/clone-scene-graph.test.d.ts.map +0 -1
- package/dist/utils/clone-scene-graph.test.js +0 -62
- package/dist/utils/heal-scene-graph.test.d.ts +0 -2
- package/dist/utils/heal-scene-graph.test.d.ts.map +0 -1
- package/dist/utils/heal-scene-graph.test.js +0 -88
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"elevator-opening-system.d.ts","sourceRoot":"","sources":["../../../src/systems/elevator/elevator-opening-system.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"elevator-opening-system.d.ts","sourceRoot":"","sources":["../../../src/systems/elevator/elevator-opening-system.tsx"],"names":[],"mappings":"AAmCA,wBAAgB,6BAA6B,eAsB5C;AAED,eAAO,MAAM,qBAAqB,YAIjC,CAAA"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { useEffect
|
|
2
|
+
import { useEffect } from 'react';
|
|
3
|
+
import { pauseSceneHistory, resumeSceneHistory } from '../../store/history-control';
|
|
3
4
|
import useScene from '../../store/use-scene';
|
|
4
5
|
import { syncAutoElevatorOpenings } from './elevator-opening-sync';
|
|
5
6
|
function isOpeningRelevantNode(node) {
|
|
@@ -23,26 +24,31 @@ function hasOpeningRelevantNodeChange(nextNodes, prevNodes) {
|
|
|
23
24
|
}
|
|
24
25
|
return false;
|
|
25
26
|
}
|
|
26
|
-
export
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
27
|
+
export function initializeElevatorOpeningSync() {
|
|
28
|
+
let syncingAutoOpenings = false;
|
|
29
|
+
const applyUpdates = (updates) => {
|
|
30
|
+
if (updates.length === 0)
|
|
31
|
+
return;
|
|
32
|
+
syncingAutoOpenings = true;
|
|
33
|
+
pauseSceneHistory(useScene);
|
|
34
|
+
try {
|
|
33
35
|
useScene.getState().updateNodes(updates);
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
36
|
+
}
|
|
37
|
+
finally {
|
|
38
|
+
resumeSceneHistory(useScene);
|
|
39
|
+
syncingAutoOpenings = false;
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
applyUpdates(syncAutoElevatorOpenings(useScene.getState().nodes));
|
|
43
|
+
return useScene.subscribe((state, prevState) => {
|
|
44
|
+
if (syncingAutoOpenings)
|
|
45
|
+
return;
|
|
46
|
+
if (!hasOpeningRelevantNodeChange(state.nodes, prevState.nodes))
|
|
47
|
+
return;
|
|
48
|
+
applyUpdates(syncAutoElevatorOpenings(state.nodes));
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
export const ElevatorOpeningSystem = () => {
|
|
52
|
+
useEffect(() => initializeElevatorOpeningSync(), []);
|
|
47
53
|
return null;
|
|
48
54
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { AnyNode, ElevatorNode, LevelNode } from '../../schema';
|
|
2
|
-
export declare const DEFAULT_ELEVATOR_LEVEL_HEIGHT = 2.5;
|
|
3
2
|
export type ElevatorLevelEntry = {
|
|
4
3
|
id: LevelNode['id'];
|
|
5
4
|
label: string;
|
|
@@ -8,7 +7,6 @@ export type ElevatorLevelEntry = {
|
|
|
8
7
|
export declare function resolveElevatorBuildingLevels(elevator: ElevatorNode, nodes: Record<string, AnyNode>): LevelNode[];
|
|
9
8
|
export declare function resolveElevatorServiceLevelIds(elevator: ElevatorNode, nodes: Record<string, AnyNode>): string[];
|
|
10
9
|
export declare function resolveElevatorServiceLevels(elevator: ElevatorNode, nodes: Record<string, AnyNode>): LevelNode[];
|
|
11
|
-
export declare function getElevatorLevelHeight(levelId: string, nodes: Record<string, AnyNode>): number;
|
|
12
10
|
export declare function resolveElevatorLevels(elevator: ElevatorNode, nodes: Record<string, AnyNode>): {
|
|
13
11
|
entries: ElevatorLevelEntry[];
|
|
14
12
|
defaultEntry: ElevatorLevelEntry | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"elevator-service.d.ts","sourceRoot":"","sources":["../../../src/systems/elevator/elevator-service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"elevator-service.d.ts","sourceRoot":"","sources":["../../../src/systems/elevator/elevator-service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAa,YAAY,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAG/E,MAAM,MAAM,kBAAkB,GAAG;IAC/B,EAAE,EAAE,SAAS,CAAC,IAAI,CAAC,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AA2BD,wBAAgB,6BAA6B,CAC3C,QAAQ,EAAE,YAAY,EACtB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC7B,SAAS,EAAE,CAEb;AAED,wBAAgB,8BAA8B,CAC5C,QAAQ,EAAE,YAAY,EACtB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC7B,MAAM,EAAE,CAEV;AAED,wBAAgB,4BAA4B,CAC1C,QAAQ,EAAE,YAAY,EACtB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC7B,SAAS,EAAE,CAsBb;AAED,wBAAgB,qBAAqB,CACnC,QAAQ,EAAE,YAAY,EACtB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC7B;IACD,OAAO,EAAE,kBAAkB,EAAE,CAAA;IAC7B,YAAY,EAAE,kBAAkB,GAAG,IAAI,CAAA;IACvC,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;CACpB,CA0CA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { getStoredLevelHeight } from '../../services/storey';
|
|
2
2
|
function getBuildingLevels(elevator, nodes) {
|
|
3
3
|
const building = elevator.parentId && nodes[elevator.parentId]?.type === 'building'
|
|
4
4
|
? nodes[elevator.parentId]
|
|
@@ -49,35 +49,13 @@ export function resolveElevatorServiceLevels(elevator, nodes) {
|
|
|
49
49
|
const maxIndex = Math.max(fromIndex, resolvedToIndex);
|
|
50
50
|
return levels.slice(minIndex, maxIndex + 1);
|
|
51
51
|
}
|
|
52
|
-
export function getElevatorLevelHeight(levelId, nodes) {
|
|
53
|
-
const level = nodes[levelId];
|
|
54
|
-
if (level?.type !== 'level')
|
|
55
|
-
return DEFAULT_ELEVATOR_LEVEL_HEIGHT;
|
|
56
|
-
let maxTop = 0;
|
|
57
|
-
for (const childId of level.children) {
|
|
58
|
-
const child = nodes[childId];
|
|
59
|
-
if (!child)
|
|
60
|
-
continue;
|
|
61
|
-
if (child.type === 'ceiling') {
|
|
62
|
-
const height = child.height ?? DEFAULT_ELEVATOR_LEVEL_HEIGHT;
|
|
63
|
-
if (height > maxTop)
|
|
64
|
-
maxTop = height;
|
|
65
|
-
}
|
|
66
|
-
else if (child.type === 'wall') {
|
|
67
|
-
const height = child.height ?? DEFAULT_ELEVATOR_LEVEL_HEIGHT;
|
|
68
|
-
if (height > maxTop)
|
|
69
|
-
maxTop = height;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
return maxTop > 0 ? maxTop : DEFAULT_ELEVATOR_LEVEL_HEIGHT;
|
|
73
|
-
}
|
|
74
52
|
export function resolveElevatorLevels(elevator, nodes) {
|
|
75
53
|
const allLevels = resolveElevatorBuildingLevels(elevator, nodes);
|
|
76
54
|
const baseYByLevelId = new Map();
|
|
77
55
|
let cumulativeY = 0;
|
|
78
56
|
for (const level of allLevels) {
|
|
79
57
|
baseYByLevelId.set(level.id, cumulativeY);
|
|
80
|
-
cumulativeY +=
|
|
58
|
+
cumulativeY += getStoredLevelHeight(level);
|
|
81
59
|
}
|
|
82
60
|
const serviceLevels = resolveElevatorServiceLevels(elevator, nodes);
|
|
83
61
|
const entries = serviceLevels.map((level) => ({
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { SlabNode } from '../../schema';
|
|
2
|
+
/**
|
|
3
|
+
* Translate a solid slab's authored vertical interval onto a chosen base plane.
|
|
4
|
+
*
|
|
5
|
+
* `slab.elevation` is the authored top relative to the placement plane and
|
|
6
|
+
* `thickness` grows downward. Adding the base therefore preserves both the
|
|
7
|
+
* thickness and any intentional clearance in a preset. Recessed slabs keep
|
|
8
|
+
* their level-relative depth because their rim is defined by the level plane.
|
|
9
|
+
*/
|
|
10
|
+
export declare function resolveSlabPlacementElevation(slab: Pick<SlabNode, 'elevation' | 'recessed'>, baseElevation: number | null | undefined): number;
|
|
11
|
+
//# sourceMappingURL=slab-placement.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slab-placement.d.ts","sourceRoot":"","sources":["../../../src/systems/slab/slab-placement.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAE5C;;;;;;;GAOG;AACH,wBAAgB,6BAA6B,CAC3C,IAAI,EAAE,IAAI,CAAC,QAAQ,EAAE,WAAW,GAAG,UAAU,CAAC,EAC9C,aAAa,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GACvC,MAAM,CAKR"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Translate a solid slab's authored vertical interval onto a chosen base plane.
|
|
3
|
+
*
|
|
4
|
+
* `slab.elevation` is the authored top relative to the placement plane and
|
|
5
|
+
* `thickness` grows downward. Adding the base therefore preserves both the
|
|
6
|
+
* thickness and any intentional clearance in a preset. Recessed slabs keep
|
|
7
|
+
* their level-relative depth because their rim is defined by the level plane.
|
|
8
|
+
*/
|
|
9
|
+
export function resolveSlabPlacementElevation(slab, baseElevation) {
|
|
10
|
+
if (slab.recessed || baseElevation == null || !Number.isFinite(baseElevation)) {
|
|
11
|
+
return slab.elevation;
|
|
12
|
+
}
|
|
13
|
+
return slab.elevation + baseElevation;
|
|
14
|
+
}
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import type { SlabNode, WallNode } from '../../schema';
|
|
2
|
+
export type SlabElevationClamp = {
|
|
3
|
+
elevation: number;
|
|
4
|
+
clamped: boolean;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Clamp-never-ask upper bound for a slab's elevation. A plane-bound wall
|
|
8
|
+
* (no stored `height`) keeps its top at the storey plane, so a slab that
|
|
9
|
+
* rises past `storeyHeight - MIN_WALL_HEIGHT` while electing as that
|
|
10
|
+
* wall's base would squeeze the wall body below its minimum (and at the
|
|
11
|
+
* plane, to nothing). Walls with explicit heights don't constrain — their
|
|
12
|
+
* top rides the elected base, not the plane. Negative proposals (the
|
|
13
|
+
* drag-through-zero path that commits the `recessed` intent) pass
|
|
14
|
+
* through untouched: this is a purely numeric upper bound.
|
|
15
|
+
*
|
|
16
|
+
* The election runs against `levelSlabs` with `proposedElevation`
|
|
17
|
+
* substituted into `slab`, so a slab that would only WIN the election at
|
|
18
|
+
* the proposed elevation still clamps, and a slab out-elected by a
|
|
19
|
+
* sibling doesn't. Pure.
|
|
20
|
+
*/
|
|
21
|
+
export declare function clampSlabElevationForWalls(proposedElevation: number, slab: SlabNode, levelWalls: WallNode[], levelSlabs: readonly SlabNode[], storeyHeight: number): SlabElevationClamp;
|
|
22
|
+
/**
|
|
23
|
+
* Static upper bound for a slab-elevation drag: probe the election with
|
|
24
|
+
* the slab raised above every sibling and the storey plane. If any
|
|
25
|
+
* plane-bound wall would elect it there, the drag may not pass
|
|
26
|
+
* `storeyHeight - MIN_WALL_HEIGHT`; otherwise it is unbounded above.
|
|
27
|
+
*/
|
|
28
|
+
export declare function getSlabElevationUpperBound(slab: SlabNode, levelWalls: WallNode[], levelSlabs: readonly SlabNode[], storeyHeight: number): number;
|
|
29
|
+
/**
|
|
30
|
+
* Point-in-polygon test using ray casting algorithm.
|
|
31
|
+
*/
|
|
32
|
+
export declare function pointInPolygon(px: number, pz: number, polygon: Array<[number, number]>): boolean;
|
|
33
|
+
export declare function pointOnPolygonBoundary(px: number, pz: number, polygon: Array<[number, number]>): boolean;
|
|
34
|
+
export type WallOverlapInput = {
|
|
35
|
+
start: [number, number];
|
|
36
|
+
end: [number, number];
|
|
37
|
+
curveOffset?: number;
|
|
38
|
+
thickness?: number;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Test whether a wall overlaps a slab polygon along a segment of its length.
|
|
42
|
+
*
|
|
43
|
+
* The wall's centerline and both face lines are clipped against the polygon;
|
|
44
|
+
* the wall overlaps when the longest clipped inside-or-on-boundary length
|
|
45
|
+
* exceeds a threshold (5cm, halved for very short walls). Because interval
|
|
46
|
+
* midpoints classify "on the boundary" as inside explicitly (never by
|
|
47
|
+
* ray-cast tie-breaking), a wall sitting exactly on a slab edge resolves
|
|
48
|
+
* identically on every side of the slab.
|
|
49
|
+
*
|
|
50
|
+
* A wall that only touches the polygon at a point — a perpendicular wall
|
|
51
|
+
* butting into a room's edge, or a corner-to-corner touch — clips to ~zero
|
|
52
|
+
* length and does NOT overlap.
|
|
53
|
+
*/
|
|
54
|
+
export declare function wallOverlapsPolygon(startOrWall: [number, number] | WallOverlapInput, endOrPolygon: [number, number] | Array<[number, number]>, polygonArg?: Array<[number, number]>): boolean;
|
|
55
|
+
/**
|
|
56
|
+
* {@link wallOverlapsPolygon} with the slab's stored holes subtracted from
|
|
57
|
+
* the covered length: a wall whose band only reaches the polygon inside a
|
|
58
|
+
* hole does not overlap. Hole boundaries keep coverage (rim convention —
|
|
59
|
+
* see {@link computeWallSlabSupport}). Polygon boundary contact counts as
|
|
60
|
+
* covered, so a wall sitting exactly on a slab edge resolves identically
|
|
61
|
+
* on every side of the slab. Pure.
|
|
62
|
+
*/
|
|
63
|
+
export declare function wallOverlapsSlabFootprint(wallLike: WallOverlapInput, polygon: Array<[number, number]>, holes?: ReadonlyArray<Array<[number, number]>>): boolean;
|
|
64
|
+
/**
|
|
65
|
+
* Tolerance for the pointer-decided support cap: a slab still counts as
|
|
66
|
+
* "the surface you're pointing at (or below)" when its walking surface is
|
|
67
|
+
* within this many meters ABOVE the pointed elevation. Absorbs elevation
|
|
68
|
+
* noise between the ray hit and slab tops without letting a deck hanging
|
|
69
|
+
* clearly above the hit point capture the election. Defined here (rather
|
|
70
|
+
* than in the spatial-grid manager, which re-exports it) so the wall
|
|
71
|
+
* election below can honour the same cap without an import cycle.
|
|
72
|
+
*/
|
|
73
|
+
export declare const SUPPORT_ELEVATION_EPSILON = 0.05;
|
|
74
|
+
/**
|
|
75
|
+
* Base elevation for a wall, decided by which slabs actually SUPPORT it.
|
|
76
|
+
*
|
|
77
|
+
* Support is measured as covered length: the wall's centerline and face
|
|
78
|
+
* lines are clipped against each slab's RENDERED footprint
|
|
79
|
+
* (`getRenderableSlabPolygon` with the level walls + siblings, not the
|
|
80
|
+
* stored polygon — legacy polygons stored at wall faces or with old
|
|
81
|
+
* baked offsets fall short of the wall body, but their band-adopted
|
|
82
|
+
* rendered edge reaches the wall's outer face) minus the slab's stored
|
|
83
|
+
* holes (holes are data, never render-offset). A slab supporting less
|
|
84
|
+
* than `WALL_SLAB_MIN_OVERLAP` of the wall is ignored entirely (point
|
|
85
|
+
* contact, endpoint grazes).
|
|
86
|
+
*
|
|
87
|
+
* Same-elevation slabs pool their coverage. `elevation` is elected from
|
|
88
|
+
* the wall's carrying profile: per arc segment, the highest support on
|
|
89
|
+
* each face, then the min across supported faces — so a slab that only
|
|
90
|
+
* brushes one face (e.g. an elevated deck adjacent along the outer face)
|
|
91
|
+
* never lifts the wall origin. The highest carrying elevation covering
|
|
92
|
+
* at least `WALL_SLAB_SUPPORT_MAJORITY` of the wall wins, or the
|
|
93
|
+
* best-covered carrying elevation when none reaches majority.
|
|
94
|
+
* `baseElevation` only fills down
|
|
95
|
+
* where a lower support remains exposed on a wall face after higher,
|
|
96
|
+
* overlapping support is accounted for. Coincident floor/platform slabs
|
|
97
|
+
* therefore keep the wall on the platform, while slabs on opposite wall
|
|
98
|
+
* sides bridge correctly. A slab touching only one endpoint never enters
|
|
99
|
+
* either result. Pure;
|
|
100
|
+
* exported for tests.
|
|
101
|
+
*/
|
|
102
|
+
export type WallSlabSupport = {
|
|
103
|
+
/** Existing wall-relative floor elevation used by hosted children and wall height. */
|
|
104
|
+
elevation: number;
|
|
105
|
+
/** Slab whose elevation won the election, or null when the wall has no support. */
|
|
106
|
+
electedSlabId: string | null;
|
|
107
|
+
/** Lowest exposed adjacent support; wall geometry fills down to this elevation. */
|
|
108
|
+
baseElevation: number;
|
|
109
|
+
/** Piecewise bottom elevation along the wall centerline, in normalized arc-length units. */
|
|
110
|
+
baseSegments: WallSlabSupportSegment[];
|
|
111
|
+
};
|
|
112
|
+
export type WallSlabSupportSegment = {
|
|
113
|
+
start: number;
|
|
114
|
+
end: number;
|
|
115
|
+
elevation: number;
|
|
116
|
+
};
|
|
117
|
+
/**
|
|
118
|
+
* `preferredSlabId` is a persisted support host (`wall.supportSlabId`):
|
|
119
|
+
* while that slab is still in the candidate set (still overlaps the wall
|
|
120
|
+
* band with enough covered length), the elected `elevation` is pinned to
|
|
121
|
+
* it instead of the majority/best-coverage election. `baseSegments` /
|
|
122
|
+
* `baseElevation` (fill-down) still derive from ALL supporting slabs
|
|
123
|
+
* unchanged. A preferred slab that no longer qualifies is silently
|
|
124
|
+
* ignored — deliberately never cleared here, so the host resumes if the
|
|
125
|
+
* slab's polygon returns (only slab deletion strips the stored field).
|
|
126
|
+
*
|
|
127
|
+
* `maxElevation` is the pointer-decided support cap (level-local Y, same
|
|
128
|
+
* semantics as the item election): when set, elevation groups whose
|
|
129
|
+
* walking surface sits above `maxElevation + SUPPORT_ELEVATION_EPSILON`
|
|
130
|
+
* are excluded from the majority/best election — a deck hanging above the
|
|
131
|
+
* surface the cursor ray actually hit never captures the elected base.
|
|
132
|
+
* `baseSegments` / `baseElevation` stay uncapped (geometry fill-down), and
|
|
133
|
+
* an explicit `preferredSlabId` still wins over the cap.
|
|
134
|
+
*
|
|
135
|
+
* `levelBase` is what "no slab supports this here" evaluates to — the
|
|
136
|
+
* sculpted ground under the wall (`levelBaseElevationAt`), or 0 for a level
|
|
137
|
+
* with no terrain under it. A caller-resolved scalar rather than a terrain
|
|
138
|
+
* lookup in here, so this stays pure and the sample stays at the wall's own
|
|
139
|
+
* XZ. It substitutes for every place this function used to write a literal
|
|
140
|
+
* `0`, and nowhere else: a slab that supports the wall's faces still wins
|
|
141
|
+
* outright, so a slab pad on a hillside keeps its wall at the pad's
|
|
142
|
+
* elevation instead of being overruled by the ground around it. The one
|
|
143
|
+
* clamp — center-only support, where the old code already clamped a
|
|
144
|
+
* recessed slab up to `0` so a wall over a pool didn't sink — generalizes to
|
|
145
|
+
* "never below the ground", which is the same rule with the ground no longer
|
|
146
|
+
* assumed flat.
|
|
147
|
+
*/
|
|
148
|
+
export declare function computeWallSlabSupport(wallLike: WallOverlapInput, slabs: readonly SlabNode[], levelWalls: WallNode[], preferredSlabId?: string | null, maxElevation?: number | null, levelBase?: number): WallSlabSupport;
|
|
149
|
+
export declare function computeWallSlabElevation(wallLike: WallOverlapInput, slabs: readonly SlabNode[], levelWalls: WallNode[]): number;
|
|
150
|
+
//# sourceMappingURL=slab-support.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slab-support.d.ts","sourceRoot":"","sources":["../../../src/systems/slab/slab-support.ts"],"names":[],"mappings":"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"}
|