@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schema/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,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,EACL,sBAAsB,EACtB,wBAAwB,EACxB,UAAU,EACV,UAAU,GACX,MAAM,gBAAgB,CAAA;AACvB,OAAO,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAExD,OAAO,EACL,uBAAuB,EACvB,0BAA0B,EAC1B,8BAA8B,EAC9B,4BAA4B,EAC5B,mBAAmB,EACnB,UAAU,EACV,iBAAiB,EACjB,mBAAmB,EACnB,aAAa,EACb,cAAc,GACf,MAAM,cAAc,CAAA;AACrB,OAAO,EAAE,uBAAuB,EAAE,aAAa,EAAE,KAAK,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAE/F,OAAO,EAAE,KAAK,eAAe,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AACpF,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AACzD,YAAY,EACV,MAAM,EACN,YAAY,EACZ,SAAS,EACT,aAAa,EACb,WAAW,EACX,aAAa,EACb,UAAU,EACV,aAAa,EACb,WAAW,EACX,MAAM,EACN,UAAU,EACV,UAAU,EACV,SAAS,EACT,eAAe,EACf,mBAAmB,EACnB,KAAK,EACL,UAAU,EACV,SAAS,EACT,OAAO,EACP,sBAAsB,EACtB,aAAa,EACb,mBAAmB,EACnB,cAAc,EACd,gBAAgB,EAChB,aAAa,EACb,cAAc,EACd,YAAY,EACZ,cAAc,GACf,MAAM,SAAS,CAAA;AAEhB,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAC7C,OAAO,EACL,uBAAuB,EACvB,aAAa,EACb,kBAAkB,EAClB,oBAAoB,GACrB,MAAM,aAAa,CAAA"}
|
package/dist/schema/index.js
CHANGED
|
@@ -4,8 +4,10 @@ export { SOLAR_PANEL_PRESET_LABELS, SOLAR_PANEL_PRESETS, SolarPanelPresetKey, }
|
|
|
4
4
|
// Assembly layers (F2)
|
|
5
5
|
export { Assembly, AssemblyLayer, AssemblyLayerId, LayerRole } from './assembly.js';
|
|
6
6
|
// Asset URL allowlist
|
|
7
|
-
export { ALLOWED_ORIGINS_ENV, ALLOWED_SCHEMES, AssetUrl } from './asset-url.js';
|
|
7
|
+
export { __resetAllowedOriginsCacheForTests, ALLOWED_ORIGINS_ENV, ALLOWED_SCHEMES, AssetUrl, allowedOriginsFrom, parseAllowedOrigins, } from './asset-url.js';
|
|
8
8
|
export { BaseNode, generateId, Material, nodeType, objectId } from './base.js';
|
|
9
|
+
// Roof-plane and ceiling layer build-ups
|
|
10
|
+
export { CeilingBuildUp, CeilingFraming, InsulationKind, InsulationLayer, InteriorFinishKind, InteriorFinishLayer, NominalLumber, PanelKind, PanelLayer, RoofBuildUp, RoofingKind, RoofingLayer, RoofStructure, UnderlaymentKind, UnderlaymentLayer, } from './build-up.js';
|
|
9
11
|
// Camera
|
|
10
12
|
export { CameraSchema } from './camera.js';
|
|
11
13
|
// Collections
|
|
@@ -16,21 +18,22 @@ export { compiledNodeParsersEnabled, enableCompiledNodeParsers, parseNode, } fro
|
|
|
16
18
|
// Cut intents (F5b)
|
|
17
19
|
export { CutIntent, CutShape } from './cut.js';
|
|
18
20
|
export { GeometryArtifactMetadata, GeometryReuseFields, GeometrySourceMeta, } from './geometry-metadata.js';
|
|
19
|
-
export { GEOMETRY_MANIFEST_MAX_BYTES, GEOMETRY_SCRIPT_MAX_BYTES, GEOMETRY_SCRIPT_MIME_TYPES, GeometryArtifactManifest, GeometryScriptLanguage, GeometryScriptMount, GeometryScriptParamSpec, GeometryScriptParamValue, GeometryScriptSource, isGeometryScriptMimeType, } from './geometry-source.js';
|
|
21
|
+
export { GEOMETRY_MANIFEST_MAX_BYTES, GEOMETRY_SCRIPT_MAX_BYTES, GEOMETRY_SCRIPT_MIME_TYPES, GeometryArtifactManifest, GeometryScriptLanguage, GeometryScriptMount, GeometryScriptParamSpec, GeometryScriptParamValue, GeometryScriptSource, GeometryShape, isGeometryScriptMimeType, LightGlow, LightSpot, } from './geometry-source.js';
|
|
20
22
|
// Material
|
|
21
23
|
export { DEFAULT_MATERIALS, MaterialMapPropertiesSchema, MaterialMapsSchema, MaterialPreset, MaterialPresetPayloadSchema, MaterialProperties, MaterialSchema, MaterialTarget, resolveMaterial, TextureWrapMode, } from './material.js';
|
|
22
24
|
export { planAutomaticDownspouts, resolveAutomaticDownspoutLength, } from './nodes/automatic-downspout.js';
|
|
25
|
+
export { BEAM_SIZE_PRESETS, BeamMaterial, BeamNode, BeamPlacement, DEFAULT_BEAM_SIZE_PRESET_ID, } from './nodes/beam.js';
|
|
23
26
|
export { BlockEdge, BlockFace, BlockNode, BlockTopology, BlockVertex, blockUndirectedEdgeKey, createBoxBlockTopology, getBlockFaceCentroid, getBlockFaceFrame, getBlockFaceNormal, inspectBlockTopology, } from './nodes/block.js';
|
|
24
27
|
export { BoxVentMaterialRole, BoxVentNode } from './nodes/box-vent.js';
|
|
25
28
|
export { BuildingNode } from './nodes/building.js';
|
|
26
29
|
export { CABINET_METRIC_DEFAULTS, CabinetFrontStyleSchema, CabinetModuleNode, CabinetNode, CabinetTopFinishSchema, } from './nodes/cabinet.js';
|
|
27
30
|
export { CeilingNode } from './nodes/ceiling.js';
|
|
28
31
|
export { ChimneyMaterialRole, ChimneyNode } from './nodes/chimney.js';
|
|
29
|
-
export { COLUMN_PRESETS, ColumnBaseStyle, ColumnCapitalStyle, ColumnCarvingPlacement, ColumnCrossSection, ColumnNode, ColumnPanelShape, ColumnRingPlacement, ColumnShaftDetail, ColumnShaftProfile, ColumnStyle, ColumnSupportStyle, } from './nodes/column.js';
|
|
32
|
+
export { COLUMN_PRESETS, ColumnBaseStyle, ColumnCapitalStyle, ColumnCarvingPlacement, ColumnCrossSection, ColumnNode, ColumnPanelShape, ColumnPostBase, ColumnRingPlacement, ColumnShaftDetail, ColumnShaftProfile, ColumnStyle, ColumnSupportStyle, } from './nodes/column.js';
|
|
30
33
|
export { CONSTRUCTION_DRAWING_TYPES, ConstructionDimensionBaseline, ConstructionDimensionChainMode, ConstructionDimensionDatumPolicy, ConstructionDimensionDrawingOverride, ConstructionDimensionDrawingPresentation, ConstructionDimensionImperialPrecision, ConstructionDimensionMetricNotation, ConstructionDimensionMode, ConstructionDimensionNode, ConstructionDimensionTerminator, ConstructionDimensionTextPosition, ConstructionDrawingType, constructionDimensionRequiredAnchorCount, resolveConstructionDimensionDrawingOverride, resolveConstructionDimensionDrawingPresentation, setConstructionDimensionDrawingPresentation, setConstructionDimensionDrawingSuppressedSegments, } from './nodes/construction-dimension.js';
|
|
31
34
|
export { CupolaMaterialRole, CupolaNode } from './nodes/cupola.js';
|
|
32
35
|
export { CurtainGrid, CurtainPanelType, CurtainWallConfig, curtainGridPositions, DEFAULT_CURTAIN_WALL, getCurtainWallConfig, } from './nodes/curtain-wall.js';
|
|
33
|
-
export { DoorNode, DoorSegment, FRENCH_DOOR_SEGMENTS, OpeningConstructionType, OpeningDimensionReference, } from './nodes/door.js';
|
|
36
|
+
export { DoorHandleStyle, DoorNode, DoorSegment, doorHandleStyle, FRENCH_DOOR_SEGMENTS, OpeningConstructionType, OpeningDimensionReference, } from './nodes/door.js';
|
|
34
37
|
export { createDormerDefaultWindow, DormerNode, DormerWallFace, dormerPointToWallFace, dormerWallFacePointToDormer, getDormerDefaultWindowFace, getDormerExposedFaces, getDormerWallFaceFrame, getDormerWallHorizontalBoundsAtHeight, getDormerWallOpeningVerticalBounds, getDormerWallVerticalBounds, getEffectiveDormerSurfaceMaterial, } from './nodes/dormer.js';
|
|
35
38
|
export { DownspoutNode, defaultDownspoutMetadata, isDefaultDownspoutNode, usesAutomaticDownspoutLength, } from './nodes/downspout.js';
|
|
36
39
|
export { DuctFittingNode } from './nodes/duct-fitting.js';
|
|
@@ -54,11 +57,12 @@ export { AngleMeasurement, AreaMeasurement, DistanceMeasurement, MeasurementAnch
|
|
|
54
57
|
export { PipeFittingNode } from './nodes/pipe-fitting.js';
|
|
55
58
|
export { PipeSegmentNode } from './nodes/pipe-segment.js';
|
|
56
59
|
export { PipeTrapNode } from './nodes/pipe-trap.js';
|
|
60
|
+
export { DEFAULT_RAILING_WALL, getRailingWallConfig, getRailingWallHeight, isRailingWall, RAILING_GUARD_HEIGHT, RAILING_GUARD_HEIGHT_TALL, RAILING_MAX_POST_SPACING, RAILING_SPHERE_LIMIT, RAILING_STYLE_DEFAULTS, RailingWallConfig, RailingWallStyle, railingOpeningFields, railingWallDefaults, railingWallSlotDefault, } from './nodes/railing-wall.js';
|
|
57
61
|
// Nodes
|
|
58
62
|
export { createDefaultRidgeVentsForSegment, getRidgeVentLinesForSegment, hasAutoRidgeVentMetadata, isAutoRidgeVentEnabled, isDefaultRidgeVentNode, RidgeVentNode, } from './nodes/ridge-vent.js';
|
|
59
63
|
export { getEffectiveRoofSurfaceMaterial, RoofNode } from './nodes/roof.js';
|
|
60
64
|
export { clipGlazedRoofPolygon, DEFAULT_ROOF_GLAZING, getBarrelRoofFaces, getBarrelRoofSolidPieces, getGlazedRoofFaces, getGlazedRoofLayout, getGlazedRoofPanelType, getGlazedRoofPieceFaces, getGlazedRoofPieces, getGlazedRoofPlanLines, getRoofGlazing, glazedRoofFacePoint, glazedRoofSupportsPoint, insetGlazedRoofPolygon, isGlazedRoofSegment, isIndependentRoofSegment, RoofGlazing, RoofSystemType, supportsRoofGlazing, } from './nodes/roof-glazing.js';
|
|
61
|
-
export { getActiveRoofHeight, getConicalRoofCoverage, getDutchRoofMetrics, getEffectiveSegmentSurfaceMaterial, getPitchFromActiveRoofHeight, getRoofSegmentDeckReach, getRoofSegmentEndReach, getRoofSegmentSurfaceY, getRoofSegmentVisibleTopBounds, getSegmentFasciaMaterial, getSegmentSlopeFrame, hasSegmentMaterialOverride, isBandedShedSegment, MIN_ROOF_SEGMENT_TRIM_SPAN, normalizeRoofSegmentTrim, ROOF_SHAPE_DEFAULTS, RoofSegmentNode, RoofSegmentTrim, RoofType, roofTypeHasRakes, } from './nodes/roof-segment.js';
|
|
65
|
+
export { getActiveRoofHeight, getConicalRoofCoverage, getDutchRoofMetrics, getEffectiveSegmentSurfaceMaterial, getPitchFromActiveRoofHeight, getRoofSegmentDeckReach, getRoofSegmentEndReach, getRoofSegmentSurfaceY, getRoofSegmentVisibleTopBounds, getRoofWallBandMaterial, getSegmentFasciaMaterial, getSegmentSlopeFrame, hasSegmentMaterialOverride, isBandedShedSegment, MIN_ROOF_SEGMENT_TRIM_SPAN, normalizeRoofSegmentTrim, ROOF_SHAPE_DEFAULTS, ROOF_WALL_BANDS, RoofEaveCut, RoofSegmentNode, RoofSegmentTrim, RoofType, roofTypeHasRakes, roofWallBandFields, } from './nodes/roof-segment.js';
|
|
62
66
|
export { getRoofSegmentResizePatch } from './nodes/roof-segment-resize.js';
|
|
63
67
|
export { getDutchEndSlopeFaces, getDutchRoofShapeMetrics, getRoofModuleFaces, getRoofShapeEaveOverhang, getRoofShapeEaveSides, getRoofShapeInsets, getRoofShapeRatios, } from './nodes/roof-segment-shape.js';
|
|
64
68
|
export { clampRectToRoofWallFace, getMaxRoofRectHeightFromAnchor, getMaxRoofRectWidthFromAnchor, getRoofSegmentWallFace, getRoofSegmentWallFaces, getRoofWallFaceFrame, roofFacePointToSegment, segmentPointToRoofWallFace, } from './nodes/roof-segment-walls.js';
|
|
@@ -74,12 +78,13 @@ export { SpawnNode } from './nodes/spawn.js';
|
|
|
74
78
|
export { getEffectiveStairSurfaceMaterial, StairDesignTargets, StairNode, StairRailingMode, StairRailingStyle, StairSlabOpeningMode, StairTopLandingMode, StairType, } from './nodes/stair.js';
|
|
75
79
|
export { StairConstruction } from './nodes/stair-construction.js';
|
|
76
80
|
export { AttachmentSide, StairSegmentNode, StairSegmentType } from './nodes/stair-segment.js';
|
|
81
|
+
export { STAIR_STRINGER_SPACINGS_IN, StairStringerStock, StairStringerType, StairStructure, StairStructureType, StairTreadStock, } from './nodes/stair-structure.js';
|
|
77
82
|
export { StructuralGridNode } from './nodes/structural-grid.js';
|
|
78
83
|
export { SurfaceHoleMetadata } from './nodes/surface-hole-metadata.js';
|
|
79
84
|
export { SurfacePaintRegion } from './nodes/surface-paint-region.js';
|
|
80
85
|
export { TurbineVentMaterialRole, TurbineVentNode } from './nodes/turbine-vent.js';
|
|
81
86
|
export { DEFAULT_UNIT_COLOR, UNIT_KINDS, UnitNode } from './nodes/unit.js';
|
|
82
|
-
export { getEffectiveWallFaceMaterial, getEffectiveWallSurfaceMaterial, getWallSurfaceMaterialSignature, getWallTrimFaces, getWallTrimSlotId, WALL_CHAIR_RAIL_DEFAULT, WALL_CHAIR_RAIL_SLOT_DEFAULT, WALL_CROWN_DEFAULT, WALL_CROWN_SLOT_DEFAULT, WALL_FACE_REGION_LIMIT, WALL_SKIRTING_DEFAULT, WALL_SKIRTING_SLOT_DEFAULT, WALL_SLOT_DEFAULT, WALL_SURFACE_SLOT_DEFAULTS, WALL_TRIM_DEFAULTS, WallAssembly, WallAssemblyExteriorFinish, WallAssemblyFramingKind, WallAssemblyInteriorFinish, WallAssemblySheathingMaterial, WallFaceRegion, WallFaceScript, WallNode, WallTreatmentSide, WallTrimProfile, } from './nodes/wall.js';
|
|
87
|
+
export { DEFAULT_EXTERIOR_WALL_FINISH, DEFAULT_INTERIOR_WALL_PAINT, getEffectiveWallFaceMaterial, getEffectiveWallSurfaceMaterial, getWallFaceDefault, getWallSurfaceMaterialSignature, getWallTrimFaces, getWallTrimSlotId, WALL_CHAIR_RAIL_DEFAULT, WALL_CHAIR_RAIL_SLOT_DEFAULT, WALL_CROWN_DEFAULT, WALL_CROWN_SLOT_DEFAULT, WALL_FACE_REGION_LIMIT, WALL_SKIRTING_DEFAULT, WALL_SKIRTING_SLOT_DEFAULT, WALL_SLOT_DEFAULT, WALL_SURFACE_SLOT_DEFAULTS, WALL_TRIM_DEFAULTS, WallAssembly, WallAssemblyExteriorFinish, WallAssemblyFramingKind, WallAssemblyInteriorFinish, WallAssemblySheathingMaterial, WallFaceRegion, WallFaceScript, WallNode, WallTreatmentSide, WallTrimProfile, } from './nodes/wall.js';
|
|
83
88
|
export { WindowConstructionType, WindowDimensionReference, WindowNode, WindowType, } from './nodes/window.js';
|
|
84
89
|
export { ZoneFloorScript, ZoneNode } from './nodes/zone.js';
|
|
85
90
|
// Typed source identity (D5)
|
|
@@ -90,3 +95,4 @@ export { parseSourceRef, SourceRefString } from './source-ref.js';
|
|
|
90
95
|
export { MAX_TERRAIN_SIDE, TerrainData } from './terrain.js';
|
|
91
96
|
// Union types
|
|
92
97
|
export { AnyNode, nodeKindOf } from './types.js';
|
|
98
|
+
export { CUSTOM_WALL_TYPE_PREFIX, newWallTypeId, WallTypeDefinition, WallTypeDefinitionId, } from './wall-type.js';
|
|
@@ -55,6 +55,11 @@ export declare const MaterialSchema: z.ZodObject<{
|
|
|
55
55
|
url: z.ZodString;
|
|
56
56
|
repeat: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
57
57
|
scale: z.ZodOptional<z.ZodNumber>;
|
|
58
|
+
offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
59
|
+
normalMap: z.ZodOptional<z.ZodString>;
|
|
60
|
+
normalScale: z.ZodOptional<z.ZodNumber>;
|
|
61
|
+
bumpMap: z.ZodOptional<z.ZodString>;
|
|
62
|
+
bumpScale: z.ZodOptional<z.ZodNumber>;
|
|
58
63
|
}, z.core.$strip>>;
|
|
59
64
|
}, z.core.$strip>;
|
|
60
65
|
export type MaterialSchema = z.infer<typeof MaterialSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"material.d.ts","sourceRoot":"","sources":["../../src/schema/material.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,cAAc;;;;;;;;;;;EAWzB,CAAA;AACF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAA;AAE3D,eAAO,MAAM,kBAAkB;;;;;;;;;;;iBAO7B,CAAA;AACF,MAAM,MAAM,k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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAGtC,CAAA;AACF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAA;AAE/E,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,cAAc,EAAE,kBAAkB,CAiFxE,CAAA;AAED,wBAAgB,eAAe,CAAC,QAAQ,CAAC,EAAE,cAAc,GAAG,kBAAkB,CAiB7E"}
|
package/dist/schema/material.js
CHANGED
|
@@ -30,6 +30,12 @@ export const MaterialSchema = z.object({
|
|
|
30
30
|
url: AssetUrl,
|
|
31
31
|
repeat: z.tuple([z.number(), z.number()]).optional(),
|
|
32
32
|
scale: z.number().optional(),
|
|
33
|
+
/** Shift of the pattern, in texture repeats, applied to every map below. */
|
|
34
|
+
offset: z.tuple([z.number(), z.number()]).optional(),
|
|
35
|
+
normalMap: AssetUrl.optional(),
|
|
36
|
+
normalScale: z.number().optional(),
|
|
37
|
+
bumpMap: AssetUrl.optional(),
|
|
38
|
+
bumpScale: z.number().optional(),
|
|
33
39
|
})
|
|
34
40
|
.optional(),
|
|
35
41
|
});
|
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* What a beam is made of: sawn lumber (a solid timber or 2x plies nailed up), the same
|
|
4
|
+
* pressure-treated for ground contact and the weather, LVL, glulam, or a steel W shape.
|
|
5
|
+
*/
|
|
6
|
+
export declare const BeamMaterial: z.ZodEnum<{
|
|
7
|
+
glulam: "glulam";
|
|
8
|
+
lvl: "lvl";
|
|
9
|
+
"pressure-treated": "pressure-treated";
|
|
10
|
+
sawn: "sawn";
|
|
11
|
+
steel: "steel";
|
|
12
|
+
}>;
|
|
13
|
+
export type BeamMaterial = z.infer<typeof BeamMaterial>;
|
|
14
|
+
/**
|
|
15
|
+
* How the joists it carries meet the beam (under the joists, or among them): a
|
|
16
|
+
* dropped beam is under them, its top the plane they bear on; a flush beam is among them, the
|
|
17
|
+
* joists hung from its sides.
|
|
18
|
+
*/
|
|
19
|
+
export declare const BeamPlacement: z.ZodEnum<{
|
|
20
|
+
dropped: "dropped";
|
|
21
|
+
flush: "flush";
|
|
22
|
+
}>;
|
|
23
|
+
export type BeamPlacement = z.infer<typeof BeamPlacement>;
|
|
24
|
+
/** One stock beam: a nominal size, how many plies of it, its actual section and what it is. */
|
|
25
|
+
export type BeamSizePreset = {
|
|
26
|
+
id: string;
|
|
27
|
+
/** The size as a framing plan prints it: "6x8", "(2) 2x10", "1-3/4x11-7/8 LVL". */
|
|
28
|
+
label: string;
|
|
29
|
+
/** Nominal size of one ply. */
|
|
30
|
+
size: string;
|
|
31
|
+
plies: number;
|
|
32
|
+
/** Actual width of the whole member (every ply), metres. */
|
|
33
|
+
width: number;
|
|
34
|
+
/** Actual depth, metres. */
|
|
35
|
+
depth: number;
|
|
36
|
+
material: BeamMaterial;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* The stock sizes a beam is picked from, at their actual dressed sizes: a sawn 4x is 3-1/2 in
|
|
40
|
+
* wide and a 6x 5-1/2 in; a 2x ply 1-1/2 in; LVL 1-3/4 in a ply; glulam 5-1/8 in; a W8x10 is
|
|
41
|
+
* 3.94 in across its flanges and 7.89 in deep.
|
|
42
|
+
*/
|
|
43
|
+
export declare const BEAM_SIZE_PRESETS: readonly [{
|
|
44
|
+
id: "4x6";
|
|
45
|
+
label: string;
|
|
46
|
+
size: string;
|
|
47
|
+
plies: number;
|
|
48
|
+
width: number;
|
|
49
|
+
depth: number;
|
|
50
|
+
material: 'sawn';
|
|
51
|
+
}, {
|
|
52
|
+
id: "4x8";
|
|
53
|
+
label: string;
|
|
54
|
+
size: string;
|
|
55
|
+
plies: number;
|
|
56
|
+
width: number;
|
|
57
|
+
depth: number;
|
|
58
|
+
material: 'sawn';
|
|
59
|
+
}, {
|
|
60
|
+
id: "4x10";
|
|
61
|
+
label: string;
|
|
62
|
+
size: string;
|
|
63
|
+
plies: number;
|
|
64
|
+
width: number;
|
|
65
|
+
depth: number;
|
|
66
|
+
material: 'sawn';
|
|
67
|
+
}, {
|
|
68
|
+
id: "4x12";
|
|
69
|
+
label: string;
|
|
70
|
+
size: string;
|
|
71
|
+
plies: number;
|
|
72
|
+
width: number;
|
|
73
|
+
depth: number;
|
|
74
|
+
material: 'sawn';
|
|
75
|
+
}, {
|
|
76
|
+
id: "6x6";
|
|
77
|
+
label: string;
|
|
78
|
+
size: string;
|
|
79
|
+
plies: number;
|
|
80
|
+
width: number;
|
|
81
|
+
depth: number;
|
|
82
|
+
material: 'sawn';
|
|
83
|
+
}, {
|
|
84
|
+
id: "6x8";
|
|
85
|
+
label: string;
|
|
86
|
+
size: string;
|
|
87
|
+
plies: number;
|
|
88
|
+
width: number;
|
|
89
|
+
depth: number;
|
|
90
|
+
material: 'sawn';
|
|
91
|
+
}, {
|
|
92
|
+
id: "6x10";
|
|
93
|
+
label: string;
|
|
94
|
+
size: string;
|
|
95
|
+
plies: number;
|
|
96
|
+
width: number;
|
|
97
|
+
depth: number;
|
|
98
|
+
material: 'sawn';
|
|
99
|
+
}, {
|
|
100
|
+
id: "6x12";
|
|
101
|
+
label: string;
|
|
102
|
+
size: string;
|
|
103
|
+
plies: number;
|
|
104
|
+
width: number;
|
|
105
|
+
depth: number;
|
|
106
|
+
material: 'sawn';
|
|
107
|
+
}, {
|
|
108
|
+
id: "(2)2x8";
|
|
109
|
+
label: string;
|
|
110
|
+
size: string;
|
|
111
|
+
plies: number;
|
|
112
|
+
width: number;
|
|
113
|
+
depth: number;
|
|
114
|
+
material: 'sawn';
|
|
115
|
+
}, {
|
|
116
|
+
id: "(2)2x10";
|
|
117
|
+
label: string;
|
|
118
|
+
size: string;
|
|
119
|
+
plies: number;
|
|
120
|
+
width: number;
|
|
121
|
+
depth: number;
|
|
122
|
+
material: 'sawn';
|
|
123
|
+
}, {
|
|
124
|
+
id: "(2)2x12";
|
|
125
|
+
label: string;
|
|
126
|
+
size: string;
|
|
127
|
+
plies: number;
|
|
128
|
+
width: number;
|
|
129
|
+
depth: number;
|
|
130
|
+
material: 'sawn';
|
|
131
|
+
}, {
|
|
132
|
+
id: "(3)2x10";
|
|
133
|
+
label: string;
|
|
134
|
+
size: string;
|
|
135
|
+
plies: number;
|
|
136
|
+
width: number;
|
|
137
|
+
depth: number;
|
|
138
|
+
material: 'sawn';
|
|
139
|
+
}, {
|
|
140
|
+
id: "(3)2x12";
|
|
141
|
+
label: string;
|
|
142
|
+
size: string;
|
|
143
|
+
plies: number;
|
|
144
|
+
width: number;
|
|
145
|
+
depth: number;
|
|
146
|
+
material: 'sawn';
|
|
147
|
+
}, {
|
|
148
|
+
readonly id: 'lvl-1-3/4x9-1/4';
|
|
149
|
+
readonly label: '1-3/4x9-1/4 LVL';
|
|
150
|
+
readonly size: '1-3/4x9-1/4';
|
|
151
|
+
readonly plies: 1;
|
|
152
|
+
readonly width: number;
|
|
153
|
+
readonly depth: number;
|
|
154
|
+
readonly material: 'lvl';
|
|
155
|
+
}, {
|
|
156
|
+
readonly id: 'lvl-1-3/4x11-7/8';
|
|
157
|
+
readonly label: '1-3/4x11-7/8 LVL';
|
|
158
|
+
readonly size: '1-3/4x11-7/8';
|
|
159
|
+
readonly plies: 1;
|
|
160
|
+
readonly width: number;
|
|
161
|
+
readonly depth: number;
|
|
162
|
+
readonly material: 'lvl';
|
|
163
|
+
}, {
|
|
164
|
+
readonly id: '(2)lvl-1-3/4x11-7/8';
|
|
165
|
+
readonly label: '(2) 1-3/4x11-7/8 LVL';
|
|
166
|
+
readonly size: '1-3/4x11-7/8';
|
|
167
|
+
readonly plies: 2;
|
|
168
|
+
readonly width: number;
|
|
169
|
+
readonly depth: number;
|
|
170
|
+
readonly material: 'lvl';
|
|
171
|
+
}, {
|
|
172
|
+
readonly id: 'glulam-5-1/8x9';
|
|
173
|
+
readonly label: '5-1/8x9 GLB';
|
|
174
|
+
readonly size: '5-1/8x9';
|
|
175
|
+
readonly plies: 1;
|
|
176
|
+
readonly width: number;
|
|
177
|
+
readonly depth: number;
|
|
178
|
+
readonly material: 'glulam';
|
|
179
|
+
}, {
|
|
180
|
+
readonly id: 'glulam-5-1/8x12';
|
|
181
|
+
readonly label: '5-1/8x12 GLB';
|
|
182
|
+
readonly size: '5-1/8x12';
|
|
183
|
+
readonly plies: 1;
|
|
184
|
+
readonly width: number;
|
|
185
|
+
readonly depth: number;
|
|
186
|
+
readonly material: 'glulam';
|
|
187
|
+
}, {
|
|
188
|
+
readonly id: 'W8x10';
|
|
189
|
+
readonly label: 'W8x10';
|
|
190
|
+
readonly size: 'W8x10';
|
|
191
|
+
readonly plies: 1;
|
|
192
|
+
readonly width: number;
|
|
193
|
+
readonly depth: number;
|
|
194
|
+
readonly material: 'steel';
|
|
195
|
+
}];
|
|
196
|
+
export type BeamSizePresetId = (typeof BEAM_SIZE_PRESETS)[number]['id'];
|
|
197
|
+
/** A new beam's size: a 6x8, the header a porch's posts carry. */
|
|
198
|
+
export declare const DEFAULT_BEAM_SIZE_PRESET_ID = "6x8";
|
|
199
|
+
export declare const BeamNode: z.ZodObject<{
|
|
200
|
+
object: z.ZodDefault<z.ZodLiteral<"node">>;
|
|
201
|
+
name: z.ZodOptional<z.ZodString>;
|
|
202
|
+
parentId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
203
|
+
visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
204
|
+
camera: z.ZodOptional<z.ZodObject<{
|
|
205
|
+
position: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
|
|
206
|
+
target: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
|
|
207
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
208
|
+
orthographic: "orthographic";
|
|
209
|
+
perspective: "perspective";
|
|
210
|
+
}>>;
|
|
211
|
+
fov: z.ZodOptional<z.ZodNumber>;
|
|
212
|
+
zoom: z.ZodOptional<z.ZodNumber>;
|
|
213
|
+
}, z.core.$strip>>;
|
|
214
|
+
metadata: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
215
|
+
provenance: z.ZodOptional<z.ZodObject<{
|
|
216
|
+
refs: z.ZodArray<z.ZodObject<{
|
|
217
|
+
ns: z.ZodOptional<z.ZodString>;
|
|
218
|
+
id: z.ZodString;
|
|
219
|
+
role: z.ZodOptional<z.ZodEnum<{
|
|
220
|
+
absorbed: "absorbed";
|
|
221
|
+
alias: "alias";
|
|
222
|
+
derived: "derived";
|
|
223
|
+
piece: "piece";
|
|
224
|
+
primary: "primary";
|
|
225
|
+
}>>;
|
|
226
|
+
}, z.core.$strip>>;
|
|
227
|
+
lineage: z.ZodOptional<z.ZodObject<{
|
|
228
|
+
op: z.ZodEnum<{
|
|
229
|
+
attach: "attach";
|
|
230
|
+
convert: "convert";
|
|
231
|
+
duplicate: "duplicate";
|
|
232
|
+
import: "import";
|
|
233
|
+
"make-independent": "make-independent";
|
|
234
|
+
merge: "merge";
|
|
235
|
+
promote: "promote";
|
|
236
|
+
split: "split";
|
|
237
|
+
}>;
|
|
238
|
+
fromIds: z.ZodArray<z.ZodString>;
|
|
239
|
+
}, z.core.$strip>>;
|
|
240
|
+
}, z.core.$strip>>;
|
|
241
|
+
id: z.ZodDefault<z.ZodTemplateLiteral<`beam_${string}`>>;
|
|
242
|
+
type: z.ZodDefault<z.ZodLiteral<"beam">>;
|
|
243
|
+
start: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
244
|
+
end: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
245
|
+
width: z.ZodDefault<z.ZodNumber>;
|
|
246
|
+
depth: z.ZodDefault<z.ZodNumber>;
|
|
247
|
+
size: z.ZodOptional<z.ZodString>;
|
|
248
|
+
plies: z.ZodDefault<z.ZodNumber>;
|
|
249
|
+
material: z.ZodDefault<z.ZodEnum<{
|
|
250
|
+
glulam: "glulam";
|
|
251
|
+
lvl: "lvl";
|
|
252
|
+
"pressure-treated": "pressure-treated";
|
|
253
|
+
sawn: "sawn";
|
|
254
|
+
steel: "steel";
|
|
255
|
+
}>>;
|
|
256
|
+
placement: z.ZodDefault<z.ZodEnum<{
|
|
257
|
+
dropped: "dropped";
|
|
258
|
+
flush: "flush";
|
|
259
|
+
}>>;
|
|
260
|
+
topElevation: z.ZodOptional<z.ZodNumber>;
|
|
261
|
+
supportSlabId: z.ZodOptional<z.ZodString>;
|
|
262
|
+
}, z.core.$strip>;
|
|
263
|
+
export type BeamNode = z.infer<typeof BeamNode>;
|
|
264
|
+
//# sourceMappingURL=beam.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"beam.d.ts","sourceRoot":"","sources":["../../../src/schema/nodes/beam.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAMvB;;;GAGG;AACH,eAAO,MAAM,YAAY;;;;;;EAAiE,CAAA;AAC1F,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAA;AAEvD;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;EAA+B,CAAA;AACzD,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAA;AAEzD,+FAA+F;AAC/F,MAAM,MAAM,cAAc,GAAG;IAC3B,EAAE,EAAE,MAAM,CAAA;IACV,mFAAmF;IACnF,KAAK,EAAE,MAAM,CAAA;IACb,+BAA+B;IAC/B,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,4DAA4D;IAC5D,KAAK,EAAE,MAAM,CAAA;IACb,4BAA4B;IAC5B,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,YAAY,CAAA;CACvB,CAAA;AAqBD;;;;GAIG;AACH,eAAO,MAAM,iBAAiB;;;;;;;cAThB,MAAM;;;;;;;;cAAN,MAAM;;;;;;;;cAAN,MAAM;;;;;;;;cAAN,MAAM;;;;;;;;cAAN,MAAM;;;;;;;;cAAN,MAAM;;;;;;;;cAAN,MAAM;;;;;;;;cAAN,MAAM;;;;;;;;cAAN,MAAM;;;;;;;;cAAN,MAAM;;;;;;;;cAAN,MAAM;;;;;;;;cAAN,MAAM;;;;;;;;cAAN,MAAM;;iBAwBZ,iBAAiB;oBACd,iBAAiB;mBAClB,aAAa;oBACZ,CAAC;;;uBAGE,KAAK;;iBAGX,kBAAkB;oBACf,kBAAkB;mBACnB,cAAc;oBACb,CAAC;;;uBAGE,KAAK;;iBAGX,qBAAqB;oBAClB,sBAAsB;mBACvB,cAAc;oBACb,CAAC;;;uBAGE,KAAK;;iBAGX,gBAAgB;oBACb,aAAa;mBACd,SAAS;oBACR,CAAC;;;uBAGE,QAAQ;;iBAGd,iBAAiB;oBACd,cAAc;mBACf,UAAU;oBACT,CAAC;;;uBAGE,QAAQ;;iBAGd,OAAO;oBACJ,OAAO;mBACR,OAAO;oBACN,CAAC;;;uBAGE,OAAO;EAEyB,CAAA;AAE9C,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAA;AAEvE,kEAAkE;AAClE,eAAO,MAAM,2BAA2B,QAAmC,CAAA;AAE3E,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAoCpB,CAAA;AAED,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAA"}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import dedent from 'dedent';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
import { BaseNode, nodeType, objectId } from '../base.js';
|
|
4
|
+
const INCH = 0.0254;
|
|
5
|
+
const PlanPoint = z.tuple([z.number(), z.number()]);
|
|
6
|
+
/**
|
|
7
|
+
* What a beam is made of: sawn lumber (a solid timber or 2x plies nailed up), the same
|
|
8
|
+
* pressure-treated for ground contact and the weather, LVL, glulam, or a steel W shape.
|
|
9
|
+
*/
|
|
10
|
+
export const BeamMaterial = z.enum(['sawn', 'pressure-treated', 'lvl', 'glulam', 'steel']);
|
|
11
|
+
/**
|
|
12
|
+
* How the joists it carries meet the beam (under the joists, or among them): a
|
|
13
|
+
* dropped beam is under them, its top the plane they bear on; a flush beam is among them, the
|
|
14
|
+
* joists hung from its sides.
|
|
15
|
+
*/
|
|
16
|
+
export const BeamPlacement = z.enum(['dropped', 'flush']);
|
|
17
|
+
/** A sawn stock size: one timber, or `plies` of a 2x nailed up (`width` is one ply's, inches). */
|
|
18
|
+
function sawn(id, size, width, depth, plies = 1) {
|
|
19
|
+
return {
|
|
20
|
+
id,
|
|
21
|
+
label: plies > 1 ? `(${plies}) ${size}` : size,
|
|
22
|
+
size,
|
|
23
|
+
plies,
|
|
24
|
+
width: width * plies * INCH,
|
|
25
|
+
depth: depth * INCH,
|
|
26
|
+
material: 'sawn',
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* The stock sizes a beam is picked from, at their actual dressed sizes: a sawn 4x is 3-1/2 in
|
|
31
|
+
* wide and a 6x 5-1/2 in; a 2x ply 1-1/2 in; LVL 1-3/4 in a ply; glulam 5-1/8 in; a W8x10 is
|
|
32
|
+
* 3.94 in across its flanges and 7.89 in deep.
|
|
33
|
+
*/
|
|
34
|
+
export const BEAM_SIZE_PRESETS = [
|
|
35
|
+
sawn('4x6', '4x6', 3.5, 5.5),
|
|
36
|
+
sawn('4x8', '4x8', 3.5, 7.25),
|
|
37
|
+
sawn('4x10', '4x10', 3.5, 9.25),
|
|
38
|
+
sawn('4x12', '4x12', 3.5, 11.25),
|
|
39
|
+
sawn('6x6', '6x6', 5.5, 5.5),
|
|
40
|
+
sawn('6x8', '6x8', 5.5, 7.5),
|
|
41
|
+
sawn('6x10', '6x10', 5.5, 9.5),
|
|
42
|
+
sawn('6x12', '6x12', 5.5, 11.5),
|
|
43
|
+
sawn('(2)2x8', '2x8', 1.5, 7.25, 2),
|
|
44
|
+
sawn('(2)2x10', '2x10', 1.5, 9.25, 2),
|
|
45
|
+
sawn('(2)2x12', '2x12', 1.5, 11.25, 2),
|
|
46
|
+
sawn('(3)2x10', '2x10', 1.5, 9.25, 3),
|
|
47
|
+
sawn('(3)2x12', '2x12', 1.5, 11.25, 3),
|
|
48
|
+
{
|
|
49
|
+
id: 'lvl-1-3/4x9-1/4',
|
|
50
|
+
label: '1-3/4x9-1/4 LVL',
|
|
51
|
+
size: '1-3/4x9-1/4',
|
|
52
|
+
plies: 1,
|
|
53
|
+
width: 1.75 * INCH,
|
|
54
|
+
depth: 9.25 * INCH,
|
|
55
|
+
material: 'lvl',
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
id: 'lvl-1-3/4x11-7/8',
|
|
59
|
+
label: '1-3/4x11-7/8 LVL',
|
|
60
|
+
size: '1-3/4x11-7/8',
|
|
61
|
+
plies: 1,
|
|
62
|
+
width: 1.75 * INCH,
|
|
63
|
+
depth: 11.875 * INCH,
|
|
64
|
+
material: 'lvl',
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
id: '(2)lvl-1-3/4x11-7/8',
|
|
68
|
+
label: '(2) 1-3/4x11-7/8 LVL',
|
|
69
|
+
size: '1-3/4x11-7/8',
|
|
70
|
+
plies: 2,
|
|
71
|
+
width: 3.5 * INCH,
|
|
72
|
+
depth: 11.875 * INCH,
|
|
73
|
+
material: 'lvl',
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
id: 'glulam-5-1/8x9',
|
|
77
|
+
label: '5-1/8x9 GLB',
|
|
78
|
+
size: '5-1/8x9',
|
|
79
|
+
plies: 1,
|
|
80
|
+
width: 5.125 * INCH,
|
|
81
|
+
depth: 9 * INCH,
|
|
82
|
+
material: 'glulam',
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
id: 'glulam-5-1/8x12',
|
|
86
|
+
label: '5-1/8x12 GLB',
|
|
87
|
+
size: '5-1/8x12',
|
|
88
|
+
plies: 1,
|
|
89
|
+
width: 5.125 * INCH,
|
|
90
|
+
depth: 12 * INCH,
|
|
91
|
+
material: 'glulam',
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
id: 'W8x10',
|
|
95
|
+
label: 'W8x10',
|
|
96
|
+
size: 'W8x10',
|
|
97
|
+
plies: 1,
|
|
98
|
+
width: 3.94 * INCH,
|
|
99
|
+
depth: 7.89 * INCH,
|
|
100
|
+
material: 'steel',
|
|
101
|
+
},
|
|
102
|
+
];
|
|
103
|
+
/** A new beam's size: a 6x8, the header a porch's posts carry. */
|
|
104
|
+
export const DEFAULT_BEAM_SIZE_PRESET_ID = '6x8';
|
|
105
|
+
export const BeamNode = BaseNode.extend({
|
|
106
|
+
id: objectId('beam'),
|
|
107
|
+
type: nodeType('beam'),
|
|
108
|
+
start: PlanPoint,
|
|
109
|
+
end: PlanPoint,
|
|
110
|
+
width: z
|
|
111
|
+
.number()
|
|
112
|
+
.positive()
|
|
113
|
+
.default(5.5 * INCH),
|
|
114
|
+
depth: z
|
|
115
|
+
.number()
|
|
116
|
+
.positive()
|
|
117
|
+
.default(7.5 * INCH),
|
|
118
|
+
size: z.string().optional(),
|
|
119
|
+
plies: z.number().int().min(1).max(5).default(1),
|
|
120
|
+
material: BeamMaterial.default('sawn'),
|
|
121
|
+
placement: BeamPlacement.default('dropped'),
|
|
122
|
+
topElevation: z.number().optional(),
|
|
123
|
+
// A slab the beam belongs to (a porch's or a deck's): a reference for what builds and frames
|
|
124
|
+
// around it, never its height.
|
|
125
|
+
supportSlabId: z.string().optional(),
|
|
126
|
+
}).describe(dedent `
|
|
127
|
+
Beam node - a horizontal framing member drawn by hand: a header over a porch's posts, a deck's
|
|
128
|
+
beam, a girder under a floor, a beam across an open span
|
|
129
|
+
- start/end: the beam's centreline, level-local plan points like a wall's
|
|
130
|
+
- width/depth: the actual section, metres (every ply together across)
|
|
131
|
+
- size: the nominal size of one ply as printed ("6x8", "2x10", "1-3/4x11-7/8"); absent = a
|
|
132
|
+
custom section, labelled by its actual size
|
|
133
|
+
- plies: how many plies of size are nailed up side by side
|
|
134
|
+
- material: sawn, pressure-treated, lvl, glulam or steel
|
|
135
|
+
- placement: dropped (the joists bear on its top) or flush (the joists hang from its sides)
|
|
136
|
+
- topElevation: its top, level-local metres; absent = the level's ceiling plane over it (the
|
|
137
|
+
top of the walls), a dropped beam hanging under it, a flush one in the ceiling framing
|
|
138
|
+
- supportSlabId: the slab it belongs to, if any (a porch or a deck)
|
|
139
|
+
`);
|
|
@@ -78,6 +78,11 @@ export declare const BoxVentNode: 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":"box-vent.d.ts","sourceRoot":"","sources":["../../../src/schema/nodes/box-vent.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAIvB,eAAO,MAAM,mBAAmB;;;EAA0B,CAAA;AAC1D,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAErE,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"box-vent.d.ts","sourceRoot":"","sources":["../../../src/schema/nodes/box-vent.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAIvB,eAAO,MAAM,mBAAmB;;;EAA0B,CAAA;AAC1D,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAErE,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAkEvB,CAAA;AAED,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAA"}
|
|
@@ -233,6 +233,11 @@ export declare const CabinetNode: z.ZodObject<{
|
|
|
233
233
|
url: z.ZodString;
|
|
234
234
|
repeat: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
235
235
|
scale: z.ZodOptional<z.ZodNumber>;
|
|
236
|
+
offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
237
|
+
normalMap: z.ZodOptional<z.ZodString>;
|
|
238
|
+
normalScale: z.ZodOptional<z.ZodNumber>;
|
|
239
|
+
bumpMap: z.ZodOptional<z.ZodString>;
|
|
240
|
+
bumpScale: z.ZodOptional<z.ZodNumber>;
|
|
236
241
|
}, z.core.$strip>>;
|
|
237
242
|
}, z.core.$strip>>;
|
|
238
243
|
materialPreset: z.ZodOptional<z.ZodString>;
|
|
@@ -473,6 +478,11 @@ export declare const CabinetModuleNode: z.ZodObject<{
|
|
|
473
478
|
url: z.ZodString;
|
|
474
479
|
repeat: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
475
480
|
scale: z.ZodOptional<z.ZodNumber>;
|
|
481
|
+
offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
482
|
+
normalMap: z.ZodOptional<z.ZodString>;
|
|
483
|
+
normalScale: z.ZodOptional<z.ZodNumber>;
|
|
484
|
+
bumpMap: z.ZodOptional<z.ZodString>;
|
|
485
|
+
bumpScale: z.ZodOptional<z.ZodNumber>;
|
|
476
486
|
}, z.core.$strip>>;
|
|
477
487
|
}, z.core.$strip>>;
|
|
478
488
|
materialPreset: z.ZodOptional<z.ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cabinet.d.ts","sourceRoot":"","sources":["../../../src/schema/nodes/cabinet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAgBvB,eAAO,MAAM,uBAAuB;;;;EAA4C,CAAA;AAChF,eAAO,MAAM,sBAAsB;;;;EAA0C,CAAA;AAE7E,iFAAiF;AACjF,eAAO,MAAM,uBAAuB;aAClC,KAAK,EAAE,GAAG;aACV,aAAa,EAAE,GAAG;aAClB,YAAY,EAAE,GAAG;aACjB,mBAAmB,EAAE,IAAI;CACjB,CAAA;AAMV,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAmDtB,CAAA;AAEF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAA;AA2CzE,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"cabinet.d.ts","sourceRoot":"","sources":["../../../src/schema/nodes/cabinet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAgBvB,eAAO,MAAM,uBAAuB;;;;EAA4C,CAAA;AAChF,eAAO,MAAM,sBAAsB;;;;EAA0C,CAAA;AAE7E,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