@ifc-lite/create 3.2.0 → 5.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +43 -0
- package/dist/in-store/align-boxes.d.ts +38 -0
- package/dist/in-store/align-boxes.d.ts.map +1 -0
- package/dist/in-store/align-boxes.js +97 -0
- package/dist/in-store/align-boxes.js.map +1 -0
- package/dist/in-store/anchor.d.ts.map +1 -1
- package/dist/in-store/anchor.js +13 -2
- package/dist/in-store/anchor.js.map +1 -1
- package/dist/in-store/auto-space-detect.d.ts +1 -1
- package/dist/in-store/auto-space-detect.js +1 -1
- package/dist/in-store/beam.d.ts +10 -1
- package/dist/in-store/beam.d.ts.map +1 -1
- package/dist/in-store/beam.js +17 -35
- package/dist/in-store/beam.js.map +1 -1
- package/dist/in-store/column.d.ts +10 -1
- package/dist/in-store/column.d.ts.map +1 -1
- package/dist/in-store/column.js +23 -22
- package/dist/in-store/column.js.map +1 -1
- package/dist/in-store/copy-array.d.ts +17 -0
- package/dist/in-store/copy-array.d.ts.map +1 -0
- package/dist/in-store/copy-array.js +47 -0
- package/dist/in-store/copy-array.js.map +1 -0
- package/dist/in-store/copy-batch.d.ts +27 -0
- package/dist/in-store/copy-batch.d.ts.map +1 -0
- package/dist/in-store/copy-batch.js +101 -0
- package/dist/in-store/copy-batch.js.map +1 -0
- package/dist/in-store/copy-dependent-walk.d.ts +27 -0
- package/dist/in-store/copy-dependent-walk.d.ts.map +1 -0
- package/dist/in-store/copy-dependent-walk.js +61 -0
- package/dist/in-store/copy-dependent-walk.js.map +1 -0
- package/dist/in-store/copy-frame.d.ts +53 -0
- package/dist/in-store/copy-frame.d.ts.map +1 -0
- package/dist/in-store/copy-frame.js +112 -0
- package/dist/in-store/copy-frame.js.map +1 -0
- package/dist/in-store/copy-product.d.ts +76 -0
- package/dist/in-store/copy-product.d.ts.map +1 -0
- package/dist/in-store/copy-product.js +318 -0
- package/dist/in-store/copy-product.js.map +1 -0
- package/dist/in-store/curtain-wall.d.ts +87 -0
- package/dist/in-store/curtain-wall.d.ts.map +1 -0
- package/dist/in-store/curtain-wall.js +237 -0
- package/dist/in-store/curtain-wall.js.map +1 -0
- package/dist/in-store/edit/effective-mutation-view.d.ts +6 -0
- package/dist/in-store/edit/effective-mutation-view.d.ts.map +1 -0
- package/dist/in-store/edit/effective-mutation-view.js +45 -0
- package/dist/in-store/edit/effective-mutation-view.js.map +1 -0
- package/dist/in-store/edit/effective-storey.d.ts +13 -0
- package/dist/in-store/edit/effective-storey.d.ts.map +1 -0
- package/dist/in-store/edit/effective-storey.js +36 -0
- package/dist/in-store/edit/effective-storey.js.map +1 -0
- package/dist/in-store/edit/effective-storeys.d.ts +9 -0
- package/dist/in-store/edit/effective-storeys.d.ts.map +1 -0
- package/dist/in-store/edit/effective-storeys.js +16 -0
- package/dist/in-store/edit/effective-storeys.js.map +1 -0
- package/dist/in-store/edit/hosted-opening-refit.d.ts +29 -0
- package/dist/in-store/edit/hosted-opening-refit.d.ts.map +1 -0
- package/dist/in-store/edit/hosted-opening-refit.js +168 -0
- package/dist/in-store/edit/hosted-opening-refit.js.map +1 -0
- package/dist/in-store/edit/length-unit-scale.d.ts +24 -0
- package/dist/in-store/edit/length-unit-scale.d.ts.map +1 -0
- package/dist/in-store/edit/length-unit-scale.js +37 -0
- package/dist/in-store/edit/length-unit-scale.js.map +1 -0
- package/dist/in-store/edit/linear-element-edit.d.ts +131 -0
- package/dist/in-store/edit/linear-element-edit.d.ts.map +1 -0
- package/dist/in-store/edit/linear-element-edit.js +259 -0
- package/dist/in-store/edit/linear-element-edit.js.map +1 -0
- package/dist/in-store/edit/metadata-clone-effective.d.ts +5 -0
- package/dist/in-store/edit/metadata-clone-effective.d.ts.map +1 -0
- package/dist/in-store/edit/metadata-clone-effective.js +47 -0
- package/dist/in-store/edit/metadata-clone-effective.js.map +1 -0
- package/dist/in-store/edit/metadata-clone.d.ts +40 -0
- package/dist/in-store/edit/metadata-clone.d.ts.map +1 -0
- package/dist/in-store/edit/metadata-clone.js +107 -0
- package/dist/in-store/edit/metadata-clone.js.map +1 -0
- package/dist/in-store/edit/placement-core.d.ts +140 -0
- package/dist/in-store/edit/placement-core.d.ts.map +1 -0
- package/dist/in-store/edit/placement-core.js +317 -0
- package/dist/in-store/edit/placement-core.js.map +1 -0
- package/dist/in-store/edit/polygon-clip.d.ts +58 -0
- package/dist/in-store/edit/polygon-clip.d.ts.map +1 -0
- package/dist/in-store/edit/polygon-clip.js +153 -0
- package/dist/in-store/edit/polygon-clip.js.map +1 -0
- package/dist/in-store/edit/read-profile.d.ts +6 -0
- package/dist/in-store/edit/read-profile.d.ts.map +1 -0
- package/dist/in-store/edit/read-profile.js +95 -0
- package/dist/in-store/edit/read-profile.js.map +1 -0
- package/dist/in-store/edit/slab-edit-frame.d.ts +40 -0
- package/dist/in-store/edit/slab-edit-frame.d.ts.map +1 -0
- package/dist/in-store/edit/slab-edit-frame.js +146 -0
- package/dist/in-store/edit/slab-edit-frame.js.map +1 -0
- package/dist/in-store/edit/slab-edit.d.ts +112 -0
- package/dist/in-store/edit/slab-edit.d.ts.map +1 -0
- package/dist/in-store/edit/slab-edit.js +275 -0
- package/dist/in-store/edit/slab-edit.js.map +1 -0
- package/dist/in-store/edit/slab-opening-carry.d.ts +10 -0
- package/dist/in-store/edit/slab-opening-carry.d.ts.map +1 -0
- package/dist/in-store/edit/slab-opening-carry.js +65 -0
- package/dist/in-store/edit/slab-opening-carry.js.map +1 -0
- package/dist/in-store/edit/split-guid.d.ts +29 -0
- package/dist/in-store/edit/split-guid.d.ts.map +1 -0
- package/dist/in-store/edit/split-guid.js +64 -0
- package/dist/in-store/edit/split-guid.js.map +1 -0
- package/dist/in-store/edit/split-target.d.ts +90 -0
- package/dist/in-store/edit/split-target.d.ts.map +1 -0
- package/dist/in-store/edit/split-target.js +116 -0
- package/dist/in-store/edit/split-target.js.map +1 -0
- package/dist/in-store/edit/target.d.ts +8 -0
- package/dist/in-store/edit/target.d.ts.map +1 -0
- package/dist/in-store/edit/target.js +5 -0
- package/dist/in-store/edit/target.js.map +1 -0
- package/dist/in-store/edit/trim-extend-geometry.d.ts +99 -0
- package/dist/in-store/edit/trim-extend-geometry.d.ts.map +1 -0
- package/dist/in-store/edit/trim-extend-geometry.js +105 -0
- package/dist/in-store/edit/trim-extend-geometry.js.map +1 -0
- package/dist/in-store/edit/wall-axis-edit.d.ts +16 -0
- package/dist/in-store/edit/wall-axis-edit.d.ts.map +1 -0
- package/dist/in-store/edit/wall-axis-edit.js +40 -0
- package/dist/in-store/edit/wall-axis-edit.js.map +1 -0
- package/dist/in-store/edit/wall-edit.d.ts +157 -0
- package/dist/in-store/edit/wall-edit.d.ts.map +1 -0
- package/dist/in-store/edit/wall-edit.js +276 -0
- package/dist/in-store/edit/wall-edit.js.map +1 -0
- package/dist/in-store/edit/wall-hosted-cuts.d.ts +35 -0
- package/dist/in-store/edit/wall-hosted-cuts.d.ts.map +1 -0
- package/dist/in-store/edit/wall-hosted-cuts.js +27 -0
- package/dist/in-store/edit/wall-hosted-cuts.js.map +1 -0
- package/dist/in-store/edit/wall-opening-reassign.d.ts +18 -0
- package/dist/in-store/edit/wall-opening-reassign.d.ts.map +1 -0
- package/dist/in-store/edit/wall-opening-reassign.js +50 -0
- package/dist/in-store/edit/wall-opening-reassign.js.map +1 -0
- package/dist/in-store/element-align.d.ts +13 -0
- package/dist/in-store/element-align.d.ts.map +1 -0
- package/dist/in-store/element-align.js +90 -0
- package/dist/in-store/element-align.js.map +1 -0
- package/dist/in-store/element-replacement.d.ts +26 -0
- package/dist/in-store/element-replacement.d.ts.map +1 -0
- package/dist/in-store/element-replacement.js +68 -0
- package/dist/in-store/element-replacement.js.map +1 -0
- package/dist/in-store/element-size-edit.d.ts +40 -0
- package/dist/in-store/element-size-edit.d.ts.map +1 -0
- package/dist/in-store/element-size-edit.js +103 -0
- package/dist/in-store/element-size-edit.js.map +1 -0
- package/dist/in-store/element-split-axis.d.ts +6 -0
- package/dist/in-store/element-split-axis.d.ts.map +1 -0
- package/dist/in-store/element-split-axis.js +87 -0
- package/dist/in-store/element-split-axis.js.map +1 -0
- package/dist/in-store/element-split-joined.d.ts +13 -0
- package/dist/in-store/element-split-joined.d.ts.map +1 -0
- package/dist/in-store/element-split-joined.js +74 -0
- package/dist/in-store/element-split-joined.js.map +1 -0
- package/dist/in-store/element-split-placement.d.ts +19 -0
- package/dist/in-store/element-split-placement.d.ts.map +1 -0
- package/dist/in-store/element-split-placement.js +48 -0
- package/dist/in-store/element-split-placement.js.map +1 -0
- package/dist/in-store/element-split-slab.d.ts +19 -0
- package/dist/in-store/element-split-slab.d.ts.map +1 -0
- package/dist/in-store/element-split-slab.js +86 -0
- package/dist/in-store/element-split-slab.js.map +1 -0
- package/dist/in-store/element-split.d.ts +49 -0
- package/dist/in-store/element-split.d.ts.map +1 -0
- package/dist/in-store/element-split.js +52 -0
- package/dist/in-store/element-split.js.map +1 -0
- package/dist/in-store/element-transform-edit.d.ts +33 -0
- package/dist/in-store/element-transform-edit.d.ts.map +1 -0
- package/dist/in-store/element-transform-edit.js +97 -0
- package/dist/in-store/element-transform-edit.js.map +1 -0
- package/dist/in-store/element-transform-frames.d.ts +58 -0
- package/dist/in-store/element-transform-frames.d.ts.map +1 -0
- package/dist/in-store/element-transform-frames.js +110 -0
- package/dist/in-store/element-transform-frames.js.map +1 -0
- package/dist/in-store/element-transform-joins.d.ts +4 -0
- package/dist/in-store/element-transform-joins.d.ts.map +1 -0
- package/dist/in-store/element-transform-joins.js +62 -0
- package/dist/in-store/element-transform-joins.js.map +1 -0
- package/dist/in-store/element-transform-plan.d.ts +38 -0
- package/dist/in-store/element-transform-plan.d.ts.map +1 -0
- package/dist/in-store/element-transform-plan.js +115 -0
- package/dist/in-store/element-transform-plan.js.map +1 -0
- package/dist/in-store/element-trim-extend.d.ts +25 -0
- package/dist/in-store/element-trim-extend.d.ts.map +1 -0
- package/dist/in-store/element-trim-extend.js +97 -0
- package/dist/in-store/element-trim-extend.js.map +1 -0
- package/dist/in-store/extract-grids.d.ts +36 -0
- package/dist/in-store/extract-grids.d.ts.map +1 -0
- package/dist/in-store/extract-grids.js +220 -0
- package/dist/in-store/extract-grids.js.map +1 -0
- package/dist/in-store/extract-walls.d.ts +12 -23
- package/dist/in-store/extract-walls.d.ts.map +1 -1
- package/dist/in-store/extract-walls.js +6 -69
- package/dist/in-store/extract-walls.js.map +1 -1
- package/dist/in-store/generate-spaces.d.ts +1 -1
- package/dist/in-store/grid-column.d.ts +23 -0
- package/dist/in-store/grid-column.d.ts.map +1 -0
- package/dist/in-store/grid-column.js +73 -0
- package/dist/in-store/grid-column.js.map +1 -0
- package/dist/in-store/grid-intersection-read.d.ts +10 -0
- package/dist/in-store/grid-intersection-read.d.ts.map +1 -0
- package/dist/in-store/grid-intersection-read.js +45 -0
- package/dist/in-store/grid-intersection-read.js.map +1 -0
- package/dist/in-store/grid.d.ts +124 -0
- package/dist/in-store/grid.d.ts.map +1 -0
- package/dist/in-store/grid.js +204 -0
- package/dist/in-store/grid.js.map +1 -0
- package/dist/in-store/group-evidence.d.ts +49 -0
- package/dist/in-store/group-evidence.d.ts.map +1 -0
- package/dist/in-store/group-evidence.js +111 -0
- package/dist/in-store/group-evidence.js.map +1 -0
- package/dist/in-store/group-graph.d.ts +51 -0
- package/dist/in-store/group-graph.d.ts.map +1 -0
- package/dist/in-store/group-graph.js +213 -0
- package/dist/in-store/group-graph.js.map +1 -0
- package/dist/in-store/group.d.ts +34 -0
- package/dist/in-store/group.d.ts.map +1 -0
- package/dist/in-store/group.js +181 -0
- package/dist/in-store/group.js.map +1 -0
- package/dist/in-store/host-geometry-frame.d.ts +48 -0
- package/dist/in-store/host-geometry-frame.d.ts.map +1 -0
- package/dist/in-store/host-geometry-frame.js +190 -0
- package/dist/in-store/host-geometry-frame.js.map +1 -0
- package/dist/in-store/hosted-element-edit.d.ts +29 -0
- package/dist/in-store/hosted-element-edit.d.ts.map +1 -0
- package/dist/in-store/hosted-element-edit.js +120 -0
- package/dist/in-store/hosted-element-edit.js.map +1 -0
- package/dist/in-store/hosted-element.d.ts +41 -0
- package/dist/in-store/hosted-element.d.ts.map +1 -0
- package/dist/in-store/hosted-element.js +124 -0
- package/dist/in-store/hosted-element.js.map +1 -0
- package/dist/in-store/hosted-fill-read.d.ts +56 -0
- package/dist/in-store/hosted-fill-read.d.ts.map +1 -0
- package/dist/in-store/hosted-fill-read.js +197 -0
- package/dist/in-store/hosted-fill-read.js.map +1 -0
- package/dist/in-store/hosted-global-id.d.ts +8 -0
- package/dist/in-store/hosted-global-id.d.ts.map +1 -0
- package/dist/in-store/hosted-global-id.js +53 -0
- package/dist/in-store/hosted-global-id.js.map +1 -0
- package/dist/in-store/hosted-placement-edit.d.ts +30 -0
- package/dist/in-store/hosted-placement-edit.d.ts.map +1 -0
- package/dist/in-store/hosted-placement-edit.js +123 -0
- package/dist/in-store/hosted-placement-edit.js.map +1 -0
- package/dist/in-store/hosted-scale-chain.d.ts +12 -0
- package/dist/in-store/hosted-scale-chain.d.ts.map +1 -0
- package/dist/in-store/hosted-scale-chain.js +74 -0
- package/dist/in-store/hosted-scale-chain.js.map +1 -0
- package/dist/in-store/hosted-shape-edit.d.ts +9 -0
- package/dist/in-store/hosted-shape-edit.d.ts.map +1 -0
- package/dist/in-store/hosted-shape-edit.js +79 -0
- package/dist/in-store/hosted-shape-edit.js.map +1 -0
- package/dist/in-store/index.d.ts +66 -0
- package/dist/in-store/index.d.ts.map +1 -0
- package/dist/in-store/index.js +71 -0
- package/dist/in-store/index.js.map +1 -0
- package/dist/in-store/linear-profile-frame.d.ts +10 -0
- package/dist/in-store/linear-profile-frame.d.ts.map +1 -0
- package/dist/in-store/linear-profile-frame.js +17 -0
- package/dist/in-store/linear-profile-frame.js.map +1 -0
- package/dist/in-store/material.d.ts.map +1 -1
- package/dist/in-store/material.js +17 -6
- package/dist/in-store/material.js.map +1 -1
- package/dist/in-store/member.d.ts +8 -2
- package/dist/in-store/member.d.ts.map +1 -1
- package/dist/in-store/member.js +15 -21
- package/dist/in-store/member.js.map +1 -1
- package/dist/in-store/ordinary-element.d.ts +47 -0
- package/dist/in-store/ordinary-element.d.ts.map +1 -0
- package/dist/in-store/ordinary-element.js +38 -0
- package/dist/in-store/ordinary-element.js.map +1 -0
- package/dist/in-store/placement-frame.d.ts +15 -5
- package/dist/in-store/placement-frame.d.ts.map +1 -1
- package/dist/in-store/placement-frame.js +25 -36
- package/dist/in-store/placement-frame.js.map +1 -1
- package/dist/in-store/profile.d.ts +141 -0
- package/dist/in-store/profile.d.ts.map +1 -0
- package/dist/in-store/profile.js +174 -0
- package/dist/in-store/profile.js.map +1 -0
- package/dist/in-store/railing.d.ts +65 -0
- package/dist/in-store/railing.d.ts.map +1 -0
- package/dist/in-store/railing.js +112 -0
- package/dist/in-store/railing.js.map +1 -0
- package/dist/in-store/rel-connects-path.d.ts +43 -0
- package/dist/in-store/rel-connects-path.d.ts.map +1 -0
- package/dist/in-store/rel-connects-path.js +65 -0
- package/dist/in-store/rel-connects-path.js.map +1 -0
- package/dist/in-store/resolve-anchor.d.ts +3 -2
- package/dist/in-store/resolve-anchor.d.ts.map +1 -1
- package/dist/in-store/resolve-anchor.js +7 -5
- package/dist/in-store/resolve-anchor.js.map +1 -1
- package/dist/in-store/resolve-host.d.ts +12 -1
- package/dist/in-store/resolve-host.d.ts.map +1 -1
- package/dist/in-store/resolve-host.js +169 -85
- package/dist/in-store/resolve-host.js.map +1 -1
- package/dist/in-store/resolve-relations.d.ts +3 -1
- package/dist/in-store/resolve-relations.d.ts.map +1 -1
- package/dist/in-store/resolve-relations.js +8 -3
- package/dist/in-store/resolve-relations.js.map +1 -1
- package/dist/in-store/resolve-source.d.ts.map +1 -1
- package/dist/in-store/resolve-source.js +39 -59
- package/dist/in-store/resolve-source.js.map +1 -1
- package/dist/in-store/room-candidates.d.ts +58 -0
- package/dist/in-store/room-candidates.d.ts.map +1 -0
- package/dist/in-store/room-candidates.js +135 -0
- package/dist/in-store/room-candidates.js.map +1 -0
- package/dist/in-store/room-creation-plan.d.ts +16 -0
- package/dist/in-store/room-creation-plan.d.ts.map +1 -0
- package/dist/in-store/room-creation-plan.js +28 -0
- package/dist/in-store/room-creation-plan.js.map +1 -0
- package/dist/in-store/room-floor-height.d.ts +24 -0
- package/dist/in-store/room-floor-height.d.ts.map +1 -0
- package/dist/in-store/room-floor-height.js +32 -0
- package/dist/in-store/room-floor-height.js.map +1 -0
- package/dist/in-store/room-footprint-native.d.ts +19 -0
- package/dist/in-store/room-footprint-native.d.ts.map +1 -0
- package/dist/in-store/room-footprint-native.js +117 -0
- package/dist/in-store/room-footprint-native.js.map +1 -0
- package/dist/in-store/room-layout-cache.d.ts +23 -0
- package/dist/in-store/room-layout-cache.d.ts.map +1 -0
- package/dist/in-store/room-layout-cache.js +84 -0
- package/dist/in-store/room-layout-cache.js.map +1 -0
- package/dist/in-store/room-layout-core.d.ts +68 -0
- package/dist/in-store/room-layout-core.d.ts.map +1 -0
- package/dist/in-store/room-layout-core.js +153 -0
- package/dist/in-store/room-layout-core.js.map +1 -0
- package/dist/in-store/room-population.d.ts +5 -0
- package/dist/in-store/room-population.d.ts.map +1 -0
- package/dist/in-store/room-population.js +28 -0
- package/dist/in-store/room-population.js.map +1 -0
- package/dist/in-store/room-space-meshes.d.ts +15 -0
- package/dist/in-store/room-space-meshes.d.ts.map +1 -0
- package/dist/in-store/room-space-meshes.js +38 -0
- package/dist/in-store/room-space-meshes.js.map +1 -0
- package/dist/in-store/room-store.d.ts +55 -0
- package/dist/in-store/room-store.d.ts.map +1 -0
- package/dist/in-store/room-store.js +173 -0
- package/dist/in-store/room-store.js.map +1 -0
- package/dist/in-store/room-storey-elevation.d.ts +5 -0
- package/dist/in-store/room-storey-elevation.d.ts.map +1 -0
- package/dist/in-store/room-storey-elevation.js +42 -0
- package/dist/in-store/room-storey-elevation.js.map +1 -0
- package/dist/in-store/room-storey-frame.d.ts +47 -0
- package/dist/in-store/room-storey-frame.d.ts.map +1 -0
- package/dist/in-store/room-storey-frame.js +48 -0
- package/dist/in-store/room-storey-frame.js.map +1 -0
- package/dist/in-store/room-wall-rects.d.ts +117 -0
- package/dist/in-store/room-wall-rects.d.ts.map +1 -0
- package/dist/in-store/room-wall-rects.js +157 -0
- package/dist/in-store/room-wall-rects.js.map +1 -0
- package/dist/in-store/schema-attributes.d.ts +8 -3
- package/dist/in-store/schema-attributes.d.ts.map +1 -1
- package/dist/in-store/schema-attributes.js +18 -9
- package/dist/in-store/schema-attributes.js.map +1 -1
- package/dist/in-store/slab.d.ts.map +1 -1
- package/dist/in-store/slab.js +1 -4
- package/dist/in-store/slab.js.map +1 -1
- package/dist/in-store/space-footprints.d.ts +55 -0
- package/dist/in-store/space-footprints.d.ts.map +1 -0
- package/dist/in-store/space-footprints.js +260 -0
- package/dist/in-store/space-footprints.js.map +1 -0
- package/dist/in-store/space.d.ts.map +1 -1
- package/dist/in-store/space.js +15 -3
- package/dist/in-store/space.js.map +1 -1
- package/dist/in-store/spatial-children.d.ts +1 -1
- package/dist/in-store/spatial-children.js +1 -1
- package/dist/in-store/stair-edit.d.ts +24 -0
- package/dist/in-store/stair-edit.d.ts.map +1 -0
- package/dist/in-store/stair-edit.js +190 -0
- package/dist/in-store/stair-edit.js.map +1 -0
- package/dist/in-store/stair-removal.d.ts +17 -0
- package/dist/in-store/stair-removal.d.ts.map +1 -0
- package/dist/in-store/stair-removal.js +134 -0
- package/dist/in-store/stair-removal.js.map +1 -0
- package/dist/in-store/stair.d.ts +58 -0
- package/dist/in-store/stair.d.ts.map +1 -0
- package/dist/in-store/stair.js +156 -0
- package/dist/in-store/stair.js.map +1 -0
- package/dist/in-store/storey-plan-frame.d.ts +2 -1
- package/dist/in-store/storey-plan-frame.d.ts.map +1 -1
- package/dist/in-store/storey-plan-frame.js +20 -11
- package/dist/in-store/storey-plan-frame.js.map +1 -1
- package/dist/in-store/storey-reassignment-plan.d.ts +53 -0
- package/dist/in-store/storey-reassignment-plan.d.ts.map +1 -0
- package/dist/in-store/storey-reassignment-plan.js +237 -0
- package/dist/in-store/storey-reassignment-plan.js.map +1 -0
- package/dist/in-store/storey-reassignment.d.ts +8 -0
- package/dist/in-store/storey-reassignment.d.ts.map +1 -0
- package/dist/in-store/storey-reassignment.js +52 -0
- package/dist/in-store/storey-reassignment.js.map +1 -0
- package/dist/in-store/trim-extend-plan.d.ts +27 -0
- package/dist/in-store/trim-extend-plan.d.ts.map +1 -0
- package/dist/in-store/trim-extend-plan.js +49 -0
- package/dist/in-store/trim-extend-plan.js.map +1 -0
- package/dist/in-store/wall-join-apply.d.ts +74 -0
- package/dist/in-store/wall-join-apply.d.ts.map +1 -0
- package/dist/in-store/wall-join-apply.js +137 -0
- package/dist/in-store/wall-join-apply.js.map +1 -0
- package/dist/in-store/wall-join-edit.d.ts +53 -0
- package/dist/in-store/wall-join-edit.d.ts.map +1 -0
- package/dist/in-store/wall-join-edit.js +251 -0
- package/dist/in-store/wall-join-edit.js.map +1 -0
- package/dist/in-store/wall-join-read.d.ts +60 -0
- package/dist/in-store/wall-join-read.d.ts.map +1 -0
- package/dist/in-store/wall-join-read.js +230 -0
- package/dist/in-store/wall-join-read.js.map +1 -0
- package/dist/in-store/wall-join.d.ts +122 -0
- package/dist/in-store/wall-join.d.ts.map +1 -0
- package/dist/in-store/wall-join.js +231 -0
- package/dist/in-store/wall-join.js.map +1 -0
- package/dist/in-store/wall-opening-fit.d.ts +11 -0
- package/dist/in-store/wall-opening-fit.d.ts.map +1 -0
- package/dist/in-store/wall-opening-fit.js +27 -0
- package/dist/in-store/wall-opening-fit.js.map +1 -0
- package/dist/in-store/wall-section-edit.d.ts +16 -0
- package/dist/in-store/wall-section-edit.d.ts.map +1 -0
- package/dist/in-store/wall-section-edit.js +75 -0
- package/dist/in-store/wall-section-edit.js.map +1 -0
- package/dist/in-store/wall-size-edit.d.ts +29 -0
- package/dist/in-store/wall-size-edit.d.ts.map +1 -0
- package/dist/in-store/wall-size-edit.js +65 -0
- package/dist/in-store/wall-size-edit.js.map +1 -0
- package/dist/in-store/wall.d.ts +32 -0
- package/dist/in-store/wall.d.ts.map +1 -1
- package/dist/in-store/wall.js +77 -13
- package/dist/in-store/wall.js.map +1 -1
- package/dist/index.d.ts +25 -38
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +25 -40
- package/dist/index.js.map +1 -1
- package/package.json +9 -8
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
2
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
3
|
+
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
|
4
|
+
import { applyFrame, contextDimension, inverseFrame, refId } from './host-geometry-frame.js';
|
|
5
|
+
import { retainedHostedScale } from './hosted-scale-chain.js';
|
|
6
|
+
const ref = (id) => `#${id}`;
|
|
7
|
+
export function scaleHostedShape(reader, editor, productId, inHost, hostAnchor, widthScale, heightScale) {
|
|
8
|
+
const product = reader.entity(productId);
|
|
9
|
+
const shapeId = product ? refId(product.attributes[6]) : null;
|
|
10
|
+
const shape = shapeId === null ? null : reader.entity(shapeId);
|
|
11
|
+
if (shape?.type.toUpperCase() !== 'IFCPRODUCTDEFINITIONSHAPE' || !Array.isArray(shape.attributes[2])) {
|
|
12
|
+
throw new Error(`Representation of #${productId} cannot be resized without losing its geometry`);
|
|
13
|
+
}
|
|
14
|
+
const inverse = inverseFrame(inHost);
|
|
15
|
+
const localAnchor = applyFrame(inverse, hostAnchor);
|
|
16
|
+
// The renderer/IfcOpenShell compose MappingTarget * MappingOrigin. The
|
|
17
|
+
// source frame therefore maps product coordinates into host coordinates
|
|
18
|
+
// relative to the held anchor; the target maps scaled host axes back into
|
|
19
|
+
// the product. Together this is P^-1 * anchoredScale * P, not its inverse.
|
|
20
|
+
const sourceAnchor = inHost.o.map((value, axis) => value - hostAnchor[axis]);
|
|
21
|
+
const sourcePoint3 = editor.addEntity('IfcCartesianPoint', [sourceAnchor]).expressId;
|
|
22
|
+
const sourceX = editor.addEntity('IfcDirection', [inHost.x]).expressId;
|
|
23
|
+
const sourceZ = editor.addEntity('IfcDirection', [inHost.z]).expressId;
|
|
24
|
+
const point3 = editor.addEntity('IfcCartesianPoint', [localAnchor]).expressId;
|
|
25
|
+
const directions = [inverse.x, inverse.y, inverse.z].map(v => editor.addEntity('IfcDirection', [v]).expressId);
|
|
26
|
+
const origin3 = editor.addEntity('IfcAxis2Placement3D', [ref(sourcePoint3), ref(sourceZ), ref(sourceX)]).expressId;
|
|
27
|
+
const representations = [];
|
|
28
|
+
if (shape.attributes[2].length === 0 || shape.attributes[2].length > 10_000)
|
|
29
|
+
throw new Error('The representation list cannot be resized safely');
|
|
30
|
+
for (const value of shape.attributes[2]) {
|
|
31
|
+
const repId = refId(value), rep = repId === null ? null : reader.entity(repId);
|
|
32
|
+
const contextId = rep ? refId(rep.attributes[0]) : null;
|
|
33
|
+
const dimension = contextId === null ? null : contextDimension(reader, contextId);
|
|
34
|
+
if (rep?.type.toUpperCase() !== 'IFCSHAPEREPRESENTATION' || repId === null || contextId === null || dimension === null) {
|
|
35
|
+
throw new Error(`A representation of #${productId} cannot be resized without losing its geometry`);
|
|
36
|
+
}
|
|
37
|
+
const retained = retainedHostedScale(reader, repId, dimension, inHost, sourceAnchor, inverse, localAnchor);
|
|
38
|
+
const width = widthScale * (retained?.width ?? 1);
|
|
39
|
+
const height = heightScale * (retained?.height ?? 1);
|
|
40
|
+
if (!Number.isFinite(width) || !Number.isFinite(height) || width <= 0 || height <= 0)
|
|
41
|
+
throw new Error('The cumulative representation scale is invalid');
|
|
42
|
+
let origin = origin3, target;
|
|
43
|
+
if (dimension === 2) {
|
|
44
|
+
// A plan representation lives in local XY. Tilting it into another
|
|
45
|
+
// plane cannot be represented by a 2D operator; refuse instead.
|
|
46
|
+
if (Math.abs(inverse.z[0]) > 1e-9 || Math.abs(inverse.z[1]) > 1e-9 || Math.abs(inverse.z[2] - 1) > 1e-9) {
|
|
47
|
+
throw new Error(`The plan representation of #${productId} has an unsupported tilted frame`);
|
|
48
|
+
}
|
|
49
|
+
const sourcePoint = editor.addEntity('IfcCartesianPoint', [[sourceAnchor[0], sourceAnchor[1]]]).expressId;
|
|
50
|
+
const sourceDirection = editor.addEntity('IfcDirection', [[inHost.x[0], inHost.x[1]]]).expressId;
|
|
51
|
+
const point = editor.addEntity('IfcCartesianPoint', [[localAnchor[0], localAnchor[1]]]).expressId;
|
|
52
|
+
const x = editor.addEntity('IfcDirection', [[inverse.x[0], inverse.x[1]]]).expressId;
|
|
53
|
+
const y = editor.addEntity('IfcDirection', [[inverse.y[0], inverse.y[1]]]).expressId;
|
|
54
|
+
origin = editor.addEntity('IfcAxis2Placement2D', [ref(sourcePoint), ref(sourceDirection)]).expressId;
|
|
55
|
+
target = editor.addEntity('IfcCartesianTransformationOperator2DnonUniform', [ref(x), ref(y), ref(point), width, 1]).expressId;
|
|
56
|
+
}
|
|
57
|
+
else {
|
|
58
|
+
target = editor.addEntity('IfcCartesianTransformationOperator3DnonUniform', [
|
|
59
|
+
ref(directions[0]), ref(directions[1]), ref(point3), width, ref(directions[2]), 1, height,
|
|
60
|
+
]).expressId;
|
|
61
|
+
}
|
|
62
|
+
const map = editor.addEntity('IfcRepresentationMap', [ref(origin), ref(retained?.repId ?? repId)]).expressId;
|
|
63
|
+
const item = editor.addEntity('IfcMappedItem', [ref(map), ref(target)]).expressId;
|
|
64
|
+
const identifier = rep.attributes[1] ?? null;
|
|
65
|
+
if (identifier !== null && typeof identifier !== 'string')
|
|
66
|
+
throw new Error('An unreadable representation identifier is refused');
|
|
67
|
+
representations.push(ref(editor.addEntity('IfcShapeRepresentation', [ref(contextId), identifier, 'MappedRepresentation', [ref(item)]]).expressId));
|
|
68
|
+
}
|
|
69
|
+
const label = (value) => {
|
|
70
|
+
if (value === null || value === undefined)
|
|
71
|
+
return null;
|
|
72
|
+
if (typeof value !== 'string')
|
|
73
|
+
throw new Error('An unreadable product shape label is refused');
|
|
74
|
+
return value;
|
|
75
|
+
};
|
|
76
|
+
const nextShape = editor.addEntity('IfcProductDefinitionShape', [label(shape.attributes[0]), label(shape.attributes[1]), representations]).expressId;
|
|
77
|
+
editor.setPositionalAttribute(productId, 6, ref(nextShape));
|
|
78
|
+
}
|
|
79
|
+
//# sourceMappingURL=hosted-shape-edit.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hosted-shape-edit.js","sourceRoot":"","sources":["../../src/in-store/hosted-shape-edit.ts"],"names":[],"mappings":"AAAA;;+DAE+D;AAQ/D,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,YAAY,EAAE,KAAK,EAA0B,MAAM,0BAA0B,CAAC;AACrH,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAE9D,MAAM,GAAG,GAAG,CAAC,EAAU,EAAE,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC;AAErC,MAAM,UAAU,gBAAgB,CAC9B,MAA0B,EAAE,MAAmB,EAAE,SAAiB,EAClE,MAAc,EAAE,UAAgB,EAAE,UAAkB,EAAE,WAAmB;IAEzE,MAAM,OAAO,GAAG,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;IACzC,MAAM,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IAC9D,MAAM,KAAK,GAAG,OAAO,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAC/D,IAAI,KAAK,EAAE,IAAI,CAAC,WAAW,EAAE,KAAK,2BAA2B,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACrG,MAAM,IAAI,KAAK,CAAC,sBAAsB,SAAS,gDAAgD,CAAC,CAAC;IACnG,CAAC;IACD,M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-element.js';
|
|
3
|
+
export { addColumnToStore, type ColumnInStoreParams, type ProfiledColumnInStoreParams, type ColumnBuildResult, } from './column.js';
|
|
4
|
+
export { addColumnOnGridToStore, type GridColumnBinding, type GridColumnBuildResult } from './grid-column.js';
|
|
5
|
+
export { addWallToStore, emitWallAxisRepresentation, emitWallBodyProfile, wallJoinWallFromParams, type WallInStoreParams, type WallBuildResult } from './wall.js';
|
|
6
|
+
export { computeWallJoin, reshapeWallAxis, wallBodyLateralRange, wallBodyOutline } from './wall-join.js';
|
|
7
|
+
export type * from './wall-join.js';
|
|
8
|
+
export { applyWallJoinToStore, wallJoinTargetFromBuild, type WallJoinApplyOptions, type WallJoinApplyResult, type WallJoinTarget } from './wall-join-apply.js';
|
|
9
|
+
export { readWallJoinTarget, readWallJoinRels, type WallJoinRead, type WallJoinRel } from './wall-join-read.js';
|
|
10
|
+
export { joinWallsInStore, reshapeWallsInStore, resolveWallJoinAnchor, type WallJoinInStoreResult, type WallReshape, type WallReshapeOptions, type WallReshapeResult } from './wall-join-edit.js';
|
|
11
|
+
export { addRelConnectsPathElementsToStore, type RelConnectsAnchor, type RelConnectsPathElementsParams } from './rel-connects-path.js';
|
|
12
|
+
export { addSlabToStore, type SlabInStoreParams, type SlabRectangleParams, type SlabPolygonParams, type SlabBuildResult } from './slab.js';
|
|
13
|
+
export { addBeamToStore, type BeamInStoreParams, type ProfiledBeamInStoreParams, type BeamBuildResult } from './beam.js';
|
|
14
|
+
export { emitProfileSection, validateProfileSection, profileSectionIfcClass, profileSectionExtent, type ProfileSection, type ProfileSectionType, type RectangleSection, type ISection, type LSection, type TSection, type USection, type CSection, type CircleSection, type RectangleHollowSection, type CircleHollowSection, } from './profile.js';
|
|
15
|
+
export { addStairToStore, stairFlightOutline, type StairInStoreParams, type StairBuildResult } from './stair.js';
|
|
16
|
+
export { readStairDimensions, editStairDimensionsInStore, type StairDimensions, type StairDimensionEdit } from './stair-edit.js';
|
|
17
|
+
export { removeStairInStore } from './stair-removal.js';
|
|
18
|
+
export { addRailingToStore, railingPostPoints, type RailingInStoreParams, type RailingBuildResult } from './railing.js';
|
|
19
|
+
export { addCurtainWallToStore, curtainWallLayout, type CurtainWallInStoreParams, type CurtainWallGridSpec, type CurtainWallLayout, type CurtainWallBuildResult } from './curtain-wall.js';
|
|
20
|
+
export { addGridToStore, rectangularGridAxes, gridIntersectionPlacement, type GridInStoreParams, type GridAxisInStoreParams, type GridBuildResult, type GridIntersectionParams, type GridPlacementParams, type GridPlacementResult, } from './grid.js';
|
|
21
|
+
export { addDoorToStore, type DoorInStoreParams, type DoorBuildResult } from './door.js';
|
|
22
|
+
export { addWindowToStore, type WindowInStoreParams, type WindowBuildResult } from './window.js';
|
|
23
|
+
export { addOpeningToStore, type OpeningInStoreParams, type WallOpeningInStoreParams, type SlabOpeningInStoreParams, type OpeningBuildResult, } from './opening.js';
|
|
24
|
+
export { addHostedDoorToStore, addHostedWindowToStore, type HostedDoorInStoreParams, type HostedWindowInStoreParams, type HostedFillBuildResult, } from './hosted-fill.js';
|
|
25
|
+
export { hostPlanFrame, readHostedFill, type HostPlanFrame, type HostedFillRead } from './hosted-fill-read.js';
|
|
26
|
+
export { addHostedElementInStore, readHostOpeningExtents, type HostedElementInStoreSpec, type HostedElementInStoreResult, type HostedOpeningExtent } from './hosted-element.js';
|
|
27
|
+
export { editHostedElementInStore, readHostedElementSize, type HostedElementEdit, type HostedElementSize } from './hosted-element-edit.js';
|
|
28
|
+
export { addElementTypeToStore, assignTypeInStore, type AuthoringAnchor, type ElementTypeInStoreParams, type ElementTypeBuildResult, } from './element-type.js';
|
|
29
|
+
export { addMaterialToStore, addMaterialLayerSetToStore, addMaterialLayerSetUsageToStore, assignMaterialInStore, type MaterialInStoreParams, type MaterialLayerInStoreParams, type MaterialLayerSetInStoreParams, type MaterialLayerSetBuildResult, type MaterialLayerSetUsageInStoreParams, } from './material.js';
|
|
30
|
+
export type { OneToManyResult } from './relate.js';
|
|
31
|
+
export { resolveAuthoringAnchor, readRelatedLists, liveEntityType, liveEntityConforms } from './resolve-relations.js';
|
|
32
|
+
export { addSpaceToStore, type SpaceInStoreParams, type SpaceRectangleParams, type SpacePolygonParams, type SpaceBuildResult } from './space.js';
|
|
33
|
+
export { addSpatialZonesToStore, spatialZonesSupported, type SpatialZoneInput, type SpatialZoneInStoreParams, type SpatialZoneBuildResult, type SpatialZoneType, } from './spatial-zone.js';
|
|
34
|
+
export { applyStylesInStore, collectLeafRepresentationItems, type ApplyStyleOptions, type ApplyStyleResult, type StyleBatch, type SurfaceStyleColor, } from './apply-style.js';
|
|
35
|
+
export { addRoofToStore, type RoofInStoreParams, type RoofRectangleParams, type RoofPolygonParams, type RoofBuildResult } from './roof.js';
|
|
36
|
+
export { addPlateToStore, type PlateInStoreParams, type PlateRectangleParams, type PlatePolygonParams, type PlateBuildResult } from './plate.js';
|
|
37
|
+
export { addMemberToStore, type MemberInStoreParams, type ProfiledMemberInStoreParams, type MemberBuildResult } from './member.js';
|
|
38
|
+
export { addCostScheduleToStore, addCostItemToStore, addCostValueToStore, addCostQuantityToStore, nestCostItemsInStore, assignCostItemsToScheduleInStore, assignObjectsToCostItemInStore, attachCostValuesToItemInStore, type CostAnchor, type ExistingRelatedList, } from './cost.js';
|
|
39
|
+
export { removeCostEntityInStore, type CostRemovalReferrers } from './cost-removal.js';
|
|
40
|
+
export { resolveSpatialAnchor } from './resolve-anchor.js';
|
|
41
|
+
export { placedBodyExtent, resolveHostAnchor } from './resolve-host.js';
|
|
42
|
+
export { toNativeLength, fromNativeLength } from './anchor.js';
|
|
43
|
+
export type { SpatialAnchor, HostAnchor, HostBounds, HostKind } from './anchor.js';
|
|
44
|
+
export { duplicateInStore, type SourceAttributes, type DuplicateInStoreOptions, type DuplicateBuildResult, type Vec3 as DuplicateVec3, } from './duplicate.js';
|
|
45
|
+
export { resolveDuplicateSource } from './resolve-source.js';
|
|
46
|
+
export { createCopyContext, copyProductInStore, copyRefusal, productStoreyOrigin, type CopyContext, type CopyTransform, type CopyProductResult } from './copy-product.js';
|
|
47
|
+
export { detectEnclosedAreas, type Vec2 as AutoSpaceVec2, type Segment as AutoSpaceSegment, type DetectedSpace, type DetectOptions as AutoSpaceDetectOptions, } from './auto-space-detect.js';
|
|
48
|
+
export { extractWallSegmentsForStorey, type OverlayWallReader, type WallExtractionResult, } from './extract-walls.js';
|
|
49
|
+
export { extractGridAxesForStorey, type GridAxisSegment, type StoreyGridAxes } from './extract-grids.js';
|
|
50
|
+
export { existingSpaceFootprintsByStorey, existingSpaceFootprintEntriesByStorey, type SpaceFootprint, } from './space-footprints.js';
|
|
51
|
+
export { storeyPlanFrame, toStoreyLocal, fromStoreyLocal, type StoreyPlanFrame, } from './storey-plan-frame.js';
|
|
52
|
+
export { generateSpacesFromWalls, offsetRoomFootprint, GENERATED_SPACE_OBJECTTYPE, type GenerateSpacesOptions, type GenerateSpacesResult, type BoundaryMode, } from './generate-spaces.js';
|
|
53
|
+
export { generateSpaces, listStoreys, type GenerateSpacesAllOptions, type GenerateSpacesAllResult, type GenerateSpacesStoreyResult, type StoreyInfo, } from './generate-spaces-all.js';
|
|
54
|
+
export { addStructuralAnalysisModelToStore, type StructuralAnalysisModelInStoreParams, type StructuralAnalysisModelBuildResult, type StructuralAnalysisModelType, } from './structural-analysis-model.js';
|
|
55
|
+
export { addStructuralCurveMemberToStore, type StructuralCurveMemberInStoreParams, type StructuralCurveMemberBuildResult, type StructuralCurveMemberType, } from './structural-curve-member.js';
|
|
56
|
+
export { addStructuralPointConnectionToStore, type StructuralPointConnectionInStoreParams, type StructuralPointConnectionBuildResult, type StructuralBoundaryConditionParams, } from './structural-point-connection.js';
|
|
57
|
+
export { addStructuralLoadGroupToStore, type StructuralLoadGroupInStoreParams, type StructuralLoadGroupBuildResult, type StructuralLoadGroupType, type StructuralActionType, type StructuralActionSourceType, } from './structural-load-group.js';
|
|
58
|
+
export { addStructuralPointActionToStore, addStructuralLinearActionToStore, type StructuralPointActionInStoreParams, type StructuralPointActionBuildResult, type StructuralLinearActionInStoreParams, type StructuralLinearActionBuildResult, type StructuralGlobalOrLocal, } from './structural-action.js';
|
|
59
|
+
export { connectStructuralMemberToConnectionInStore, connectStructuralActivityToItemInStore, assignToStructuralGroupInStore, } from './structural-relationships.js';
|
|
60
|
+
export { addDrawingMarkupToStore, addMeasureMarkupToStore, addPolygonAreaMarkupToStore, addTextMarkupToStore, addCloudMarkupToStore, DRAWING_MARKUP_OBJECTTYPE, DRAWING_MARKUP_PSET_NAME, DRAWING_MARKUP_QSET_NAME, type DrawingMarkupObjectType, type MarkupAnchor, type MarkupPoint2D, type MeasureMarkupParams, type MeasureMarkupResult, type PolygonAreaMarkupParams, type PolygonAreaMarkupResult, type TextMarkupParams, type TextMarkupResult, type CloudMarkupParams, type CloudMarkupResult, type DrawingMarkupBatchInput, type DrawingMarkupBatchResult, } from './drawing-markup.js';
|
|
61
|
+
export { reanchorHostedOpeningsInStore } from './hosted-placement-edit.js';
|
|
62
|
+
export { reassignHostedOpeningsInStore, type HostedOpeningReassignment } from './hosted-placement-edit.js';
|
|
63
|
+
export { replaceElementInStore, type InStoreReplacementElement } from './element-replacement.js';
|
|
64
|
+
export { addGroupToStore, updateGroupInStore, removeGroupInStore, readGroupInStore, type GroupStoreContext, type GroupInStoreParams, type GroupInStorePatch, type GroupRootIdentity, type GroupSnapshot, type GroupMembershipSnapshot, } from './group.js';
|
|
65
|
+
export { readGroupEvidenceInStore, readGroupCreateEvidenceInStore, type GroupNativeEvidence, type GroupCreateEvidence } from './group-evidence.js';
|
|
66
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/in-store/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,yBAAyB,EAAE,KAAK,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC/F,OAAO,EACL,gBAAgB,E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AK,kBAAkB,EAAE,KAAK,iBAAiB,EACvE,KAAK,iBAAiB,EAAE,KAAK,aAAa,EAAE,KAAK,uBAAuB,GACzE,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,wBAAwB,EAAE,8BAA8B,EAAE,KAAK,mBAAmB,EAAE,KAAK,mBAAmB,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
2
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
3
|
+
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
|
4
|
+
// In-store builders — emit elements into an existing parsed IfcDataStore
|
|
5
|
+
// via a `StoreEditor` overlay (closes the merge-roundtrip gap from #592).
|
|
6
|
+
export { linearProfileFrame } from './linear-profile-frame.js';
|
|
7
|
+
export { addOrdinaryElementInStore } from './ordinary-element.js';
|
|
8
|
+
export { addColumnToStore, } from './column.js';
|
|
9
|
+
export { addColumnOnGridToStore } from './grid-column.js';
|
|
10
|
+
export { addWallToStore, emitWallAxisRepresentation, emitWallBodyProfile, wallJoinWallFromParams } from './wall.js';
|
|
11
|
+
// Wall joins (L / T / butt) and the IfcRelConnectsPathElements they write; the read side sits in wall-join-read.
|
|
12
|
+
export { computeWallJoin, reshapeWallAxis, wallBodyLateralRange, wallBodyOutline } from './wall-join.js';
|
|
13
|
+
export { applyWallJoinToStore, wallJoinTargetFromBuild } from './wall-join-apply.js';
|
|
14
|
+
export { readWallJoinTarget, readWallJoinRels } from './wall-join-read.js';
|
|
15
|
+
export { joinWallsInStore, reshapeWallsInStore, resolveWallJoinAnchor } from './wall-join-edit.js';
|
|
16
|
+
export { addRelConnectsPathElementsToStore } from './rel-connects-path.js';
|
|
17
|
+
export { addSlabToStore } from './slab.js';
|
|
18
|
+
export { addBeamToStore } from './beam.js';
|
|
19
|
+
export { emitProfileSection, validateProfileSection, profileSectionIfcClass, profileSectionExtent, } from './profile.js';
|
|
20
|
+
export { addStairToStore, stairFlightOutline } from './stair.js';
|
|
21
|
+
export { readStairDimensions, editStairDimensionsInStore } from './stair-edit.js';
|
|
22
|
+
export { removeStairInStore } from './stair-removal.js';
|
|
23
|
+
export { addRailingToStore, railingPostPoints } from './railing.js';
|
|
24
|
+
export { addCurtainWallToStore, curtainWallLayout } from './curtain-wall.js';
|
|
25
|
+
export { addGridToStore, rectangularGridAxes, gridIntersectionPlacement, } from './grid.js';
|
|
26
|
+
export { addDoorToStore } from './door.js';
|
|
27
|
+
export { addWindowToStore } from './window.js';
|
|
28
|
+
export { addOpeningToStore, } from './opening.js';
|
|
29
|
+
export { addHostedDoorToStore, addHostedWindowToStore, } from './hosted-fill.js';
|
|
30
|
+
export { hostPlanFrame, readHostedFill } from './hosted-fill-read.js';
|
|
31
|
+
export { addHostedElementInStore, readHostOpeningExtents } from './hosted-element.js';
|
|
32
|
+
export { editHostedElementInStore, readHostedElementSize } from './hosted-element-edit.js';
|
|
33
|
+
export { addElementTypeToStore, assignTypeInStore, } from './element-type.js';
|
|
34
|
+
export { addMaterialToStore, addMaterialLayerSetToStore, addMaterialLayerSetUsageToStore, assignMaterialInStore, } from './material.js';
|
|
35
|
+
export { resolveAuthoringAnchor, readRelatedLists, liveEntityType, liveEntityConforms } from './resolve-relations.js';
|
|
36
|
+
export { addSpaceToStore } from './space.js';
|
|
37
|
+
export { addSpatialZonesToStore, spatialZonesSupported, } from './spatial-zone.js';
|
|
38
|
+
export { applyStylesInStore, collectLeafRepresentationItems, } from './apply-style.js';
|
|
39
|
+
export { addRoofToStore } from './roof.js';
|
|
40
|
+
export { addPlateToStore } from './plate.js';
|
|
41
|
+
export { addMemberToStore } from './member.js';
|
|
42
|
+
export { addCostScheduleToStore, addCostItemToStore, addCostValueToStore, addCostQuantityToStore, nestCostItemsInStore, assignCostItemsToScheduleInStore, assignObjectsToCostItemInStore, attachCostValuesToItemInStore, } from './cost.js';
|
|
43
|
+
export { removeCostEntityInStore } from './cost-removal.js';
|
|
44
|
+
export { resolveSpatialAnchor } from './resolve-anchor.js';
|
|
45
|
+
export { placedBodyExtent, resolveHostAnchor } from './resolve-host.js';
|
|
46
|
+
export { toNativeLength, fromNativeLength } from './anchor.js';
|
|
47
|
+
export { duplicateInStore, } from './duplicate.js';
|
|
48
|
+
export { resolveDuplicateSource } from './resolve-source.js';
|
|
49
|
+
export { createCopyContext, copyProductInStore, copyRefusal, productStoreyOrigin } from './copy-product.js';
|
|
50
|
+
export { detectEnclosedAreas, } from './auto-space-detect.js';
|
|
51
|
+
export { extractWallSegmentsForStorey, } from './extract-walls.js';
|
|
52
|
+
export { extractGridAxesForStorey } from './extract-grids.js';
|
|
53
|
+
export { existingSpaceFootprintsByStorey, existingSpaceFootprintEntriesByStorey, } from './space-footprints.js';
|
|
54
|
+
export { storeyPlanFrame, toStoreyLocal, fromStoreyLocal, } from './storey-plan-frame.js';
|
|
55
|
+
export { generateSpacesFromWalls, offsetRoomFootprint, GENERATED_SPACE_OBJECTTYPE, } from './generate-spaces.js';
|
|
56
|
+
export { generateSpaces, listStoreys, } from './generate-spaces-all.js';
|
|
57
|
+
// Structural analysis authoring (#5167 task S.1) — IfcStructuralAnalysisModel
|
|
58
|
+
// and its members/connections/loads/relationships.
|
|
59
|
+
export { addStructuralAnalysisModelToStore, } from './structural-analysis-model.js';
|
|
60
|
+
export { addStructuralCurveMemberToStore, } from './structural-curve-member.js';
|
|
61
|
+
export { addStructuralPointConnectionToStore, } from './structural-point-connection.js';
|
|
62
|
+
export { addStructuralLoadGroupToStore, } from './structural-load-group.js';
|
|
63
|
+
export { addStructuralPointActionToStore, addStructuralLinearActionToStore, } from './structural-action.js';
|
|
64
|
+
export { connectStructuralMemberToConnectionInStore, connectStructuralActivityToItemInStore, assignToStructuralGroupInStore, } from './structural-relationships.js';
|
|
65
|
+
export { addDrawingMarkupToStore, addMeasureMarkupToStore, addPolygonAreaMarkupToStore, addTextMarkupToStore, addCloudMarkupToStore, DRAWING_MARKUP_OBJECTTYPE, DRAWING_MARKUP_PSET_NAME, DRAWING_MARKUP_QSET_NAME, } from './drawing-markup.js';
|
|
66
|
+
export { reanchorHostedOpeningsInStore } from './hosted-placement-edit.js';
|
|
67
|
+
export { reassignHostedOpeningsInStore } from './hosted-placement-edit.js';
|
|
68
|
+
export { replaceElementInStore } from './element-replacement.js';
|
|
69
|
+
export { addGroupToStore, updateGroupInStore, removeGroupInStore, readGroupInStore, } from './group.js';
|
|
70
|
+
export { readGroupEvidenceInStore, readGroupCreateEvidenceInStore } from './group-evidence.js';
|
|
71
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/in-store/index.ts"],"names":[],"mappings":"AAAA;;+DAE+D;AAE/D,yEAAyE;AACzE,0EAA0E;AAC1E,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,yBAAyB,EAA+B,MAAM,uBAAuB,CAAC;AAC/F,OAAO,EACL,gBAAgB,GAIjB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,sBAAsB,EAAsD,MAAM,kBAAkB,CAAC;AAC9G,OAAO,EAAE,cAAc,EAAE,0BAA0B,EAAE,mBAAmB,EAAE,sBAAsB,EAAgD,MAAM,WAAW,CAAC;AAClK,iHAAiH;AACjH,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,oBAAoB,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAEzG,OAAO,EAAE,oBAAoB,EAAE,uBAAuB,EAA4E,MAAM,sBAAsB,CAAC;AAC/J,OAAO,EAAE,kBAAkB,EAAE,gBAAgB,EAAuC,MAAM,qBAAqB,CAAC;AAChH,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,qBAAqB,EAAiG,MAAM,qBAAqB,CAAC;AAClM,OAAO,EAAE,iCAAiC,EAA8D,MAAM,wBAAwB,CAAC;AACvI,OAAO,EAAE,cAAc,EAAkG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AAM,wBAAwB,CAAC;AAChC,OAAO,EACL,uBAAuB,EACvB,mBAAmB,EACnB,0BAA0B,GAI3B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,cAAc,EACd,WAAW,GAKZ,MAAM,0BAA0B,CAAC;AAClC,8EAA8E;AAC9E,mDAAmD;AACnD,OAAO,EACL,iCAAiC,GAIlC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,+BAA+B,GAIhC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,mCAAmC,GAIpC,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,6BAA6B,GAM9B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,+BAA+B,EAC/B,gCAAgC,GAMjC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,0CAA0C,EAC1C,sCAAsC,EACtC,8BAA8B,GAC/B,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EACL,uBAAuB,EACvB,uBAAuB,EACvB,2BAA2B,EAC3B,oBAAoB,EACpB,qBAAqB,EACrB,yBAAyB,EACzB,wBAAwB,EACxB,wBAAwB,GAczB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,6BAA6B,EAAE,MAAM,4BAA4B,CAAC;AAC3E,OAAO,EAAE,6BAA6B,EAAkC,MAAM,4BAA4B,CAAC;AAE3G,OAAO,EAAE,qBAAqB,EAAkC,MAAM,0BAA0B,CAAC;AACjG,OAAO,EACL,eAAe,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,gBAAgB,GAG1E,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,wBAAwB,EAAE,8BAA8B,EAAsD,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Point3D } from '../types.js';
|
|
2
|
+
/** Native beam/member profile frame, also consumed by their reviewed ghosts. */
|
|
3
|
+
export declare function linearProfileFrame(Start: Point3D, End: Point3D): {
|
|
4
|
+
origin: Point3D;
|
|
5
|
+
u: Point3D;
|
|
6
|
+
v: Point3D;
|
|
7
|
+
along: Point3D;
|
|
8
|
+
length: number;
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=linear-profile-frame.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"linear-profile-frame.d.ts","sourceRoot":"","sources":["../../src/in-store/linear-profile-frame.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE3C,gFAAgF;AAChF,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,OAAO,EAAE,GAAG,EAAE,OAAO;;;;;;EAS9D"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
2
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
3
|
+
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
|
4
|
+
import { assertFinitePoint3, vecCross, vecNorm } from '../ifc-creator-math.js';
|
|
5
|
+
/** Native beam/member profile frame, also consumed by their reviewed ghosts. */
|
|
6
|
+
export function linearProfileFrame(Start, End) {
|
|
7
|
+
assertFinitePoint3({ Start, End }, 'linearProfileFrame');
|
|
8
|
+
const delta = [End[0] - Start[0], End[1] - Start[1], End[2] - Start[2]];
|
|
9
|
+
const length = Math.hypot(...delta);
|
|
10
|
+
if (!(length > 0))
|
|
11
|
+
throw new Error('linearProfileFrame: Start and End must be distinct');
|
|
12
|
+
const along = vecNorm(delta);
|
|
13
|
+
const up = Math.abs(along[2]) < .9 ? [0, 0, 1] : [1, 0, 0];
|
|
14
|
+
const u = vecNorm(vecCross(up, along));
|
|
15
|
+
return { origin: Start, u, v: vecCross(along, u), along, length };
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=linear-profile-frame.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"linear-profile-frame.js","sourceRoot":"","sources":["../../src/in-store/linear-profile-frame.ts"],"names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C,EAAE,MAAM,CAAC;IACtB,kBAAkB;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,2BAA2B;IAC1C,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,MAAM,WAAW,kCAAkC;IACjD,WAAW,EAAE,MAAM,CAAC;IACpB,kEAAkE;IAClE,iBAAiB,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,OAAO,CAAC;IAChD,8BAA8B;IAC9B,cAAc,CAAC,EAAE,UAAU,GAAG,UAAU,CAAC;IACzC,+FAA+F;IAC/F,uBAAuB,EAAE,MAAM,CAAC;IAChC,kBAAkB;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAMD,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,EAAE,qBAAqB,GAAG;IAAE,UAAU,EAAE,MAAM,CAAA;CAAE,CAKtI;AAED,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,WAAW,EACnB,MAAM,EAAE,eAAe,EACvB,MAAM,EAAE,6BAA6B,GACpC,2BAA2B,CA4C7B;AAED,wBAAgB,+BAA+B,CAC7C,MAAM,EAAE,WAAW,EACnB,MAAM,EAAE,eAAe,EACvB,MAAM,EAAE,kCAAkC,GACzC;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,CAcrB;AAED;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,WAAW,EACnB,MAAM,EAAE,eAAe,EACvB,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,SAAS,MAAM,EAAE,EAC5B,QAAQ,EAAE,SAAS,mBAAmB,EAAE,GACvC,eAAe,CAejB"}
|
|
@@ -48,19 +48,30 @@ export function addMaterialLayerSetToStore(editor, anchor, params) {
|
|
|
48
48
|
throw new Error(`${op}: MaterialLayers[${index}].Material #${layer.Material} is ${type ? `an ${type}` : 'not a live entity'}, not an IfcMaterial`);
|
|
49
49
|
}
|
|
50
50
|
});
|
|
51
|
-
|
|
51
|
+
// Prepare every schema field before creating helpers: an unsupported late
|
|
52
|
+
// layer or set attribute must leave the live overlay and allocator intact.
|
|
53
|
+
const layerAttributes = params.MaterialLayers.map((layer) => {
|
|
52
54
|
const { Material, ...rest } = layer;
|
|
53
|
-
return
|
|
55
|
+
return schemaAttributes(registry, 'IfcMaterialLayer', {
|
|
54
56
|
...rest,
|
|
55
57
|
Material: Material === undefined ? undefined : `#${Material}`,
|
|
56
58
|
LayerThickness: toNativeLength(anchor, layer.LayerThickness),
|
|
57
|
-
}, op)
|
|
59
|
+
}, op);
|
|
58
60
|
});
|
|
59
|
-
|
|
60
|
-
|
|
61
|
+
// schemaAttributes retains this reference list; fill it only after all
|
|
62
|
+
// declarations are validated and each actual layer ID is known.
|
|
63
|
+
const layerReferences = [];
|
|
64
|
+
const layerSetAttributes = schemaAttributes(registry, 'IfcMaterialLayerSet', {
|
|
65
|
+
MaterialLayers: layerReferences,
|
|
61
66
|
LayerSetName: params.LayerSetName,
|
|
62
67
|
Description: params.Description,
|
|
63
|
-
}, op)
|
|
68
|
+
}, op);
|
|
69
|
+
const layerIds = layerAttributes.map(attributes => {
|
|
70
|
+
const id = add(editor, 'IfcMaterialLayer', attributes);
|
|
71
|
+
layerReferences.push(`#${id}`);
|
|
72
|
+
return id;
|
|
73
|
+
});
|
|
74
|
+
const layerSetId = add(editor, 'IfcMaterialLayerSet', layerSetAttributes);
|
|
64
75
|
return { layerSetId, layerIds };
|
|
65
76
|
}
|
|
66
77
|
export function addMaterialLayerSetUsageToStore(editor, anchor, params) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"material.js","sourceRoot":"","sources":["../../src/in-store/material.ts"],"names":[],"mappings":"AAAA;;+DAE+D;AAE/D;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,OAAO,EAAE,c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BAAuB,EAAE,cAAc,CAAC,MAAM,EAAE,MAAM,CAAC,uBAAuB,CAAC;YAC/E,eAAe,EAAE,MAAM,CAAC,eAAe,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,cAAc,CAAC,MAAM,EAAE,MAAM,CAAC,eAAe,CAAC;SACnH,EAAE,EAAE,CAAC,CAAC;KACR,CAAC;AACJ,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,qBAAqB,CACnC,MAAmB,EACnB,MAAuB,EACvB,UAAkB,EAClB,SAA4B,EAC5B,QAAwC;IAExC,OAAO,sBAAsB,CAAC,MAAM,EAAE;QACpC,OAAO,EAAE,0BAA0B;QACnC,UAAU,EAAE,UAAU;QACtB,UAAU,EAAE,SAAS;QACrB,QAAQ;QACR,MAAM,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC;YACnB,eAAe,CAAC,MAAM,CAAC,UAAU,CAAC;YAClC,eAAe,CAAC,MAAM,CAAC,cAAc,CAAC;YACtC,IAAI;YACJ,IAAI;YACJ,OAAO;YACP,IAAI,UAAU,EAAE;SACjB;KACF,EAAE,uBAAuB,CAAC,CAAC;AAC9B,CAAC"}
|
|
@@ -2,12 +2,14 @@
|
|
|
2
2
|
* Anchored builder for IfcMember — a generic structural member
|
|
3
3
|
* (brace, strut, post). Geometry shape mirrors `addBeamToStore`:
|
|
4
4
|
* - placement origin at `Start`, local Z = member axis
|
|
5
|
-
* - cross-section
|
|
5
|
+
* - cross-section (Width x Height rectangle, or a `Profile`) centred on
|
|
6
|
+
* the axis, extruded by member length
|
|
6
7
|
* The distinction is the IFC type and the `.NOTDEFINED.` PredefinedType
|
|
7
8
|
* default — IfcBeam carries `.BEAM.`.
|
|
8
9
|
*/
|
|
9
10
|
import type { StoreEditor } from '@ifc-lite/mutations';
|
|
10
11
|
import { type SpatialAnchor } from './anchor.js';
|
|
12
|
+
import { type ProfileSection } from './profile.js';
|
|
11
13
|
export interface MemberInStoreParams {
|
|
12
14
|
Start: [number, number, number];
|
|
13
15
|
End: [number, number, number];
|
|
@@ -21,6 +23,10 @@ export interface MemberInStoreParams {
|
|
|
21
23
|
/** Explicit GlobalId (22-char IFC GUID); generated when omitted. */
|
|
22
24
|
GlobalId?: string;
|
|
23
25
|
}
|
|
26
|
+
/** A member with a parameterised cross-section in place of the `Width` x `Height` rectangle. */
|
|
27
|
+
export interface ProfiledMemberInStoreParams extends Omit<MemberInStoreParams, 'Width' | 'Height'> {
|
|
28
|
+
Profile: ProfileSection;
|
|
29
|
+
}
|
|
24
30
|
export interface MemberBuildResult {
|
|
25
31
|
memberId: number;
|
|
26
32
|
placementId: number;
|
|
@@ -30,5 +36,5 @@ export interface MemberBuildResult {
|
|
|
30
36
|
productShapeId: number;
|
|
31
37
|
relContainedId: number;
|
|
32
38
|
}
|
|
33
|
-
export declare function addMemberToStore(editor: StoreEditor, anchor: SpatialAnchor, params: MemberInStoreParams): MemberBuildResult;
|
|
39
|
+
export declare function addMemberToStore(editor: StoreEditor, anchor: SpatialAnchor, params: MemberInStoreParams | ProfiledMemberInStoreParams): MemberBuildResult;
|
|
34
40
|
//# sourceMappingURL=member.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"member.d.ts","sourceRoot":"","sources":["../../src/in-store/member.ts"],"names":[],"mappings":"AAIA
|
|
1
|
+
{"version":3,"file":"member.d.ts","sourceRoot":"","sources":["../../src/in-store/member.ts"],"names":[],"mappings":"AAIA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAGvD,OAAO,EAAkC,KAAK,aAAa,EAAE,MAAM,aAAa,CAAC;AASjF,OAAO,EAAqC,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAEtF,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC,GAAG,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EACX,OAAO,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,GAC7D,MAAM,GAAG,QAAQ,GAAG,QAAQ,GAAG,UAAU,GAAG,OAAO,GAAG,MAAM,GAC5D,aAAa,GAAG,YAAY,CAAC;IACjC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,oEAAoE;IACpE,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,gGAAgG;AAChG,MAAM,WAAW,2BAA4B,SAAQ,IAAI,CAAC,mBAAmB,EAAE,OAAO,GAAG,QAAQ,CAAC;IAChG,OAAO,EAAE,cAAc,CAAC;CACzB;AAED,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;CACxB;AAGD,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,WAAW,EACnB,MAAM,EAAE,aAAa,EACrB,MAAM,EAAE,mBAAmB,GAAG,2BAA2B,GACxD,iBAAiB,CAmCnB"}
|
package/dist/in-store/member.js
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
2
2
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
3
3
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
|
4
|
-
import {
|
|
4
|
+
import { assertFinitePoint3 } from '../ifc-creator-math.js';
|
|
5
|
+
import { linearProfileFrame } from './linear-profile-frame.js';
|
|
5
6
|
import { toNativeLength, toNativePoint3 } from './anchor.js';
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
const up = Math.abs(axis[2]) < 0.9 ? [0, 0, 1] : [1, 0, 0];
|
|
9
|
-
return vecNorm(vecCross(up, axis));
|
|
10
|
-
}
|
|
7
|
+
import { emitBodyRepresentation, emitExtrudedSolid, emitLocalPlacement, emitRectangleProfile, emitRelContainedInSpatialStructure, ifcElementHeader, } from './_emit-helpers.js';
|
|
8
|
+
import { emitProfileSection, linearSection } from './profile.js';
|
|
11
9
|
export function addMemberToStore(editor, anchor, params) {
|
|
12
10
|
// A non-finite Start/End coordinate makes the derived memberLen NaN, and
|
|
13
11
|
// `NaN <= 0` is false, so the distinct-points check below never fires.
|
|
@@ -15,25 +13,21 @@ export function addMemberToStore(editor, anchor, params) {
|
|
|
15
13
|
assertFinitePoint3({ Start: params.Start, End: params.End }, 'addMemberToStore');
|
|
16
14
|
// Params are metres; convert dimensioned fields to the file's native
|
|
17
15
|
// length unit before emit (see SpatialAnchor.lengthUnitScale).
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
Height: toNativeLength(anchor, params.Height),
|
|
24
|
-
};
|
|
25
|
-
const dx = params.End[0] - params.Start[0];
|
|
26
|
-
const dy = params.End[1] - params.Start[1];
|
|
27
|
-
const dz = params.End[2] - params.Start[2];
|
|
16
|
+
const start = toNativePoint3(anchor, params.Start);
|
|
17
|
+
const end = toNativePoint3(anchor, params.End);
|
|
18
|
+
const dx = end[0] - start[0];
|
|
19
|
+
const dy = end[1] - start[1];
|
|
20
|
+
const dz = end[2] - start[2];
|
|
28
21
|
const memberLen = Math.sqrt(dx * dx + dy * dy + dz * dz);
|
|
29
22
|
if (memberLen <= 0) {
|
|
30
23
|
throw new Error('addMemberToStore: Start and End must be distinct points');
|
|
31
24
|
}
|
|
32
|
-
|
|
33
|
-
const dir =
|
|
34
|
-
const
|
|
35
|
-
const
|
|
36
|
-
|
|
25
|
+
const section = linearSection(anchor, params, 'addMemberToStore');
|
|
26
|
+
const { along: dir, u: refDir } = linearProfileFrame(start, end);
|
|
27
|
+
const placementId = emitLocalPlacement(editor, anchor.storeyPlacementId, start, dir, refDir);
|
|
28
|
+
const profileId = section.Profile
|
|
29
|
+
? emitProfileSection(editor, anchor, section.Profile, 'addMemberToStore')
|
|
30
|
+
: emitRectangleProfile(editor, toNativeLength(anchor, section.Width), toNativeLength(anchor, section.Height));
|
|
37
31
|
const solidId = emitExtrudedSolid(editor, profileId, memberLen);
|
|
38
32
|
const { shapeRepId, productShapeId } = emitBodyRepresentation(editor, anchor.bodyContextId, solidId);
|
|
39
33
|
const attrs = ifcElementHeader(anchor.ownerHistoryId, placementId, productShapeId, params, 'Member', anchor.guidRandom);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"member.js","sourceRoot":"","sources":["../../src/in-store/member.ts"],"names":[],"mappings":"AAAA;;+DAE+D;
|
|
1
|
+
{"version":3,"file":"member.js","sourceRoot":"","sources":["../../src/in-store/member.ts"],"names":[],"mappings":"AAAA;;+DAE+D;AAa/D,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,cAAc,EAAsB,MAAM,aAAa,CAAC;AACjF,OAAO,EACL,sBAAsB,EACtB,iBAAiB,EACjB,kBAAkB,EAClB,oBAAoB,EACpB,kCAAkC,EAClC,gBAAgB,GACjB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAuB,MAAM,cAAc,CAAC;AAmCtF,MAAM,UAAU,gBAAgB,CAC9B,MAAmB,EACnB,MAAqB,EACrB,MAAyD;IAEzD,yEAAyE;IACzE,uEAAuE;IACvE,yEAAyE;IACzE,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EAAE,kBAAkB,CAAC;QACzE,CAAC,CAAC,oBAAoB,CAAC,MAAM,EAAE,cAAc,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,CAAC,EAAE,cAAc,CAAC,MAAM,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC;IAChH,MAAM,OAAO,GAAG,iBAAiB,CAAC,MAAM,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC;IAChE,MAAM,EAAE,UAAU,EAAE,cAAc,EAAE,GAAG,sBAAsB,CAAC,MAAM,EAAE,MAAM,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;IAErG,MAAM,KAAK,GAAG,gBAAgB,CAAC,MAAM,CAAC,cAAc,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,UAAU,CAAC,CAAC;IACxH,IAAI,CAAC,MAAM,CAAC,MAAM,IAAI,MAAM,CAAC,KAAK,QAAQ,EAAE,CAAC;QAC3C,KAAK,CAAC,IAAI,CAAC,IAAI,MAAM,CAAC,cAAc,IAAI,YAAY,GAAG,CAAC,CAAC;IAC3D,CAAC;IACD,MAAM,QAAQ,GAAG,MAAM,CAAC,SAAS,CAAC,WAAW,EAAE,KAAgD,CAAC,CAAC,SAAS,CAAC;IAC3G,MAAM,cAAc,GAAG,kCAAkC,CAAC,MAAM,EAAE,MAAM,CAAC,cAAc,EAAE,QAAQ,EAAE,MAAM,CAAC,QAAQ,EAAE,MAAM,CAAC,UAAU,CAAC,CAAC;IAEvI,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,cAAc,EAAE,CAAC;AACnG,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { StoreEditor } from '@ifc-lite/mutations';
|
|
2
|
+
import type { SpatialAnchor } from './anchor.js';
|
|
3
|
+
import { type BeamInStoreParams, type ProfiledBeamInStoreParams } from './beam.js';
|
|
4
|
+
import { type ColumnInStoreParams, type ProfiledColumnInStoreParams } from './column.js';
|
|
5
|
+
import { type MemberInStoreParams, type ProfiledMemberInStoreParams } from './member.js';
|
|
6
|
+
import { type PlateInStoreParams } from './plate.js';
|
|
7
|
+
import { type RoofInStoreParams } from './roof.js';
|
|
8
|
+
import { type SlabInStoreParams } from './slab.js';
|
|
9
|
+
import { type SpaceInStoreParams } from './space.js';
|
|
10
|
+
import { type WallInStoreParams } from './wall.js';
|
|
11
|
+
/** The eight ordinary builders shared by loaded-model gestures and SDK/MCP.
|
|
12
|
+
* Parameters retain their existing storey-local metre and profile contracts. */
|
|
13
|
+
export type OrdinaryInStoreElement = {
|
|
14
|
+
kind: 'column';
|
|
15
|
+
params: ColumnInStoreParams | ProfiledColumnInStoreParams;
|
|
16
|
+
} | {
|
|
17
|
+
kind: 'wall';
|
|
18
|
+
params: WallInStoreParams;
|
|
19
|
+
} | {
|
|
20
|
+
kind: 'slab';
|
|
21
|
+
params: SlabInStoreParams;
|
|
22
|
+
} | {
|
|
23
|
+
kind: 'beam';
|
|
24
|
+
params: BeamInStoreParams | ProfiledBeamInStoreParams;
|
|
25
|
+
} | {
|
|
26
|
+
kind: 'space';
|
|
27
|
+
params: SpaceInStoreParams;
|
|
28
|
+
} | {
|
|
29
|
+
kind: 'roof';
|
|
30
|
+
params: RoofInStoreParams;
|
|
31
|
+
} | {
|
|
32
|
+
kind: 'plate';
|
|
33
|
+
params: PlateInStoreParams;
|
|
34
|
+
} | {
|
|
35
|
+
kind: 'member';
|
|
36
|
+
params: MemberInStoreParams | ProfiledMemberInStoreParams;
|
|
37
|
+
};
|
|
38
|
+
/** Commit one existing builder atomically (#6232 D5). A late refusal leaves
|
|
39
|
+
* no placement/profile/representation helpers or journal entries behind.
|
|
40
|
+
* The caller supplies a resolved anchor or resolves it using this transaction's
|
|
41
|
+
* draft. The latter includes existing UI placement preparation in this same
|
|
42
|
+
* transaction, without changing its policy or nesting another atomic edit.
|
|
43
|
+
* Renderer, room and history effects remain with the caller after success. */
|
|
44
|
+
export declare function addOrdinaryElementInStore(editor: StoreEditor, anchor: SpatialAnchor | ((draft: StoreEditor) => SpatialAnchor), element: OrdinaryInStoreElement): number;
|
|
45
|
+
/** Package-private builder dispatch; callers own the enclosing atomic edit. */
|
|
46
|
+
export declare function emitOrdinaryElement(draft: StoreEditor, resolved: SpatialAnchor, element: OrdinaryInStoreElement): number;
|
|
47
|
+
//# sourceMappingURL=ordinary-element.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ordinary-element.d.ts","sourceRoot":"","sources":["../../src/in-store/ordinary-element.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,EAAkB,KAAK,iBAAiB,EAAE,KAAK,yBAAyB,EAAE,MAAM,WAAW,CAAC;AACnG,OAAO,EAAoB,KAAK,mBAAmB,EAAE,KAAK,2BAA2B,EAAE,MAAM,aAAa,CAAC;AAC3G,OAAO,EAAoB,KAAK,mBAAmB,EAAE,KAAK,2BAA2B,EAAE,MAAM,aAAa,CAAC;AAC3G,OAAO,EAAmB,KAAK,kBAAkB,EAAE,MAAM,YAAY,CAAC;AACtE,OAAO,EAAkB,KAAK,iBAAiB,EAAE,MAAM,WAAW,CAAC;AACnE,OAAO,EAAkB,KAAK,iBAAiB,EAAE,MAAM,WAAW,CAAC;AACnE,OAAO,EAAmB,KAAK,kBAAkB,EAAE,MAAM,YAAY,CAAC;AACtE,OAAO,EAAkB,KAAK,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAEnE;gFACgF;AAChF,MAAM,MAAM,sBAAsB,GAC9B;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,MAAM,EAAE,mBAAmB,GAAG,2BAA2B,CAAA;CAAE,GAC7E;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,iBAAiB,CAAA;CAAE,GAC3C;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,iBAAiB,CAAA;CAAE,GAC3C;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,iBAAiB,GAAG,yBAAyB,CAAA;CAAE,GACvE;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,MAAM,EAAE,kBAAkB,CAAA;CAAE,GAC7C;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,iBAAiB,CAAA;CAAE,GAC3C;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,MAAM,EAAE,kBAAkB,CAAA;CAAE,GAC7C;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,MAAM,EAAE,mBAAmB,GAAG,2BAA2B,CAAA;CAAE,CAAC;AAElF;;;;;8EAK8E;AAC9E,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,WAAW,EACnB,MAAM,EAAE,aAAa,GAAG,CAAC,CAAC,KAAK,EAAE,WAAW,KAAK,aAAa,CAAC,EAC/D,OAAO,EAAE,sBAAsB,GAC9B,MAAM,CAKR;AAED,+EAA+E;AAC/E,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,aAAa,EAAE,OAAO,EAAE,sBAAsB,GAAG,MAAM,CAYxH"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
2
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
3
|
+
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
|
4
|
+
import { addBeamToStore } from './beam.js';
|
|
5
|
+
import { addColumnToStore } from './column.js';
|
|
6
|
+
import { addMemberToStore } from './member.js';
|
|
7
|
+
import { addPlateToStore } from './plate.js';
|
|
8
|
+
import { addRoofToStore } from './roof.js';
|
|
9
|
+
import { addSlabToStore } from './slab.js';
|
|
10
|
+
import { addSpaceToStore } from './space.js';
|
|
11
|
+
import { addWallToStore } from './wall.js';
|
|
12
|
+
/** Commit one existing builder atomically (#6232 D5). A late refusal leaves
|
|
13
|
+
* no placement/profile/representation helpers or journal entries behind.
|
|
14
|
+
* The caller supplies a resolved anchor or resolves it using this transaction's
|
|
15
|
+
* draft. The latter includes existing UI placement preparation in this same
|
|
16
|
+
* transaction, without changing its policy or nesting another atomic edit.
|
|
17
|
+
* Renderer, room and history effects remain with the caller after success. */
|
|
18
|
+
export function addOrdinaryElementInStore(editor, anchor, element) {
|
|
19
|
+
return editor.runAtomic(draft => {
|
|
20
|
+
const resolved = typeof anchor === 'function' ? anchor(draft) : anchor;
|
|
21
|
+
return emitOrdinaryElement(draft, resolved, element);
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
/** Package-private builder dispatch; callers own the enclosing atomic edit. */
|
|
25
|
+
export function emitOrdinaryElement(draft, resolved, element) {
|
|
26
|
+
switch (element.kind) {
|
|
27
|
+
case 'column': return addColumnToStore(draft, resolved, element.params).columnId;
|
|
28
|
+
case 'wall': return addWallToStore(draft, resolved, element.params).wallId;
|
|
29
|
+
case 'slab': return addSlabToStore(draft, resolved, element.params).slabId;
|
|
30
|
+
case 'beam': return addBeamToStore(draft, resolved, element.params).beamId;
|
|
31
|
+
case 'space': return addSpaceToStore(draft, resolved, element.params).spaceId;
|
|
32
|
+
case 'roof': return addRoofToStore(draft, resolved, element.params).roofId;
|
|
33
|
+
case 'plate': return addPlateToStore(draft, resolved, element.params).plateId;
|
|
34
|
+
case 'member': return addMemberToStore(draft, resolved, element.params).memberId;
|
|
35
|
+
default: throw new Error('addOrdinaryElementInStore: unsupported element kind');
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=ordinary-element.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ordinary-element.js","sourceRoot":"","sources":["../../src/in-store/ordinary-element.ts"],"names":[],"mappings":"AAAA;;+DAE+D;AAI/D,OAAO,EAAE,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