@pascal-app/core 1.0.3 → 1.0.4
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 +235 -0
- package/dist/agent-operations/__fixtures__/add-object-cases.d.ts.map +1 -0
- package/dist/agent-operations/__fixtures__/add-object-cases.js +129 -0
- package/dist/agent-operations/__fixtures__/build-room-cases.d.ts +4 -0
- package/dist/agent-operations/__fixtures__/build-room-cases.d.ts.map +1 -0
- package/dist/agent-operations/__fixtures__/build-room-cases.js +635 -0
- package/dist/agent-operations/__fixtures__/cases.d.ts +52 -0
- package/dist/agent-operations/__fixtures__/cases.d.ts.map +1 -0
- package/dist/agent-operations/__fixtures__/cases.js +689 -0
- package/dist/agent-operations/__fixtures__/find-by-type-cases.d.ts +7 -0
- package/dist/agent-operations/__fixtures__/find-by-type-cases.d.ts.map +1 -0
- package/dist/agent-operations/__fixtures__/find-by-type-cases.js +21 -0
- package/dist/agent-operations/__fixtures__/place-items-cases.d.ts +17 -0
- package/dist/agent-operations/__fixtures__/place-items-cases.d.ts.map +1 -0
- package/dist/agent-operations/__fixtures__/place-items-cases.js +506 -0
- package/dist/agent-operations/__fixtures__/room-cases.d.ts +3 -0
- package/dist/agent-operations/__fixtures__/room-cases.d.ts.map +1 -0
- package/dist/agent-operations/__fixtures__/room-cases.js +338 -0
- package/dist/agent-operations/__fixtures__/search-assets-cases.d.ts +5 -0
- package/dist/agent-operations/__fixtures__/search-assets-cases.d.ts.map +1 -0
- package/dist/agent-operations/__fixtures__/search-assets-cases.js +137 -0
- package/dist/agent-operations/__fixtures__/structure-cases.d.ts +6 -0
- package/dist/agent-operations/__fixtures__/structure-cases.d.ts.map +1 -0
- package/dist/agent-operations/__fixtures__/structure-cases.js +588 -0
- package/dist/agent-operations/__fixtures__/verify-scene-cases.d.ts +3 -0
- package/dist/agent-operations/__fixtures__/verify-scene-cases.d.ts.map +1 -0
- package/dist/agent-operations/__fixtures__/verify-scene-cases.js +302 -0
- package/dist/agent-operations/achieved.d.ts +16 -0
- package/dist/agent-operations/achieved.d.ts.map +1 -0
- package/dist/agent-operations/achieved.js +28 -0
- package/dist/agent-operations/add-column.d.ts +23 -0
- package/dist/agent-operations/add-column.d.ts.map +1 -0
- package/dist/agent-operations/add-column.js +97 -0
- package/dist/agent-operations/add-level.d.ts +14 -0
- package/dist/agent-operations/add-level.d.ts.map +1 -0
- package/dist/agent-operations/add-level.js +94 -0
- package/dist/agent-operations/add-object.d.ts +114 -0
- package/dist/agent-operations/add-object.d.ts.map +1 -0
- package/dist/agent-operations/add-object.js +361 -0
- package/dist/agent-operations/add-wall.d.ts +15 -0
- package/dist/agent-operations/add-wall.d.ts.map +1 -0
- package/dist/agent-operations/add-wall.js +47 -0
- package/dist/agent-operations/apply-changes.d.ts +16 -0
- package/dist/agent-operations/apply-changes.d.ts.map +1 -0
- package/dist/agent-operations/apply-changes.js +93 -0
- package/dist/agent-operations/apply-outcome.d.ts +15 -0
- package/dist/agent-operations/apply-outcome.d.ts.map +1 -0
- package/dist/agent-operations/apply-outcome.js +18 -0
- package/dist/agent-operations/collections.d.ts +28 -0
- package/dist/agent-operations/collections.d.ts.map +1 -0
- package/dist/agent-operations/collections.js +130 -0
- package/dist/agent-operations/create-room.d.ts +36 -0
- package/dist/agent-operations/create-room.d.ts.map +1 -0
- package/dist/agent-operations/create-room.js +177 -0
- package/dist/agent-operations/create-stair.d.ts +33 -0
- package/dist/agent-operations/create-stair.d.ts.map +1 -0
- package/dist/agent-operations/create-stair.js +247 -0
- package/dist/agent-operations/delete-node.d.ts +6 -0
- package/dist/agent-operations/delete-node.d.ts.map +1 -0
- package/dist/agent-operations/delete-node.js +9 -0
- package/dist/agent-operations/door-clearance.d.ts +135 -0
- package/dist/agent-operations/door-clearance.d.ts.map +1 -0
- package/dist/agent-operations/door-clearance.js +334 -0
- package/dist/agent-operations/duplicate-level.d.ts +12 -0
- package/dist/agent-operations/duplicate-level.d.ts.map +1 -0
- package/dist/agent-operations/duplicate-level.js +54 -0
- package/dist/agent-operations/find-by-type.d.ts +11 -0
- package/dist/agent-operations/find-by-type.d.ts.map +1 -0
- package/dist/agent-operations/find-by-type.js +94 -0
- package/dist/agent-operations/furnish-room.d.ts +18 -0
- package/dist/agent-operations/furnish-room.d.ts.map +1 -0
- package/dist/agent-operations/furnish-room.js +259 -0
- package/dist/agent-operations/get-node.d.ts +9 -0
- package/dist/agent-operations/get-node.d.ts.map +1 -0
- package/dist/agent-operations/get-node.js +33 -0
- package/dist/agent-operations/hosted-services.d.ts +13 -0
- package/dist/agent-operations/hosted-services.d.ts.map +1 -0
- package/dist/agent-operations/hosted-services.js +22 -0
- package/dist/agent-operations/index.d.ts +277 -0
- package/dist/agent-operations/index.d.ts.map +1 -0
- package/dist/agent-operations/index.js +80 -0
- package/dist/agent-operations/layout-clearance.d.ts +108 -0
- package/dist/agent-operations/layout-clearance.d.ts.map +1 -0
- package/dist/agent-operations/layout-clearance.js +190 -0
- package/dist/agent-operations/level-reads.d.ts +33 -0
- package/dist/agent-operations/level-reads.d.ts.map +1 -0
- package/dist/agent-operations/level-reads.js +161 -0
- package/dist/agent-operations/level-target.d.ts +11 -0
- package/dist/agent-operations/level-target.d.ts.map +1 -0
- package/dist/agent-operations/level-target.js +29 -0
- package/dist/agent-operations/list-levels.d.ts +4 -0
- package/dist/agent-operations/list-levels.d.ts.map +1 -0
- package/dist/agent-operations/list-levels.js +31 -0
- package/dist/agent-operations/material-preset.d.ts +11 -0
- package/dist/agent-operations/material-preset.d.ts.map +1 -0
- package/dist/agent-operations/material-preset.js +74 -0
- package/dist/agent-operations/material-refs.d.ts +24 -0
- package/dist/agent-operations/material-refs.d.ts.map +1 -0
- package/dist/agent-operations/material-refs.js +100 -0
- package/dist/agent-operations/node-patch.d.ts +3 -0
- package/dist/agent-operations/node-patch.d.ts.map +1 -0
- package/dist/agent-operations/node-patch.js +114 -0
- package/dist/agent-operations/paint.d.ts +21 -0
- package/dist/agent-operations/paint.d.ts.map +1 -0
- package/dist/agent-operations/paint.js +219 -0
- package/dist/agent-operations/place-items.d.ts +20 -0
- package/dist/agent-operations/place-items.d.ts.map +1 -0
- package/dist/agent-operations/place-items.js +226 -0
- package/dist/agent-operations/plan-geometry.d.ts +24 -0
- package/dist/agent-operations/plan-geometry.d.ts.map +1 -0
- package/dist/agent-operations/plan-geometry.js +94 -0
- package/dist/agent-operations/room-structure.d.ts +87 -0
- package/dist/agent-operations/room-structure.d.ts.map +1 -0
- package/dist/agent-operations/room-structure.js +144 -0
- package/dist/agent-operations/scene-materials.d.ts +15 -0
- package/dist/agent-operations/scene-materials.d.ts.map +1 -0
- package/dist/agent-operations/scene-materials.js +62 -0
- package/dist/agent-operations/scene-measure.d.ts +73 -0
- package/dist/agent-operations/scene-measure.d.ts.map +1 -0
- package/dist/agent-operations/scene-measure.js +73 -0
- package/dist/agent-operations/scene-queries.d.ts +4510 -0
- package/dist/agent-operations/scene-queries.d.ts.map +1 -0
- package/dist/agent-operations/scene-queries.js +84 -0
- package/dist/agent-operations/scene-view.d.ts +98 -0
- package/dist/agent-operations/scene-view.d.ts.map +1 -0
- package/dist/agent-operations/scene-view.js +559 -0
- package/dist/agent-operations/search-assets.d.ts +14 -0
- package/dist/agent-operations/search-assets.d.ts.map +1 -0
- package/dist/agent-operations/search-assets.js +42 -0
- package/dist/agent-operations/search-materials.d.ts +12 -0
- package/dist/agent-operations/search-materials.d.ts.map +1 -0
- package/dist/agent-operations/search-materials.js +111 -0
- package/dist/agent-operations/stairs.d.ts +5 -0
- package/dist/agent-operations/stairs.d.ts.map +1 -0
- package/dist/agent-operations/stairs.js +70 -0
- package/dist/agent-operations/types.d.ts +59 -0
- package/dist/agent-operations/types.d.ts.map +1 -0
- package/dist/agent-operations/types.js +1 -0
- package/dist/agent-operations/verify-scene.d.ts +50 -0
- package/dist/agent-operations/verify-scene.d.ts.map +1 -0
- package/dist/agent-operations/verify-scene.js +369 -0
- package/dist/agent-operations/wall-opening.d.ts +65 -0
- package/dist/agent-operations/wall-opening.d.ts.map +1 -0
- package/dist/agent-operations/wall-opening.js +55 -0
- package/dist/agent-tools/achieved.d.ts +9 -0
- package/dist/agent-tools/achieved.d.ts.map +1 -0
- package/dist/agent-tools/achieved.js +8 -0
- package/dist/agent-tools/add-object.d.ts +43 -0
- package/dist/agent-tools/add-object.d.ts.map +1 -0
- package/dist/agent-tools/add-object.js +86 -0
- package/dist/agent-tools/assets.d.ts +13 -0
- package/dist/agent-tools/assets.d.ts.map +1 -0
- package/dist/agent-tools/assets.js +18 -0
- package/dist/agent-tools/clear-scene.d.ts +10 -0
- package/dist/agent-tools/clear-scene.d.ts.map +1 -0
- package/dist/agent-tools/clear-scene.js +9 -0
- package/dist/agent-tools/collections.d.ts +35 -0
- package/dist/agent-tools/collections.d.ts.map +1 -0
- package/dist/agent-tools/collections.js +31 -0
- package/dist/agent-tools/columns.d.ts +44 -0
- package/dist/agent-tools/columns.d.ts.map +1 -0
- package/dist/agent-tools/columns.js +59 -0
- package/dist/agent-tools/contract.d.ts +68 -0
- package/dist/agent-tools/contract.d.ts.map +1 -0
- package/dist/agent-tools/contract.js +1 -0
- package/dist/agent-tools/create-room.d.ts +63 -0
- package/dist/agent-tools/create-room.d.ts.map +1 -0
- package/dist/agent-tools/create-room.js +90 -0
- package/dist/agent-tools/find-by-type.d.ts +11 -0
- package/dist/agent-tools/find-by-type.d.ts.map +1 -0
- package/dist/agent-tools/find-by-type.js +14 -0
- package/dist/agent-tools/furnish-room.d.ts +26 -0
- package/dist/agent-tools/furnish-room.d.ts.map +1 -0
- package/dist/agent-tools/furnish-room.js +35 -0
- package/dist/agent-tools/hosted-services.d.ts +402 -0
- package/dist/agent-tools/hosted-services.d.ts.map +1 -0
- package/dist/agent-tools/hosted-services.js +148 -0
- package/dist/agent-tools/index.d.ts +864 -0
- package/dist/agent-tools/index.d.ts.map +1 -0
- package/dist/agent-tools/index.js +82 -0
- package/dist/agent-tools/levels.d.ts +72 -0
- package/dist/agent-tools/levels.d.ts.map +1 -0
- package/dist/agent-tools/levels.js +76 -0
- package/dist/agent-tools/measurement.d.ts +37 -0
- package/dist/agent-tools/measurement.d.ts.map +1 -0
- package/dist/agent-tools/measurement.js +94 -0
- package/dist/agent-tools/node-id.d.ts +3 -0
- package/dist/agent-tools/node-id.d.ts.map +1 -0
- package/dist/agent-tools/node-id.js +2 -0
- package/dist/agent-tools/nodes.d.ts +17 -0
- package/dist/agent-tools/nodes.d.ts.map +1 -0
- package/dist/agent-tools/nodes.js +13 -0
- package/dist/agent-tools/paint.d.ts +46 -0
- package/dist/agent-tools/paint.d.ts.map +1 -0
- package/dist/agent-tools/paint.js +29 -0
- package/dist/agent-tools/place-items.d.ts +19 -0
- package/dist/agent-tools/place-items.d.ts.map +1 -0
- package/dist/agent-tools/place-items.js +29 -0
- package/dist/agent-tools/refusal.d.ts +20 -0
- package/dist/agent-tools/refusal.d.ts.map +1 -0
- package/dist/agent-tools/refusal.js +29 -0
- package/dist/agent-tools/room-structure.d.ts +438 -0
- package/dist/agent-tools/room-structure.d.ts.map +1 -0
- package/dist/agent-tools/room-structure.js +207 -0
- package/dist/agent-tools/search-materials.d.ts +20 -0
- package/dist/agent-tools/search-materials.d.ts.map +1 -0
- package/dist/agent-tools/search-materials.js +32 -0
- package/dist/agent-tools/stairs.d.ts +86 -0
- package/dist/agent-tools/stairs.d.ts.map +1 -0
- package/dist/agent-tools/stairs.js +103 -0
- package/dist/agent-tools/verify-scene.d.ts +13 -0
- package/dist/agent-tools/verify-scene.d.ts.map +1 -0
- package/dist/agent-tools/verify-scene.js +21 -0
- package/dist/agent-tools/view-scene.d.ts +43 -0
- package/dist/agent-tools/view-scene.d.ts.map +1 -0
- package/dist/agent-tools/view-scene.js +80 -0
- package/dist/agent-tools/wall-openings.d.ts +163 -0
- package/dist/agent-tools/wall-openings.d.ts.map +1 -0
- package/dist/agent-tools/wall-openings.js +144 -0
- package/dist/agent-tools/walls.d.ts +21 -0
- package/dist/agent-tools/walls.d.ts.map +1 -0
- package/dist/agent-tools/walls.js +30 -0
- package/dist/agent-tools/write-target.d.ts +12 -0
- package/dist/agent-tools/write-target.d.ts.map +1 -0
- package/dist/agent-tools/write-target.js +10 -0
- package/dist/building/__fixtures__/wall-opening-cases.d.ts +736 -0
- package/dist/building/__fixtures__/wall-opening-cases.d.ts.map +1 -0
- package/dist/building/__fixtures__/wall-opening-cases.js +307 -0
- package/dist/building/door-types.d.ts +22 -0
- package/dist/building/door-types.d.ts.map +1 -0
- package/dist/building/door-types.js +167 -0
- package/dist/building/floor-item-fit.d.ts +38 -0
- package/dist/building/floor-item-fit.d.ts.map +1 -0
- package/dist/building/floor-item-fit.js +47 -0
- package/dist/building/index.d.ts +7 -0
- package/dist/building/index.d.ts.map +1 -0
- package/dist/building/index.js +6 -0
- package/dist/building/level-duplication.d.ts +8983 -0
- package/dist/building/level-duplication.d.ts.map +1 -0
- package/dist/building/level-duplication.js +314 -0
- package/dist/building/opening-style-presets.d.ts +46 -0
- package/dist/building/opening-style-presets.d.ts.map +1 -0
- package/dist/building/opening-style-presets.js +195 -0
- package/dist/building/wall-openings.d.ts +445 -0
- package/dist/building/wall-openings.d.ts.map +1 -0
- package/dist/building/wall-openings.js +231 -0
- package/dist/building/window-types.d.ts +17 -0
- package/dist/building/window-types.d.ts.map +1 -0
- package/dist/building/window-types.js +31 -0
- package/dist/commands/structure/apply-zone-transform.d.ts +23 -0
- package/dist/commands/structure/apply-zone-transform.d.ts.map +1 -0
- package/dist/commands/structure/apply-zone-transform.js +55 -0
- package/dist/commands/structure/create-mezzanine.d.ts +12 -0
- package/dist/commands/structure/create-mezzanine.d.ts.map +1 -0
- package/dist/commands/structure/create-mezzanine.js +46 -0
- package/dist/commands/structure/create-zone.d.ts +32 -0
- package/dist/commands/structure/create-zone.d.ts.map +1 -0
- package/dist/commands/structure/create-zone.js +126 -0
- package/dist/commands/structure/delete-zone.d.ts +51 -0
- package/dist/commands/structure/delete-zone.d.ts.map +1 -0
- package/dist/commands/structure/delete-zone.js +354 -0
- package/dist/commands/structure/divide-zone.d.ts +38 -0
- package/dist/commands/structure/divide-zone.d.ts.map +1 -0
- package/dist/commands/structure/divide-zone.js +186 -0
- package/dist/commands/structure/duplicate-zone.d.ts +7 -0
- package/dist/commands/structure/duplicate-zone.d.ts.map +1 -0
- package/dist/commands/structure/duplicate-zone.js +21 -0
- package/dist/commands/structure/floor-opening.d.ts +36 -0
- package/dist/commands/structure/floor-opening.d.ts.map +1 -0
- package/dist/commands/structure/floor-opening.js +124 -0
- package/dist/commands/structure/index.d.ts +22 -0
- package/dist/commands/structure/index.d.ts.map +1 -0
- package/dist/commands/structure/index.js +20 -0
- package/dist/commands/structure/lock-outside-faces.d.ts +12 -0
- package/dist/commands/structure/lock-outside-faces.d.ts.map +1 -0
- package/dist/commands/structure/lock-outside-faces.js +32 -0
- package/dist/commands/structure/merge-zones.d.ts +5 -0
- package/dist/commands/structure/merge-zones.d.ts.map +1 -0
- package/dist/commands/structure/merge-zones.js +22 -0
- package/dist/commands/structure/mezzanine-content.d.ts +16 -0
- package/dist/commands/structure/mezzanine-content.d.ts.map +1 -0
- package/dist/commands/structure/mezzanine-content.js +109 -0
- package/dist/commands/structure/plan-mezzanine-stair.d.ts +7 -0
- package/dist/commands/structure/plan-mezzanine-stair.d.ts.map +1 -0
- package/dist/commands/structure/plan-mezzanine-stair.js +127 -0
- package/dist/commands/structure/plan-wall-deletion.d.ts +9 -0
- package/dist/commands/structure/plan-wall-deletion.d.ts.map +1 -0
- package/dist/commands/structure/plan-wall-deletion.js +151 -0
- package/dist/commands/structure/rebase-floor-reference.d.ts +7 -0
- package/dist/commands/structure/rebase-floor-reference.d.ts.map +1 -0
- package/dist/commands/structure/rebase-floor-reference.js +90 -0
- package/dist/commands/structure/resize-mezzanine.d.ts +8 -0
- package/dist/commands/structure/resize-mezzanine.d.ts.map +1 -0
- package/dist/commands/structure/resize-mezzanine.js +43 -0
- package/dist/commands/structure/rotate-zone.d.ts +8 -0
- package/dist/commands/structure/rotate-zone.d.ts.map +1 -0
- package/dist/commands/structure/rotate-zone.js +28 -0
- package/dist/commands/structure/set-floor-foundation.d.ts +62 -0
- package/dist/commands/structure/set-floor-foundation.d.ts.map +1 -0
- package/dist/commands/structure/set-floor-foundation.js +162 -0
- package/dist/commands/structure/set-room-floor-construction.d.ts +8 -0
- package/dist/commands/structure/set-room-floor-construction.d.ts.map +1 -0
- package/dist/commands/structure/set-room-floor-construction.js +72 -0
- package/dist/commands/structure/set-wall-geometry.d.ts +10 -0
- package/dist/commands/structure/set-wall-geometry.d.ts.map +1 -0
- package/dist/commands/structure/set-wall-geometry.js +52 -0
- package/dist/commands/structure/set-zone-edges.d.ts +14 -0
- package/dist/commands/structure/set-zone-edges.d.ts.map +1 -0
- package/dist/commands/structure/set-zone-edges.js +143 -0
- package/dist/commands/structure/set-zone-intent.d.ts +39 -0
- package/dist/commands/structure/set-zone-intent.d.ts.map +1 -0
- package/dist/commands/structure/set-zone-intent.js +125 -0
- package/dist/commands/structure/shared.d.ts +4512 -0
- package/dist/commands/structure/shared.d.ts.map +1 -0
- package/dist/commands/structure/shared.js +102 -0
- package/dist/commands/structure/transform-zone.d.ts +23 -0
- package/dist/commands/structure/transform-zone.d.ts.map +1 -0
- package/dist/commands/structure/transform-zone.js +472 -0
- package/dist/commands/structure/validate-mezzanine.d.ts +5 -0
- package/dist/commands/structure/validate-mezzanine.d.ts.map +1 -0
- package/dist/commands/structure/validate-mezzanine.js +46 -0
- package/dist/commands/structure/zone-crossings.d.ts +8 -0
- package/dist/commands/structure/zone-crossings.d.ts.map +1 -0
- package/dist/commands/structure/zone-crossings.js +162 -0
- package/dist/commands/structure/zone-drop.d.ts +4 -0
- package/dist/commands/structure/zone-drop.d.ts.map +1 -0
- package/dist/commands/structure/zone-drop.js +68 -0
- package/dist/commands/structure/zone-insertion.d.ts +4 -0
- package/dist/commands/structure/zone-insertion.d.ts.map +1 -0
- package/dist/commands/structure/zone-insertion.js +200 -0
- package/dist/commands/structure/zone-transform-content.d.ts +6 -0
- package/dist/commands/structure/zone-transform-content.d.ts.map +1 -0
- package/dist/commands/structure/zone-transform-content.js +117 -0
- package/dist/commands/structure/zone-wall-merge.d.ts +4977 -0
- package/dist/commands/structure/zone-wall-merge.d.ts.map +1 -0
- package/dist/commands/structure/zone-wall-merge.js +135 -0
- package/dist/contracts/reference-discovery.d.ts +18 -0
- package/dist/contracts/reference-discovery.d.ts.map +1 -0
- package/dist/contracts/reference-discovery.js +100 -0
- package/dist/contracts/reference-inventory.d.ts +44 -0
- package/dist/contracts/reference-inventory.d.ts.map +1 -0
- package/dist/contracts/reference-inventory.js +872 -0
- package/dist/events/bus.d.ts +70 -9
- package/dist/events/bus.d.ts.map +1 -1
- package/dist/hooks/scene-registry/item-clip-registry.d.ts +6 -3
- package/dist/hooks/scene-registry/item-clip-registry.d.ts.map +1 -1
- package/dist/hooks/scene-registry/item-clip-registry.js +2 -1
- package/dist/hooks/spatial-grid/floor-placed-elevation.d.ts.map +1 -1
- package/dist/hooks/spatial-grid/floor-placed-elevation.js +15 -1
- package/dist/hooks/spatial-grid/spatial-grid-manager.d.ts +3 -2
- package/dist/hooks/spatial-grid/spatial-grid-manager.d.ts.map +1 -1
- package/dist/hooks/spatial-grid/spatial-grid-manager.js +53 -66
- package/dist/hooks/spatial-grid/spatial-grid-sync.d.ts +1612 -127
- package/dist/hooks/spatial-grid/spatial-grid-sync.d.ts.map +1 -1
- package/dist/hooks/spatial-grid/spatial-grid-sync.js +86 -83
- package/dist/hooks/spatial-grid/support-host-patch.d.ts +1 -0
- package/dist/hooks/spatial-grid/support-host-patch.d.ts.map +1 -1
- package/dist/hooks/spatial-grid/support-host-patch.js +12 -5
- package/dist/index.d.ts +80 -13
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +75 -11
- package/dist/lib/__bench__/near-linear-walls.d.ts +2 -0
- package/dist/lib/__bench__/near-linear-walls.d.ts.map +1 -0
- package/dist/lib/__bench__/near-linear-walls.js +24 -0
- package/dist/lib/__bench__/structure-preview.bench.d.ts +2 -0
- package/dist/lib/__bench__/structure-preview.bench.d.ts.map +1 -0
- package/dist/lib/__bench__/structure-preview.bench.js +72 -0
- package/dist/lib/__fixtures__/mezzanine.d.ts +13968 -0
- package/dist/lib/__fixtures__/mezzanine.d.ts.map +1 -0
- package/dist/lib/__fixtures__/mezzanine.js +43 -0
- package/dist/lib/absorb-wall-separators.d.ts +4483 -0
- package/dist/lib/absorb-wall-separators.d.ts.map +1 -0
- package/dist/lib/absorb-wall-separators.js +65 -0
- package/dist/lib/angle-accumulator.d.ts +3 -0
- package/dist/lib/angle-accumulator.d.ts.map +1 -0
- package/dist/lib/angle-accumulator.js +13 -0
- package/dist/lib/artifact-store.d.ts +31 -0
- package/dist/lib/artifact-store.d.ts.map +1 -0
- package/dist/lib/artifact-store.js +42 -0
- package/dist/lib/assembly-stack.d.ts +54 -0
- package/dist/lib/assembly-stack.d.ts.map +1 -0
- package/dist/lib/assembly-stack.js +52 -0
- package/dist/lib/asset-storage.d.ts.map +1 -1
- package/dist/lib/asset-storage.js +3 -0
- package/dist/lib/canonical-opening-ring.d.ts +3 -0
- package/dist/lib/canonical-opening-ring.d.ts.map +1 -0
- package/dist/lib/canonical-opening-ring.js +14 -0
- package/dist/lib/ceiling-children.d.ts +8 -0
- package/dist/lib/ceiling-children.d.ts.map +1 -0
- package/dist/lib/ceiling-children.js +36 -0
- package/dist/lib/ceiling-surface.d.ts +40 -0
- package/dist/lib/ceiling-surface.d.ts.map +1 -0
- package/dist/lib/ceiling-surface.js +65 -0
- package/dist/lib/cutter-host.d.ts +5 -0
- package/dist/lib/cutter-host.d.ts.map +1 -0
- package/dist/lib/cutter-host.js +30 -0
- package/dist/lib/floor-construction-lift.d.ts +4 -0
- package/dist/lib/floor-construction-lift.d.ts.map +1 -0
- package/dist/lib/floor-construction-lift.js +54 -0
- package/dist/lib/floor-footprint-key.d.ts +3 -0
- package/dist/lib/floor-footprint-key.d.ts.map +1 -0
- package/dist/lib/floor-footprint-key.js +9 -0
- package/dist/lib/floor-footprint-name.d.ts +11 -0
- package/dist/lib/floor-footprint-name.d.ts.map +1 -0
- package/dist/lib/floor-footprint-name.js +52 -0
- package/dist/lib/floor-foundation-datum.d.ts +31 -0
- package/dist/lib/floor-foundation-datum.d.ts.map +1 -0
- package/dist/lib/floor-foundation-datum.js +226 -0
- package/dist/lib/floor-foundation-stack.d.ts +16 -0
- package/dist/lib/floor-foundation-stack.d.ts.map +1 -0
- package/dist/lib/floor-foundation-stack.js +214 -0
- package/dist/lib/floor-intent-changes.d.ts +10 -0
- package/dist/lib/floor-intent-changes.d.ts.map +1 -0
- package/dist/lib/floor-intent-changes.js +461 -0
- package/dist/lib/floor-opening-footprints.d.ts +24 -0
- package/dist/lib/floor-opening-footprints.d.ts.map +1 -0
- package/dist/lib/floor-opening-footprints.js +127 -0
- package/dist/lib/floor-opening-intent.d.ts +16 -0
- package/dist/lib/floor-opening-intent.d.ts.map +1 -0
- package/dist/lib/floor-opening-intent.js +82 -0
- package/dist/lib/floor-plate-id.d.ts +5 -0
- package/dist/lib/floor-plate-id.d.ts.map +1 -0
- package/dist/lib/floor-plate-id.js +20 -0
- package/dist/lib/floor-plate-paint.d.ts +8 -0
- package/dist/lib/floor-plate-paint.d.ts.map +1 -0
- package/dist/lib/floor-plate-paint.js +11 -0
- package/dist/lib/floor-plates.d.ts +211 -0
- package/dist/lib/floor-plates.d.ts.map +1 -0
- package/dist/lib/floor-plates.js +729 -0
- package/dist/lib/floor-room-faces.d.ts +5 -0
- package/dist/lib/floor-room-faces.d.ts.map +1 -0
- package/dist/lib/floor-room-faces.js +29 -0
- package/dist/lib/floor-step-finish.d.ts +49 -0
- package/dist/lib/floor-step-finish.d.ts.map +1 -0
- package/dist/lib/floor-step-finish.js +128 -0
- package/dist/lib/geometry-script-node.d.ts +82 -0
- package/dist/lib/geometry-script-node.d.ts.map +1 -0
- package/dist/lib/geometry-script-node.js +147 -0
- package/dist/lib/geometry-surfaces.d.ts +61 -0
- package/dist/lib/geometry-surfaces.d.ts.map +1 -0
- package/dist/lib/geometry-surfaces.js +156 -0
- package/dist/lib/item-slab-support.d.ts +14 -0
- package/dist/lib/item-slab-support.d.ts.map +1 -0
- package/dist/lib/item-slab-support.js +40 -0
- package/dist/lib/level-footprints.d.ts +23 -0
- package/dist/lib/level-footprints.d.ts.map +1 -0
- package/dist/lib/level-footprints.js +398 -0
- package/dist/lib/level-name.d.ts +7 -0
- package/dist/lib/level-name.d.ts.map +1 -1
- package/dist/lib/level-name.js +11 -3
- package/dist/lib/new-zone.d.ts +10 -0
- package/dist/lib/new-zone.d.ts.map +1 -0
- package/dist/lib/new-zone.js +10 -0
- package/dist/lib/node-ancestry.d.ts +30 -0
- package/dist/lib/node-ancestry.d.ts.map +1 -0
- package/dist/lib/node-ancestry.js +76 -0
- package/dist/lib/object-cuts.d.ts +11 -0
- package/dist/lib/object-cuts.d.ts.map +1 -0
- package/dist/lib/object-cuts.js +63 -0
- package/dist/lib/opening-floor-datum.d.ts +24 -0
- package/dist/lib/opening-floor-datum.d.ts.map +1 -0
- package/dist/lib/opening-floor-datum.js +145 -0
- package/dist/lib/own-floor-intent.d.ts +15 -0
- package/dist/lib/own-floor-intent.d.ts.map +1 -0
- package/dist/lib/own-floor-intent.js +201 -0
- package/dist/lib/plate-reference.d.ts +3 -0
- package/dist/lib/plate-reference.d.ts.map +1 -0
- package/dist/lib/plate-reference.js +91 -0
- package/dist/lib/plate-surface.d.ts +120 -0
- package/dist/lib/plate-surface.d.ts.map +1 -0
- package/dist/lib/plate-surface.js +725 -0
- package/dist/lib/polygon-boolean.d.ts +17 -0
- package/dist/lib/polygon-boolean.d.ts.map +1 -0
- package/dist/lib/polygon-boolean.js +195 -0
- package/dist/lib/polygon-label.d.ts +7 -0
- package/dist/lib/polygon-label.d.ts.map +1 -0
- package/dist/lib/polygon-label.js +94 -0
- package/dist/lib/room-drawn-floor.d.ts +29 -0
- package/dist/lib/room-drawn-floor.d.ts.map +1 -0
- package/dist/lib/room-drawn-floor.js +88 -0
- package/dist/lib/room-floor-choices.d.ts +11 -0
- package/dist/lib/room-floor-choices.d.ts.map +1 -0
- package/dist/lib/room-floor-choices.js +60 -0
- package/dist/lib/room-floor-feasibility.d.ts +25 -0
- package/dist/lib/room-floor-feasibility.d.ts.map +1 -0
- package/dist/lib/room-floor-feasibility.js +293 -0
- package/dist/lib/room-floor-plate.d.ts +3 -0
- package/dist/lib/room-floor-plate.d.ts.map +1 -0
- package/dist/lib/room-floor-plate.js +4 -0
- package/dist/lib/room-graph.d.ts +79 -0
- package/dist/lib/room-graph.d.ts.map +1 -0
- package/dist/lib/room-graph.js +1265 -0
- package/dist/lib/room-name.d.ts +10 -0
- package/dist/lib/room-name.d.ts.map +1 -0
- package/dist/lib/room-name.js +22 -0
- package/dist/lib/room-topology-index.d.ts +53 -5
- package/dist/lib/room-topology-index.d.ts.map +1 -1
- package/dist/lib/room-topology-index.js +176 -30
- package/dist/lib/room-vertical-placement.d.ts +12 -0
- package/dist/lib/room-vertical-placement.d.ts.map +1 -0
- package/dist/lib/room-vertical-placement.js +28 -0
- package/dist/lib/room-zone-adoption.d.ts +74 -0
- package/dist/lib/room-zone-adoption.d.ts.map +1 -0
- package/dist/lib/room-zone-adoption.js +150 -0
- package/dist/lib/setback-envelope.d.ts +73 -0
- package/dist/lib/setback-envelope.d.ts.map +1 -0
- package/dist/lib/setback-envelope.js +506 -0
- package/dist/lib/slab-polygon.d.ts.map +1 -1
- package/dist/lib/slab-polygon.js +33 -12
- package/dist/lib/slots.d.ts +20 -0
- package/dist/lib/slots.d.ts.map +1 -1
- package/dist/lib/slots.js +44 -0
- package/dist/lib/space-detection.d.ts +14 -94
- package/dist/lib/space-detection.d.ts.map +1 -1
- package/dist/lib/space-detection.js +244 -1616
- package/dist/lib/structure-commit.d.ts +38 -0
- package/dist/lib/structure-commit.d.ts.map +1 -0
- package/dist/lib/structure-commit.js +52 -0
- package/dist/lib/structure-kernel.d.ts +66 -0
- package/dist/lib/structure-kernel.d.ts.map +1 -0
- package/dist/lib/structure-kernel.js +735 -0
- package/dist/lib/structure-reconcile.d.ts +15 -0
- package/dist/lib/structure-reconcile.d.ts.map +1 -0
- package/dist/lib/structure-reconcile.js +218 -0
- package/dist/lib/terrain-contours.d.ts +29 -0
- package/dist/lib/terrain-contours.d.ts.map +1 -0
- package/dist/lib/terrain-contours.js +199 -0
- package/dist/lib/terrain-source-persisted.d.ts +42 -0
- package/dist/lib/terrain-source-persisted.d.ts.map +1 -0
- package/dist/lib/terrain-source-persisted.js +68 -0
- package/dist/lib/terrain-source.d.ts +2 -40
- package/dist/lib/terrain-source.d.ts.map +1 -1
- package/dist/lib/terrain-source.js +2 -68
- package/dist/lib/terrain-support-query.d.ts +83 -0
- package/dist/lib/terrain-support-query.d.ts.map +1 -0
- package/dist/lib/terrain-support-query.js +187 -0
- package/dist/lib/terrain-support.d.ts +1 -77
- package/dist/lib/terrain-support.d.ts.map +1 -1
- package/dist/lib/terrain-support.js +3 -181
- package/dist/lib/unit-containment.js +2 -2
- package/dist/lib/unit-report.d.ts.map +1 -1
- package/dist/lib/unit-report.js +5 -4
- package/dist/lib/zone-colors.d.ts +11 -0
- package/dist/lib/zone-colors.d.ts.map +1 -0
- package/dist/lib/zone-colors.js +32 -0
- package/dist/lib/zone-quantities.d.ts.map +1 -1
- package/dist/lib/zone-quantities.js +113 -223
- package/dist/material-library.d.ts +9 -1
- package/dist/material-library.d.ts.map +1 -1
- package/dist/material-library.js +550 -1
- package/dist/node-slots/block.d.ts +7 -0
- package/dist/node-slots/block.d.ts.map +1 -0
- package/dist/node-slots/block.js +27 -0
- package/dist/node-slots/cabinet.d.ts +4 -0
- package/dist/node-slots/cabinet.d.ts.map +1 -0
- package/dist/node-slots/cabinet.js +24 -0
- package/dist/node-slots/ceiling.d.ts +6 -0
- package/dist/node-slots/ceiling.d.ts.map +1 -0
- package/dist/node-slots/ceiling.js +7 -0
- package/dist/node-slots/column.d.ts +9 -0
- package/dist/node-slots/column.d.ts.map +1 -0
- package/dist/node-slots/column.js +24 -0
- package/dist/node-slots/door.d.ts +9 -0
- package/dist/node-slots/door.d.ts.map +1 -0
- package/dist/node-slots/door.js +20 -0
- package/dist/node-slots/duct.d.ts +5 -0
- package/dist/node-slots/duct.d.ts.map +1 -0
- package/dist/node-slots/duct.js +5 -0
- package/dist/node-slots/elevator.d.ts +9 -0
- package/dist/node-slots/elevator.d.ts.map +1 -0
- package/dist/node-slots/elevator.js +17 -0
- package/dist/node-slots/fence.d.ts +10 -0
- package/dist/node-slots/fence.d.ts.map +1 -0
- package/dist/node-slots/fence.js +23 -0
- package/dist/node-slots/index.d.ts +25 -0
- package/dist/node-slots/index.d.ts.map +1 -0
- package/dist/node-slots/index.js +92 -0
- package/dist/node-slots/lean-to-extension.d.ts +5 -0
- package/dist/node-slots/lean-to-extension.d.ts.map +1 -0
- package/dist/node-slots/lean-to-extension.js +15 -0
- package/dist/node-slots/procedural-item.d.ts +4 -0
- package/dist/node-slots/procedural-item.d.ts.map +1 -0
- package/dist/node-slots/procedural-item.js +3 -0
- package/dist/node-slots/roof-accessories.d.ts +9 -0
- package/dist/node-slots/roof-accessories.d.ts.map +1 -0
- package/dist/node-slots/roof-accessories.js +34 -0
- package/dist/node-slots/shelf.d.ts +9 -0
- package/dist/node-slots/shelf.d.ts.map +1 -0
- package/dist/node-slots/shelf.js +30 -0
- package/dist/node-slots/slab.d.ts +7 -0
- package/dist/node-slots/slab.d.ts.map +1 -0
- package/dist/node-slots/slab.js +21 -0
- package/dist/node-slots/stair.d.ts +8 -0
- package/dist/node-slots/stair.d.ts.map +1 -0
- package/dist/node-slots/stair.js +17 -0
- package/dist/node-slots/wall.d.ts +12 -0
- package/dist/node-slots/wall.d.ts.map +1 -0
- package/dist/node-slots/wall.js +55 -0
- package/dist/node-slots/window.d.ts +5 -0
- package/dist/node-slots/window.d.ts.map +1 -0
- package/dist/node-slots/window.js +11 -0
- package/dist/procedural-items/design-placement.d.ts +49 -0
- package/dist/procedural-items/design-placement.d.ts.map +1 -0
- package/dist/procedural-items/design-placement.js +129 -0
- package/dist/procedural-items/design.d.ts +261 -0
- package/dist/procedural-items/design.d.ts.map +1 -0
- package/dist/procedural-items/design.js +707 -0
- package/dist/procedural-items/fixtures.d.ts +464 -24
- package/dist/procedural-items/fixtures.d.ts.map +1 -1
- package/dist/procedural-items/index.d.ts +5 -0
- package/dist/procedural-items/index.d.ts.map +1 -1
- package/dist/procedural-items/index.js +5 -0
- package/dist/procedural-items/integration.d.ts +127 -6
- package/dist/procedural-items/integration.d.ts.map +1 -1
- package/dist/procedural-items/joints.d.ts +56 -0
- package/dist/procedural-items/joints.d.ts.map +1 -0
- package/dist/procedural-items/joints.js +251 -0
- package/dist/procedural-items/library-colors.d.ts +12 -0
- package/dist/procedural-items/library-colors.d.ts.map +1 -1
- package/dist/procedural-items/library-colors.js +37 -3
- package/dist/procedural-items/motion-controller.d.ts +29 -0
- package/dist/procedural-items/motion-controller.d.ts.map +1 -0
- package/dist/procedural-items/motion-controller.js +130 -0
- package/dist/procedural-items/node.d.ts +490 -24
- package/dist/procedural-items/node.d.ts.map +1 -1
- package/dist/procedural-items/query.d.ts +18 -1
- package/dist/procedural-items/query.d.ts.map +1 -1
- package/dist/procedural-items/query.js +78 -39
- package/dist/procedural-items/recipe.d.ts +258 -14
- package/dist/procedural-items/recipe.d.ts.map +1 -1
- package/dist/procedural-items/recipe.js +933 -61
- package/dist/procedural-items/section.d.ts +27 -0
- package/dist/procedural-items/section.d.ts.map +1 -0
- package/dist/procedural-items/section.js +237 -0
- package/dist/procedural-items/spatial.d.ts +21 -0
- package/dist/procedural-items/spatial.d.ts.map +1 -1
- package/dist/procedural-items/spatial.js +90 -0
- package/dist/registry/handles.d.ts +2 -0
- package/dist/registry/handles.d.ts.map +1 -1
- package/dist/registry/index.d.ts +6 -4
- package/dist/registry/index.d.ts.map +1 -1
- package/dist/registry/index.js +4 -2
- package/dist/registry/mechanism.d.ts +9 -0
- package/dist/registry/mechanism.d.ts.map +1 -0
- package/dist/registry/mechanism.js +21 -0
- package/dist/registry/registry.d.ts +6 -3
- package/dist/registry/registry.d.ts.map +1 -1
- package/dist/registry/registry.js +59 -22
- package/dist/registry/scene-api.d.ts +20 -0
- package/dist/registry/scene-api.d.ts.map +1 -1
- package/dist/registry/scene-api.js +26 -13
- package/dist/registry/subtree.d.ts +8 -0
- package/dist/registry/subtree.d.ts.map +1 -1
- package/dist/registry/subtree.js +53 -0
- package/dist/registry/types.d.ts +340 -11
- package/dist/registry/types.d.ts.map +1 -1
- package/dist/schema/__fixtures__/node-fixtures.d.ts.map +1 -1
- package/dist/schema/__fixtures__/node-fixtures.js +2 -0
- package/dist/schema/assembly.d.ts +153 -0
- package/dist/schema/assembly.d.ts.map +1 -0
- package/dist/schema/assembly.js +155 -0
- package/dist/schema/asset-url.d.ts +2 -1
- package/dist/schema/asset-url.d.ts.map +1 -1
- package/dist/schema/asset-url.js +5 -2
- package/dist/schema/base.d.ts +26 -0
- package/dist/schema/base.d.ts.map +1 -1
- package/dist/schema/base.js +2 -0
- package/dist/schema/collection-templates.d.ts +46 -0
- package/dist/schema/collection-templates.d.ts.map +1 -0
- package/dist/schema/collection-templates.js +14 -0
- package/dist/schema/collections.d.ts +7 -0
- package/dist/schema/collections.d.ts.map +1 -1
- package/dist/schema/cut.d.ts +29 -0
- package/dist/schema/cut.d.ts.map +1 -0
- package/dist/schema/cut.js +50 -0
- package/dist/schema/geometry-metadata.d.ts +51 -0
- package/dist/schema/geometry-metadata.d.ts.map +1 -0
- package/dist/schema/geometry-metadata.js +57 -0
- package/dist/schema/geometry-source.d.ts +250 -0
- package/dist/schema/geometry-source.d.ts.map +1 -0
- package/dist/schema/geometry-source.js +130 -0
- package/dist/schema/index.d.ts +19 -7
- package/dist/schema/index.d.ts.map +1 -1
- package/dist/schema/index.js +21 -5
- package/dist/schema/nodes/block.d.ts +26 -0
- package/dist/schema/nodes/block.d.ts.map +1 -1
- package/dist/schema/nodes/block.js +1 -1
- package/dist/schema/nodes/box-vent.d.ts +26 -0
- package/dist/schema/nodes/box-vent.d.ts.map +1 -1
- package/dist/schema/nodes/building.d.ts +26 -0
- package/dist/schema/nodes/building.d.ts.map +1 -1
- package/dist/schema/nodes/cabinet.d.ts +61 -9
- package/dist/schema/nodes/cabinet.d.ts.map +1 -1
- package/dist/schema/nodes/ceiling.d.ts +37 -0
- package/dist/schema/nodes/ceiling.d.ts.map +1 -1
- package/dist/schema/nodes/ceiling.js +8 -0
- package/dist/schema/nodes/chimney.d.ts +26 -0
- package/dist/schema/nodes/chimney.d.ts.map +1 -1
- package/dist/schema/nodes/column.d.ts +126 -0
- package/dist/schema/nodes/column.d.ts.map +1 -1
- package/dist/schema/nodes/column.js +2 -0
- package/dist/schema/nodes/construction-dimension.d.ts +26 -0
- package/dist/schema/nodes/construction-dimension.d.ts.map +1 -1
- package/dist/schema/nodes/cupola.d.ts +26 -0
- package/dist/schema/nodes/cupola.d.ts.map +1 -1
- package/dist/schema/nodes/curtain-wall.d.ts +5 -5
- package/dist/schema/nodes/door.d.ts +139 -20
- package/dist/schema/nodes/door.d.ts.map +1 -1
- package/dist/schema/nodes/door.js +18 -33
- package/dist/schema/nodes/dormer.d.ts +28 -2
- package/dist/schema/nodes/dormer.d.ts.map +1 -1
- package/dist/schema/nodes/downspout.d.ts +27 -1
- package/dist/schema/nodes/downspout.d.ts.map +1 -1
- package/dist/schema/nodes/duct-fitting.d.ts +27 -1
- package/dist/schema/nodes/duct-fitting.d.ts.map +1 -1
- package/dist/schema/nodes/duct-segment.d.ts +27 -1
- package/dist/schema/nodes/duct-segment.d.ts.map +1 -1
- package/dist/schema/nodes/duct-terminal.d.ts +26 -0
- package/dist/schema/nodes/duct-terminal.d.ts.map +1 -1
- package/dist/schema/nodes/elevator.d.ts +26 -0
- package/dist/schema/nodes/elevator.d.ts.map +1 -1
- package/dist/schema/nodes/eyebrow-vent.d.ts +26 -0
- package/dist/schema/nodes/eyebrow-vent.d.ts.map +1 -1
- package/dist/schema/nodes/fence-feature.d.ts +141 -0
- package/dist/schema/nodes/fence-feature.d.ts.map +1 -0
- package/dist/schema/nodes/fence-feature.js +21 -0
- package/dist/schema/nodes/fence.d.ts +186 -0
- package/dist/schema/nodes/fence.d.ts.map +1 -1
- package/dist/schema/nodes/fence.js +92 -7
- package/dist/schema/nodes/floor-opening.d.ts +61 -0
- package/dist/schema/nodes/floor-opening.d.ts.map +1 -0
- package/dist/schema/nodes/floor-opening.js +17 -0
- package/dist/schema/nodes/guide.d.ts +26 -0
- package/dist/schema/nodes/guide.d.ts.map +1 -1
- package/dist/schema/nodes/gutter.d.ts +26 -0
- package/dist/schema/nodes/gutter.d.ts.map +1 -1
- package/dist/schema/nodes/hvac-equipment.d.ts +26 -0
- package/dist/schema/nodes/hvac-equipment.d.ts.map +1 -1
- package/dist/schema/nodes/imported-mesh.d.ts +26 -0
- package/dist/schema/nodes/imported-mesh.d.ts.map +1 -1
- package/dist/schema/nodes/item.d.ts +153 -2
- package/dist/schema/nodes/item.d.ts.map +1 -1
- package/dist/schema/nodes/item.js +13 -0
- package/dist/schema/nodes/lean-to-extension.d.ts +26 -0
- package/dist/schema/nodes/lean-to-extension.d.ts.map +1 -1
- package/dist/schema/nodes/level.d.ts +27 -1
- package/dist/schema/nodes/level.d.ts.map +1 -1
- package/dist/schema/nodes/lineset.d.ts +26 -0
- package/dist/schema/nodes/lineset.d.ts.map +1 -1
- package/dist/schema/nodes/liquid-line.d.ts +26 -0
- package/dist/schema/nodes/liquid-line.d.ts.map +1 -1
- package/dist/schema/nodes/measurement.d.ts +26 -0
- package/dist/schema/nodes/measurement.d.ts.map +1 -1
- package/dist/schema/nodes/opening-types.d.ts +41 -0
- package/dist/schema/nodes/opening-types.d.ts.map +1 -0
- package/dist/schema/nodes/opening-types.js +48 -0
- package/dist/schema/nodes/pipe-fitting.d.ts +26 -0
- package/dist/schema/nodes/pipe-fitting.d.ts.map +1 -1
- package/dist/schema/nodes/pipe-segment.d.ts +26 -0
- package/dist/schema/nodes/pipe-segment.d.ts.map +1 -1
- package/dist/schema/nodes/pipe-trap.d.ts +26 -0
- package/dist/schema/nodes/pipe-trap.d.ts.map +1 -1
- package/dist/schema/nodes/ridge-vent.d.ts +26 -0
- package/dist/schema/nodes/ridge-vent.d.ts.map +1 -1
- package/dist/schema/nodes/roof-segment-walls.d.ts.map +1 -1
- package/dist/schema/nodes/roof-segment-walls.js +2 -1
- package/dist/schema/nodes/roof-segment.d.ts +30 -2
- package/dist/schema/nodes/roof-segment.d.ts.map +1 -1
- package/dist/schema/nodes/roof-segment.js +9 -0
- package/dist/schema/nodes/roof.d.ts +101 -0
- package/dist/schema/nodes/roof.d.ts.map +1 -1
- package/dist/schema/nodes/roof.js +6 -0
- package/dist/schema/nodes/scan.d.ts +26 -0
- package/dist/schema/nodes/scan.d.ts.map +1 -1
- package/dist/schema/nodes/separator.d.ts +50 -0
- package/dist/schema/nodes/separator.d.ts.map +1 -0
- package/dist/schema/nodes/separator.js +8 -0
- package/dist/schema/nodes/shelf.d.ts +26 -0
- package/dist/schema/nodes/shelf.d.ts.map +1 -1
- package/dist/schema/nodes/site.d.ts +192 -0
- package/dist/schema/nodes/site.d.ts.map +1 -1
- package/dist/schema/nodes/site.js +178 -1
- package/dist/schema/nodes/skylight.d.ts +30 -4
- package/dist/schema/nodes/skylight.d.ts.map +1 -1
- package/dist/schema/nodes/slab.d.ts +84 -0
- package/dist/schema/nodes/slab.d.ts.map +1 -1
- package/dist/schema/nodes/slab.js +37 -2
- package/dist/schema/nodes/solar-panel.d.ts +26 -0
- package/dist/schema/nodes/solar-panel.d.ts.map +1 -1
- package/dist/schema/nodes/spawn.d.ts +26 -0
- package/dist/schema/nodes/spawn.d.ts.map +1 -1
- package/dist/schema/nodes/stair-construction.d.ts +21 -0
- package/dist/schema/nodes/stair-construction.d.ts.map +1 -0
- package/dist/schema/nodes/stair-construction.js +13 -0
- package/dist/schema/nodes/stair-design-targets.d.ts +9 -0
- package/dist/schema/nodes/stair-design-targets.d.ts.map +1 -0
- package/dist/schema/nodes/stair-design-targets.js +7 -0
- package/dist/schema/nodes/stair-segment.d.ts +72 -4
- package/dist/schema/nodes/stair-segment.d.ts.map +1 -1
- package/dist/schema/nodes/stair-segment.js +13 -0
- package/dist/schema/nodes/stair.d.ts +119 -2
- package/dist/schema/nodes/stair.d.ts.map +1 -1
- package/dist/schema/nodes/stair.js +59 -2
- package/dist/schema/nodes/structural-grid.d.ts +26 -0
- package/dist/schema/nodes/structural-grid.d.ts.map +1 -1
- package/dist/schema/nodes/surface-hole-metadata.d.ts +3 -0
- package/dist/schema/nodes/surface-hole-metadata.d.ts.map +1 -1
- package/dist/schema/nodes/surface-hole-metadata.js +2 -1
- package/dist/schema/nodes/surface-paint-region.d.ts +14 -0
- package/dist/schema/nodes/surface-paint-region.d.ts.map +1 -0
- package/dist/schema/nodes/surface-paint-region.js +12 -0
- package/dist/schema/nodes/turbine-vent.d.ts +26 -0
- package/dist/schema/nodes/turbine-vent.d.ts.map +1 -1
- package/dist/schema/nodes/unit.d.ts +26 -0
- package/dist/schema/nodes/unit.d.ts.map +1 -1
- package/dist/schema/nodes/wall.d.ts +352 -61
- package/dist/schema/nodes/wall.d.ts.map +1 -1
- package/dist/schema/nodes/wall.js +185 -186
- package/dist/schema/nodes/window.d.ts +139 -20
- package/dist/schema/nodes/window.d.ts.map +1 -1
- package/dist/schema/nodes/window.js +12 -14
- package/dist/schema/nodes/zone.d.ts +69 -1
- package/dist/schema/nodes/zone.d.ts.map +1 -1
- package/dist/schema/nodes/zone.js +46 -0
- package/dist/schema/provenance.d.ts +118 -0
- package/dist/schema/provenance.d.ts.map +1 -0
- package/dist/schema/provenance.js +76 -0
- package/dist/schema/source-ref.d.ts +23 -0
- package/dist/schema/source-ref.d.ts.map +1 -0
- package/dist/schema/source-ref.js +29 -0
- package/dist/schema/types.d.ts +3317 -68
- package/dist/schema/types.d.ts.map +1 -1
- package/dist/schema/types.js +7 -0
- package/dist/services/alignment-anchors.d.ts +2 -1
- package/dist/services/alignment-anchors.d.ts.map +1 -1
- package/dist/services/alignment-anchors.js +9 -6
- package/dist/services/index.d.ts +1 -1
- package/dist/services/index.d.ts.map +1 -1
- package/dist/services/index.js +1 -1
- package/dist/services/level-height.d.ts.map +1 -1
- package/dist/services/level-height.js +6 -4
- package/dist/services/storey.d.ts +21 -1
- package/dist/services/storey.d.ts.map +1 -1
- package/dist/services/storey.js +94 -8
- package/dist/services/surface-hosting.d.ts.map +1 -1
- package/dist/services/surface-hosting.js +4 -1
- package/dist/store/actions/node-actions.d.ts +4563 -8
- package/dist/store/actions/node-actions.d.ts.map +1 -1
- package/dist/store/actions/node-actions.js +495 -174
- package/dist/store/derived-node-guard.d.ts +84 -0
- package/dist/store/derived-node-guard.d.ts.map +1 -0
- package/dist/store/derived-node-guard.js +586 -0
- package/dist/store/history-control.d.ts +34 -0
- package/dist/store/history-control.d.ts.map +1 -1
- package/dist/store/history-control.js +99 -1
- package/dist/store/history-drafts.d.ts +48 -0
- package/dist/store/history-drafts.d.ts.map +1 -0
- package/dist/store/history-drafts.js +403 -0
- package/dist/store/history-invalidation.d.ts.map +1 -1
- package/dist/store/history-invalidation.js +1 -0
- package/dist/store/item-interaction.d.ts +28 -0
- package/dist/store/item-interaction.d.ts.map +1 -0
- package/dist/store/item-interaction.js +34 -0
- package/dist/store/registered-node-defaults.d.ts +11 -0
- package/dist/store/registered-node-defaults.d.ts.map +1 -0
- package/dist/store/registered-node-defaults.js +25 -0
- package/dist/store/scene-annotations.d.ts +8969 -0
- package/dist/store/scene-annotations.d.ts.map +1 -0
- package/dist/store/scene-annotations.js +107 -0
- package/dist/store/use-interactive.d.ts +23 -1
- package/dist/store/use-interactive.d.ts.map +1 -1
- package/dist/store/use-interactive.js +128 -5
- package/dist/store/use-scene.d.ts +68 -12
- package/dist/store/use-scene.d.ts.map +1 -1
- package/dist/store/use-scene.js +416 -305
- package/dist/systems/elevator/elevator-opening-sync.d.ts.map +1 -1
- package/dist/systems/elevator/elevator-opening-sync.js +4 -6
- package/dist/systems/elevator/elevator-opening-system.d.ts.map +1 -1
- package/dist/systems/elevator/elevator-opening-system.js +12 -6
- package/dist/systems/elevator/elevator-service.d.ts.map +1 -1
- package/dist/systems/elevator/elevator-service.js +8 -3
- package/dist/systems/fence/fence-centerline.d.ts.map +1 -1
- package/dist/systems/fence/fence-centerline.js +6 -5
- package/dist/systems/fence/fence-features.d.ts +36 -0
- package/dist/systems/fence/fence-features.d.ts.map +1 -0
- package/dist/systems/fence/fence-features.js +105 -0
- package/dist/systems/fence/fence-spline.d.ts +8 -5
- package/dist/systems/fence/fence-spline.d.ts.map +1 -1
- package/dist/systems/fence/fence-spline.js +51 -16
- package/dist/systems/owned-floor-openings.d.ts +9 -0
- package/dist/systems/owned-floor-openings.d.ts.map +1 -0
- package/dist/systems/owned-floor-openings.js +326 -0
- package/dist/systems/reconcile-owned-floor-openings.d.ts +3 -0
- package/dist/systems/reconcile-owned-floor-openings.d.ts.map +1 -0
- package/dist/systems/reconcile-owned-floor-openings.js +25 -0
- package/dist/systems/slab/__fixtures__/doorway-steps.d.ts +8 -0
- package/dist/systems/slab/__fixtures__/doorway-steps.d.ts.map +1 -0
- package/dist/systems/slab/__fixtures__/doorway-steps.js +62 -0
- package/dist/systems/slab/__fixtures__/floor-step.d.ts +5636 -0
- package/dist/systems/slab/__fixtures__/floor-step.d.ts.map +1 -0
- package/dist/systems/slab/__fixtures__/floor-step.js +66 -0
- package/dist/systems/slab/__fixtures__/raised-room.d.ts +5775 -0
- package/dist/systems/slab/__fixtures__/raised-room.d.ts.map +1 -0
- package/dist/systems/slab/__fixtures__/raised-room.js +54 -0
- package/dist/systems/slab/ensure-slab-openings.d.ts +9 -0
- package/dist/systems/slab/ensure-slab-openings.d.ts.map +1 -0
- package/dist/systems/slab/ensure-slab-openings.js +41 -0
- package/dist/systems/slab/slab-support.d.ts +25 -6
- package/dist/systems/slab/slab-support.d.ts.map +1 -1
- package/dist/systems/slab/slab-support.js +471 -54
- package/dist/systems/stair/stair-base-elevation.d.ts +3 -0
- package/dist/systems/stair/stair-base-elevation.d.ts.map +1 -0
- package/dist/systems/stair/stair-base-elevation.js +49 -0
- package/dist/systems/stair/stair-clearance.d.ts +39 -0
- package/dist/systems/stair/stair-clearance.d.ts.map +1 -0
- package/dist/systems/stair/stair-clearance.js +508 -0
- package/dist/systems/stair/stair-construction.d.ts +37 -0
- package/dist/systems/stair/stair-construction.d.ts.map +1 -0
- package/dist/systems/stair/stair-construction.js +314 -0
- package/dist/systems/stair/stair-detail-budget.d.ts +13 -0
- package/dist/systems/stair/stair-detail-budget.d.ts.map +1 -0
- package/dist/systems/stair/stair-detail-budget.js +64 -0
- package/dist/systems/stair/stair-flight.d.ts +2 -2
- package/dist/systems/stair/stair-flight.d.ts.map +1 -1
- package/dist/systems/stair/stair-flight.js +4 -3
- package/dist/systems/stair/stair-floor-footprints.d.ts +7 -0
- package/dist/systems/stair/stair-floor-footprints.d.ts.map +1 -0
- package/dist/systems/stair/stair-floor-footprints.js +113 -0
- package/dist/systems/stair/stair-footprint.d.ts +3 -1
- package/dist/systems/stair/stair-footprint.d.ts.map +1 -1
- package/dist/systems/stair/stair-footprint.js +97 -44
- package/dist/systems/stair/stair-layout.d.ts +39 -0
- package/dist/systems/stair/stair-layout.d.ts.map +1 -0
- package/dist/systems/stair/stair-layout.js +58 -0
- package/dist/systems/stair/stair-opening-preview.d.ts +1612 -80
- package/dist/systems/stair/stair-opening-preview.d.ts.map +1 -1
- package/dist/systems/stair/stair-opening-sync.d.ts +8 -2
- package/dist/systems/stair/stair-opening-sync.d.ts.map +1 -1
- package/dist/systems/stair/stair-opening-sync.js +136 -315
- package/dist/systems/stair/stair-opening-system.d.ts.map +1 -1
- package/dist/systems/stair/stair-opening-system.js +40 -8
- package/dist/systems/stair/stair-presets.d.ts +276 -0
- package/dist/systems/stair/stair-presets.d.ts.map +1 -0
- package/dist/systems/stair/stair-presets.js +151 -0
- package/dist/systems/stair/stair-rail-budget.d.ts +6 -0
- package/dist/systems/stair/stair-rail-budget.d.ts.map +1 -0
- package/dist/systems/stair/stair-rail-budget.js +36 -0
- package/dist/systems/stair/stair-rail-path.d.ts +22 -0
- package/dist/systems/stair/stair-rail-path.d.ts.map +1 -0
- package/dist/systems/stair/stair-rail-path.js +497 -0
- package/dist/systems/stair/stair-rise-edit.d.ts +9 -0
- package/dist/systems/stair/stair-rise-edit.d.ts.map +1 -0
- package/dist/systems/stair/stair-rise-edit.js +46 -0
- package/dist/systems/stair/stair-rise-query.d.ts +24 -0
- package/dist/systems/stair/stair-rise-query.d.ts.map +1 -0
- package/dist/systems/stair/stair-rise-query.js +125 -0
- package/dist/systems/stair/stair-rise.d.ts +4 -19
- package/dist/systems/stair/stair-rise.d.ts.map +1 -1
- package/dist/systems/stair/stair-rise.js +8 -71
- package/dist/systems/stair/stair-sizing.d.ts +414 -0
- package/dist/systems/stair/stair-sizing.d.ts.map +1 -0
- package/dist/systems/stair/stair-sizing.js +255 -0
- package/dist/systems/stair/stair-sweep-edit.d.ts +7 -0
- package/dist/systems/stair/stair-sweep-edit.d.ts.map +1 -0
- package/dist/systems/stair/stair-sweep-edit.js +8 -0
- package/dist/systems/stair/stair-walking-line.d.ts +5 -0
- package/dist/systems/stair/stair-walking-line.d.ts.map +1 -0
- package/dist/systems/stair/stair-walking-line.js +91 -0
- package/dist/systems/stair/stair-winder.d.ts +36 -0
- package/dist/systems/stair/stair-winder.d.ts.map +1 -0
- package/dist/systems/stair/stair-winder.js +173 -0
- package/dist/systems/wall/wall-assembly.d.ts +234 -0
- package/dist/systems/wall/wall-assembly.d.ts.map +1 -0
- package/dist/systems/wall/wall-assembly.js +854 -0
- package/dist/systems/wall/wall-curve.d.ts +2 -1
- package/dist/systems/wall/wall-curve.d.ts.map +1 -1
- package/dist/systems/wall/wall-curve.js +21 -5
- package/dist/systems/wall/wall-finish.d.ts +102 -0
- package/dist/systems/wall/wall-finish.d.ts.map +1 -0
- package/dist/systems/wall/wall-finish.js +264 -0
- package/dist/systems/wall/wall-footprint.d.ts +3 -0
- package/dist/systems/wall/wall-footprint.d.ts.map +1 -1
- package/dist/systems/wall/wall-footprint.js +15 -13
- package/dist/systems/wall/wall-frame.d.ts +45 -0
- package/dist/systems/wall/wall-frame.d.ts.map +1 -0
- package/dist/systems/wall/wall-frame.js +162 -0
- package/dist/systems/wall/wall-layer-bands.d.ts +38 -0
- package/dist/systems/wall/wall-layer-bands.d.ts.map +1 -0
- package/dist/systems/wall/wall-layer-bands.js +109 -0
- package/dist/systems/wall/wall-merge.d.ts +20 -1
- package/dist/systems/wall/wall-merge.d.ts.map +1 -1
- package/dist/systems/wall/wall-merge.js +189 -18
- package/dist/systems/wall/wall-mitering.d.ts +6 -5
- package/dist/systems/wall/wall-mitering.d.ts.map +1 -1
- package/dist/systems/wall/wall-mitering.js +70 -20
- package/dist/systems/wall/wall-operations.d.ts +1 -1
- package/dist/systems/wall/wall-operations.d.ts.map +1 -1
- package/dist/systems/wall/wall-operations.js +2 -1
- package/dist/systems/wall/wall-paint-plan.d.ts +30 -0
- package/dist/systems/wall/wall-paint-plan.d.ts.map +1 -0
- package/dist/systems/wall/wall-paint-plan.js +167 -0
- package/dist/systems/wall/wall-room-sides.d.ts +6 -0
- package/dist/systems/wall/wall-room-sides.d.ts.map +1 -0
- package/dist/systems/wall/wall-room-sides.js +14 -0
- package/dist/systems/wall/wall-step-openings.d.ts +17 -0
- package/dist/systems/wall/wall-step-openings.d.ts.map +1 -0
- package/dist/systems/wall/wall-step-openings.js +32 -0
- package/dist/systems/wall/wall-top.d.ts +2 -6
- package/dist/systems/wall/wall-top.d.ts.map +1 -1
- package/dist/systems/wall/wall-top.js +3 -9
- package/dist/systems/wall/wall-topology.d.ts +21 -0
- package/dist/systems/wall/wall-topology.d.ts.map +1 -1
- package/dist/systems/wall/wall-topology.js +405 -4
- package/dist/utils/clone-scene-graph.d.ts +6 -0
- package/dist/utils/clone-scene-graph.d.ts.map +1 -1
- package/dist/utils/clone-scene-graph.js +123 -15
- package/dist/utils/ensure-scene-openings.d.ts +8965 -0
- package/dist/utils/ensure-scene-openings.d.ts.map +1 -0
- package/dist/utils/ensure-scene-openings.js +29 -0
- package/dist/utils/exterior-threshold-migration.d.ts +4 -0
- package/dist/utils/exterior-threshold-migration.d.ts.map +1 -0
- package/dist/utils/exterior-threshold-migration.js +114 -0
- package/dist/utils/floor-follow-migration.d.ts +3 -0
- package/dist/utils/floor-follow-migration.d.ts.map +1 -0
- package/dist/utils/floor-follow-migration.js +29 -0
- package/dist/utils/floor-opening-migration.d.ts +13 -0
- package/dist/utils/floor-opening-migration.d.ts.map +1 -0
- package/dist/utils/floor-opening-migration.js +148 -0
- package/dist/utils/floor-piece-adoption.d.ts +50 -0
- package/dist/utils/floor-piece-adoption.d.ts.map +1 -0
- package/dist/utils/floor-piece-adoption.js +182 -0
- package/dist/utils/floor-plate-migration.d.ts +4507 -0
- package/dist/utils/floor-plate-migration.d.ts.map +1 -0
- package/dist/utils/floor-plate-migration.js +1360 -0
- package/dist/utils/heal-plan-coordinates.d.ts +2 -0
- package/dist/utils/heal-plan-coordinates.d.ts.map +1 -0
- package/dist/utils/heal-plan-coordinates.js +69 -0
- package/dist/utils/heal-scene-graph.d.ts +20 -6
- package/dist/utils/heal-scene-graph.d.ts.map +1 -1
- package/dist/utils/heal-scene-graph.js +61 -16
- package/dist/utils/legacy-material-slots.d.ts +23 -0
- package/dist/utils/legacy-material-slots.d.ts.map +1 -0
- package/dist/utils/legacy-material-slots.js +120 -0
- package/dist/utils/legacy-opening-datums.d.ts +11 -0
- package/dist/utils/legacy-opening-datums.d.ts.map +1 -0
- package/dist/utils/legacy-opening-datums.js +92 -0
- package/dist/utils/legacy-wall-datums.d.ts +6 -0
- package/dist/utils/legacy-wall-datums.d.ts.map +1 -0
- package/dist/utils/legacy-wall-datums.js +199 -0
- package/dist/utils/load-migration.d.ts +28 -0
- package/dist/utils/load-migration.d.ts.map +1 -0
- package/dist/utils/load-migration.js +89 -0
- package/dist/utils/node-defaults.d.ts +37 -0
- package/dist/utils/node-defaults.d.ts.map +1 -0
- package/dist/utils/node-defaults.js +96 -0
- package/dist/utils/normalize-legacy-structure.d.ts +2 -0
- package/dist/utils/normalize-legacy-structure.d.ts.map +1 -0
- package/dist/utils/normalize-legacy-structure.js +61 -0
- package/dist/utils/omit-undefined.d.ts +2 -0
- package/dist/utils/omit-undefined.d.ts.map +1 -0
- package/dist/utils/omit-undefined.js +17 -0
- package/dist/utils/owned-floor-opening-migration.d.ts +4489 -0
- package/dist/utils/owned-floor-opening-migration.d.ts.map +1 -0
- package/dist/utils/owned-floor-opening-migration.js +365 -0
- package/dist/utils/reconcile-structure-on-load.d.ts +8965 -0
- package/dist/utils/reconcile-structure-on-load.d.ts.map +1 -0
- package/dist/utils/reconcile-structure-on-load.js +307 -0
- package/dist/utils/room-zone-migration.d.ts +18 -0
- package/dist/utils/room-zone-migration.d.ts.map +1 -0
- package/dist/utils/room-zone-migration.js +258 -0
- package/dist/utils/scene-migrations.d.ts +16 -1
- package/dist/utils/scene-migrations.d.ts.map +1 -1
- package/dist/utils/scene-migrations.js +15 -1
- package/dist/utils/structure-id.d.ts +4 -0
- package/dist/utils/structure-id.d.ts.map +1 -0
- package/dist/utils/structure-id.js +115 -0
- package/dist/utils/vertical-scene-migration.d.ts +8 -8
- package/dist/utils/vertical-scene-migration.d.ts.map +1 -1
- package/dist/utils/vertical-scene-migration.js +18 -8
- package/dist/utils/wall-assembly-migration.d.ts +14 -0
- package/dist/utils/wall-assembly-migration.d.ts.map +1 -0
- package/dist/utils/wall-assembly-migration.js +23 -0
- package/dist/utils/wall-face-migration.d.ts +23 -0
- package/dist/utils/wall-face-migration.d.ts.map +1 -0
- package/dist/utils/wall-face-migration.js +246 -0
- package/dist/validation/opening-bounds.d.ts +36 -0
- package/dist/validation/opening-bounds.d.ts.map +1 -0
- package/dist/validation/opening-bounds.js +34 -0
- package/dist/validation/validate-build-json.d.ts +2 -0
- package/dist/validation/validate-build-json.d.ts.map +1 -1
- package/dist/validation/validate-build-json.js +36 -1
- package/package.json +36 -3
- package/dist/services/surface-hosting-procedural-parity.fixtures.d.ts +0 -13
- package/dist/services/surface-hosting-procedural-parity.fixtures.d.ts.map +0 -1
- package/dist/services/surface-hosting-procedural-parity.fixtures.js +0 -4691
- package/dist/services/surface-hosting-shelf-parity.fixtures.d.ts +0 -1060
- package/dist/services/surface-hosting-shelf-parity.fixtures.d.ts.map +0 -1
- package/dist/services/surface-hosting-shelf-parity.fixtures.js +0 -3127
package/dist/material-library.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MaterialTarget as MaterialTargetSchema, } from './schema/material.js';
|
|
1
|
+
import { MaterialProperties, MaterialTarget as MaterialTargetSchema, } from './schema/material.js';
|
|
2
2
|
const WALL_TARGETS = [
|
|
3
3
|
MaterialTargetSchema.enum.wall,
|
|
4
4
|
MaterialTargetSchema.enum.chimney,
|
|
@@ -1836,6 +1836,45 @@ export const MATERIAL_CATALOG = [
|
|
|
1836
1836
|
},
|
|
1837
1837
|
},
|
|
1838
1838
|
},
|
|
1839
|
+
{
|
|
1840
|
+
id: 'roof-greyshingles',
|
|
1841
|
+
label: 'Grey Shingles',
|
|
1842
|
+
category: 'roofing',
|
|
1843
|
+
surfaces: ['roof'],
|
|
1844
|
+
description: 'Grey composition shingle finish',
|
|
1845
|
+
previewThumbnailUrl: '/material/roofing/roof_shingles_grey/roof_shingles_grey_thumb.webp',
|
|
1846
|
+
preset: {
|
|
1847
|
+
maps: {
|
|
1848
|
+
albedoMap: '/material/roofing/roof_shingles_grey/roof_shingles_grey_basecolor_512.webp',
|
|
1849
|
+
aoMap: '/material/roofing/roof_shingles_classic/roof_shingles_classic_ao_512.ktx2',
|
|
1850
|
+
metalnessMap: '/material/roofing/roof_shingles_classic/roof_shingles_classic_metallic_512.ktx2',
|
|
1851
|
+
normalMap: '/material/roofing/roof_shingles_classic/roof_shingles_classic_normal_512.ktx2',
|
|
1852
|
+
roughnessMap: '/material/roofing/roof_shingles_classic/roof_shingles_classic_roughness_512.ktx2',
|
|
1853
|
+
},
|
|
1854
|
+
mapProperties: {
|
|
1855
|
+
color: '#ffffff',
|
|
1856
|
+
roughness: 1,
|
|
1857
|
+
metalness: 0.1,
|
|
1858
|
+
repeatX: 1,
|
|
1859
|
+
repeatY: 1,
|
|
1860
|
+
rotation: 0,
|
|
1861
|
+
wrapS: 'Repeat',
|
|
1862
|
+
wrapT: 'Repeat',
|
|
1863
|
+
normalScaleX: 1,
|
|
1864
|
+
normalScaleY: 1,
|
|
1865
|
+
emissiveIntensity: 1,
|
|
1866
|
+
displacementScale: 0,
|
|
1867
|
+
transparent: false,
|
|
1868
|
+
flipY: false,
|
|
1869
|
+
bumpScale: 1,
|
|
1870
|
+
emissiveColor: '#000000',
|
|
1871
|
+
aoMapIntensity: 1,
|
|
1872
|
+
side: 0,
|
|
1873
|
+
opacity: 1,
|
|
1874
|
+
lightMapIntensity: 1,
|
|
1875
|
+
},
|
|
1876
|
+
},
|
|
1877
|
+
},
|
|
1839
1878
|
{
|
|
1840
1879
|
id: 'roof-weatheredshingles',
|
|
1841
1880
|
label: 'Weathered Shingles',
|
|
@@ -4094,6 +4133,503 @@ export const MATERIAL_CATALOG = [
|
|
|
4094
4133
|
},
|
|
4095
4134
|
},
|
|
4096
4135
|
},
|
|
4136
|
+
/* ── Siding ────────────────────────────────────────────────────────────────
|
|
4137
|
+
* The catalog shipped no siding finish at all — no lap, no clapboard, no
|
|
4138
|
+
* board-and-batten — so imported exterior walls could be color-true only as
|
|
4139
|
+
* flat paint. One white seamless albedo per profile,
|
|
4140
|
+
* tinted per entry via mapProperties.color (same mechanism the flat color
|
|
4141
|
+
* presets use), keeps this to two textures for twelve finishes.
|
|
4142
|
+
*/
|
|
4143
|
+
{
|
|
4144
|
+
id: 'siding-lap-white',
|
|
4145
|
+
label: 'Lap siding — white',
|
|
4146
|
+
category: 'wood',
|
|
4147
|
+
surfaces: ['wall', 'outdoor'],
|
|
4148
|
+
description: 'Exterior clapboard lap siding, painted white',
|
|
4149
|
+
previewColor: '#e9e9e9',
|
|
4150
|
+
preset: {
|
|
4151
|
+
maps: {
|
|
4152
|
+
albedoMap: '/material/siding/lap_albedo_512.webp',
|
|
4153
|
+
},
|
|
4154
|
+
mapProperties: {
|
|
4155
|
+
color: '#e9e9e9',
|
|
4156
|
+
roughness: 0.85,
|
|
4157
|
+
metalness: 0,
|
|
4158
|
+
repeatX: 1,
|
|
4159
|
+
repeatY: 1,
|
|
4160
|
+
rotation: 0,
|
|
4161
|
+
wrapS: 'Repeat',
|
|
4162
|
+
wrapT: 'Repeat',
|
|
4163
|
+
normalScaleX: 1,
|
|
4164
|
+
normalScaleY: 1,
|
|
4165
|
+
emissiveIntensity: 1,
|
|
4166
|
+
displacementScale: 0.02,
|
|
4167
|
+
bumpScale: 1,
|
|
4168
|
+
transparent: false,
|
|
4169
|
+
flipY: true,
|
|
4170
|
+
emissiveColor: '#000000',
|
|
4171
|
+
aoMapIntensity: 1,
|
|
4172
|
+
side: 0,
|
|
4173
|
+
opacity: 1,
|
|
4174
|
+
lightMapIntensity: 1,
|
|
4175
|
+
},
|
|
4176
|
+
},
|
|
4177
|
+
},
|
|
4178
|
+
{
|
|
4179
|
+
id: 'siding-lap-greige',
|
|
4180
|
+
label: 'Lap siding — greige',
|
|
4181
|
+
category: 'wood',
|
|
4182
|
+
surfaces: ['wall', 'outdoor'],
|
|
4183
|
+
description: 'Exterior clapboard lap siding, painted greige',
|
|
4184
|
+
previewColor: '#c8c1b8',
|
|
4185
|
+
preset: {
|
|
4186
|
+
maps: {
|
|
4187
|
+
albedoMap: '/material/siding/lap_albedo_512.webp',
|
|
4188
|
+
},
|
|
4189
|
+
mapProperties: {
|
|
4190
|
+
color: '#c8c1b8',
|
|
4191
|
+
roughness: 0.85,
|
|
4192
|
+
metalness: 0,
|
|
4193
|
+
repeatX: 1,
|
|
4194
|
+
repeatY: 1,
|
|
4195
|
+
rotation: 0,
|
|
4196
|
+
wrapS: 'Repeat',
|
|
4197
|
+
wrapT: 'Repeat',
|
|
4198
|
+
normalScaleX: 1,
|
|
4199
|
+
normalScaleY: 1,
|
|
4200
|
+
emissiveIntensity: 1,
|
|
4201
|
+
displacementScale: 0.02,
|
|
4202
|
+
bumpScale: 1,
|
|
4203
|
+
transparent: false,
|
|
4204
|
+
flipY: true,
|
|
4205
|
+
emissiveColor: '#000000',
|
|
4206
|
+
aoMapIntensity: 1,
|
|
4207
|
+
side: 0,
|
|
4208
|
+
opacity: 1,
|
|
4209
|
+
lightMapIntensity: 1,
|
|
4210
|
+
},
|
|
4211
|
+
},
|
|
4212
|
+
},
|
|
4213
|
+
{
|
|
4214
|
+
id: 'siding-lap-gray',
|
|
4215
|
+
label: 'Lap siding — gray',
|
|
4216
|
+
category: 'wood',
|
|
4217
|
+
surfaces: ['wall', 'outdoor'],
|
|
4218
|
+
description: 'Exterior clapboard lap siding, painted gray',
|
|
4219
|
+
previewColor: '#8b8a86',
|
|
4220
|
+
preset: {
|
|
4221
|
+
maps: {
|
|
4222
|
+
albedoMap: '/material/siding/lap_albedo_512.webp',
|
|
4223
|
+
},
|
|
4224
|
+
mapProperties: {
|
|
4225
|
+
color: '#8b8a86',
|
|
4226
|
+
roughness: 0.85,
|
|
4227
|
+
metalness: 0,
|
|
4228
|
+
repeatX: 1,
|
|
4229
|
+
repeatY: 1,
|
|
4230
|
+
rotation: 0,
|
|
4231
|
+
wrapS: 'Repeat',
|
|
4232
|
+
wrapT: 'Repeat',
|
|
4233
|
+
normalScaleX: 1,
|
|
4234
|
+
normalScaleY: 1,
|
|
4235
|
+
emissiveIntensity: 1,
|
|
4236
|
+
displacementScale: 0.02,
|
|
4237
|
+
bumpScale: 1,
|
|
4238
|
+
transparent: false,
|
|
4239
|
+
flipY: true,
|
|
4240
|
+
emissiveColor: '#000000',
|
|
4241
|
+
aoMapIntensity: 1,
|
|
4242
|
+
side: 0,
|
|
4243
|
+
opacity: 1,
|
|
4244
|
+
lightMapIntensity: 1,
|
|
4245
|
+
},
|
|
4246
|
+
},
|
|
4247
|
+
},
|
|
4248
|
+
{
|
|
4249
|
+
id: 'siding-lap-sage',
|
|
4250
|
+
label: 'Lap siding — sage',
|
|
4251
|
+
category: 'wood',
|
|
4252
|
+
surfaces: ['wall', 'outdoor'],
|
|
4253
|
+
description: 'Exterior clapboard lap siding, painted sage',
|
|
4254
|
+
previewColor: '#bcc5b2',
|
|
4255
|
+
preset: {
|
|
4256
|
+
maps: {
|
|
4257
|
+
albedoMap: '/material/siding/lap_albedo_512.webp',
|
|
4258
|
+
},
|
|
4259
|
+
mapProperties: {
|
|
4260
|
+
color: '#bcc5b2',
|
|
4261
|
+
roughness: 0.85,
|
|
4262
|
+
metalness: 0,
|
|
4263
|
+
repeatX: 1,
|
|
4264
|
+
repeatY: 1,
|
|
4265
|
+
rotation: 0,
|
|
4266
|
+
wrapS: 'Repeat',
|
|
4267
|
+
wrapT: 'Repeat',
|
|
4268
|
+
normalScaleX: 1,
|
|
4269
|
+
normalScaleY: 1,
|
|
4270
|
+
emissiveIntensity: 1,
|
|
4271
|
+
displacementScale: 0.02,
|
|
4272
|
+
bumpScale: 1,
|
|
4273
|
+
transparent: false,
|
|
4274
|
+
flipY: true,
|
|
4275
|
+
emissiveColor: '#000000',
|
|
4276
|
+
aoMapIntensity: 1,
|
|
4277
|
+
side: 0,
|
|
4278
|
+
opacity: 1,
|
|
4279
|
+
lightMapIntensity: 1,
|
|
4280
|
+
},
|
|
4281
|
+
},
|
|
4282
|
+
},
|
|
4283
|
+
{
|
|
4284
|
+
id: 'siding-lap-cedar',
|
|
4285
|
+
label: 'Lap siding — cedar',
|
|
4286
|
+
category: 'wood',
|
|
4287
|
+
surfaces: ['wall', 'outdoor'],
|
|
4288
|
+
description: 'Exterior clapboard lap siding, stained cedar',
|
|
4289
|
+
previewColor: '#b5825a',
|
|
4290
|
+
preset: {
|
|
4291
|
+
maps: {
|
|
4292
|
+
albedoMap: '/material/siding/lap_albedo_512.webp',
|
|
4293
|
+
},
|
|
4294
|
+
mapProperties: {
|
|
4295
|
+
color: '#b5825a',
|
|
4296
|
+
roughness: 0.85,
|
|
4297
|
+
metalness: 0,
|
|
4298
|
+
repeatX: 1,
|
|
4299
|
+
repeatY: 1,
|
|
4300
|
+
rotation: 0,
|
|
4301
|
+
wrapS: 'Repeat',
|
|
4302
|
+
wrapT: 'Repeat',
|
|
4303
|
+
normalScaleX: 1,
|
|
4304
|
+
normalScaleY: 1,
|
|
4305
|
+
emissiveIntensity: 1,
|
|
4306
|
+
displacementScale: 0.02,
|
|
4307
|
+
bumpScale: 1,
|
|
4308
|
+
transparent: false,
|
|
4309
|
+
flipY: true,
|
|
4310
|
+
emissiveColor: '#000000',
|
|
4311
|
+
aoMapIntensity: 1,
|
|
4312
|
+
side: 0,
|
|
4313
|
+
opacity: 1,
|
|
4314
|
+
lightMapIntensity: 1,
|
|
4315
|
+
},
|
|
4316
|
+
},
|
|
4317
|
+
},
|
|
4318
|
+
{
|
|
4319
|
+
id: 'siding-lap-forest',
|
|
4320
|
+
label: 'Lap siding — forest',
|
|
4321
|
+
category: 'wood',
|
|
4322
|
+
surfaces: ['wall', 'outdoor'],
|
|
4323
|
+
description: 'Exterior clapboard lap siding, painted forest',
|
|
4324
|
+
previewColor: '#4f6b57',
|
|
4325
|
+
preset: {
|
|
4326
|
+
maps: {
|
|
4327
|
+
albedoMap: '/material/siding/lap_albedo_512.webp',
|
|
4328
|
+
},
|
|
4329
|
+
mapProperties: {
|
|
4330
|
+
color: '#4f6b57',
|
|
4331
|
+
roughness: 0.85,
|
|
4332
|
+
metalness: 0,
|
|
4333
|
+
repeatX: 1,
|
|
4334
|
+
repeatY: 1,
|
|
4335
|
+
rotation: 0,
|
|
4336
|
+
wrapS: 'Repeat',
|
|
4337
|
+
wrapT: 'Repeat',
|
|
4338
|
+
normalScaleX: 1,
|
|
4339
|
+
normalScaleY: 1,
|
|
4340
|
+
emissiveIntensity: 1,
|
|
4341
|
+
displacementScale: 0.02,
|
|
4342
|
+
bumpScale: 1,
|
|
4343
|
+
transparent: false,
|
|
4344
|
+
flipY: true,
|
|
4345
|
+
emissiveColor: '#000000',
|
|
4346
|
+
aoMapIntensity: 1,
|
|
4347
|
+
side: 0,
|
|
4348
|
+
opacity: 1,
|
|
4349
|
+
lightMapIntensity: 1,
|
|
4350
|
+
},
|
|
4351
|
+
},
|
|
4352
|
+
},
|
|
4353
|
+
{
|
|
4354
|
+
id: 'siding-lap-navy',
|
|
4355
|
+
label: 'Lap siding — navy',
|
|
4356
|
+
category: 'wood',
|
|
4357
|
+
surfaces: ['wall', 'outdoor'],
|
|
4358
|
+
description: 'Exterior clapboard lap siding, painted navy',
|
|
4359
|
+
previewColor: '#2f4865',
|
|
4360
|
+
preset: {
|
|
4361
|
+
maps: {
|
|
4362
|
+
albedoMap: '/material/siding/lap_albedo_512.webp',
|
|
4363
|
+
},
|
|
4364
|
+
mapProperties: {
|
|
4365
|
+
color: '#2f4865',
|
|
4366
|
+
roughness: 0.85,
|
|
4367
|
+
metalness: 0,
|
|
4368
|
+
repeatX: 1,
|
|
4369
|
+
repeatY: 1,
|
|
4370
|
+
rotation: 0,
|
|
4371
|
+
wrapS: 'Repeat',
|
|
4372
|
+
wrapT: 'Repeat',
|
|
4373
|
+
normalScaleX: 1,
|
|
4374
|
+
normalScaleY: 1,
|
|
4375
|
+
emissiveIntensity: 1,
|
|
4376
|
+
displacementScale: 0.02,
|
|
4377
|
+
bumpScale: 1,
|
|
4378
|
+
transparent: false,
|
|
4379
|
+
flipY: true,
|
|
4380
|
+
emissiveColor: '#000000',
|
|
4381
|
+
aoMapIntensity: 1,
|
|
4382
|
+
side: 0,
|
|
4383
|
+
opacity: 1,
|
|
4384
|
+
lightMapIntensity: 1,
|
|
4385
|
+
},
|
|
4386
|
+
},
|
|
4387
|
+
},
|
|
4388
|
+
{
|
|
4389
|
+
id: 'siding-lap-yellow',
|
|
4390
|
+
label: 'Lap siding — yellow',
|
|
4391
|
+
category: 'wood',
|
|
4392
|
+
surfaces: ['wall', 'outdoor'],
|
|
4393
|
+
description: 'Exterior clapboard lap siding, painted yellow',
|
|
4394
|
+
previewColor: '#f2e3b3',
|
|
4395
|
+
preset: {
|
|
4396
|
+
maps: {
|
|
4397
|
+
albedoMap: '/material/siding/lap_albedo_512.webp',
|
|
4398
|
+
},
|
|
4399
|
+
mapProperties: {
|
|
4400
|
+
color: '#f2e3b3',
|
|
4401
|
+
roughness: 0.85,
|
|
4402
|
+
metalness: 0,
|
|
4403
|
+
repeatX: 1,
|
|
4404
|
+
repeatY: 1,
|
|
4405
|
+
rotation: 0,
|
|
4406
|
+
wrapS: 'Repeat',
|
|
4407
|
+
wrapT: 'Repeat',
|
|
4408
|
+
normalScaleX: 1,
|
|
4409
|
+
normalScaleY: 1,
|
|
4410
|
+
emissiveIntensity: 1,
|
|
4411
|
+
displacementScale: 0.02,
|
|
4412
|
+
bumpScale: 1,
|
|
4413
|
+
transparent: false,
|
|
4414
|
+
flipY: true,
|
|
4415
|
+
emissiveColor: '#000000',
|
|
4416
|
+
aoMapIntensity: 1,
|
|
4417
|
+
side: 0,
|
|
4418
|
+
opacity: 1,
|
|
4419
|
+
lightMapIntensity: 1,
|
|
4420
|
+
},
|
|
4421
|
+
},
|
|
4422
|
+
},
|
|
4423
|
+
{
|
|
4424
|
+
id: 'siding-lap-nearblack',
|
|
4425
|
+
label: 'Lap siding — nearblack',
|
|
4426
|
+
category: 'wood',
|
|
4427
|
+
surfaces: ['wall', 'outdoor'],
|
|
4428
|
+
description: 'Exterior clapboard lap siding, painted nearblack',
|
|
4429
|
+
previewColor: '#232322',
|
|
4430
|
+
preset: {
|
|
4431
|
+
maps: {
|
|
4432
|
+
albedoMap: '/material/siding/lap_albedo_512.webp',
|
|
4433
|
+
},
|
|
4434
|
+
mapProperties: {
|
|
4435
|
+
color: '#5c5c59',
|
|
4436
|
+
roughness: 0.85,
|
|
4437
|
+
metalness: 0,
|
|
4438
|
+
repeatX: 1,
|
|
4439
|
+
repeatY: 1,
|
|
4440
|
+
rotation: 0,
|
|
4441
|
+
wrapS: 'Repeat',
|
|
4442
|
+
wrapT: 'Repeat',
|
|
4443
|
+
normalScaleX: 1,
|
|
4444
|
+
normalScaleY: 1,
|
|
4445
|
+
emissiveIntensity: 1,
|
|
4446
|
+
displacementScale: 0.02,
|
|
4447
|
+
bumpScale: 1,
|
|
4448
|
+
transparent: false,
|
|
4449
|
+
flipY: true,
|
|
4450
|
+
emissiveColor: '#000000',
|
|
4451
|
+
aoMapIntensity: 1,
|
|
4452
|
+
side: 0,
|
|
4453
|
+
opacity: 1,
|
|
4454
|
+
lightMapIntensity: 1,
|
|
4455
|
+
},
|
|
4456
|
+
},
|
|
4457
|
+
},
|
|
4458
|
+
{
|
|
4459
|
+
id: 'siding-lap-clay',
|
|
4460
|
+
label: 'Lap siding — clay',
|
|
4461
|
+
category: 'wood',
|
|
4462
|
+
surfaces: ['wall', 'outdoor'],
|
|
4463
|
+
description: 'Exterior clapboard lap siding, painted clay',
|
|
4464
|
+
previewColor: '#8f4a2e',
|
|
4465
|
+
preset: {
|
|
4466
|
+
maps: {
|
|
4467
|
+
albedoMap: '/material/siding/lap_albedo_512.webp',
|
|
4468
|
+
},
|
|
4469
|
+
mapProperties: {
|
|
4470
|
+
color: '#8f4a2e',
|
|
4471
|
+
roughness: 0.85,
|
|
4472
|
+
metalness: 0,
|
|
4473
|
+
repeatX: 1,
|
|
4474
|
+
repeatY: 1,
|
|
4475
|
+
rotation: 0,
|
|
4476
|
+
wrapS: 'Repeat',
|
|
4477
|
+
wrapT: 'Repeat',
|
|
4478
|
+
normalScaleX: 1,
|
|
4479
|
+
normalScaleY: 1,
|
|
4480
|
+
emissiveIntensity: 1,
|
|
4481
|
+
displacementScale: 0.02,
|
|
4482
|
+
bumpScale: 1,
|
|
4483
|
+
transparent: false,
|
|
4484
|
+
flipY: true,
|
|
4485
|
+
emissiveColor: '#000000',
|
|
4486
|
+
aoMapIntensity: 1,
|
|
4487
|
+
side: 0,
|
|
4488
|
+
opacity: 1,
|
|
4489
|
+
lightMapIntensity: 1,
|
|
4490
|
+
},
|
|
4491
|
+
},
|
|
4492
|
+
},
|
|
4493
|
+
{
|
|
4494
|
+
id: 'siding-batten-cream',
|
|
4495
|
+
label: 'Board & batten — cream',
|
|
4496
|
+
category: 'wood',
|
|
4497
|
+
surfaces: ['wall', 'outdoor'],
|
|
4498
|
+
description: 'Exterior board-and-batten siding, painted cream',
|
|
4499
|
+
previewColor: '#efe3cc',
|
|
4500
|
+
preset: {
|
|
4501
|
+
maps: {
|
|
4502
|
+
albedoMap: '/material/siding/batten_albedo_512.webp',
|
|
4503
|
+
},
|
|
4504
|
+
mapProperties: {
|
|
4505
|
+
color: '#efe3cc',
|
|
4506
|
+
roughness: 0.85,
|
|
4507
|
+
metalness: 0,
|
|
4508
|
+
repeatX: 1,
|
|
4509
|
+
repeatY: 1,
|
|
4510
|
+
rotation: 0,
|
|
4511
|
+
wrapS: 'Repeat',
|
|
4512
|
+
wrapT: 'Repeat',
|
|
4513
|
+
normalScaleX: 1,
|
|
4514
|
+
normalScaleY: 1,
|
|
4515
|
+
emissiveIntensity: 1,
|
|
4516
|
+
displacementScale: 0.02,
|
|
4517
|
+
bumpScale: 1,
|
|
4518
|
+
transparent: false,
|
|
4519
|
+
flipY: true,
|
|
4520
|
+
emissiveColor: '#000000',
|
|
4521
|
+
aoMapIntensity: 1,
|
|
4522
|
+
side: 0,
|
|
4523
|
+
opacity: 1,
|
|
4524
|
+
lightMapIntensity: 1,
|
|
4525
|
+
},
|
|
4526
|
+
},
|
|
4527
|
+
},
|
|
4528
|
+
{
|
|
4529
|
+
id: 'siding-batten-sand',
|
|
4530
|
+
label: 'Board & batten — sand',
|
|
4531
|
+
category: 'wood',
|
|
4532
|
+
surfaces: ['wall', 'outdoor'],
|
|
4533
|
+
description: 'Exterior board-and-batten siding, painted sand',
|
|
4534
|
+
previewColor: '#ddccae',
|
|
4535
|
+
preset: {
|
|
4536
|
+
maps: {
|
|
4537
|
+
albedoMap: '/material/siding/batten_albedo_512.webp',
|
|
4538
|
+
},
|
|
4539
|
+
mapProperties: {
|
|
4540
|
+
color: '#ddccae',
|
|
4541
|
+
roughness: 0.85,
|
|
4542
|
+
metalness: 0,
|
|
4543
|
+
repeatX: 1,
|
|
4544
|
+
repeatY: 1,
|
|
4545
|
+
rotation: 0,
|
|
4546
|
+
wrapS: 'Repeat',
|
|
4547
|
+
wrapT: 'Repeat',
|
|
4548
|
+
normalScaleX: 1,
|
|
4549
|
+
normalScaleY: 1,
|
|
4550
|
+
emissiveIntensity: 1,
|
|
4551
|
+
displacementScale: 0.02,
|
|
4552
|
+
bumpScale: 1,
|
|
4553
|
+
transparent: false,
|
|
4554
|
+
flipY: true,
|
|
4555
|
+
emissiveColor: '#000000',
|
|
4556
|
+
aoMapIntensity: 1,
|
|
4557
|
+
side: 0,
|
|
4558
|
+
opacity: 1,
|
|
4559
|
+
lightMapIntensity: 1,
|
|
4560
|
+
},
|
|
4561
|
+
},
|
|
4562
|
+
},
|
|
4563
|
+
{
|
|
4564
|
+
id: 'siding-batten-charcoal',
|
|
4565
|
+
label: 'Board & batten — charcoal',
|
|
4566
|
+
category: 'wood',
|
|
4567
|
+
surfaces: ['wall', 'outdoor'],
|
|
4568
|
+
description: 'Exterior board-and-batten siding, painted charcoal',
|
|
4569
|
+
previewColor: '#4e5257',
|
|
4570
|
+
preset: {
|
|
4571
|
+
maps: {
|
|
4572
|
+
albedoMap: '/material/siding/batten_albedo_512.webp',
|
|
4573
|
+
},
|
|
4574
|
+
mapProperties: {
|
|
4575
|
+
color: '#4e5257',
|
|
4576
|
+
roughness: 0.85,
|
|
4577
|
+
metalness: 0,
|
|
4578
|
+
repeatX: 1,
|
|
4579
|
+
repeatY: 1,
|
|
4580
|
+
rotation: 0,
|
|
4581
|
+
wrapS: 'Repeat',
|
|
4582
|
+
wrapT: 'Repeat',
|
|
4583
|
+
normalScaleX: 1,
|
|
4584
|
+
normalScaleY: 1,
|
|
4585
|
+
emissiveIntensity: 1,
|
|
4586
|
+
displacementScale: 0.02,
|
|
4587
|
+
bumpScale: 1,
|
|
4588
|
+
transparent: false,
|
|
4589
|
+
flipY: true,
|
|
4590
|
+
emissiveColor: '#000000',
|
|
4591
|
+
aoMapIntensity: 1,
|
|
4592
|
+
side: 0,
|
|
4593
|
+
opacity: 1,
|
|
4594
|
+
lightMapIntensity: 1,
|
|
4595
|
+
},
|
|
4596
|
+
},
|
|
4597
|
+
},
|
|
4598
|
+
{
|
|
4599
|
+
id: 'siding-batten-olive',
|
|
4600
|
+
label: 'Board & batten — olive',
|
|
4601
|
+
category: 'wood',
|
|
4602
|
+
surfaces: ['wall', 'outdoor'],
|
|
4603
|
+
description: 'Exterior board-and-batten siding, painted olive',
|
|
4604
|
+
previewColor: '#8d9368',
|
|
4605
|
+
preset: {
|
|
4606
|
+
maps: {
|
|
4607
|
+
albedoMap: '/material/siding/batten_albedo_512.webp',
|
|
4608
|
+
},
|
|
4609
|
+
mapProperties: {
|
|
4610
|
+
color: '#8d9368',
|
|
4611
|
+
roughness: 0.85,
|
|
4612
|
+
metalness: 0,
|
|
4613
|
+
repeatX: 1,
|
|
4614
|
+
repeatY: 1,
|
|
4615
|
+
rotation: 0,
|
|
4616
|
+
wrapS: 'Repeat',
|
|
4617
|
+
wrapT: 'Repeat',
|
|
4618
|
+
normalScaleX: 1,
|
|
4619
|
+
normalScaleY: 1,
|
|
4620
|
+
emissiveIntensity: 1,
|
|
4621
|
+
displacementScale: 0.02,
|
|
4622
|
+
bumpScale: 1,
|
|
4623
|
+
transparent: false,
|
|
4624
|
+
flipY: true,
|
|
4625
|
+
emissiveColor: '#000000',
|
|
4626
|
+
aoMapIntensity: 1,
|
|
4627
|
+
side: 0,
|
|
4628
|
+
opacity: 1,
|
|
4629
|
+
lightMapIntensity: 1,
|
|
4630
|
+
},
|
|
4631
|
+
},
|
|
4632
|
+
},
|
|
4097
4633
|
];
|
|
4098
4634
|
const STATIC_CATALOG_IDS = new Set(MATERIAL_CATALOG.map((item) => item.id));
|
|
4099
4635
|
// Embedder-registered library materials (user/community/workspace). Core stays
|
|
@@ -4180,6 +4716,19 @@ export function parseMaterialRef(ref) {
|
|
|
4180
4716
|
return { kind: 'scene', id: scene };
|
|
4181
4717
|
return null;
|
|
4182
4718
|
}
|
|
4719
|
+
const MATERIAL_COLOR = /^#(?:[0-9a-f]{3}|[0-9a-f]{6})$/i;
|
|
4720
|
+
/**
|
|
4721
|
+
* A plain CSS hex colour (`#rgb` / `#rrggbb`) stored where a `MaterialRef`
|
|
4722
|
+
* goes, e.g. a slot value: it paints that flat colour, as
|
|
4723
|
+
* `material: { properties: { color } }` does. Lowercased, or null.
|
|
4724
|
+
*/
|
|
4725
|
+
export function parseMaterialColor(value) {
|
|
4726
|
+
return typeof value === 'string' && MATERIAL_COLOR.test(value) ? value.toLowerCase() : null;
|
|
4727
|
+
}
|
|
4728
|
+
/** The flat material a plain colour stored as a material ref paints. */
|
|
4729
|
+
export function materialColorPaint(color) {
|
|
4730
|
+
return { properties: MaterialProperties.parse({ color }) };
|
|
4731
|
+
}
|
|
4183
4732
|
export function getMaterialPresetByRef(materialRef) {
|
|
4184
4733
|
const materialId = getLibraryMaterialIdFromRef(materialRef);
|
|
4185
4734
|
if (!materialId)
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { SlotDeclaration } from '../registry/types.js';
|
|
2
|
+
import type { BlockNode, BlockTopology } from '../schema/nodes/block.js';
|
|
3
|
+
export declare const BLOCK_BODY_SLOT_ID = "body";
|
|
4
|
+
export declare function blockMaterialSlotIds(topology: BlockTopology, slots: Record<string, string> | undefined, slotNames?: Record<string, string>): string[];
|
|
5
|
+
export declare const BLOCK_SLOT_ID = "body";
|
|
6
|
+
export declare function blockSlots(node: BlockNode): SlotDeclaration[];
|
|
7
|
+
//# sourceMappingURL=block.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"block.d.ts","sourceRoot":"","sources":["../../src/node-slots/block.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACxD,OAAO,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAA;AAErE,eAAO,MAAM,kBAAkB,SAAS,CAAA;AAExC,wBAAgB,oBAAoB,CAClC,QAAQ,EAAE,aAAa,EACvB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,EACzC,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GACjC,MAAM,EAAE,CAMV;AAED,eAAO,MAAM,aAAa,SAAqB,CAAA;AAW/C,wBAAgB,UAAU,CAAC,IAAI,EAAE,SAAS,GAAG,eAAe,EAAE,CAK7D"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export const BLOCK_BODY_SLOT_ID = 'body';
|
|
2
|
+
export function blockMaterialSlotIds(topology, slots, slotNames) {
|
|
3
|
+
const slotIds = new Set([BLOCK_BODY_SLOT_ID]);
|
|
4
|
+
for (const slotId of Object.keys(slotNames ?? {}))
|
|
5
|
+
slotIds.add(slotId);
|
|
6
|
+
for (const slotId of Object.keys(slots ?? {}))
|
|
7
|
+
slotIds.add(slotId);
|
|
8
|
+
for (const face of topology.faces)
|
|
9
|
+
slotIds.add(face.materialSlot);
|
|
10
|
+
return [...slotIds];
|
|
11
|
+
}
|
|
12
|
+
export const BLOCK_SLOT_ID = BLOCK_BODY_SLOT_ID;
|
|
13
|
+
function slotLabel(slotId) {
|
|
14
|
+
if (slotId === BLOCK_SLOT_ID)
|
|
15
|
+
return 'Body';
|
|
16
|
+
return slotId
|
|
17
|
+
.split('-')
|
|
18
|
+
.filter(Boolean)
|
|
19
|
+
.map((part) => `${part[0]?.toUpperCase() ?? ''}${part.slice(1)}`)
|
|
20
|
+
.join(' ');
|
|
21
|
+
}
|
|
22
|
+
export function blockSlots(node) {
|
|
23
|
+
return blockMaterialSlotIds(node.topology, node.slots, node.slotNames).map((slotId) => ({
|
|
24
|
+
slotId,
|
|
25
|
+
label: node.slotNames?.[slotId]?.trim() || slotLabel(slotId),
|
|
26
|
+
}));
|
|
27
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { SlotDeclaration } from '../registry/types.js';
|
|
2
|
+
export type CabinetSlotId = 'front' | 'carcass' | 'countertop' | 'plinth' | 'hardware' | 'glass' | 'appliance' | 'applianceInterior';
|
|
3
|
+
export declare function cabinetSlots(): SlotDeclaration[];
|
|
4
|
+
//# sourceMappingURL=cabinet.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cabinet.d.ts","sourceRoot":"","sources":["../../src/node-slots/cabinet.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAExD,MAAM,MAAM,aAAa,GACrB,OAAO,GACP,SAAS,GACT,YAAY,GACZ,QAAQ,GACR,UAAU,GACV,OAAO,GACP,WAAW,GACX,mBAAmB,CAAA;AAWvB,wBAAgB,YAAY,IAAI,eAAe,EAAE,CAehD"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const FRONT_DEFAULT = 'library:preset-softwhite';
|
|
2
|
+
const CARCASS_DEFAULT = 'library:preset-softwhite';
|
|
3
|
+
const COUNTERTOP_DEFAULT = 'library:wood-finewood27';
|
|
4
|
+
const PLINTH_DEFAULT = 'library:preset-softwhite';
|
|
5
|
+
const HARDWARE_DEFAULT = 'library:metal-chrome';
|
|
6
|
+
const GLASS_DEFAULT = 'library:preset-glass';
|
|
7
|
+
const APPLIANCE_DEFAULT = 'library:metal-steel';
|
|
8
|
+
const APPLIANCE_INTERIOR_DEFAULT = 'library:preset-charcoal';
|
|
9
|
+
export function cabinetSlots() {
|
|
10
|
+
return [
|
|
11
|
+
{ slotId: 'front', label: 'Front', default: FRONT_DEFAULT },
|
|
12
|
+
{ slotId: 'carcass', label: 'Carcass', default: CARCASS_DEFAULT },
|
|
13
|
+
{ slotId: 'countertop', label: 'Countertop', default: COUNTERTOP_DEFAULT },
|
|
14
|
+
{ slotId: 'plinth', label: 'Plinth', default: PLINTH_DEFAULT },
|
|
15
|
+
{ slotId: 'hardware', label: 'Hardware', default: HARDWARE_DEFAULT },
|
|
16
|
+
{ slotId: 'glass', label: 'Glass', default: GLASS_DEFAULT },
|
|
17
|
+
{ slotId: 'appliance', label: 'Appliance', default: APPLIANCE_DEFAULT },
|
|
18
|
+
{
|
|
19
|
+
slotId: 'applianceInterior',
|
|
20
|
+
label: 'Appliance Interior',
|
|
21
|
+
default: APPLIANCE_INTERIOR_DEFAULT,
|
|
22
|
+
},
|
|
23
|
+
];
|
|
24
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { SlotDeclaration } from '../registry/types.js';
|
|
2
|
+
export type CeilingSlotId = 'surface';
|
|
3
|
+
export declare const CEILING_SLOT_DEFAULT_COLOR = "#f2eee6";
|
|
4
|
+
/** A ceiling exposes a single paintable underside surface. */
|
|
5
|
+
export declare function ceilingSlots(): SlotDeclaration[];
|
|
6
|
+
//# sourceMappingURL=ceiling.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ceiling.d.ts","sourceRoot":"","sources":["../../src/node-slots/ceiling.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAExD,MAAM,MAAM,aAAa,GAAG,SAAS,CAAA;AAIrC,eAAO,MAAM,0BAA0B,YAAY,CAAA;AAEnD,8DAA8D;AAC9D,wBAAgB,YAAY,IAAI,eAAe,EAAE,CAEhD"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// Soft white — the default underside colour for an unpainted ceiling. (A
|
|
2
|
+
// ceiling renders flat-tinted, so this is a colour, not a `library:` finish.)
|
|
3
|
+
export const CEILING_SLOT_DEFAULT_COLOR = '#f2eee6';
|
|
4
|
+
/** A ceiling exposes a single paintable underside surface. */
|
|
5
|
+
export function ceilingSlots() {
|
|
6
|
+
return [{ slotId: 'surface', label: 'Surface', default: CEILING_SLOT_DEFAULT_COLOR }];
|
|
7
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { SlotDeclaration } from '../registry/types.js';
|
|
2
|
+
import type { ColumnNode } from '../schema/nodes/column.js';
|
|
3
|
+
export type ColumnSlotId = 'shaft' | 'base' | 'capital' | 'frame';
|
|
4
|
+
export declare const COLUMN_SHAFT_DEFAULT = "library:concrete-plaster";
|
|
5
|
+
export declare const COLUMN_BASE_DEFAULT = "library:concrete-plaster";
|
|
6
|
+
export declare const COLUMN_CAPITAL_DEFAULT = "library:concrete-plaster";
|
|
7
|
+
export declare const COLUMN_FRAME_DEFAULT = "library:metal-steel";
|
|
8
|
+
export declare function columnSlots(node: ColumnNode): SlotDeclaration[];
|
|
9
|
+
//# sourceMappingURL=column.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"column.d.ts","sourceRoot":"","sources":["../../src/node-slots/column.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACxD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AAExD,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,CAAA;AAEjE,eAAO,MAAM,oBAAoB,6BAA6B,CAAA;AAC9D,eAAO,MAAM,mBAAmB,6BAA6B,CAAA;AAC7D,eAAO,MAAM,sBAAsB,6BAA6B,CAAA;AAChE,eAAO,MAAM,oBAAoB,wBAAwB,CAAA;AAEzD,wBAAgB,WAAW,CAAC,IAAI,EAAE,UAAU,GAAG,eAAe,EAAE,CAuB/D"}
|