@pascal-app/core 1.0.6 → 1.0.7
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 +407 -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 +7253 -4053
- 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 +109 -73
- 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 +1164 -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 +5880 -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 +38 -2
- 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 +257 -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 +1667 -866
- 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 +55 -11
- 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 +4 -6
- 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 +340 -195
- 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 +5951 -4351
- 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 +1 -0
- 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 +115 -7
- package/dist/building/wall-openings.d.ts.map +1 -1
- package/dist/building/wall-openings.js +121 -29
- 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 +888 -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 +3326 -2370
- 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 -24
- 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 +56 -1
- package/dist/hooks/spatial-grid/spatial-grid-manager.d.ts.map +1 -1
- package/dist/hooks/spatial-grid/spatial-grid-manager.js +177 -27
- package/dist/hooks/spatial-grid/spatial-grid-sync.d.ts +1631 -831
- package/dist/hooks/spatial-grid/spatial-grid-sync.d.ts.map +1 -1
- package/dist/hooks/spatial-grid/spatial-grid-sync.js +24 -1
- 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 +32 -16
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +31 -15
- package/dist/lib/__fixtures__/mezzanine.d.ts +6840 -4169
- package/dist/lib/__fixtures__/mezzanine.d.ts.map +1 -1
- package/dist/lib/absorb-wall-separators.d.ts +2128 -1328
- 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-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 +205 -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-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/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 +60 -35
- 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/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 +38 -6
- 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/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/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-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 +112 -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 +5 -2
- 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/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 +2 -2
- package/dist/registry/index.d.ts.map +1 -1
- package/dist/registry/index.js +1 -1
- 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/types.d.ts +65 -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.d.ts +224 -1
- package/dist/schema/nodes/roof-segment.d.ts.map +1 -1
- package/dist/schema/nodes/roof-segment.js +57 -10
- 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 +135 -2
- package/dist/schema/nodes/wall.d.ts.map +1 -1
- package/dist/schema/nodes/wall.js +42 -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 +1079 -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/roof-bearing.d.ts.map +1 -1
- package/dist/services/roof-bearing.js +6 -3
- 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.map +1 -1
- package/dist/services/storey.js +13 -8
- 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 +846 -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 +1057 -0
- package/dist/spatial/usage-field/walls.d.ts.map +1 -0
- package/dist/spatial/usage-field/walls.js +166 -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 +2124 -1322
- package/dist/store/actions/node-actions.d.ts.map +1 -1
- package/dist/store/actions/node-actions.js +42 -16
- 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 +31 -11
- 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 +6751 -5151
- 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-opening-system.d.ts.map +1 -1
- package/dist/systems/elevator/elevator-opening-system.js +9 -24
- 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 +85 -4
- 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 +3163 -1934
- package/dist/systems/slab/__fixtures__/floor-step.d.ts.map +1 -1
- package/dist/systems/slab/__fixtures__/raised-room.d.ts +2495 -1249
- 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 +889 -89
- 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-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-merge.d.ts.map +1 -1
- package/dist/systems/wall/wall-merge.js +28 -7
- 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 +2 -2
- package/dist/systems/wall/wall-top.d.ts.map +1 -1
- package/dist/systems/wall/wall-top.js +6 -1
- 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 +118 -10
- 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 +6523 -4923
- 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 +1930 -1130
- package/dist/utils/floor-plate-migration.d.ts.map +1 -1
- package/dist/utils/owned-floor-opening-migration.d.ts +888 -88
- package/dist/utils/owned-floor-opening-migration.d.ts.map +1 -1
- package/dist/utils/reconcile-structure-on-load.d.ts +1930 -1130
- 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/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
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* How a stair is actually built, apart from the body it is drawn with (`construction`):
|
|
4
|
+
* 'wood-stringers' — sawn 2x stringers carrying wood treads (the house and deck standard);
|
|
5
|
+
* 'concrete' — a solid poured flight on a footing (a porch stoop); 'steel-stringers' — steel
|
|
6
|
+
* channel stringers with treads between them. A stair without one keeps its original body.
|
|
7
|
+
*/
|
|
8
|
+
export const StairStructureType = z.enum(['wood-stringers', 'concrete', 'steel-stringers']);
|
|
9
|
+
/** Stringer stock: a 2x12 (the standard, DCA 6) or a 2x10 for a short flight. */
|
|
10
|
+
export const StairStringerStock = z.enum(['2x12', '2x10']);
|
|
11
|
+
/**
|
|
12
|
+
* 'cut' — sawtooth carriages notched for every tread and riser; 'housed' — solid outer
|
|
13
|
+
* stringers with the treads and risers housed (dadoed) into their faces, cut carriages between.
|
|
14
|
+
*/
|
|
15
|
+
export const StairStringerType = z.enum(['cut', 'housed']);
|
|
16
|
+
/**
|
|
17
|
+
* Tread stock: two 2x6s (the deck standard), two 5/4x6 deck boards, one 2x12, or a 3/4 in
|
|
18
|
+
* plywood subtread under a 3/4 in finish tread (carpet or hardwood inside the house).
|
|
19
|
+
*/
|
|
20
|
+
export const StairTreadStock = z.enum(['2x6-pair', '5/4x6-pair', '2x12', 'plywood-finish']);
|
|
21
|
+
/** The maximum stringer spacings offered, in inches on centre. */
|
|
22
|
+
export const STAIR_STRINGER_SPACINGS_IN = [12, 16, 18, 24];
|
|
23
|
+
export const StairStructure = z.object({
|
|
24
|
+
type: StairStructureType.default('wood-stringers'),
|
|
25
|
+
stringerStock: StairStringerStock.default('2x12'),
|
|
26
|
+
stringerType: StairStringerType.default('cut'),
|
|
27
|
+
/** The most the stringers may stand apart on centre (m) — 16 in; drives the automatic count. */
|
|
28
|
+
stringerSpacing: z.number().positive().default(0.4064),
|
|
29
|
+
/** A stringer count chosen by hand; absent = as many as keep every bay within `stringerSpacing`. */
|
|
30
|
+
stringerCount: z.number().int().min(2).max(12).optional(),
|
|
31
|
+
/** Absent = two 2x6s on an exterior stair, one 2x12 inside the house. */
|
|
32
|
+
treadStock: StairTreadStock.optional(),
|
|
33
|
+
/** Riser boards; absent = closed once the stair rises more than 30 in (IRC R311.7.5.1). */
|
|
34
|
+
closedRisers: z.boolean().optional(),
|
|
35
|
+
/** Pressure-treated lumber; absent = treated on an exterior stair. */
|
|
36
|
+
treated: z.boolean().optional(),
|
|
37
|
+
/** Nosing projection (m); absent = 1 in on wood and steel treads, none on concrete. */
|
|
38
|
+
nosing: z.number().nonnegative().optional(),
|
|
39
|
+
});
|
|
@@ -97,6 +97,11 @@ export declare const StairNode: z.ZodObject<{
|
|
|
97
97
|
url: z.ZodString;
|
|
98
98
|
repeat: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
99
99
|
scale: z.ZodOptional<z.ZodNumber>;
|
|
100
|
+
offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
101
|
+
normalMap: z.ZodOptional<z.ZodString>;
|
|
102
|
+
normalScale: z.ZodOptional<z.ZodNumber>;
|
|
103
|
+
bumpMap: z.ZodOptional<z.ZodString>;
|
|
104
|
+
bumpScale: z.ZodOptional<z.ZodNumber>;
|
|
100
105
|
}, z.core.$strip>>;
|
|
101
106
|
}, z.core.$strip>>;
|
|
102
107
|
materialPreset: z.ZodOptional<z.ZodString>;
|
|
@@ -130,6 +135,11 @@ export declare const StairNode: z.ZodObject<{
|
|
|
130
135
|
url: z.ZodString;
|
|
131
136
|
repeat: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
132
137
|
scale: z.ZodOptional<z.ZodNumber>;
|
|
138
|
+
offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
139
|
+
normalMap: z.ZodOptional<z.ZodString>;
|
|
140
|
+
normalScale: z.ZodOptional<z.ZodNumber>;
|
|
141
|
+
bumpMap: z.ZodOptional<z.ZodString>;
|
|
142
|
+
bumpScale: z.ZodOptional<z.ZodNumber>;
|
|
133
143
|
}, z.core.$strip>>;
|
|
134
144
|
}, z.core.$strip>>;
|
|
135
145
|
railingMaterialPreset: z.ZodOptional<z.ZodString>;
|
|
@@ -163,6 +173,11 @@ export declare const StairNode: z.ZodObject<{
|
|
|
163
173
|
url: z.ZodString;
|
|
164
174
|
repeat: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
165
175
|
scale: z.ZodOptional<z.ZodNumber>;
|
|
176
|
+
offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
177
|
+
normalMap: z.ZodOptional<z.ZodString>;
|
|
178
|
+
normalScale: z.ZodOptional<z.ZodNumber>;
|
|
179
|
+
bumpMap: z.ZodOptional<z.ZodString>;
|
|
180
|
+
bumpScale: z.ZodOptional<z.ZodNumber>;
|
|
166
181
|
}, z.core.$strip>>;
|
|
167
182
|
}, z.core.$strip>>;
|
|
168
183
|
treadMaterialPreset: z.ZodOptional<z.ZodString>;
|
|
@@ -196,6 +211,11 @@ export declare const StairNode: z.ZodObject<{
|
|
|
196
211
|
url: z.ZodString;
|
|
197
212
|
repeat: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
198
213
|
scale: z.ZodOptional<z.ZodNumber>;
|
|
214
|
+
offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
215
|
+
normalMap: z.ZodOptional<z.ZodString>;
|
|
216
|
+
normalScale: z.ZodOptional<z.ZodNumber>;
|
|
217
|
+
bumpMap: z.ZodOptional<z.ZodString>;
|
|
218
|
+
bumpScale: z.ZodOptional<z.ZodNumber>;
|
|
199
219
|
}, z.core.$strip>>;
|
|
200
220
|
}, z.core.$strip>>;
|
|
201
221
|
sideMaterialPreset: z.ZodOptional<z.ZodString>;
|
|
@@ -247,6 +267,32 @@ export declare const StairNode: z.ZodObject<{
|
|
|
247
267
|
stringerWidth: z.ZodDefault<z.ZodNumber>;
|
|
248
268
|
stringerDepth: z.ZodDefault<z.ZodNumber>;
|
|
249
269
|
}, z.core.$strip>>;
|
|
270
|
+
structure: z.ZodOptional<z.ZodObject<{
|
|
271
|
+
type: z.ZodDefault<z.ZodEnum<{
|
|
272
|
+
concrete: "concrete";
|
|
273
|
+
"steel-stringers": "steel-stringers";
|
|
274
|
+
"wood-stringers": "wood-stringers";
|
|
275
|
+
}>>;
|
|
276
|
+
stringerStock: z.ZodDefault<z.ZodEnum<{
|
|
277
|
+
"2x10": "2x10";
|
|
278
|
+
"2x12": "2x12";
|
|
279
|
+
}>>;
|
|
280
|
+
stringerType: z.ZodDefault<z.ZodEnum<{
|
|
281
|
+
cut: "cut";
|
|
282
|
+
housed: "housed";
|
|
283
|
+
}>>;
|
|
284
|
+
stringerSpacing: z.ZodDefault<z.ZodNumber>;
|
|
285
|
+
stringerCount: z.ZodOptional<z.ZodNumber>;
|
|
286
|
+
treadStock: z.ZodOptional<z.ZodEnum<{
|
|
287
|
+
"2x12": "2x12";
|
|
288
|
+
"2x6-pair": "2x6-pair";
|
|
289
|
+
"5/4x6-pair": "5/4x6-pair";
|
|
290
|
+
"plywood-finish": "plywood-finish";
|
|
291
|
+
}>>;
|
|
292
|
+
closedRisers: z.ZodOptional<z.ZodBoolean>;
|
|
293
|
+
treated: z.ZodOptional<z.ZodBoolean>;
|
|
294
|
+
nosing: z.ZodOptional<z.ZodNumber>;
|
|
295
|
+
}, z.core.$strip>>;
|
|
250
296
|
innerRadius: z.ZodDefault<z.ZodNumber>;
|
|
251
297
|
sweepAngle: z.ZodDefault<z.ZodNumber>;
|
|
252
298
|
topLandingMode: z.ZodDefault<z.ZodEnum<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stair.d.ts","sourceRoot":"","sources":["../../../src/schema/nodes/stair.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,KAAK,EAAE,cAAc,IAAI,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAKvE,OAAO,EAAE,kBA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA0GrB,CAAA;AAED,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,SAAS,CAAC,CAAA;AASjD,wBAAgB,gCAAgC,CAC9C,IAAI,EAAE,SAAS,EACf,IAAI,EAAE,wBAAwB,GAC7B,wBAAwB,CAmE1B"}
|
|
@@ -8,6 +8,7 @@ export { StairDesignTargets } from './stair-design-targets.js';
|
|
|
8
8
|
export { StairRailingMode, StairRailingStyle } from './stair-types.js';
|
|
9
9
|
import { StairConstruction } from './stair-construction.js';
|
|
10
10
|
import { StairSegmentNode } from './stair-segment.js';
|
|
11
|
+
import { StairStructure } from './stair-structure.js';
|
|
11
12
|
export const StairType = z.enum(['straight', 'curved', 'spiral']);
|
|
12
13
|
export const StairTopLandingMode = z.enum(['none', 'integrated']);
|
|
13
14
|
export const StairSlabOpeningMode = z.enum(['none', 'destination']);
|
|
@@ -55,6 +56,7 @@ export const StairNode = BaseNode.extend({
|
|
|
55
56
|
thickness: z.number().default(0.25),
|
|
56
57
|
fillToFloor: z.boolean().default(true),
|
|
57
58
|
construction: StairConstruction.optional(),
|
|
59
|
+
structure: StairStructure.optional(),
|
|
58
60
|
innerRadius: z.number().default(0.9),
|
|
59
61
|
sweepAngle: z.number().default(Math.PI / 2),
|
|
60
62
|
topLandingMode: StairTopLandingMode.default('none'),
|
|
@@ -99,6 +101,7 @@ export const StairNode = BaseNode.extend({
|
|
|
99
101
|
- totalRise: total stair height
|
|
100
102
|
- stepCount: number of visible steps
|
|
101
103
|
- construction: optional explicit construction and finish details, inherited by child segments; absence preserves legacy bodies
|
|
104
|
+
- structure: how the stair is built — wood-stringers (2x12 or 2x10 stringers, cut or housed, the count automatic from a maximum spacing of 16 in o.c. unless set; 2x6-pair, 5/4x6-pair, 2x12 or plywood-finish treads; closed risers once it rises over 30 in), concrete (a solid poured flight on a footing) or steel-stringers (steel channels); it draws the body when no explicit construction is set. Absent keeps the original body
|
|
102
105
|
- autoSurfaceSnap: magnetically connect straight flights to nearby registered top surfaces
|
|
103
106
|
- thickness: stair slab / tread thickness
|
|
104
107
|
- fillToFloor: whether the stair mass fills down to the floor or uses tread thickness only
|
|
@@ -78,6 +78,11 @@ export declare const TurbineVentNode: z.ZodObject<{
|
|
|
78
78
|
url: z.ZodString;
|
|
79
79
|
repeat: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
80
80
|
scale: z.ZodOptional<z.ZodNumber>;
|
|
81
|
+
offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
82
|
+
normalMap: z.ZodOptional<z.ZodString>;
|
|
83
|
+
normalScale: z.ZodOptional<z.ZodNumber>;
|
|
84
|
+
bumpMap: z.ZodOptional<z.ZodString>;
|
|
85
|
+
bumpScale: z.ZodOptional<z.ZodNumber>;
|
|
81
86
|
}, z.core.$strip>>;
|
|
82
87
|
}, z.core.$strip>>;
|
|
83
88
|
slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"turbine-vent.d.ts","sourceRoot":"","sources":["../../../src/schema/nodes/turbine-vent.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAIvB,eAAO,MAAM,uBAAuB;;;EAA2B,CAAA;AAC/D,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE7E,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"turbine-vent.d.ts","sourceRoot":"","sources":["../../../src/schema/nodes/turbine-vent.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAIvB,eAAO,MAAM,uBAAuB;;;EAA2B,CAAA;AAC/D,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE7E,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA2C3B,CAAA;AAED,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAA"}
|
|
@@ -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>;
|
|
@@ -902,6 +984,16 @@ export declare const WallNode: z.ZodObject<{
|
|
|
902
984
|
color: z.ZodString;
|
|
903
985
|
intensity: z.ZodNumber;
|
|
904
986
|
distance: z.ZodOptional<z.ZodNumber>;
|
|
987
|
+
spot: z.ZodOptional<z.ZodObject<{
|
|
988
|
+
direction: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
|
|
989
|
+
angle: z.ZodNumber;
|
|
990
|
+
softness: z.ZodNumber;
|
|
991
|
+
}, z.core.$strip>>;
|
|
992
|
+
shadows: z.ZodOptional<z.ZodBoolean>;
|
|
993
|
+
glow: z.ZodOptional<z.ZodObject<{
|
|
994
|
+
size: z.ZodNumber;
|
|
995
|
+
strength: z.ZodDefault<z.ZodNumber>;
|
|
996
|
+
}, z.core.$strip>>;
|
|
905
997
|
}, z.core.$strip>>>;
|
|
906
998
|
undersides: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
907
999
|
part: z.ZodOptional<z.ZodString>;
|
|
@@ -925,6 +1017,17 @@ export declare const WallNode: z.ZodObject<{
|
|
|
925
1017
|
}, z.core.$strip>>>;
|
|
926
1018
|
cutout: z.ZodDefault<z.ZodBoolean>;
|
|
927
1019
|
collider: z.ZodDefault<z.ZodBoolean>;
|
|
1020
|
+
shape: z.ZodOptional<z.ZodObject<{
|
|
1021
|
+
tolerance: z.ZodNumber;
|
|
1022
|
+
bands: z.ZodArray<z.ZodObject<{
|
|
1023
|
+
y0: z.ZodNumber;
|
|
1024
|
+
y1: z.ZodNumber;
|
|
1025
|
+
polygons: z.ZodArray<z.ZodObject<{
|
|
1026
|
+
outer: z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
1027
|
+
holes: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>>>;
|
|
1028
|
+
}, z.core.$strip>>;
|
|
1029
|
+
}, z.core.$strip>>;
|
|
1030
|
+
}, z.core.$strip>>;
|
|
928
1031
|
triangles: z.ZodNumber;
|
|
929
1032
|
coverage: z.ZodOptional<z.ZodNumber>;
|
|
930
1033
|
uncovered: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1009,6 +1112,16 @@ export declare const WallNode: z.ZodObject<{
|
|
|
1009
1112
|
color: z.ZodString;
|
|
1010
1113
|
intensity: z.ZodNumber;
|
|
1011
1114
|
distance: z.ZodOptional<z.ZodNumber>;
|
|
1115
|
+
spot: z.ZodOptional<z.ZodObject<{
|
|
1116
|
+
direction: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
|
|
1117
|
+
angle: z.ZodNumber;
|
|
1118
|
+
softness: z.ZodNumber;
|
|
1119
|
+
}, z.core.$strip>>;
|
|
1120
|
+
shadows: z.ZodOptional<z.ZodBoolean>;
|
|
1121
|
+
glow: z.ZodOptional<z.ZodObject<{
|
|
1122
|
+
size: z.ZodNumber;
|
|
1123
|
+
strength: z.ZodDefault<z.ZodNumber>;
|
|
1124
|
+
}, z.core.$strip>>;
|
|
1012
1125
|
}, z.core.$strip>>>;
|
|
1013
1126
|
undersides: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1014
1127
|
part: z.ZodOptional<z.ZodString>;
|
|
@@ -1032,6 +1145,17 @@ export declare const WallNode: z.ZodObject<{
|
|
|
1032
1145
|
}, z.core.$strip>>>;
|
|
1033
1146
|
cutout: z.ZodDefault<z.ZodBoolean>;
|
|
1034
1147
|
collider: z.ZodDefault<z.ZodBoolean>;
|
|
1148
|
+
shape: z.ZodOptional<z.ZodObject<{
|
|
1149
|
+
tolerance: z.ZodNumber;
|
|
1150
|
+
bands: z.ZodArray<z.ZodObject<{
|
|
1151
|
+
y0: z.ZodNumber;
|
|
1152
|
+
y1: z.ZodNumber;
|
|
1153
|
+
polygons: z.ZodArray<z.ZodObject<{
|
|
1154
|
+
outer: z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
1155
|
+
holes: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>>>;
|
|
1156
|
+
}, z.core.$strip>>;
|
|
1157
|
+
}, z.core.$strip>>;
|
|
1158
|
+
}, z.core.$strip>>;
|
|
1035
1159
|
triangles: z.ZodNumber;
|
|
1036
1160
|
coverage: z.ZodOptional<z.ZodNumber>;
|
|
1037
1161
|
uncovered: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1065,6 +1189,15 @@ export type WallNode = z.infer<typeof WallNode>;
|
|
|
1065
1189
|
/** Legacy semantic side, read only by load migrations. */
|
|
1066
1190
|
export type WallSurfaceSide = 'interior' | 'exterior';
|
|
1067
1191
|
export declare const WALL_SLOT_DEFAULT: Record<WallFace, string>;
|
|
1192
|
+
/**
|
|
1193
|
+
* The default an unpainted face of `wall` shows (`a` is the +normal face, the
|
|
1194
|
+
* `frontSide`): `DEFAULT_EXTERIOR_WALL_FINISH` where that side faces outdoors,
|
|
1195
|
+
* the interior paint everywhere else — both faces of a partition or of a wall
|
|
1196
|
+
* whose rooms are not yet detected, and the inside face of an exterior wall.
|
|
1197
|
+
* An assembly's cladding or bare structure on the exterior face is drawn ahead
|
|
1198
|
+
* of it by the renderer.
|
|
1199
|
+
*/
|
|
1200
|
+
export declare function getWallFaceDefault(wall: Partial<Pick<WallNode, 'frontSide' | 'backSide'>>, face: WallFace): string;
|
|
1068
1201
|
export type WallTrimKind = 'skirting' | 'crown' | 'chairRail';
|
|
1069
1202
|
export type WallTrimSlotId = `${WallFace}${'Skirting' | 'Crown' | 'ChairRail'}`;
|
|
1070
1203
|
export declare function getWallTrimSlotId(face: WallFace, kind: WallTrimKind): WallTrimSlotId;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wall.d.ts","sourceRoot":"","sources":["../../../src/sch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Ac,CAAC,EAAE,MAAM,CAAA;IACvB,gBAAgB,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAA;IACjD,sBAAsB,CAAC,EAAE,MAAM,CAAA;IAC/B,gBAAgB,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAA;IACjD,sBAAsB,CAAC,EAAE,MAAM,CAAA;CAChC,CAAA;AAuBD,wBAAgB,+BAA+B,CAC7C,IAAI,EAAE,yBAAyB,EAC/B,IAAI,EAAE,eAAe,GACpB,uBAAuB,CAUzB;AAED,KAAK,sBAAsB,GAAG,yBAAyB,GAAG;IACxD,mBAAmB,CAAC,EAAE,QAAQ,CAAC,qBAAqB,CAAC,CAAA;CACtD,CAAA;AAED,mGAAmG;AACnG,wBAAgB,4BAA4B,CAC1C,IAAI,EAAE,sBAAsB,EAC5B,IAAI,EAAE,QAAQ,GACb,uBAAuB,CAMzB;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,uBAAuB,GAAG,MAAM,CAKrF"}
|
|
@@ -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,
|
|
@@ -290,6 +311,7 @@ export const WallNode = BaseNode.extend({
|
|
|
290
311
|
backSide: z.enum(['interior', 'exterior', 'unknown']).default('unknown'),
|
|
291
312
|
}).describe(dedent `
|
|
292
313
|
Wall node - used to represent a wall in the building
|
|
314
|
+
- 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
315
|
- thickness: TOTAL thickness in meters (all assembly layers together)
|
|
294
316
|
- assembly: optional layered construction stack; when present it is the single
|
|
295
317
|
source of truth and thickness is re-derived from it on every edit
|
|
@@ -305,15 +327,29 @@ export const WallNode = BaseNode.extend({
|
|
|
305
327
|
- frontSide: whether the front side faces interior, exterior, or unknown
|
|
306
328
|
- backSide: whether the back side faces interior, exterior, or unknown
|
|
307
329
|
`);
|
|
308
|
-
// Declared default appearance for an unpainted wall face in colored mode —
|
|
309
|
-
//
|
|
330
|
+
// Declared default appearance for an unpainted wall face in colored mode — the
|
|
331
|
+
// interior paint (`DEFAULT_INTERIOR_WALL_PAINT`). Lives in core so the
|
|
310
332
|
// slot declaration (nodes) and the material resolver (viewer) share one value.
|
|
311
333
|
// May be a `#rrggbb` colour or a `library:<id>` ref. Textures-off still
|
|
312
|
-
// collapses to the themed wall role (the escape hatch).
|
|
334
|
+
// collapses to the themed wall role (the escape hatch). A face on the wall's
|
|
335
|
+
// exterior side defaults to `DEFAULT_EXTERIOR_WALL_FINISH` instead
|
|
336
|
+
// (`getWallFaceDefault`).
|
|
313
337
|
export const WALL_SLOT_DEFAULT = {
|
|
314
338
|
a: WALL_SURFACE_SLOT_DEFAULTS.a,
|
|
315
339
|
b: WALL_SURFACE_SLOT_DEFAULTS.b,
|
|
316
340
|
};
|
|
341
|
+
/**
|
|
342
|
+
* The default an unpainted face of `wall` shows (`a` is the +normal face, the
|
|
343
|
+
* `frontSide`): `DEFAULT_EXTERIOR_WALL_FINISH` where that side faces outdoors,
|
|
344
|
+
* the interior paint everywhere else — both faces of a partition or of a wall
|
|
345
|
+
* whose rooms are not yet detected, and the inside face of an exterior wall.
|
|
346
|
+
* An assembly's cladding or bare structure on the exterior face is drawn ahead
|
|
347
|
+
* of it by the renderer.
|
|
348
|
+
*/
|
|
349
|
+
export function getWallFaceDefault(wall, face) {
|
|
350
|
+
const side = face === 'a' ? wall.frontSide : wall.backSide;
|
|
351
|
+
return side === 'exterior' ? DEFAULT_EXTERIOR_WALL_FINISH : WALL_SLOT_DEFAULT[face];
|
|
352
|
+
}
|
|
317
353
|
export function getWallTrimSlotId(face, kind) {
|
|
318
354
|
return `${face}${kind === 'skirting' ? 'Skirting' : kind === 'crown' ? 'Crown' : 'ChairRail'}`;
|
|
319
355
|
}
|