@pascal-app/core 1.0.6 → 1.1.0
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/dist/agent-operations/__fixtures__/add-object-cases.d.ts +31 -0
- package/dist/agent-operations/__fixtures__/add-object-cases.d.ts.map +1 -1
- package/dist/agent-operations/__fixtures__/build-room-cases.d.ts.map +1 -1
- package/dist/agent-operations/__fixtures__/build-room-cases.js +27 -0
- package/dist/agent-operations/__fixtures__/cases.d.ts.map +1 -1
- package/dist/agent-operations/__fixtures__/cases.js +19 -11
- package/dist/agent-operations/__fixtures__/design-brief-cases.d.ts +25 -2
- package/dist/agent-operations/__fixtures__/design-brief-cases.d.ts.map +1 -1
- package/dist/agent-operations/__fixtures__/design-brief-cases.js +509 -66
- package/dist/agent-operations/__fixtures__/dressing-scenes.d.ts +30 -0
- package/dist/agent-operations/__fixtures__/dressing-scenes.d.ts.map +1 -0
- package/dist/agent-operations/__fixtures__/dressing-scenes.js +82 -0
- package/dist/agent-operations/__fixtures__/native-materials.d.ts +411 -9
- package/dist/agent-operations/__fixtures__/native-materials.d.ts.map +1 -1
- package/dist/agent-operations/__fixtures__/notation-cases.d.ts.map +1 -1
- package/dist/agent-operations/__fixtures__/notation-cases.js +14 -0
- package/dist/agent-operations/__fixtures__/roof-bearing-cases.d.ts +13804 -10600
- package/dist/agent-operations/__fixtures__/roof-bearing-cases.d.ts.map +1 -1
- package/dist/agent-operations/__fixtures__/room-cases.d.ts +1 -0
- package/dist/agent-operations/__fixtures__/room-cases.d.ts.map +1 -1
- package/dist/agent-operations/__fixtures__/room-cases.js +57 -1
- package/dist/agent-operations/__fixtures__/room-check-scenes.d.ts +51 -0
- package/dist/agent-operations/__fixtures__/room-check-scenes.d.ts.map +1 -0
- package/dist/agent-operations/__fixtures__/room-check-scenes.js +121 -0
- package/dist/agent-operations/__fixtures__/scene-check-cases.d.ts.map +1 -1
- package/dist/agent-operations/__fixtures__/scene-check-cases.js +152 -18
- package/dist/agent-operations/__fixtures__/search-assets-cases.d.ts.map +1 -1
- package/dist/agent-operations/__fixtures__/search-assets-cases.js +91 -0
- package/dist/agent-operations/__fixtures__/site-cases.d.ts +40 -1
- package/dist/agent-operations/__fixtures__/site-cases.d.ts.map +1 -1
- package/dist/agent-operations/__fixtures__/structure-cases.d.ts +3 -0
- package/dist/agent-operations/__fixtures__/structure-cases.d.ts.map +1 -1
- package/dist/agent-operations/__fixtures__/structure-cases.js +199 -18
- package/dist/agent-operations/__fixtures__/unit-cases.d.ts +6 -0
- package/dist/agent-operations/__fixtures__/unit-cases.d.ts.map +1 -0
- package/dist/agent-operations/__fixtures__/unit-cases.js +266 -0
- package/dist/agent-operations/__fixtures__/verify-scene-cases.d.ts +37 -1
- package/dist/agent-operations/__fixtures__/verify-scene-cases.d.ts.map +1 -1
- package/dist/agent-operations/add-column.d.ts.map +1 -1
- package/dist/agent-operations/add-column.js +32 -3
- package/dist/agent-operations/add-fence.d.ts.map +1 -1
- package/dist/agent-operations/add-fence.js +2 -1
- package/dist/agent-operations/add-level.d.ts.map +1 -1
- package/dist/agent-operations/add-level.js +4 -4
- package/dist/agent-operations/add-object.d.ts +32 -6
- package/dist/agent-operations/add-object.d.ts.map +1 -1
- package/dist/agent-operations/add-object.js +59 -12
- package/dist/agent-operations/add-wall.d.ts +3 -8
- package/dist/agent-operations/add-wall.d.ts.map +1 -1
- package/dist/agent-operations/add-wall.js +31 -8
- package/dist/agent-operations/apply-changes.d.ts.map +1 -1
- package/dist/agent-operations/apply-changes.js +2 -1
- package/dist/agent-operations/asset-catalog.d.ts +63 -0
- package/dist/agent-operations/asset-catalog.d.ts.map +1 -0
- package/dist/agent-operations/asset-catalog.js +182 -0
- package/dist/agent-operations/asset-views.d.ts +4 -2
- package/dist/agent-operations/asset-views.d.ts.map +1 -1
- package/dist/agent-operations/asset-views.js +1 -3
- package/dist/agent-operations/author-scene-checks.d.ts +38 -0
- package/dist/agent-operations/author-scene-checks.d.ts.map +1 -0
- package/dist/agent-operations/author-scene-checks.js +266 -0
- package/dist/agent-operations/author-scene.d.ts +54 -20
- package/dist/agent-operations/author-scene.d.ts.map +1 -1
- package/dist/agent-operations/author-scene.js +1163 -196
- package/dist/agent-operations/authored-scene-merge.d.ts.map +1 -1
- package/dist/agent-operations/authored-scene-merge.js +61 -3
- package/dist/agent-operations/batch.d.ts +1 -1
- package/dist/agent-operations/batch.d.ts.map +1 -1
- package/dist/agent-operations/batch.js +38 -39
- package/dist/agent-operations/ceiling-object-observations.d.ts.map +1 -1
- package/dist/agent-operations/ceiling-object-observations.js +5 -4
- package/dist/agent-operations/circulation-geometry.d.ts +14 -0
- package/dist/agent-operations/circulation-geometry.d.ts.map +1 -0
- package/dist/agent-operations/circulation-geometry.js +151 -0
- package/dist/agent-operations/circulation-graph.d.ts +72 -0
- package/dist/agent-operations/circulation-graph.d.ts.map +1 -0
- package/dist/agent-operations/circulation-graph.js +713 -0
- package/dist/agent-operations/circulation-non-spaces.d.ts +10 -0
- package/dist/agent-operations/circulation-non-spaces.d.ts.map +1 -0
- package/dist/agent-operations/circulation-non-spaces.js +88 -0
- package/dist/agent-operations/circulation-spaces.d.ts +5881 -0
- package/dist/agent-operations/circulation-spaces.d.ts.map +1 -0
- package/dist/agent-operations/circulation-spaces.js +368 -0
- package/dist/agent-operations/collections.d.ts.map +1 -1
- package/dist/agent-operations/collections.js +9 -7
- package/dist/agent-operations/corner-window.d.ts.map +1 -1
- package/dist/agent-operations/corner-window.js +2 -4
- package/dist/agent-operations/create-roof.d.ts.map +1 -1
- package/dist/agent-operations/create-roof.js +5 -7
- package/dist/agent-operations/create-room.d.ts +4 -1
- package/dist/agent-operations/create-room.d.ts.map +1 -1
- package/dist/agent-operations/create-room.js +7 -4
- package/dist/agent-operations/create-stair.js +2 -2
- package/dist/agent-operations/design-brief.d.ts +13 -7
- package/dist/agent-operations/design-brief.d.ts.map +1 -1
- package/dist/agent-operations/design-brief.js +172 -92
- package/dist/agent-operations/door-clearance.d.ts +68 -8
- package/dist/agent-operations/door-clearance.d.ts.map +1 -1
- package/dist/agent-operations/door-clearance.js +127 -20
- package/dist/agent-operations/dress-targets.d.ts +23 -0
- package/dist/agent-operations/dress-targets.d.ts.map +1 -0
- package/dist/agent-operations/dress-targets.js +34 -0
- package/dist/agent-operations/duplicate-node.d.ts +14 -0
- package/dist/agent-operations/duplicate-node.d.ts.map +1 -0
- package/dist/agent-operations/duplicate-node.js +173 -0
- package/dist/agent-operations/find-by-type.d.ts.map +1 -1
- package/dist/agent-operations/find-by-type.js +3 -0
- package/dist/agent-operations/furnish-room.d.ts +2 -0
- package/dist/agent-operations/furnish-room.d.ts.map +1 -1
- package/dist/agent-operations/furnish-room.js +15 -4
- package/dist/agent-operations/furniture-kind.d.ts +28 -1
- package/dist/agent-operations/furniture-kind.d.ts.map +1 -1
- package/dist/agent-operations/furniture-kind.js +105 -6
- package/dist/agent-operations/ground-reader.d.ts +10 -0
- package/dist/agent-operations/ground-reader.d.ts.map +1 -0
- package/dist/agent-operations/ground-reader.js +25 -0
- package/dist/agent-operations/index.d.ts +118 -12
- package/dist/agent-operations/index.d.ts.map +1 -1
- package/dist/agent-operations/index.js +26 -1
- package/dist/agent-operations/item-solids.d.ts +39 -0
- package/dist/agent-operations/item-solids.d.ts.map +1 -0
- package/dist/agent-operations/item-solids.js +128 -0
- package/dist/agent-operations/layout-clearance.d.ts +91 -11
- package/dist/agent-operations/layout-clearance.d.ts.map +1 -1
- package/dist/agent-operations/layout-clearance.js +280 -73
- package/dist/agent-operations/level-height-fill.d.ts.map +1 -1
- package/dist/agent-operations/level-height-fill.js +7 -1
- package/dist/agent-operations/level-reads.d.ts +5 -0
- package/dist/agent-operations/level-reads.d.ts.map +1 -1
- package/dist/agent-operations/level-reads.js +39 -3
- package/dist/agent-operations/list-levels.d.ts.map +1 -1
- package/dist/agent-operations/list-levels.js +2 -4
- package/dist/agent-operations/move-node.d.ts +12 -0
- package/dist/agent-operations/move-node.d.ts.map +1 -0
- package/dist/agent-operations/move-node.js +28 -0
- package/dist/agent-operations/move-plan.d.ts +28 -0
- package/dist/agent-operations/move-plan.d.ts.map +1 -0
- package/dist/agent-operations/move-plan.js +259 -0
- package/dist/agent-operations/node-patch.d.ts.map +1 -1
- package/dist/agent-operations/node-patch.js +15 -0
- package/dist/agent-operations/paint.d.ts +3 -1
- package/dist/agent-operations/paint.d.ts.map +1 -1
- package/dist/agent-operations/paint.js +14 -1
- package/dist/agent-operations/photo-elevation.d.ts.map +1 -1
- package/dist/agent-operations/photo-elevation.js +2 -1
- package/dist/agent-operations/place-in-room.d.ts.map +1 -1
- package/dist/agent-operations/place-in-room.js +1 -0
- package/dist/agent-operations/place-items.d.ts.map +1 -1
- package/dist/agent-operations/place-items.js +3 -4
- package/dist/agent-operations/plan-clearance.d.ts +28 -0
- package/dist/agent-operations/plan-clearance.d.ts.map +1 -0
- package/dist/agent-operations/plan-clearance.js +47 -0
- package/dist/agent-operations/plan-geometry.d.ts +2 -0
- package/dist/agent-operations/plan-geometry.d.ts.map +1 -1
- package/dist/agent-operations/plan-geometry.js +10 -0
- package/dist/agent-operations/project-files.d.ts +10 -0
- package/dist/agent-operations/project-files.d.ts.map +1 -1
- package/dist/agent-operations/reachability.d.ts +41 -0
- package/dist/agent-operations/reachability.d.ts.map +1 -0
- package/dist/agent-operations/reachability.js +199 -0
- package/dist/agent-operations/room-checks.d.ts +60 -0
- package/dist/agent-operations/room-checks.d.ts.map +1 -0
- package/dist/agent-operations/room-checks.js +226 -0
- package/dist/agent-operations/room-faces.d.ts +30 -0
- package/dist/agent-operations/room-faces.d.ts.map +1 -0
- package/dist/agent-operations/room-faces.js +31 -0
- package/dist/agent-operations/room-findings.d.ts +5 -2
- package/dist/agent-operations/room-findings.d.ts.map +1 -1
- package/dist/agent-operations/room-findings.js +30 -0
- package/dist/agent-operations/room-finishes.d.ts +87 -0
- package/dist/agent-operations/room-finishes.d.ts.map +1 -0
- package/dist/agent-operations/room-finishes.js +193 -0
- package/dist/agent-operations/room-floor-script.d.ts +3 -3
- package/dist/agent-operations/room-floor-script.js +3 -3
- package/dist/agent-operations/room-readings.d.ts +90 -0
- package/dist/agent-operations/room-readings.d.ts.map +1 -0
- package/dist/agent-operations/room-readings.js +369 -0
- package/dist/agent-operations/room-tile.d.ts +15 -0
- package/dist/agent-operations/room-tile.d.ts.map +1 -0
- package/dist/agent-operations/room-tile.js +30 -0
- package/dist/agent-operations/room-wet.d.ts +55 -0
- package/dist/agent-operations/room-wet.d.ts.map +1 -0
- package/dist/agent-operations/room-wet.js +203 -0
- package/dist/agent-operations/scene-check-policy.d.ts +5 -0
- package/dist/agent-operations/scene-check-policy.d.ts.map +1 -0
- package/dist/agent-operations/scene-check-policy.js +24 -0
- package/dist/agent-operations/scene-checkpoint.d.ts +10 -0
- package/dist/agent-operations/scene-checkpoint.d.ts.map +1 -1
- package/dist/agent-operations/scene-checkpoint.js +31 -0
- package/dist/agent-operations/scene-issue-groups.d.ts +17 -0
- package/dist/agent-operations/scene-issue-groups.d.ts.map +1 -0
- package/dist/agent-operations/scene-issue-groups.js +71 -0
- package/dist/agent-operations/scene-materials.d.ts +23 -0
- package/dist/agent-operations/scene-materials.d.ts.map +1 -1
- package/dist/agent-operations/scene-materials.js +41 -0
- package/dist/agent-operations/scene-queries.d.ts +2525 -1723
- package/dist/agent-operations/scene-queries.d.ts.map +1 -1
- package/dist/agent-operations/scene-queries.js +3 -3
- package/dist/agent-operations/scene-review.d.ts.map +1 -1
- package/dist/agent-operations/scene-review.js +3 -2
- package/dist/agent-operations/scene-view.d.ts.map +1 -1
- package/dist/agent-operations/scene-view.js +91 -21
- package/dist/agent-operations/search-assets.d.ts +10 -6
- package/dist/agent-operations/search-assets.d.ts.map +1 -1
- package/dist/agent-operations/search-assets.js +37 -22
- package/dist/agent-operations/set-checkpoint.d.ts.map +1 -1
- package/dist/agent-operations/set-checkpoint.js +1 -0
- package/dist/agent-operations/set-ground-level.d.ts +1 -1
- package/dist/agent-operations/set-ground-level.d.ts.map +1 -1
- package/dist/agent-operations/set-ground-level.js +3 -14
- package/dist/agent-operations/site.js +3 -2
- package/dist/agent-operations/slab-surface-script.d.ts +25 -0
- package/dist/agent-operations/slab-surface-script.d.ts.map +1 -0
- package/dist/agent-operations/slab-surface-script.js +60 -0
- package/dist/agent-operations/stair-plan-footprint.d.ts +9 -0
- package/dist/agent-operations/stair-plan-footprint.d.ts.map +1 -0
- package/dist/agent-operations/stair-plan-footprint.js +50 -0
- package/dist/agent-operations/types.d.ts +10 -5
- package/dist/agent-operations/types.d.ts.map +1 -1
- package/dist/agent-operations/units.d.ts +26 -0
- package/dist/agent-operations/units.d.ts.map +1 -0
- package/dist/agent-operations/units.js +110 -0
- package/dist/agent-operations/unreachable-rooms-check.d.ts +17 -0
- package/dist/agent-operations/unreachable-rooms-check.d.ts.map +1 -0
- package/dist/agent-operations/unreachable-rooms-check.js +35 -0
- package/dist/agent-operations/usage-checks.d.ts +2 -0
- package/dist/agent-operations/usage-checks.d.ts.map +1 -0
- package/dist/agent-operations/usage-checks.js +12 -0
- package/dist/agent-operations/verify-scene.d.ts +8 -11
- package/dist/agent-operations/verify-scene.d.ts.map +1 -1
- package/dist/agent-operations/verify-scene.js +59 -13
- package/dist/agent-operations/wall-face-defaults.d.ts +44 -0
- package/dist/agent-operations/wall-face-defaults.d.ts.map +1 -0
- package/dist/agent-operations/wall-face-defaults.js +229 -0
- package/dist/agent-operations/wall-joins.d.ts +119 -0
- package/dist/agent-operations/wall-joins.d.ts.map +1 -0
- package/dist/agent-operations/wall-joins.js +308 -0
- package/dist/agent-operations/wall-object-observations.d.ts.map +1 -1
- package/dist/agent-operations/wall-object-observations.js +5 -7
- package/dist/agent-operations/wall-skirting.d.ts.map +1 -1
- package/dist/agent-operations/wall-skirting.js +2 -0
- package/dist/agent-operations/wall-type.d.ts +49 -0
- package/dist/agent-operations/wall-type.d.ts.map +1 -0
- package/dist/agent-operations/wall-type.js +31 -0
- package/dist/agent-operations/zone-coverage.d.ts +85 -0
- package/dist/agent-operations/zone-coverage.d.ts.map +1 -0
- package/dist/agent-operations/zone-coverage.js +208 -0
- package/dist/agent-tools/add-object.d.ts +31 -0
- package/dist/agent-tools/add-object.d.ts.map +1 -1
- package/dist/agent-tools/add-object.js +44 -7
- package/dist/agent-tools/assets.d.ts +4 -0
- package/dist/agent-tools/assets.d.ts.map +1 -1
- package/dist/agent-tools/assets.js +11 -1
- package/dist/agent-tools/author-scene.d.ts +810 -15
- package/dist/agent-tools/author-scene.d.ts.map +1 -1
- package/dist/agent-tools/author-scene.js +275 -34
- package/dist/agent-tools/batch.d.ts +1 -1
- package/dist/agent-tools/batch.d.ts.map +1 -1
- package/dist/agent-tools/batch.js +5 -1
- package/dist/agent-tools/checkpoints.js +1 -1
- package/dist/agent-tools/columns.d.ts +14 -0
- package/dist/agent-tools/columns.d.ts.map +1 -1
- package/dist/agent-tools/columns.js +14 -2
- package/dist/agent-tools/contract.d.ts +10 -0
- package/dist/agent-tools/contract.d.ts.map +1 -1
- package/dist/agent-tools/contract.js +5 -1
- package/dist/agent-tools/corner-window.d.ts +1 -0
- package/dist/agent-tools/corner-window.d.ts.map +1 -1
- package/dist/agent-tools/corner-window.js +1 -1
- package/dist/agent-tools/create-room.d.ts +85 -0
- package/dist/agent-tools/create-room.d.ts.map +1 -1
- package/dist/agent-tools/create-room.js +8 -1
- package/dist/agent-tools/design-brief.d.ts +513 -7
- package/dist/agent-tools/design-brief.d.ts.map +1 -1
- package/dist/agent-tools/design-brief.js +192 -14
- package/dist/agent-tools/designs.js +1 -1
- package/dist/agent-tools/find-by-type.js +1 -1
- package/dist/agent-tools/index.d.ts +658 -10
- package/dist/agent-tools/index.d.ts.map +1 -1
- package/dist/agent-tools/index.js +9 -1
- package/dist/agent-tools/levels.js +4 -4
- package/dist/agent-tools/move-duplicate.d.ts +65 -0
- package/dist/agent-tools/move-duplicate.d.ts.map +1 -0
- package/dist/agent-tools/move-duplicate.js +68 -0
- package/dist/agent-tools/paint.d.ts +6 -0
- package/dist/agent-tools/paint.d.ts.map +1 -1
- package/dist/agent-tools/paint.js +7 -3
- package/dist/agent-tools/photo-elevation.js +1 -1
- package/dist/agent-tools/project-files.d.ts +2 -2
- package/dist/agent-tools/project-files.d.ts.map +1 -1
- package/dist/agent-tools/project-files.js +1 -1
- package/dist/agent-tools/refusal.d.ts +9 -1
- package/dist/agent-tools/refusal.d.ts.map +1 -1
- package/dist/agent-tools/refusal.js +5 -1
- package/dist/agent-tools/roofs.js +1 -1
- package/dist/agent-tools/room-structure.d.ts +60 -0
- package/dist/agent-tools/room-structure.d.ts.map +1 -1
- package/dist/agent-tools/room-structure.js +20 -1
- package/dist/agent-tools/search-materials.d.ts +1 -0
- package/dist/agent-tools/search-materials.d.ts.map +1 -1
- package/dist/agent-tools/site.js +1 -1
- package/dist/agent-tools/stairs.js +1 -1
- package/dist/agent-tools/units.d.ts +84 -0
- package/dist/agent-tools/units.d.ts.map +1 -0
- package/dist/agent-tools/units.js +54 -0
- package/dist/agent-tools/verify-scene-usage.d.ts +44 -0
- package/dist/agent-tools/verify-scene-usage.d.ts.map +1 -0
- package/dist/agent-tools/verify-scene-usage.js +146 -0
- package/dist/agent-tools/verify-scene.d.ts +12 -1
- package/dist/agent-tools/verify-scene.d.ts.map +1 -1
- package/dist/agent-tools/verify-scene.js +183 -3
- package/dist/agent-tools/view-scene.d.ts +3 -0
- package/dist/agent-tools/view-scene.d.ts.map +1 -1
- package/dist/agent-tools/view-scene.js +4 -1
- package/dist/agent-tools/wall-openings.d.ts +121 -2
- package/dist/agent-tools/wall-openings.d.ts.map +1 -1
- package/dist/agent-tools/wall-openings.js +123 -18
- package/dist/agent-tools/walls.d.ts +30 -0
- package/dist/agent-tools/walls.d.ts.map +1 -1
- package/dist/agent-tools/walls.js +54 -2
- package/dist/building/__fixtures__/wall-opening-cases.d.ts +181 -35
- package/dist/building/__fixtures__/wall-opening-cases.d.ts.map +1 -1
- package/dist/building/__fixtures__/wall-opening-cases.js +13 -0
- package/dist/building/code-profile.d.ts +231 -0
- package/dist/building/code-profile.d.ts.map +1 -0
- package/dist/building/code-profile.js +208 -0
- package/dist/building/corner-window.d.ts +2 -2
- package/dist/building/corner-window.d.ts.map +1 -1
- package/dist/building/corner-window.js +11 -2
- package/dist/building/door-types.d.ts +1 -0
- package/dist/building/door-types.d.ts.map +1 -1
- package/dist/building/door-types.js +2 -0
- package/dist/building/floor-item-fit.d.ts.map +1 -1
- package/dist/building/floor-item-fit.js +2 -4
- package/dist/building/ground-level.d.ts +1 -3
- package/dist/building/ground-level.d.ts.map +1 -1
- package/dist/building/ground-level.js +3 -5
- package/dist/building/index.d.ts +2 -0
- package/dist/building/index.d.ts.map +1 -1
- package/dist/building/index.js +2 -0
- package/dist/building/level-duplication.d.ts +4667 -3065
- package/dist/building/level-duplication.d.ts.map +1 -1
- package/dist/building/level-insertion.d.ts +1 -1
- package/dist/building/level-wall-copy.d.ts +24 -0
- package/dist/building/level-wall-copy.d.ts.map +1 -0
- package/dist/building/level-wall-copy.js +53 -0
- package/dist/building/merge-windows.d.ts.map +1 -1
- package/dist/building/merge-windows.js +5 -3
- package/dist/building/opening-style-presets.d.ts +2 -0
- package/dist/building/opening-style-presets.d.ts.map +1 -1
- package/dist/building/opening-style-presets.js +26 -5
- package/dist/building/room-use.d.ts +26 -0
- package/dist/building/room-use.d.ts.map +1 -0
- package/dist/building/room-use.js +102 -0
- package/dist/building/wall-openings.d.ts +134 -12
- package/dist/building/wall-openings.d.ts.map +1 -1
- package/dist/building/wall-openings.js +182 -41
- package/dist/building/window-types.d.ts +1 -0
- package/dist/building/window-types.d.ts.map +1 -1
- package/dist/building/window-types.js +3 -0
- package/dist/coherence/__fixtures__/enclosure-scenes.d.ts +84 -0
- package/dist/coherence/__fixtures__/enclosure-scenes.d.ts.map +1 -0
- package/dist/coherence/__fixtures__/enclosure-scenes.js +44 -0
- package/dist/commands/structure/attached-walls.d.ts +16 -0
- package/dist/commands/structure/attached-walls.d.ts.map +1 -0
- package/dist/commands/structure/attached-walls.js +53 -0
- package/dist/commands/structure/index.d.ts +3 -0
- package/dist/commands/structure/index.d.ts.map +1 -1
- package/dist/commands/structure/index.js +3 -0
- package/dist/commands/structure/move-separators.d.ts +62 -0
- package/dist/commands/structure/move-separators.d.ts.map +1 -0
- package/dist/commands/structure/move-separators.js +346 -0
- package/dist/commands/structure/set-floor-foundation.d.ts +5 -0
- package/dist/commands/structure/set-floor-foundation.d.ts.map +1 -1
- package/dist/commands/structure/set-wall-geometry.d.ts.map +1 -1
- package/dist/commands/structure/set-wall-geometry.js +44 -11
- package/dist/commands/structure/set-zone-intent.d.ts +26 -0
- package/dist/commands/structure/set-zone-intent.d.ts.map +1 -1
- package/dist/commands/structure/set-zone-intent.js +107 -2
- package/dist/commands/structure/shared.d.ts +889 -88
- package/dist/commands/structure/shared.d.ts.map +1 -1
- package/dist/commands/structure/wall-overlap.d.ts +45 -0
- package/dist/commands/structure/wall-overlap.d.ts.map +1 -0
- package/dist/commands/structure/wall-overlap.js +289 -0
- package/dist/commands/structure/zone-wall-merge.d.ts +2897 -1938
- package/dist/commands/structure/zone-wall-merge.d.ts.map +1 -1
- package/dist/contracts/reference-discovery.d.ts +2 -2
- package/dist/contracts/reference-discovery.d.ts.map +1 -1
- package/dist/contracts/reference-discovery.js +5 -3
- package/dist/contracts/reference-inventory.d.ts.map +1 -1
- package/dist/contracts/reference-inventory.js +75 -25
- package/dist/events/bus.d.ts +15 -2
- package/dist/events/bus.d.ts.map +1 -1
- package/dist/hooks/spatial-grid/built-in-floor-placed.d.ts +40 -0
- package/dist/hooks/spatial-grid/built-in-floor-placed.d.ts.map +1 -0
- package/dist/hooks/spatial-grid/built-in-floor-placed.js +220 -0
- package/dist/hooks/spatial-grid/floor-placed-elevation.d.ts.map +1 -1
- package/dist/hooks/spatial-grid/floor-placed-elevation.js +13 -7
- package/dist/hooks/spatial-grid/spatial-grid-manager.d.ts +62 -2
- package/dist/hooks/spatial-grid/spatial-grid-manager.d.ts.map +1 -1
- package/dist/hooks/spatial-grid/spatial-grid-manager.js +207 -36
- package/dist/hooks/spatial-grid/spatial-grid-sync.d.ts +2915 -2114
- package/dist/hooks/spatial-grid/spatial-grid-sync.d.ts.map +1 -1
- package/dist/hooks/spatial-grid/spatial-grid-sync.js +32 -5
- package/dist/hooks/spatial-grid/support-host-patch.js +10 -10
- package/dist/i18n/format.d.ts +41 -0
- package/dist/i18n/format.d.ts.map +1 -0
- package/dist/i18n/format.js +124 -0
- package/dist/i18n/index.d.ts +5 -0
- package/dist/i18n/index.d.ts.map +1 -0
- package/dist/i18n/index.js +3 -0
- package/dist/i18n/registry.d.ts +78 -0
- package/dist/i18n/registry.d.ts.map +1 -0
- package/dist/i18n/registry.js +252 -0
- package/dist/i18n/use-translate.d.ts +16 -0
- package/dist/i18n/use-translate.d.ts.map +1 -0
- package/dist/i18n/use-translate.js +23 -0
- package/dist/index.d.ts +43 -20
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +42 -19
- package/dist/lib/__fixtures__/mezzanine.d.ts +10900 -8225
- package/dist/lib/__fixtures__/mezzanine.d.ts.map +1 -1
- package/dist/lib/absorb-wall-separators.d.ts +1629 -828
- package/dist/lib/absorb-wall-separators.d.ts.map +1 -1
- package/dist/lib/beam.d.ts +137 -0
- package/dist/lib/beam.d.ts.map +1 -0
- package/dist/lib/beam.js +297 -0
- package/dist/lib/below-grade-footprints.d.ts +13 -5
- package/dist/lib/below-grade-footprints.d.ts.map +1 -1
- package/dist/lib/below-grade-footprints.js +53 -10
- package/dist/lib/build-mode.d.ts +11 -0
- package/dist/lib/build-mode.d.ts.map +1 -0
- package/dist/lib/build-mode.js +24 -0
- package/dist/lib/build-up.d.ts +89 -0
- package/dist/lib/build-up.d.ts.map +1 -0
- package/dist/lib/build-up.js +216 -0
- package/dist/lib/corner-pair.d.ts +207 -4
- package/dist/lib/corner-pair.d.ts.map +1 -1
- package/dist/lib/deck-boards.d.ts +80 -0
- package/dist/lib/deck-boards.d.ts.map +1 -0
- package/dist/lib/deck-boards.js +184 -0
- package/dist/lib/deck-framing.d.ts +150 -0
- package/dist/lib/deck-framing.d.ts.map +1 -0
- package/dist/lib/deck-framing.js +515 -0
- package/dist/lib/deepest-drawn.d.ts +3 -6
- package/dist/lib/deepest-drawn.d.ts.map +1 -1
- package/dist/lib/deepest-drawn.js +4 -8
- package/dist/lib/door-interaction.d.ts +14 -0
- package/dist/lib/door-interaction.d.ts.map +1 -0
- package/dist/lib/door-interaction.js +62 -0
- package/dist/lib/door-opening.d.ts +19 -0
- package/dist/lib/door-opening.d.ts.map +1 -0
- package/dist/lib/door-opening.js +27 -0
- package/dist/lib/door-operation.d.ts +2 -0
- package/dist/lib/door-operation.d.ts.map +1 -1
- package/dist/lib/door-operation.js +4 -0
- package/dist/lib/elevator-support.d.ts +15 -0
- package/dist/lib/elevator-support.d.ts.map +1 -0
- package/dist/lib/elevator-support.js +40 -0
- package/dist/lib/exterior-wall-loops.d.ts.map +1 -1
- package/dist/lib/exterior-wall-loops.js +2 -1
- package/dist/lib/finish-script.d.ts +5 -5
- package/dist/lib/finish-script.d.ts.map +1 -1
- package/dist/lib/finish-script.js +12 -5
- package/dist/lib/floor-footprint-name.d.ts +17 -0
- package/dist/lib/floor-footprint-name.d.ts.map +1 -1
- package/dist/lib/floor-footprint-name.js +17 -4
- package/dist/lib/floor-intent-changes.d.ts.map +1 -1
- package/dist/lib/floor-intent-changes.js +66 -39
- package/dist/lib/floor-opening-footprints.d.ts +1 -1
- package/dist/lib/floor-opening-footprints.d.ts.map +1 -1
- package/dist/lib/floor-opening-footprints.js +10 -4
- package/dist/lib/floor-plate-paint.d.ts +2 -0
- package/dist/lib/floor-plate-paint.d.ts.map +1 -1
- package/dist/lib/floor-plate-paint.js +12 -0
- package/dist/lib/floor-plates.d.ts +250 -0
- package/dist/lib/floor-plates.d.ts.map +1 -1
- package/dist/lib/floor-plates.js +43 -4
- package/dist/lib/floor-script.d.ts +35 -6
- package/dist/lib/floor-script.d.ts.map +1 -1
- package/dist/lib/floor-script.js +96 -16
- package/dist/lib/foundation-construction.d.ts +4 -13
- package/dist/lib/foundation-construction.d.ts.map +1 -1
- package/dist/lib/foundation-construction.js +4 -14
- package/dist/lib/foundation-standard.d.ts +2 -3
- package/dist/lib/foundation-standard.d.ts.map +1 -1
- package/dist/lib/foundation-standard.js +2 -3
- package/dist/lib/foundation-wall.d.ts +1 -2
- package/dist/lib/foundation-wall.d.ts.map +1 -1
- package/dist/lib/foundation-wall.js +1 -2
- package/dist/lib/framing-post.d.ts +91 -0
- package/dist/lib/framing-post.d.ts.map +1 -0
- package/dist/lib/framing-post.js +174 -0
- package/dist/lib/geometry-script-node.d.ts +11 -0
- package/dist/lib/geometry-script-node.d.ts.map +1 -1
- package/dist/lib/geometry-script-node.js +35 -0
- package/dist/lib/grade-standing.d.ts +16 -2
- package/dist/lib/grade-standing.d.ts.map +1 -1
- package/dist/lib/grade-standing.js +129 -9
- package/dist/lib/ground-seat.d.ts +2 -22
- package/dist/lib/ground-seat.d.ts.map +1 -1
- package/dist/lib/ground-seat.js +2 -17
- package/dist/lib/ground-window.d.ts +2 -1
- package/dist/lib/ground-window.d.ts.map +1 -1
- package/dist/lib/ground-window.js +5 -2
- package/dist/lib/hierarchy.d.ts +19 -0
- package/dist/lib/hierarchy.d.ts.map +1 -0
- package/dist/lib/hierarchy.js +53 -0
- package/dist/lib/level-footprints.d.ts +2 -0
- package/dist/lib/level-footprints.d.ts.map +1 -1
- package/dist/lib/level-footprints.js +7 -0
- package/dist/lib/opening-casing.d.ts +67 -0
- package/dist/lib/opening-casing.d.ts.map +1 -0
- package/dist/lib/opening-casing.js +131 -0
- package/dist/lib/opening-exterior-face.d.ts +6 -0
- package/dist/lib/opening-exterior-face.d.ts.map +1 -0
- package/dist/lib/opening-exterior-face.js +15 -0
- package/dist/lib/opening-floor-datum.d.ts +11 -5
- package/dist/lib/opening-floor-datum.d.ts.map +1 -1
- package/dist/lib/opening-floor-datum.js +40 -8
- package/dist/lib/opening-frame-depth.d.ts +18 -0
- package/dist/lib/opening-frame-depth.d.ts.map +1 -0
- package/dist/lib/opening-frame-depth.js +22 -0
- package/dist/lib/outdoor-room.d.ts +32 -0
- package/dist/lib/outdoor-room.d.ts.map +1 -0
- package/dist/lib/outdoor-room.js +66 -0
- package/dist/lib/own-floor-intent.d.ts.map +1 -1
- package/dist/lib/own-floor-intent.js +2 -2
- package/dist/lib/plate-surface.d.ts +8 -0
- package/dist/lib/plate-surface.d.ts.map +1 -1
- package/dist/lib/plate-surface.js +53 -3
- package/dist/lib/polygon-boolean.d.ts.map +1 -1
- package/dist/lib/polygon-boolean.js +2 -1
- package/dist/lib/porch-framing-sync.d.ts +46 -0
- package/dist/lib/porch-framing-sync.d.ts.map +1 -0
- package/dist/lib/porch-framing-sync.js +206 -0
- package/dist/lib/porch-framing.d.ts +44 -0
- package/dist/lib/porch-framing.d.ts.map +1 -0
- package/dist/lib/porch-framing.js +159 -0
- package/dist/lib/railing-rooms.d.ts +13 -0
- package/dist/lib/railing-rooms.d.ts.map +1 -0
- package/dist/lib/railing-rooms.js +37 -0
- package/dist/lib/roof-eave.d.ts +135 -0
- package/dist/lib/roof-eave.d.ts.map +1 -0
- package/dist/lib/roof-eave.js +186 -0
- package/dist/lib/room-floor-elevation.d.ts +12 -0
- package/dist/lib/room-floor-elevation.d.ts.map +1 -0
- package/dist/lib/room-floor-elevation.js +41 -0
- package/dist/lib/room-floor-feasibility.d.ts.map +1 -1
- package/dist/lib/room-floor-feasibility.js +1 -1
- package/dist/lib/room-floor-plate.d.ts +3 -1
- package/dist/lib/room-floor-plate.d.ts.map +1 -1
- package/dist/lib/room-floor-plate.js +7 -0
- package/dist/lib/space-detection.d.ts +13 -0
- package/dist/lib/space-detection.d.ts.map +1 -1
- package/dist/lib/space-detection.js +113 -24
- package/dist/lib/structure-kernel.d.ts +22 -9
- package/dist/lib/structure-kernel.d.ts.map +1 -1
- package/dist/lib/structure-kernel.js +146 -28
- package/dist/lib/structure-reconcile.d.ts +1 -1
- package/dist/lib/structure-reconcile.d.ts.map +1 -1
- package/dist/lib/structure-reconcile.js +7 -4
- package/dist/lib/surface-intent.d.ts +10 -0
- package/dist/lib/surface-intent.d.ts.map +1 -0
- package/dist/lib/surface-intent.js +18 -0
- package/dist/lib/terrain-source.d.ts.map +1 -1
- package/dist/lib/terrain-source.js +2 -1
- package/dist/lib/wall-face-script.d.ts.map +1 -1
- package/dist/lib/wall-face-script.js +8 -5
- package/dist/lib/window-interaction.d.ts +16 -0
- package/dist/lib/window-interaction.d.ts.map +1 -0
- package/dist/lib/window-interaction.js +82 -0
- package/dist/lib/zone-quantities.js +1 -1
- package/dist/material-kinds.d.ts +1 -1
- package/dist/material-kinds.d.ts.map +1 -1
- package/dist/material-kinds.js +1 -0
- package/dist/material-library.d.ts +15 -0
- package/dist/material-library.d.ts.map +1 -1
- package/dist/material-library.js +458 -59
- package/dist/node-slots/column.d.ts +5 -0
- package/dist/node-slots/column.d.ts.map +1 -1
- package/dist/node-slots/column.js +10 -0
- package/dist/node-slots/door.d.ts +3 -4
- package/dist/node-slots/door.d.ts.map +1 -1
- package/dist/node-slots/door.js +4 -3
- package/dist/node-slots/wall.d.ts.map +1 -1
- package/dist/node-slots/wall.js +21 -3
- package/dist/node-slots/window.d.ts +2 -2
- package/dist/node-slots/window.d.ts.map +1 -1
- package/dist/node-slots/window.js +6 -1
- package/dist/procedural-items/design.d.ts +8 -0
- package/dist/procedural-items/design.d.ts.map +1 -1
- package/dist/procedural-items/design.js +169 -21
- package/dist/procedural-items/motion-controller.d.ts +2 -0
- package/dist/procedural-items/motion-controller.d.ts.map +1 -1
- package/dist/procedural-items/motion-controller.js +2 -1
- package/dist/registry/index.d.ts +3 -3
- package/dist/registry/index.d.ts.map +1 -1
- package/dist/registry/index.js +2 -2
- package/dist/registry/mechanism.d.ts +4 -1
- package/dist/registry/mechanism.d.ts.map +1 -1
- package/dist/registry/mechanism.js +10 -0
- package/dist/registry/registry.d.ts +5 -0
- package/dist/registry/registry.d.ts.map +1 -1
- package/dist/registry/registry.js +10 -0
- package/dist/registry/types.d.ts +89 -23
- package/dist/registry/types.d.ts.map +1 -1
- package/dist/runtime/__fixtures__/live-scene.d.ts +14 -0
- package/dist/runtime/__fixtures__/live-scene.d.ts.map +1 -0
- package/dist/runtime/__fixtures__/live-scene.js +64 -0
- package/dist/runtime/apply.d.ts +42 -0
- package/dist/runtime/apply.d.ts.map +1 -0
- package/dist/runtime/apply.js +274 -0
- package/dist/runtime/dependencies.d.ts +97 -0
- package/dist/runtime/dependencies.d.ts.map +1 -0
- package/dist/runtime/dependencies.js +42 -0
- package/dist/runtime/ids.d.ts +11 -0
- package/dist/runtime/ids.d.ts.map +1 -0
- package/dist/runtime/ids.js +80 -0
- package/dist/runtime/index.d.ts +14 -0
- package/dist/runtime/index.d.ts.map +1 -0
- package/dist/runtime/index.js +11 -0
- package/dist/runtime/node-queries.d.ts +16 -0
- package/dist/runtime/node-queries.d.ts.map +1 -0
- package/dist/runtime/node-queries.js +30 -0
- package/dist/runtime/patch.d.ts +26 -0
- package/dist/runtime/patch.d.ts.map +1 -0
- package/dist/runtime/patch.js +165 -0
- package/dist/runtime/reader.d.ts +104 -0
- package/dist/runtime/reader.d.ts.map +1 -0
- package/dist/runtime/reader.js +455 -0
- package/dist/runtime/scene-runtime.d.ts +112 -0
- package/dist/runtime/scene-runtime.d.ts.map +1 -0
- package/dist/runtime/scene-runtime.js +302 -0
- package/dist/schema/__fixtures__/node-fixtures.d.ts.map +1 -1
- package/dist/schema/__fixtures__/node-fixtures.js +1 -0
- package/dist/schema/assembly.d.ts +3 -0
- package/dist/schema/assembly.d.ts.map +1 -1
- package/dist/schema/assembly.js +13 -0
- package/dist/schema/asset-url.d.ts +37 -2
- package/dist/schema/asset-url.d.ts.map +1 -1
- package/dist/schema/asset-url.js +80 -11
- package/dist/schema/base.d.ts +8 -0
- package/dist/schema/base.d.ts.map +1 -1
- package/dist/schema/base.js +19 -1
- package/dist/schema/build-up.d.ts +247 -0
- package/dist/schema/build-up.d.ts.map +1 -0
- package/dist/schema/build-up.js +83 -0
- package/dist/schema/geometry-source.d.ts +80 -0
- package/dist/schema/geometry-source.d.ts.map +1 -1
- package/dist/schema/geometry-source.js +38 -0
- package/dist/schema/index.d.ts +12 -7
- package/dist/schema/index.d.ts.map +1 -1
- package/dist/schema/index.js +12 -6
- package/dist/schema/material.d.ts +5 -0
- package/dist/schema/material.d.ts.map +1 -1
- package/dist/schema/material.js +6 -0
- package/dist/schema/nodes/beam.d.ts +264 -0
- package/dist/schema/nodes/beam.d.ts.map +1 -0
- package/dist/schema/nodes/beam.js +139 -0
- package/dist/schema/nodes/box-vent.d.ts +5 -0
- package/dist/schema/nodes/box-vent.d.ts.map +1 -1
- package/dist/schema/nodes/cabinet.d.ts +10 -0
- package/dist/schema/nodes/cabinet.d.ts.map +1 -1
- package/dist/schema/nodes/ceiling.d.ts +48 -0
- package/dist/schema/nodes/ceiling.d.ts.map +1 -1
- package/dist/schema/nodes/ceiling.js +5 -0
- package/dist/schema/nodes/chimney.d.ts +10 -0
- package/dist/schema/nodes/chimney.d.ts.map +1 -1
- package/dist/schema/nodes/column.d.ts +42 -0
- package/dist/schema/nodes/column.d.ts.map +1 -1
- package/dist/schema/nodes/column.js +11 -1
- package/dist/schema/nodes/cupola.d.ts +5 -0
- package/dist/schema/nodes/cupola.d.ts.map +1 -1
- package/dist/schema/nodes/door.d.ts +54 -3
- package/dist/schema/nodes/door.d.ts.map +1 -1
- package/dist/schema/nodes/door.js +41 -7
- package/dist/schema/nodes/dormer.d.ts +20 -0
- package/dist/schema/nodes/dormer.d.ts.map +1 -1
- package/dist/schema/nodes/downspout.d.ts +5 -0
- package/dist/schema/nodes/downspout.d.ts.map +1 -1
- package/dist/schema/nodes/elevator.d.ts +5 -0
- package/dist/schema/nodes/elevator.d.ts.map +1 -1
- package/dist/schema/nodes/eyebrow-vent.d.ts +5 -0
- package/dist/schema/nodes/eyebrow-vent.d.ts.map +1 -1
- package/dist/schema/nodes/fence.d.ts +5 -0
- package/dist/schema/nodes/fence.d.ts.map +1 -1
- package/dist/schema/nodes/guide.d.ts +14 -0
- package/dist/schema/nodes/guide.d.ts.map +1 -1
- package/dist/schema/nodes/guide.js +2 -0
- package/dist/schema/nodes/gutter.d.ts +5 -0
- package/dist/schema/nodes/gutter.d.ts.map +1 -1
- package/dist/schema/nodes/item.d.ts +71 -0
- package/dist/schema/nodes/item.d.ts.map +1 -1
- package/dist/schema/nodes/item.js +5 -1
- package/dist/schema/nodes/level.d.ts +1 -1
- package/dist/schema/nodes/level.d.ts.map +1 -1
- package/dist/schema/nodes/opening-types.d.ts +13 -0
- package/dist/schema/nodes/opening-types.d.ts.map +1 -1
- package/dist/schema/nodes/opening-types.js +8 -1
- package/dist/schema/nodes/railing-wall.d.ts +112 -0
- package/dist/schema/nodes/railing-wall.d.ts.map +1 -0
- package/dist/schema/nodes/railing-wall.js +160 -0
- package/dist/schema/nodes/ridge-vent.d.ts +5 -0
- package/dist/schema/nodes/ridge-vent.d.ts.map +1 -1
- package/dist/schema/nodes/roof-segment-resize.d.ts.map +1 -1
- package/dist/schema/nodes/roof-segment-resize.js +2 -2
- package/dist/schema/nodes/roof-segment.d.ts +226 -1
- package/dist/schema/nodes/roof-segment.d.ts.map +1 -1
- package/dist/schema/nodes/roof-segment.js +97 -12
- package/dist/schema/nodes/roof-types.d.ts +11 -0
- package/dist/schema/nodes/roof-types.d.ts.map +1 -1
- package/dist/schema/nodes/roof-types.js +6 -0
- package/dist/schema/nodes/roof.d.ts +60 -0
- package/dist/schema/nodes/roof.d.ts.map +1 -1
- package/dist/schema/nodes/roof.js +4 -0
- package/dist/schema/nodes/shelf.d.ts +5 -0
- package/dist/schema/nodes/shelf.d.ts.map +1 -1
- package/dist/schema/nodes/site.d.ts +80 -0
- package/dist/schema/nodes/site.d.ts.map +1 -1
- package/dist/schema/nodes/site.js +7 -0
- package/dist/schema/nodes/skylight.d.ts +10 -0
- package/dist/schema/nodes/skylight.d.ts.map +1 -1
- package/dist/schema/nodes/slab.d.ts +137 -0
- package/dist/schema/nodes/slab.d.ts.map +1 -1
- package/dist/schema/nodes/slab.js +3 -0
- package/dist/schema/nodes/solar-panel.d.ts +10 -0
- package/dist/schema/nodes/solar-panel.d.ts.map +1 -1
- package/dist/schema/nodes/stair-segment.d.ts +5 -0
- package/dist/schema/nodes/stair-segment.d.ts.map +1 -1
- package/dist/schema/nodes/stair-structure.d.ts +69 -0
- package/dist/schema/nodes/stair-structure.d.ts.map +1 -0
- package/dist/schema/nodes/stair-structure.js +39 -0
- package/dist/schema/nodes/stair.d.ts +46 -0
- package/dist/schema/nodes/stair.d.ts.map +1 -1
- package/dist/schema/nodes/stair.js +3 -0
- package/dist/schema/nodes/turbine-vent.d.ts +5 -0
- package/dist/schema/nodes/turbine-vent.d.ts.map +1 -1
- package/dist/schema/nodes/wall.d.ts +136 -2
- package/dist/schema/nodes/wall.d.ts.map +1 -1
- package/dist/schema/nodes/wall.js +48 -6
- package/dist/schema/nodes/window.d.ts +66 -1
- package/dist/schema/nodes/window.d.ts.map +1 -1
- package/dist/schema/nodes/window.js +50 -5
- package/dist/schema/nodes/zone.d.ts +68 -0
- package/dist/schema/nodes/zone.d.ts.map +1 -1
- package/dist/schema/nodes/zone.js +32 -0
- package/dist/schema/scene-material.d.ts +5 -0
- package/dist/schema/scene-material.d.ts.map +1 -1
- package/dist/schema/types.d.ts +1080 -4
- package/dist/schema/types.d.ts.map +1 -1
- package/dist/schema/types.js +2 -0
- package/dist/schema/wall-type.d.ts +95 -0
- package/dist/schema/wall-type.d.ts.map +1 -0
- package/dist/schema/wall-type.js +32 -0
- package/dist/services/index.d.ts +1 -1
- package/dist/services/index.d.ts.map +1 -1
- package/dist/services/index.js +1 -1
- package/dist/services/movement.d.ts +7 -0
- package/dist/services/movement.d.ts.map +1 -1
- package/dist/services/movement.js +13 -0
- package/dist/services/port-connectivity.d.ts +15 -6
- package/dist/services/port-connectivity.d.ts.map +1 -1
- package/dist/services/port-connectivity.js +83 -17
- package/dist/services/roof-bearing.d.ts.map +1 -1
- package/dist/services/roof-bearing.js +8 -4
- package/dist/services/roof-level.d.ts.map +1 -1
- package/dist/services/roof-level.js +4 -3
- package/dist/services/roof-move.d.ts.map +1 -1
- package/dist/services/roof-move.js +13 -7
- package/dist/services/storey.d.ts +6 -1
- package/dist/services/storey.d.ts.map +1 -1
- package/dist/services/storey.js +24 -10
- package/dist/spatial/usage-field/beds.d.ts +51 -0
- package/dist/spatial/usage-field/beds.d.ts.map +1 -0
- package/dist/spatial/usage-field/beds.js +346 -0
- package/dist/spatial/usage-field/blocked.d.ts +28 -0
- package/dist/spatial/usage-field/blocked.d.ts.map +1 -0
- package/dist/spatial/usage-field/blocked.js +185 -0
- package/dist/spatial/usage-field/boxes.d.ts +17 -0
- package/dist/spatial/usage-field/boxes.d.ts.map +1 -0
- package/dist/spatial/usage-field/boxes.js +82 -0
- package/dist/spatial/usage-field/catalogue-shapes.d.ts +3 -0
- package/dist/spatial/usage-field/catalogue-shapes.d.ts.map +1 -0
- package/dist/spatial/usage-field/catalogue-shapes.js +257 -0
- package/dist/spatial/usage-field/catalogue.d.ts +6 -0
- package/dist/spatial/usage-field/catalogue.d.ts.map +1 -0
- package/dist/spatial/usage-field/catalogue.js +11 -0
- package/dist/spatial/usage-field/clash.d.ts +40 -0
- package/dist/spatial/usage-field/clash.d.ts.map +1 -0
- package/dist/spatial/usage-field/clash.js +187 -0
- package/dist/spatial/usage-field/door-stairs.d.ts +18 -0
- package/dist/spatial/usage-field/door-stairs.d.ts.map +1 -0
- package/dist/spatial/usage-field/door-stairs.js +129 -0
- package/dist/spatial/usage-field/entry-way.d.ts +14 -0
- package/dist/spatial/usage-field/entry-way.d.ts.map +1 -0
- package/dist/spatial/usage-field/entry-way.js +219 -0
- package/dist/spatial/usage-field/fences.d.ts +18 -0
- package/dist/spatial/usage-field/fences.d.ts.map +1 -0
- package/dist/spatial/usage-field/fences.js +253 -0
- package/dist/spatial/usage-field/field.d.ts +44 -0
- package/dist/spatial/usage-field/field.d.ts.map +1 -0
- package/dist/spatial/usage-field/field.js +145 -0
- package/dist/spatial/usage-field/findings.d.ts +76 -0
- package/dist/spatial/usage-field/findings.d.ts.map +1 -0
- package/dist/spatial/usage-field/findings.js +252 -0
- package/dist/spatial/usage-field/fixtures.d.ts +18 -0
- package/dist/spatial/usage-field/fixtures.d.ts.map +1 -0
- package/dist/spatial/usage-field/fixtures.js +160 -0
- package/dist/spatial/usage-field/flag.d.ts +10 -0
- package/dist/spatial/usage-field/flag.d.ts.map +1 -0
- package/dist/spatial/usage-field/flag.js +12 -0
- package/dist/spatial/usage-field/floors.d.ts +13 -0
- package/dist/spatial/usage-field/floors.d.ts.map +1 -0
- package/dist/spatial/usage-field/floors.js +36 -0
- package/dist/spatial/usage-field/index.d.ts +7 -0
- package/dist/spatial/usage-field/index.d.ts.map +1 -0
- package/dist/spatial/usage-field/index.js +5 -0
- package/dist/spatial/usage-field/items.d.ts +38 -0
- package/dist/spatial/usage-field/items.d.ts.map +1 -0
- package/dist/spatial/usage-field/items.js +261 -0
- package/dist/spatial/usage-field/labels.d.ts +8 -0
- package/dist/spatial/usage-field/labels.d.ts.map +1 -0
- package/dist/spatial/usage-field/labels.js +14 -0
- package/dist/spatial/usage-field/level-field.d.ts +47 -0
- package/dist/spatial/usage-field/level-field.d.ts.map +1 -0
- package/dist/spatial/usage-field/level-field.js +96 -0
- package/dist/spatial/usage-field/measure.d.ts +324 -0
- package/dist/spatial/usage-field/measure.d.ts.map +1 -0
- package/dist/spatial/usage-field/measure.js +458 -0
- package/dist/spatial/usage-field/obstacles.d.ts +63 -0
- package/dist/spatial/usage-field/obstacles.d.ts.map +1 -0
- package/dist/spatial/usage-field/obstacles.js +215 -0
- package/dist/spatial/usage-field/openings.d.ts +12 -0
- package/dist/spatial/usage-field/openings.d.ts.map +1 -0
- package/dist/spatial/usage-field/openings.js +162 -0
- package/dist/spatial/usage-field/path.d.ts +48 -0
- package/dist/spatial/usage-field/path.d.ts.map +1 -0
- package/dist/spatial/usage-field/path.js +354 -0
- package/dist/spatial/usage-field/pieces.d.ts +27 -0
- package/dist/spatial/usage-field/pieces.d.ts.map +1 -0
- package/dist/spatial/usage-field/pieces.js +89 -0
- package/dist/spatial/usage-field/shapes.d.ts +18 -0
- package/dist/spatial/usage-field/shapes.d.ts.map +1 -0
- package/dist/spatial/usage-field/shapes.js +92 -0
- package/dist/spatial/usage-field/stairs.d.ts +23 -0
- package/dist/spatial/usage-field/stairs.d.ts.map +1 -0
- package/dist/spatial/usage-field/stairs.js +163 -0
- package/dist/spatial/usage-field/support.d.ts +24 -0
- package/dist/spatial/usage-field/support.d.ts.map +1 -0
- package/dist/spatial/usage-field/support.js +46 -0
- package/dist/spatial/usage-field/swings.d.ts +847 -0
- package/dist/spatial/usage-field/swings.d.ts.map +1 -0
- package/dist/spatial/usage-field/swings.js +427 -0
- package/dist/spatial/usage-field/types.d.ts +65 -0
- package/dist/spatial/usage-field/types.d.ts.map +1 -0
- package/dist/spatial/usage-field/types.js +1 -0
- package/dist/spatial/usage-field/walls.d.ts +1059 -0
- package/dist/spatial/usage-field/walls.d.ts.map +1 -0
- package/dist/spatial/usage-field/walls.js +180 -0
- package/dist/spatial/usage-field/way-in.d.ts +26 -0
- package/dist/spatial/usage-field/way-in.d.ts.map +1 -0
- package/dist/spatial/usage-field/way-in.js +113 -0
- package/dist/store/actions/node-actions.d.ts +1467 -664
- package/dist/store/actions/node-actions.d.ts.map +1 -1
- package/dist/store/actions/node-actions.js +65 -21
- package/dist/store/derived-node-guard.d.ts +10 -2
- package/dist/store/derived-node-guard.d.ts.map +1 -1
- package/dist/store/derived-node-guard.js +33 -12
- package/dist/store/document-settling.d.ts +9 -0
- package/dist/store/document-settling.d.ts.map +1 -0
- package/dist/store/document-settling.js +22 -0
- package/dist/store/history-control.d.ts +19 -10
- package/dist/store/history-control.d.ts.map +1 -1
- package/dist/store/history-control.js +176 -127
- package/dist/store/history-drafts.d.ts.map +1 -1
- package/dist/store/history-drafts.js +21 -17
- package/dist/store/live-previews.d.ts +9 -0
- package/dist/store/live-previews.d.ts.map +1 -0
- package/dist/store/live-previews.js +19 -0
- package/dist/store/scene-annotations.d.ts +5409 -3807
- package/dist/store/scene-annotations.d.ts.map +1 -1
- package/dist/store/scene-environment.d.ts +33 -0
- package/dist/store/scene-environment.d.ts.map +1 -0
- package/dist/store/scene-environment.js +54 -0
- package/dist/store/scene-hydration.d.ts.map +1 -1
- package/dist/store/scene-hydration.js +41 -30
- package/dist/store/use-interactive.d.ts +9 -3
- package/dist/store/use-interactive.d.ts.map +1 -1
- package/dist/store/use-interactive.js +43 -11
- package/dist/store/use-live-node-overrides.d.ts.map +1 -1
- package/dist/store/use-live-node-overrides.js +3 -0
- package/dist/store/use-scene.d.ts +25 -0
- package/dist/store/use-scene.d.ts.map +1 -1
- package/dist/store/use-scene.js +408 -336
- package/dist/systems/document-reconcile.d.ts +40 -0
- package/dist/systems/document-reconcile.d.ts.map +1 -0
- package/dist/systems/document-reconcile.js +159 -0
- package/dist/systems/elevator/elevator-geometry.d.ts +25 -0
- package/dist/systems/elevator/elevator-geometry.d.ts.map +1 -1
- package/dist/systems/elevator/elevator-geometry.js +40 -8
- package/dist/systems/elevator/elevator-opening-sync.d.ts.map +1 -1
- package/dist/systems/elevator/elevator-opening-sync.js +4 -35
- package/dist/systems/elevator/elevator-opening-system.d.ts.map +1 -1
- package/dist/systems/elevator/elevator-opening-system.js +9 -24
- package/dist/systems/elevator/elevator-runtime.d.ts.map +1 -1
- package/dist/systems/elevator/elevator-runtime.js +95 -18
- package/dist/systems/elevator/elevator-service.d.ts.map +1 -1
- package/dist/systems/elevator/elevator-service.js +24 -4
- package/dist/systems/fence/guard-layout.d.ts +69 -0
- package/dist/systems/fence/guard-layout.d.ts.map +1 -0
- package/dist/systems/fence/guard-layout.js +194 -0
- package/dist/systems/owned-floor-openings.d.ts +13 -1
- package/dist/systems/owned-floor-openings.d.ts.map +1 -1
- package/dist/systems/owned-floor-openings.js +58 -2
- package/dist/systems/reconcile-owned-floor-openings.d.ts +3 -1
- package/dist/systems/reconcile-owned-floor-openings.d.ts.map +1 -1
- package/dist/systems/reconcile-owned-floor-openings.js +4 -4
- package/dist/systems/roof/roof-elevation-system.d.ts.map +1 -1
- package/dist/systems/roof/roof-elevation-system.js +8 -26
- package/dist/systems/roof/roof-elevation.d.ts +16 -1
- package/dist/systems/roof/roof-elevation.d.ts.map +1 -1
- package/dist/systems/roof/roof-elevation.js +87 -5
- package/dist/systems/roof/roof-footprint.d.ts +42 -1
- package/dist/systems/roof/roof-footprint.d.ts.map +1 -1
- package/dist/systems/roof/roof-footprint.js +160 -4
- package/dist/systems/slab/__fixtures__/floor-step.d.ts +2714 -1481
- package/dist/systems/slab/__fixtures__/floor-step.d.ts.map +1 -1
- package/dist/systems/slab/__fixtures__/raised-room.d.ts +3815 -2565
- package/dist/systems/slab/__fixtures__/raised-room.d.ts.map +1 -1
- package/dist/systems/stair/stair-clearance.d.ts +7 -0
- package/dist/systems/stair/stair-clearance.d.ts.map +1 -1
- package/dist/systems/stair/stair-clearance.js +31 -11
- package/dist/systems/stair/stair-construction.d.ts +8 -3
- package/dist/systems/stair/stair-construction.d.ts.map +1 -1
- package/dist/systems/stair/stair-construction.js +55 -4
- package/dist/systems/stair/stair-opening-preview.d.ts +1630 -829
- package/dist/systems/stair/stair-opening-preview.d.ts.map +1 -1
- package/dist/systems/stair/stair-opening-system.d.ts.map +1 -1
- package/dist/systems/stair/stair-opening-system.js +18 -34
- package/dist/systems/stair/stair-presets.d.ts +36 -0
- package/dist/systems/stair/stair-presets.d.ts.map +1 -1
- package/dist/systems/stair/stair-rise-query.d.ts.map +1 -1
- package/dist/systems/stair/stair-rise-query.js +3 -2
- package/dist/systems/stair/stair-rise.d.ts.map +1 -1
- package/dist/systems/stair/stair-rise.js +6 -0
- package/dist/systems/stair/stair-sizing.d.ts +42 -11
- package/dist/systems/stair/stair-sizing.d.ts.map +1 -1
- package/dist/systems/stair/stair-sizing.js +10 -1
- package/dist/systems/stair/stair-structure.d.ts +277 -0
- package/dist/systems/stair/stair-structure.d.ts.map +1 -0
- package/dist/systems/stair/stair-structure.js +496 -0
- package/dist/systems/wall/wall-assembly.d.ts +84 -6
- package/dist/systems/wall/wall-assembly.d.ts.map +1 -1
- package/dist/systems/wall/wall-assembly.js +204 -5
- 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 +38 -0
- package/dist/systems/wall/wall-finish.d.ts +38 -2
- package/dist/systems/wall/wall-finish.d.ts.map +1 -1
- package/dist/systems/wall/wall-finish.js +70 -2
- package/dist/systems/wall/wall-footprint.js +2 -2
- package/dist/systems/wall/wall-frame.d.ts.map +1 -1
- package/dist/systems/wall/wall-frame.js +8 -0
- package/dist/systems/wall/wall-merge.d.ts +9 -1
- package/dist/systems/wall/wall-merge.d.ts.map +1 -1
- package/dist/systems/wall/wall-merge.js +66 -13
- package/dist/systems/wall/wall-mitering.d.ts +1 -0
- package/dist/systems/wall/wall-mitering.d.ts.map +1 -1
- package/dist/systems/wall/wall-mitering.js +152 -52
- package/dist/systems/wall/wall-move.d.ts +23 -6
- package/dist/systems/wall/wall-move.d.ts.map +1 -1
- package/dist/systems/wall/wall-move.js +65 -0
- package/dist/systems/wall/wall-top.d.ts +11 -4
- package/dist/systems/wall/wall-top.d.ts.map +1 -1
- package/dist/systems/wall/wall-top.js +28 -7
- package/dist/systems/wall/wall-topology.d.ts +32 -1
- package/dist/systems/wall/wall-topology.d.ts.map +1 -1
- package/dist/systems/wall/wall-topology.js +137 -11
- package/dist/systems/wall/wall-trim-profiles.d.ts +12 -0
- package/dist/systems/wall/wall-trim-profiles.d.ts.map +1 -0
- package/dist/systems/wall/wall-trim-profiles.js +191 -0
- package/dist/utils/ensure-scene-openings.d.ts +4663 -3061
- package/dist/utils/ensure-scene-openings.d.ts.map +1 -1
- package/dist/utils/floor-piece-adoption.d.ts +5 -0
- package/dist/utils/floor-piece-adoption.d.ts.map +1 -1
- package/dist/utils/floor-plate-migration.d.ts +3372 -2571
- package/dist/utils/floor-plate-migration.d.ts.map +1 -1
- package/dist/utils/measurement-format.d.ts +27 -0
- package/dist/utils/measurement-format.d.ts.map +1 -0
- package/dist/utils/measurement-format.js +143 -0
- package/dist/utils/owned-floor-opening-migration.d.ts +1629 -828
- package/dist/utils/owned-floor-opening-migration.d.ts.map +1 -1
- package/dist/utils/reconcile-structure-on-load.d.ts +2308 -1507
- package/dist/utils/reconcile-structure-on-load.d.ts.map +1 -1
- package/dist/utils/structure-id.d.ts.map +1 -1
- package/dist/utils/structure-id.js +4 -0
- package/dist/validation/validate-build-json.d.ts.map +1 -1
- package/dist/validation/validate-build-json.js +3 -1
- package/package.json +22 -5
- package/dist/lib/generic-foundation.d.ts +0 -40
- package/dist/lib/generic-foundation.d.ts.map +0 -1
- package/dist/lib/generic-foundation.js +0 -200
|
@@ -93,9 +93,25 @@ export declare const WALL_TRIM_DEFAULTS: {
|
|
|
93
93
|
export declare const WALL_SKIRTING_SLOT_DEFAULT = "library:preset-softwhite";
|
|
94
94
|
export declare const WALL_CROWN_SLOT_DEFAULT = "library:preset-white";
|
|
95
95
|
export declare const WALL_CHAIR_RAIL_SLOT_DEFAULT = "library:preset-cream";
|
|
96
|
+
/**
|
|
97
|
+
* The paint an interior wall face shows until someone paints it: Seattle grey,
|
|
98
|
+
* a cool light grey flat colour from the catalog. Both faces of a partition and
|
|
99
|
+
* the inside face of an exterior wall wear it (`getWallFaceDefault`); an
|
|
100
|
+
* exterior face shows its assembly's cladding, or its bare block or concrete,
|
|
101
|
+
* else `DEFAULT_EXTERIOR_WALL_FINISH`. Raw drywall (`library:concrete-drywall`)
|
|
102
|
+
* stays in the catalog for a face meant to be bare.
|
|
103
|
+
*/
|
|
104
|
+
export declare const DEFAULT_INTERIOR_WALL_PAINT = "library:preset-seattlegrey";
|
|
105
|
+
/**
|
|
106
|
+
* What an unpainted exterior wall face with no cladding shows: raw drywall, the
|
|
107
|
+
* default every face drew before the interior paint, kept outside so an old
|
|
108
|
+
* save's exterior walls look as they did and meet the roof's gable and heel
|
|
109
|
+
* bands (drywall too) without a seam at the plate.
|
|
110
|
+
*/
|
|
111
|
+
export declare const DEFAULT_EXTERIOR_WALL_FINISH = "library:concrete-drywall";
|
|
96
112
|
export declare const WALL_SURFACE_SLOT_DEFAULTS: {
|
|
97
|
-
readonly a:
|
|
98
|
-
readonly b:
|
|
113
|
+
readonly a: "library:preset-seattlegrey";
|
|
114
|
+
readonly b: "library:preset-seattlegrey";
|
|
99
115
|
readonly aSkirting: "library:preset-softwhite";
|
|
100
116
|
readonly bSkirting: "library:preset-softwhite";
|
|
101
117
|
readonly aCrown: "library:preset-white";
|
|
@@ -197,6 +213,16 @@ export declare const WallFaceScript: z.ZodObject<{
|
|
|
197
213
|
color: z.ZodString;
|
|
198
214
|
intensity: z.ZodNumber;
|
|
199
215
|
distance: z.ZodOptional<z.ZodNumber>;
|
|
216
|
+
spot: z.ZodOptional<z.ZodObject<{
|
|
217
|
+
direction: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
|
|
218
|
+
angle: z.ZodNumber;
|
|
219
|
+
softness: z.ZodNumber;
|
|
220
|
+
}, z.core.$strip>>;
|
|
221
|
+
shadows: z.ZodOptional<z.ZodBoolean>;
|
|
222
|
+
glow: z.ZodOptional<z.ZodObject<{
|
|
223
|
+
size: z.ZodNumber;
|
|
224
|
+
strength: z.ZodDefault<z.ZodNumber>;
|
|
225
|
+
}, z.core.$strip>>;
|
|
200
226
|
}, z.core.$strip>>>;
|
|
201
227
|
undersides: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
202
228
|
part: z.ZodOptional<z.ZodString>;
|
|
@@ -220,6 +246,17 @@ export declare const WallFaceScript: z.ZodObject<{
|
|
|
220
246
|
}, z.core.$strip>>>;
|
|
221
247
|
cutout: z.ZodDefault<z.ZodBoolean>;
|
|
222
248
|
collider: z.ZodDefault<z.ZodBoolean>;
|
|
249
|
+
shape: z.ZodOptional<z.ZodObject<{
|
|
250
|
+
tolerance: z.ZodNumber;
|
|
251
|
+
bands: z.ZodArray<z.ZodObject<{
|
|
252
|
+
y0: z.ZodNumber;
|
|
253
|
+
y1: z.ZodNumber;
|
|
254
|
+
polygons: z.ZodArray<z.ZodObject<{
|
|
255
|
+
outer: z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
256
|
+
holes: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>>>;
|
|
257
|
+
}, z.core.$strip>>;
|
|
258
|
+
}, z.core.$strip>>;
|
|
259
|
+
}, z.core.$strip>>;
|
|
223
260
|
triangles: z.ZodNumber;
|
|
224
261
|
coverage: z.ZodOptional<z.ZodNumber>;
|
|
225
262
|
uncovered: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -327,6 +364,7 @@ export declare const WallAssembly: z.ZodObject<{
|
|
|
327
364
|
wood: "wood";
|
|
328
365
|
}>;
|
|
329
366
|
depth: z.ZodNumber;
|
|
367
|
+
spacing: z.ZodOptional<z.ZodNumber>;
|
|
330
368
|
}, z.core.$strip>;
|
|
331
369
|
interior: z.ZodOptional<z.ZodObject<{
|
|
332
370
|
finish: z.ZodEnum<{
|
|
@@ -385,6 +423,7 @@ export declare const WallNode: z.ZodObject<{
|
|
|
385
423
|
type: z.ZodDefault<z.ZodLiteral<"wall">>;
|
|
386
424
|
wallType: z.ZodOptional<z.ZodEnum<{
|
|
387
425
|
curtain: "curtain";
|
|
426
|
+
railing: "railing";
|
|
388
427
|
standard: "standard";
|
|
389
428
|
}>>;
|
|
390
429
|
curtainWall: z.ZodOptional<z.ZodObject<{
|
|
@@ -456,6 +495,22 @@ export declare const WallNode: z.ZodObject<{
|
|
|
456
495
|
}>;
|
|
457
496
|
}, z.core.$strip>>>;
|
|
458
497
|
}, z.core.$strip>>;
|
|
498
|
+
railing: z.ZodOptional<z.ZodObject<{
|
|
499
|
+
style: z.ZodDefault<z.ZodEnum<{
|
|
500
|
+
balusters: "balusters";
|
|
501
|
+
boards: "boards";
|
|
502
|
+
cable: "cable";
|
|
503
|
+
glass: "glass";
|
|
504
|
+
metal: "metal";
|
|
505
|
+
"post-and-rail": "post-and-rail";
|
|
506
|
+
}>>;
|
|
507
|
+
postSpacing: z.ZodDefault<z.ZodNumber>;
|
|
508
|
+
postSize: z.ZodDefault<z.ZodNumber>;
|
|
509
|
+
infillSize: z.ZodDefault<z.ZodNumber>;
|
|
510
|
+
infillGap: z.ZodDefault<z.ZodNumber>;
|
|
511
|
+
bottomClearance: z.ZodDefault<z.ZodNumber>;
|
|
512
|
+
cap: z.ZodDefault<z.ZodBoolean>;
|
|
513
|
+
}, z.core.$strip>>;
|
|
459
514
|
children: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodDefault<z.ZodTemplateLiteral<`item_${string}`>>, z.ZodDefault<z.ZodTemplateLiteral<`procedural-item_${string}`>>, z.ZodDefault<z.ZodTemplateLiteral<`door_${string}`>>, z.ZodDefault<z.ZodTemplateLiteral<`window_${string}`>>, z.ZodDefault<z.ZodTemplateLiteral<`leanto_${string}`>>]>>>;
|
|
460
515
|
material: z.ZodOptional<z.ZodObject<{
|
|
461
516
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -487,6 +542,11 @@ export declare const WallNode: z.ZodObject<{
|
|
|
487
542
|
url: z.ZodString;
|
|
488
543
|
repeat: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
489
544
|
scale: z.ZodOptional<z.ZodNumber>;
|
|
545
|
+
offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
546
|
+
normalMap: z.ZodOptional<z.ZodString>;
|
|
547
|
+
normalScale: z.ZodOptional<z.ZodNumber>;
|
|
548
|
+
bumpMap: z.ZodOptional<z.ZodString>;
|
|
549
|
+
bumpScale: z.ZodOptional<z.ZodNumber>;
|
|
490
550
|
}, z.core.$strip>>;
|
|
491
551
|
}, z.core.$strip>>;
|
|
492
552
|
materialPreset: z.ZodOptional<z.ZodString>;
|
|
@@ -520,6 +580,11 @@ export declare const WallNode: z.ZodObject<{
|
|
|
520
580
|
url: z.ZodString;
|
|
521
581
|
repeat: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
522
582
|
scale: z.ZodOptional<z.ZodNumber>;
|
|
583
|
+
offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
584
|
+
normalMap: z.ZodOptional<z.ZodString>;
|
|
585
|
+
normalScale: z.ZodOptional<z.ZodNumber>;
|
|
586
|
+
bumpMap: z.ZodOptional<z.ZodString>;
|
|
587
|
+
bumpScale: z.ZodOptional<z.ZodNumber>;
|
|
523
588
|
}, z.core.$strip>>;
|
|
524
589
|
}, z.core.$strip>>;
|
|
525
590
|
interiorMaterialPreset: z.ZodOptional<z.ZodString>;
|
|
@@ -553,6 +618,11 @@ export declare const WallNode: z.ZodObject<{
|
|
|
553
618
|
url: z.ZodString;
|
|
554
619
|
repeat: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
555
620
|
scale: z.ZodOptional<z.ZodNumber>;
|
|
621
|
+
offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
622
|
+
normalMap: z.ZodOptional<z.ZodString>;
|
|
623
|
+
normalScale: z.ZodOptional<z.ZodNumber>;
|
|
624
|
+
bumpMap: z.ZodOptional<z.ZodString>;
|
|
625
|
+
bumpScale: z.ZodOptional<z.ZodNumber>;
|
|
556
626
|
}, z.core.$strip>>;
|
|
557
627
|
}, z.core.$strip>>;
|
|
558
628
|
exteriorMaterialPreset: z.ZodOptional<z.ZodString>;
|
|
@@ -589,6 +659,11 @@ export declare const WallNode: z.ZodObject<{
|
|
|
589
659
|
url: z.ZodString;
|
|
590
660
|
repeat: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
591
661
|
scale: z.ZodOptional<z.ZodNumber>;
|
|
662
|
+
offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
663
|
+
normalMap: z.ZodOptional<z.ZodString>;
|
|
664
|
+
normalScale: z.ZodOptional<z.ZodNumber>;
|
|
665
|
+
bumpMap: z.ZodOptional<z.ZodString>;
|
|
666
|
+
bumpScale: z.ZodOptional<z.ZodNumber>;
|
|
592
667
|
}, z.core.$strip>>;
|
|
593
668
|
}, z.core.$strip>>;
|
|
594
669
|
materialPreset: z.ZodOptional<z.ZodString>;
|
|
@@ -624,6 +699,11 @@ export declare const WallNode: z.ZodObject<{
|
|
|
624
699
|
url: z.ZodString;
|
|
625
700
|
repeat: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
626
701
|
scale: z.ZodOptional<z.ZodNumber>;
|
|
702
|
+
offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
703
|
+
normalMap: z.ZodOptional<z.ZodString>;
|
|
704
|
+
normalScale: z.ZodOptional<z.ZodNumber>;
|
|
705
|
+
bumpMap: z.ZodOptional<z.ZodString>;
|
|
706
|
+
bumpScale: z.ZodOptional<z.ZodNumber>;
|
|
627
707
|
}, z.core.$strip>>;
|
|
628
708
|
}, z.core.$strip>>;
|
|
629
709
|
materialPreset: z.ZodOptional<z.ZodString>;
|
|
@@ -664,6 +744,7 @@ export declare const WallNode: z.ZodObject<{
|
|
|
664
744
|
}>;
|
|
665
745
|
thickness: z.ZodNumber;
|
|
666
746
|
core: z.ZodOptional<z.ZodLiteral<true>>;
|
|
747
|
+
spacing: z.ZodOptional<z.ZodNumber>;
|
|
667
748
|
material: z.ZodOptional<z.ZodString>;
|
|
668
749
|
slot: z.ZodOptional<z.ZodString>;
|
|
669
750
|
returns: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -697,6 +778,7 @@ export declare const WallNode: z.ZodObject<{
|
|
|
697
778
|
}>;
|
|
698
779
|
thickness: z.ZodNumber;
|
|
699
780
|
core: z.ZodOptional<z.ZodLiteral<true>>;
|
|
781
|
+
spacing: z.ZodOptional<z.ZodNumber>;
|
|
700
782
|
material: z.ZodOptional<z.ZodString>;
|
|
701
783
|
slot: z.ZodOptional<z.ZodString>;
|
|
702
784
|
returns: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -721,6 +803,7 @@ export declare const WallNode: z.ZodObject<{
|
|
|
721
803
|
b: "b";
|
|
722
804
|
}>>;
|
|
723
805
|
height: z.ZodOptional<z.ZodNumber>;
|
|
806
|
+
endHeightOffset: z.ZodOptional<z.ZodNumber>;
|
|
724
807
|
curveOffset: z.ZodOptional<z.ZodNumber>;
|
|
725
808
|
supportSlabId: z.ZodOptional<z.ZodString>;
|
|
726
809
|
supportOffset: z.ZodOptional<z.ZodNumber>;
|
|
@@ -902,6 +985,16 @@ export declare const WallNode: z.ZodObject<{
|
|
|
902
985
|
color: z.ZodString;
|
|
903
986
|
intensity: z.ZodNumber;
|
|
904
987
|
distance: z.ZodOptional<z.ZodNumber>;
|
|
988
|
+
spot: z.ZodOptional<z.ZodObject<{
|
|
989
|
+
direction: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
|
|
990
|
+
angle: z.ZodNumber;
|
|
991
|
+
softness: z.ZodNumber;
|
|
992
|
+
}, z.core.$strip>>;
|
|
993
|
+
shadows: z.ZodOptional<z.ZodBoolean>;
|
|
994
|
+
glow: z.ZodOptional<z.ZodObject<{
|
|
995
|
+
size: z.ZodNumber;
|
|
996
|
+
strength: z.ZodDefault<z.ZodNumber>;
|
|
997
|
+
}, z.core.$strip>>;
|
|
905
998
|
}, z.core.$strip>>>;
|
|
906
999
|
undersides: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
907
1000
|
part: z.ZodOptional<z.ZodString>;
|
|
@@ -925,6 +1018,17 @@ export declare const WallNode: z.ZodObject<{
|
|
|
925
1018
|
}, z.core.$strip>>>;
|
|
926
1019
|
cutout: z.ZodDefault<z.ZodBoolean>;
|
|
927
1020
|
collider: z.ZodDefault<z.ZodBoolean>;
|
|
1021
|
+
shape: z.ZodOptional<z.ZodObject<{
|
|
1022
|
+
tolerance: z.ZodNumber;
|
|
1023
|
+
bands: z.ZodArray<z.ZodObject<{
|
|
1024
|
+
y0: z.ZodNumber;
|
|
1025
|
+
y1: z.ZodNumber;
|
|
1026
|
+
polygons: z.ZodArray<z.ZodObject<{
|
|
1027
|
+
outer: z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
1028
|
+
holes: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>>>;
|
|
1029
|
+
}, z.core.$strip>>;
|
|
1030
|
+
}, z.core.$strip>>;
|
|
1031
|
+
}, z.core.$strip>>;
|
|
928
1032
|
triangles: z.ZodNumber;
|
|
929
1033
|
coverage: z.ZodOptional<z.ZodNumber>;
|
|
930
1034
|
uncovered: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1009,6 +1113,16 @@ export declare const WallNode: z.ZodObject<{
|
|
|
1009
1113
|
color: z.ZodString;
|
|
1010
1114
|
intensity: z.ZodNumber;
|
|
1011
1115
|
distance: z.ZodOptional<z.ZodNumber>;
|
|
1116
|
+
spot: z.ZodOptional<z.ZodObject<{
|
|
1117
|
+
direction: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
|
|
1118
|
+
angle: z.ZodNumber;
|
|
1119
|
+
softness: z.ZodNumber;
|
|
1120
|
+
}, z.core.$strip>>;
|
|
1121
|
+
shadows: z.ZodOptional<z.ZodBoolean>;
|
|
1122
|
+
glow: z.ZodOptional<z.ZodObject<{
|
|
1123
|
+
size: z.ZodNumber;
|
|
1124
|
+
strength: z.ZodDefault<z.ZodNumber>;
|
|
1125
|
+
}, z.core.$strip>>;
|
|
1012
1126
|
}, z.core.$strip>>>;
|
|
1013
1127
|
undersides: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1014
1128
|
part: z.ZodOptional<z.ZodString>;
|
|
@@ -1032,6 +1146,17 @@ export declare const WallNode: z.ZodObject<{
|
|
|
1032
1146
|
}, z.core.$strip>>>;
|
|
1033
1147
|
cutout: z.ZodDefault<z.ZodBoolean>;
|
|
1034
1148
|
collider: z.ZodDefault<z.ZodBoolean>;
|
|
1149
|
+
shape: z.ZodOptional<z.ZodObject<{
|
|
1150
|
+
tolerance: z.ZodNumber;
|
|
1151
|
+
bands: z.ZodArray<z.ZodObject<{
|
|
1152
|
+
y0: z.ZodNumber;
|
|
1153
|
+
y1: z.ZodNumber;
|
|
1154
|
+
polygons: z.ZodArray<z.ZodObject<{
|
|
1155
|
+
outer: z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
1156
|
+
holes: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>>>;
|
|
1157
|
+
}, z.core.$strip>>;
|
|
1158
|
+
}, z.core.$strip>>;
|
|
1159
|
+
}, z.core.$strip>>;
|
|
1035
1160
|
triangles: z.ZodNumber;
|
|
1036
1161
|
coverage: z.ZodOptional<z.ZodNumber>;
|
|
1037
1162
|
uncovered: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1065,6 +1190,15 @@ export type WallNode = z.infer<typeof WallNode>;
|
|
|
1065
1190
|
/** Legacy semantic side, read only by load migrations. */
|
|
1066
1191
|
export type WallSurfaceSide = 'interior' | 'exterior';
|
|
1067
1192
|
export declare const WALL_SLOT_DEFAULT: Record<WallFace, string>;
|
|
1193
|
+
/**
|
|
1194
|
+
* The default an unpainted face of `wall` shows (`a` is the +normal face, the
|
|
1195
|
+
* `frontSide`): `DEFAULT_EXTERIOR_WALL_FINISH` where that side faces outdoors,
|
|
1196
|
+
* the interior paint everywhere else — both faces of a partition or of a wall
|
|
1197
|
+
* whose rooms are not yet detected, and the inside face of an exterior wall.
|
|
1198
|
+
* An assembly's cladding or bare structure on the exterior face is drawn ahead
|
|
1199
|
+
* of it by the renderer.
|
|
1200
|
+
*/
|
|
1201
|
+
export declare function getWallFaceDefault(wall: Partial<Pick<WallNode, 'frontSide' | 'backSide'>>, face: WallFace): string;
|
|
1068
1202
|
export type WallTrimKind = 'skirting' | 'crown' | 'chairRail';
|
|
1069
1203
|
export type WallTrimSlotId = `${WallFace}${'Skirting' | 'Crown' | 'ChairRail'}`;
|
|
1070
1204
|
export declare function getWallTrimSlotId(face: WallFace, kind: WallTrimKind): WallTrimSlotId;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wall.d.ts","sourceRoot":"","sources":["../../../src/schema/nodes/wall.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAIvB,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"wall.d.ts","sourceRoot":"","sources":["../../../src/schema/nodes/wall.ts"],"names":[],"mappings":"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"}
|
|
@@ -8,6 +8,7 @@ import { CurtainWallConfig } from './curtain-wall.js';
|
|
|
8
8
|
import { DoorNode } from './door.js';
|
|
9
9
|
import { ItemNode } from './item.js';
|
|
10
10
|
import { LeanToExtensionNode } from './lean-to-extension.js';
|
|
11
|
+
import { RailingWallConfig } from './railing-wall.js';
|
|
11
12
|
import { WindowNode } from './window.js';
|
|
12
13
|
// Geometric faces: `a` is left of start → end, `b` is right (wall-frame convention).
|
|
13
14
|
// `interior` / `exterior` are legacy semantic values the M1 load migration maps
|
|
@@ -71,9 +72,25 @@ export const WALL_TRIM_DEFAULTS = {
|
|
|
71
72
|
export const WALL_SKIRTING_SLOT_DEFAULT = 'library:preset-softwhite';
|
|
72
73
|
export const WALL_CROWN_SLOT_DEFAULT = 'library:preset-white';
|
|
73
74
|
export const WALL_CHAIR_RAIL_SLOT_DEFAULT = 'library:preset-cream';
|
|
75
|
+
/**
|
|
76
|
+
* The paint an interior wall face shows until someone paints it: Seattle grey,
|
|
77
|
+
* a cool light grey flat colour from the catalog. Both faces of a partition and
|
|
78
|
+
* the inside face of an exterior wall wear it (`getWallFaceDefault`); an
|
|
79
|
+
* exterior face shows its assembly's cladding, or its bare block or concrete,
|
|
80
|
+
* else `DEFAULT_EXTERIOR_WALL_FINISH`. Raw drywall (`library:concrete-drywall`)
|
|
81
|
+
* stays in the catalog for a face meant to be bare.
|
|
82
|
+
*/
|
|
83
|
+
export const DEFAULT_INTERIOR_WALL_PAINT = 'library:preset-seattlegrey';
|
|
84
|
+
/**
|
|
85
|
+
* What an unpainted exterior wall face with no cladding shows: raw drywall, the
|
|
86
|
+
* default every face drew before the interior paint, kept outside so an old
|
|
87
|
+
* save's exterior walls look as they did and meet the roof's gable and heel
|
|
88
|
+
* bands (drywall too) without a seam at the plate.
|
|
89
|
+
*/
|
|
90
|
+
export const DEFAULT_EXTERIOR_WALL_FINISH = 'library:concrete-drywall';
|
|
74
91
|
export const WALL_SURFACE_SLOT_DEFAULTS = {
|
|
75
|
-
a:
|
|
76
|
-
b:
|
|
92
|
+
a: DEFAULT_INTERIOR_WALL_PAINT,
|
|
93
|
+
b: DEFAULT_INTERIOR_WALL_PAINT,
|
|
77
94
|
aSkirting: WALL_SKIRTING_SLOT_DEFAULT,
|
|
78
95
|
bSkirting: WALL_SKIRTING_SLOT_DEFAULT,
|
|
79
96
|
aCrown: WALL_CROWN_SLOT_DEFAULT,
|
|
@@ -179,6 +196,8 @@ export const WallAssembly = z
|
|
|
179
196
|
framing: z.object({
|
|
180
197
|
kind: WallAssemblyFramingKind,
|
|
181
198
|
depth: z.number().nonnegative(),
|
|
199
|
+
/** Studs on centre, metres; absent = the framer's own. */
|
|
200
|
+
spacing: z.number().positive().optional(),
|
|
182
201
|
}),
|
|
183
202
|
interior: z
|
|
184
203
|
.object({
|
|
@@ -205,8 +224,10 @@ export const WallAssembly = z
|
|
|
205
224
|
export const WallNode = BaseNode.extend({
|
|
206
225
|
id: objectId('wall'),
|
|
207
226
|
type: nodeType('wall'),
|
|
208
|
-
wallType: z.enum(['standard', 'curtain']).optional(),
|
|
227
|
+
wallType: z.enum(['standard', 'curtain', 'railing']).optional(),
|
|
209
228
|
curtainWall: CurtainWallConfig.optional(),
|
|
229
|
+
// How a railing wall's guard is built — see RailingWallConfig.
|
|
230
|
+
railing: RailingWallConfig.optional(),
|
|
210
231
|
children: z
|
|
211
232
|
.array(z.union([
|
|
212
233
|
ItemNode.shape.id,
|
|
@@ -262,6 +283,11 @@ export const WallNode = BaseNode.extend({
|
|
|
262
283
|
// Absent centers the body; a/b place it left/right of the stored start → end line.
|
|
263
284
|
justification: z.enum(['a', 'b']).optional(),
|
|
264
285
|
height: z.number().optional(),
|
|
286
|
+
// Added to the wall's top only at its `end` point (`start` is unaffected),
|
|
287
|
+
// tilting the top edge along the wall's length so one side is taller than
|
|
288
|
+
// the other — e.g. a knee wall following a single-pitch roof slope.
|
|
289
|
+
/** Height offset at the end point (default 0). */
|
|
290
|
+
endHeightOffset: z.number().optional(),
|
|
265
291
|
curveOffset: z.number().optional(),
|
|
266
292
|
// Persisted slab-support host — see ItemNode.supportSlabId for the rules.
|
|
267
293
|
supportSlabId: z.string().optional(),
|
|
@@ -290,10 +316,12 @@ export const WallNode = BaseNode.extend({
|
|
|
290
316
|
backSide: z.enum(['interior', 'exterior', 'unknown']).default('unknown'),
|
|
291
317
|
}).describe(dedent `
|
|
292
318
|
Wall node - used to represent a wall in the building
|
|
319
|
+
- wallType: standard (framed), curtain (glazed, curtainWall) or railing (an open guard, railing: { style, postSpacing, postSize, infillSize, infillGap, bottomClearance, cap }; it closes rooms like any wall, its doors are gaps in the guard, its height is its own and its thickness its posts')
|
|
293
320
|
- thickness: TOTAL thickness in meters (all assembly layers together)
|
|
294
321
|
- assembly: optional layered construction stack; when present it is the single
|
|
295
322
|
source of truth and thickness is re-derived from it on every edit
|
|
296
323
|
- height: height in meters
|
|
324
|
+
- endHeightOffset: added to the top only at the wall's end point, tilting the top edge so one side is taller than the other
|
|
297
325
|
- fillToTerrain: extends the wall downward to the terrain without changing its authored height
|
|
298
326
|
- underpinning: { rim, stem } — the finish carried rim metres below the base over the floor
|
|
299
327
|
platform's edge, then stem metres of concrete stemwall to the ground (the foundation slot)
|
|
@@ -305,15 +333,29 @@ export const WallNode = BaseNode.extend({
|
|
|
305
333
|
- frontSide: whether the front side faces interior, exterior, or unknown
|
|
306
334
|
- backSide: whether the back side faces interior, exterior, or unknown
|
|
307
335
|
`);
|
|
308
|
-
// Declared default appearance for an unpainted wall face in colored mode —
|
|
309
|
-
//
|
|
336
|
+
// Declared default appearance for an unpainted wall face in colored mode — the
|
|
337
|
+
// interior paint (`DEFAULT_INTERIOR_WALL_PAINT`). Lives in core so the
|
|
310
338
|
// slot declaration (nodes) and the material resolver (viewer) share one value.
|
|
311
339
|
// May be a `#rrggbb` colour or a `library:<id>` ref. Textures-off still
|
|
312
|
-
// collapses to the themed wall role (the escape hatch).
|
|
340
|
+
// collapses to the themed wall role (the escape hatch). A face on the wall's
|
|
341
|
+
// exterior side defaults to `DEFAULT_EXTERIOR_WALL_FINISH` instead
|
|
342
|
+
// (`getWallFaceDefault`).
|
|
313
343
|
export const WALL_SLOT_DEFAULT = {
|
|
314
344
|
a: WALL_SURFACE_SLOT_DEFAULTS.a,
|
|
315
345
|
b: WALL_SURFACE_SLOT_DEFAULTS.b,
|
|
316
346
|
};
|
|
347
|
+
/**
|
|
348
|
+
* The default an unpainted face of `wall` shows (`a` is the +normal face, the
|
|
349
|
+
* `frontSide`): `DEFAULT_EXTERIOR_WALL_FINISH` where that side faces outdoors,
|
|
350
|
+
* the interior paint everywhere else — both faces of a partition or of a wall
|
|
351
|
+
* whose rooms are not yet detected, and the inside face of an exterior wall.
|
|
352
|
+
* An assembly's cladding or bare structure on the exterior face is drawn ahead
|
|
353
|
+
* of it by the renderer.
|
|
354
|
+
*/
|
|
355
|
+
export function getWallFaceDefault(wall, face) {
|
|
356
|
+
const side = face === 'a' ? wall.frontSide : wall.backSide;
|
|
357
|
+
return side === 'exterior' ? DEFAULT_EXTERIOR_WALL_FINISH : WALL_SLOT_DEFAULT[face];
|
|
358
|
+
}
|
|
317
359
|
export function getWallTrimSlotId(face, kind) {
|
|
318
360
|
return `${face}${kind === 'skirting' ? 'Skirting' : kind === 'crown' ? 'Crown' : 'ChairRail'}`;
|
|
319
361
|
}
|
|
@@ -86,6 +86,11 @@ export declare const WindowNode: z.ZodObject<{
|
|
|
86
86
|
url: z.ZodString;
|
|
87
87
|
repeat: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
88
88
|
scale: z.ZodOptional<z.ZodNumber>;
|
|
89
|
+
offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
90
|
+
normalMap: z.ZodOptional<z.ZodString>;
|
|
91
|
+
normalScale: z.ZodOptional<z.ZodNumber>;
|
|
92
|
+
bumpMap: z.ZodOptional<z.ZodString>;
|
|
93
|
+
bumpScale: z.ZodOptional<z.ZodNumber>;
|
|
89
94
|
}, z.core.$strip>>;
|
|
90
95
|
}, z.core.$strip>>;
|
|
91
96
|
slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -158,6 +163,16 @@ export declare const WindowNode: z.ZodObject<{
|
|
|
158
163
|
color: z.ZodString;
|
|
159
164
|
intensity: z.ZodNumber;
|
|
160
165
|
distance: z.ZodOptional<z.ZodNumber>;
|
|
166
|
+
spot: z.ZodOptional<z.ZodObject<{
|
|
167
|
+
direction: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
|
|
168
|
+
angle: z.ZodNumber;
|
|
169
|
+
softness: z.ZodNumber;
|
|
170
|
+
}, z.core.$strip>>;
|
|
171
|
+
shadows: z.ZodOptional<z.ZodBoolean>;
|
|
172
|
+
glow: z.ZodOptional<z.ZodObject<{
|
|
173
|
+
size: z.ZodNumber;
|
|
174
|
+
strength: z.ZodDefault<z.ZodNumber>;
|
|
175
|
+
}, z.core.$strip>>;
|
|
161
176
|
}, z.core.$strip>>>;
|
|
162
177
|
undersides: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
163
178
|
part: z.ZodOptional<z.ZodString>;
|
|
@@ -181,6 +196,17 @@ export declare const WindowNode: z.ZodObject<{
|
|
|
181
196
|
}, z.core.$strip>>>;
|
|
182
197
|
cutout: z.ZodDefault<z.ZodBoolean>;
|
|
183
198
|
collider: z.ZodDefault<z.ZodBoolean>;
|
|
199
|
+
shape: z.ZodOptional<z.ZodObject<{
|
|
200
|
+
tolerance: z.ZodNumber;
|
|
201
|
+
bands: z.ZodArray<z.ZodObject<{
|
|
202
|
+
y0: z.ZodNumber;
|
|
203
|
+
y1: z.ZodNumber;
|
|
204
|
+
polygons: z.ZodArray<z.ZodObject<{
|
|
205
|
+
outer: z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
206
|
+
holes: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>>>;
|
|
207
|
+
}, z.core.$strip>>;
|
|
208
|
+
}, z.core.$strip>>;
|
|
209
|
+
}, z.core.$strip>>;
|
|
184
210
|
triangles: z.ZodNumber;
|
|
185
211
|
coverage: z.ZodOptional<z.ZodNumber>;
|
|
186
212
|
uncovered: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -254,8 +280,17 @@ export declare const WindowNode: z.ZodObject<{
|
|
|
254
280
|
louvered: "louvered";
|
|
255
281
|
"single-hung": "single-hung";
|
|
256
282
|
sliding: "sliding";
|
|
283
|
+
"tilt-turn": "tilt-turn";
|
|
257
284
|
}>>;
|
|
258
285
|
operationState: z.ZodDefault<z.ZodNumber>;
|
|
286
|
+
openingDirection: z.ZodOptional<z.ZodEnum<{
|
|
287
|
+
inward: "inward";
|
|
288
|
+
outward: "outward";
|
|
289
|
+
}>>;
|
|
290
|
+
tiltTurnMode: z.ZodOptional<z.ZodEnum<{
|
|
291
|
+
tilt: "tilt";
|
|
292
|
+
turn: "turn";
|
|
293
|
+
}>>;
|
|
259
294
|
awningDirection: z.ZodDefault<z.ZodEnum<{
|
|
260
295
|
down: "down";
|
|
261
296
|
up: "up";
|
|
@@ -282,7 +317,9 @@ export declare const WindowNode: z.ZodObject<{
|
|
|
282
317
|
archHeight: z.ZodDefault<z.ZodNumber>;
|
|
283
318
|
openingRevealRadius: z.ZodDefault<z.ZodNumber>;
|
|
284
319
|
frameThickness: z.ZodDefault<z.ZodNumber>;
|
|
285
|
-
frameDepth: z.
|
|
320
|
+
frameDepth: z.ZodOptional<z.ZodNumber>;
|
|
321
|
+
windowHandle: z.ZodOptional<z.ZodBoolean>;
|
|
322
|
+
sashGrid: z.ZodOptional<z.ZodBoolean>;
|
|
286
323
|
columnRatios: z.ZodDefault<z.ZodArray<z.ZodNumber>>;
|
|
287
324
|
rowRatios: z.ZodDefault<z.ZodArray<z.ZodNumber>>;
|
|
288
325
|
columnDividerThickness: z.ZodDefault<z.ZodNumber>;
|
|
@@ -301,6 +338,34 @@ export declare const WindowNode: z.ZodObject<{
|
|
|
301
338
|
sill: z.ZodDefault<z.ZodBoolean>;
|
|
302
339
|
sillDepth: z.ZodDefault<z.ZodNumber>;
|
|
303
340
|
sillThickness: z.ZodDefault<z.ZodNumber>;
|
|
341
|
+
sillOverhang: z.ZodOptional<z.ZodNumber>;
|
|
342
|
+
sillInterior: z.ZodOptional<z.ZodBoolean>;
|
|
343
|
+
sillInteriorDepth: z.ZodOptional<z.ZodNumber>;
|
|
344
|
+
sillInteriorThickness: z.ZodOptional<z.ZodNumber>;
|
|
345
|
+
sillInteriorOverhang: z.ZodOptional<z.ZodNumber>;
|
|
346
|
+
shutters: z.ZodOptional<z.ZodEnum<{
|
|
347
|
+
"board-batten": "board-batten";
|
|
348
|
+
louvered: "louvered";
|
|
349
|
+
none: "none";
|
|
350
|
+
panel: "panel";
|
|
351
|
+
}>>;
|
|
352
|
+
shutterWidth: z.ZodOptional<z.ZodNumber>;
|
|
353
|
+
shutterOpen: z.ZodOptional<z.ZodNumber>;
|
|
354
|
+
shutterSides: z.ZodOptional<z.ZodEnum<{
|
|
355
|
+
both: "both";
|
|
356
|
+
left: "left";
|
|
357
|
+
right: "right";
|
|
358
|
+
}>>;
|
|
359
|
+
rollerShutter: z.ZodOptional<z.ZodEnum<{
|
|
360
|
+
box: "box";
|
|
361
|
+
concealed: "concealed";
|
|
362
|
+
none: "none";
|
|
363
|
+
}>>;
|
|
364
|
+
rollerShutterBoxHeight: z.ZodOptional<z.ZodNumber>;
|
|
365
|
+
rollerShutterOpen: z.ZodOptional<z.ZodNumber>;
|
|
366
|
+
casingFaceA: z.ZodOptional<z.ZodBoolean>;
|
|
367
|
+
casingFaceB: z.ZodOptional<z.ZodBoolean>;
|
|
368
|
+
casingWidth: z.ZodOptional<z.ZodNumber>;
|
|
304
369
|
}, z.core.$strip>;
|
|
305
370
|
export type WindowNode = z.infer<typeof WindowNode>;
|
|
306
371
|
//# sourceMappingURL=window.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"window.d.ts","sourceRoot":"","sources":["../../../src/schema/nodes/window.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAMvB,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAE5C,eAAO,MAAM,sBAAsB;;;EAAgC,CAAA;AACnE,eAAO,MAAM,wBAAwB;;;;;EAKnC,CAAA;AACF,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAC3E,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA;AAE/E,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"window.d.ts","sourceRoot":"","sources":["../../../src/schema/nodes/window.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAMvB,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAE5C,eAAO,MAAM,sBAAsB;;;EAAgC,CAAA;AACnE,eAAO,MAAM,wBAAwB;;;;;EAKnC,CAAA;AACF,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAC3E,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA;AAE/E,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA2JrB,CAAA;AAEF,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAA"}
|
|
@@ -17,8 +17,9 @@ export const WindowNode = BaseNode.extend({
|
|
|
17
17
|
type: nodeType('window'),
|
|
18
18
|
material: MaterialSchema.optional(),
|
|
19
19
|
// Per-slot material overrides on the unified slot model. Keys: `frame`,
|
|
20
|
-
// `glass
|
|
21
|
-
//
|
|
20
|
+
// `glass`, `hardware`, `shutters`, `sill`, `casing-a`, `casing-b`. Value = a
|
|
21
|
+
// `MaterialRef` (`library:<id>` / `scene:<id>`) or a plain
|
|
22
|
+
// `#rrggbb` colour. Hardware follows the frame unless painted.
|
|
22
23
|
slots: z.record(z.string(), z.string()).optional(),
|
|
23
24
|
/**
|
|
24
25
|
* A three.js script the window is built from instead of its parametric frame, as on an item:
|
|
@@ -63,6 +64,8 @@ export const WindowNode = BaseNode.extend({
|
|
|
63
64
|
// Window family
|
|
64
65
|
windowType: WindowType.default('fixed'),
|
|
65
66
|
operationState: z.number().min(0).max(1).default(0),
|
|
67
|
+
openingDirection: z.enum(['outward', 'inward']).optional(),
|
|
68
|
+
tiltTurnMode: z.enum(['tilt', 'turn']).optional(),
|
|
66
69
|
awningDirection: z.enum(['up', 'down']).default('up'),
|
|
67
70
|
casementStyle: z.enum(['single', 'french']).default('single'),
|
|
68
71
|
hingesSide: z.enum(['left', 'right']).default('left'),
|
|
@@ -76,7 +79,15 @@ export const WindowNode = BaseNode.extend({
|
|
|
76
79
|
openingRevealRadius: z.number().default(0.025),
|
|
77
80
|
// Frame
|
|
78
81
|
frameThickness: z.number().default(0.05),
|
|
79
|
-
frameDepth: z
|
|
82
|
+
frameDepth: z
|
|
83
|
+
.number()
|
|
84
|
+
.optional()
|
|
85
|
+
.describe("Frame depth through the wall; left out, the frame is exactly the host wall's thickness."),
|
|
86
|
+
windowHandle: z.boolean().optional().describe('Show the operable sash handle (absent = true).'),
|
|
87
|
+
sashGrid: z
|
|
88
|
+
.boolean()
|
|
89
|
+
.optional()
|
|
90
|
+
.describe('Apply pane divisions per operable sash (absent = false).'),
|
|
80
91
|
// Divisions — ratios allow non-uniform panes
|
|
81
92
|
// [0.5, 0.5] = two equal panes
|
|
82
93
|
// [0.6, 0.4] = one larger, one smaller
|
|
@@ -98,13 +109,47 @@ export const WindowNode = BaseNode.extend({
|
|
|
98
109
|
sill: z.boolean().default(true),
|
|
99
110
|
sillDepth: z.number().default(0.08),
|
|
100
111
|
sillThickness: z.number().default(0.03),
|
|
112
|
+
sillOverhang: z.number().nonnegative().optional(),
|
|
113
|
+
sillInterior: z.boolean().optional(),
|
|
114
|
+
sillInteriorDepth: z.number().positive().optional(),
|
|
115
|
+
sillInteriorThickness: z.number().positive().optional(),
|
|
116
|
+
sillInteriorOverhang: z.number().nonnegative().optional(),
|
|
117
|
+
shutters: z.enum(['none', 'louvered', 'panel', 'board-batten']).optional(),
|
|
118
|
+
shutterWidth: z.number().positive().optional(),
|
|
119
|
+
shutterOpen: z.number().min(0).max(1).optional(),
|
|
120
|
+
shutterSides: z.enum(['both', 'left', 'right']).optional(),
|
|
121
|
+
rollerShutter: z.enum(['none', 'box', 'concealed']).optional(),
|
|
122
|
+
rollerShutterBoxHeight: z.number().positive().optional(),
|
|
123
|
+
rollerShutterOpen: z.number().min(0).max(1).optional(),
|
|
124
|
+
// Casing: flat boards on the finished faces of the host wall around the
|
|
125
|
+
// opening, never inside it, so the wall cutout stays width × height. The
|
|
126
|
+
// faces are the host's `a` / `b` (WallFace), not the unit's own front and
|
|
127
|
+
// back, so flipping the window leaves its casing where it is. Optional, never
|
|
128
|
+
// defaulted, so loading a saved opening adds no fields: absent faces are
|
|
129
|
+
// uncased, an absent width is 2 in.
|
|
130
|
+
casingFaceA: z.boolean().optional(),
|
|
131
|
+
casingFaceB: z.boolean().optional(),
|
|
132
|
+
casingWidth: z.number().positive().optional(),
|
|
101
133
|
}).describe(dedent `Window node - a parametric window placed on a wall
|
|
102
134
|
- position: center of the window in wall-local coordinate system
|
|
103
|
-
- width/height: overall outer dimensions
|
|
135
|
+
- width/height: overall outer dimensions, which are also the wall cutout
|
|
104
136
|
- windowType: explicit window family, defaulting old windows to fixed
|
|
105
|
-
- frameThickness: width of the frame members
|
|
137
|
+
- frameThickness: width of the frame members (new windows use 0.020 m; absent in saved windows keeps 0.05 m)
|
|
106
138
|
- frameDepth: how deep the frame sits within the wall
|
|
107
139
|
- columnRatios/rowRatios: pane division ratios
|
|
140
|
+
- windowHandle: show the interior handle on casement, awning, hopper and tilt-turn sashes (absent = true)
|
|
141
|
+
- sashGrid: pane divisions per operable sash (absent = false; saved windows keep no bars)
|
|
142
|
+
- openingDirection: casement/awning swing toward exterior or interior; absent preserves placement-face motion
|
|
143
|
+
- tiltTurnMode: tilt inward up to 15 degrees (default), or turn inward up to 90 degrees
|
|
144
|
+
- sillInterior: room-side stool board (absent = false); depth/thickness/overhang default to 0.06/0.03/0.015 m
|
|
145
|
+
- sillOverhang: exterior sill extension on each side (absent = 0.4 times sillDepth)
|
|
146
|
+
- shutterOpen/shutterSides: 0 closed to 1 open (default 1), both/left/right (default both); leaves over 0.75 m bifold and stack when open
|
|
147
|
+
- rollerShutter/rollerShutterOpen: none (default), box on the exterior wall, or concealed inside the reveal; curtain fraction up (default 1)
|
|
148
|
+
- rollerShutterBoxHeight: exterior box height in metres (default 0.18), box mount only
|
|
149
|
+
- concealed roller: 0.03 m lintel strip, 0.025 x 0.03 m jamb guides inside the reveal; curtain 0.02 m outside the frame plane, width minus 0.05 m
|
|
150
|
+
- shutters/shutterWidth: exterior shutters (absent = none); width per side defaults to width / 2 for both sides or full width for left/right only, uncapped; paired shutters meet with a 0.01 m overlap lip
|
|
108
151
|
- sill: whether to show a window sill
|
|
152
|
+
- casingFaceA/casingFaceB: picture-frame casing on the host wall's face a / b, around the cutout (absent means off; new openings enable both)
|
|
153
|
+
- casingWidth: face width of the casing boards (2 in by default)
|
|
109
154
|
- corner: joined to a window on the other wall at this wall's start or end (a corner window)
|
|
110
155
|
`);
|