@roomle/web-sdk 5.1.0-typestest.1 → 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/.releaserc.json +0 -12
- package/lib/{BufferGeometry-CxlpBjLq.mjs → BufferGeometry-BnAxBdk5.mjs} +2 -2
- package/lib/{BufferGeometry-CxlpBjLq.mjs.map → BufferGeometry-BnAxBdk5.mjs.map} +1 -1
- package/lib/ConfiguratorKernel.wasm +0 -0
- package/lib/{GLTFExporter-DeNw0qAI.mjs → GLTFExporter-nbgAo4jg.mjs} +1 -1
- package/lib/{GLTFExporter-DeNw0qAI.mjs.map → GLTFExporter-nbgAo4jg.mjs.map} +1 -1
- package/lib/{GaussianBlurNode-BR1cKBsX.mjs → GaussianBlurNode-CkEuIVaV.mjs} +3 -3
- package/lib/{GaussianBlurNode-BR1cKBsX.mjs.map → GaussianBlurNode-CkEuIVaV.mjs.map} +1 -1
- package/lib/{Object3D-CALIQdg1.mjs → Object3D-DWcwDaGD.mjs} +1 -1
- package/lib/{Object3D-CALIQdg1.mjs.map → Object3D-DWcwDaGD.mjs.map} +1 -1
- package/lib/{PointLightHelper-C_0CYp7R.mjs → PointLightHelper-B9jI7cpI.mjs} +4 -4
- package/lib/{PointLightHelper-C_0CYp7R.mjs.map → PointLightHelper-B9jI7cpI.mjs.map} +1 -1
- package/lib/RoomleCore.wasm +0 -0
- package/lib/RoomleToolsCore.wasm +0 -0
- package/lib/{SpotLightHelper-UUIHn43T.mjs → SpotLightHelper-DYKh1Ufq.mjs} +3 -3
- package/lib/{SpotLightHelper-UUIHn43T.mjs.map → SpotLightHelper-DYKh1Ufq.mjs.map} +1 -1
- package/lib/{USDZExporter-BBNw7Hey.mjs → USDZExporter-DxfFzy9g.mjs} +2 -2
- package/lib/{USDZExporter-BBNw7Hey.mjs.map → USDZExporter-DxfFzy9g.mjs.map} +1 -1
- package/lib/{Vector4-BOcWTZJI.mjs → Vector4-BaGMLJRJ.mjs} +2 -2
- package/lib/{Vector4-BOcWTZJI.mjs.map → Vector4-BaGMLJRJ.mjs.map} +1 -1
- package/lib/{api-DGnvZIcv.mjs → api-Woc5NOM1.mjs} +7 -4
- package/lib/api-Woc5NOM1.mjs.map +1 -0
- package/lib/{asset-loader.worker-CzI1oyTY.mjs → asset-loader.worker-CE4O0JU-.mjs} +1 -1
- package/lib/asset-loader.worker-CE4O0JU-.mjs.map +1 -0
- package/lib/{banana-for-scale-Cf41yXTl.mjs → banana-for-scale-DQIiLvlJ.mjs} +3 -3
- package/lib/{banana-for-scale-Cf41yXTl.mjs.map → banana-for-scale-DQIiLvlJ.mjs.map} +1 -1
- package/lib/{budgeteer.sw-D80jTmYa.mjs → budgeteer.sw-yR2xApHT.mjs} +1 -1
- package/lib/budgeteer.sw-yR2xApHT.mjs.map +1 -0
- package/lib/common-utils-CNGLvAo_.mjs +320 -0
- package/lib/common-utils-CNGLvAo_.mjs.map +1 -0
- package/lib/{component-raycast-helper-BtOEYKaR.mjs → component-raycast-helper-CaY2UMli.mjs} +4 -4
- package/lib/{component-raycast-helper-BtOEYKaR.mjs.map → component-raycast-helper-CaY2UMli.mjs.map} +1 -1
- package/lib/configurator-Bo_pnqDi.mjs +2 -0
- package/lib/configurator-i-Zl5omd.mjs +45 -0
- package/lib/{configurator-BFZrqpSE.mjs.map → configurator-i-Zl5omd.mjs.map} +1 -1
- package/lib/{continuous-drawing-helper-CTfGRTfH.mjs → continuous-drawing-helper-BPe83b9-.mjs} +2 -2
- package/lib/{continuous-drawing-helper-CTfGRTfH.mjs.map → continuous-drawing-helper-BPe83b9-.mjs.map} +1 -1
- package/lib/{dat.gui.module-CSOnFjd0.mjs → dat.gui.module-B2PXSbre.mjs} +1 -1
- package/lib/{dat.gui.module-CSOnFjd0.mjs.map → dat.gui.module-B2PXSbre.mjs.map} +1 -1
- package/lib/{decorate-Bl-JF_YY.mjs → decorate-CjaqqbUP.mjs} +1 -1
- package/lib/{decorate-Bl-JF_YY.mjs.map → decorate-CjaqqbUP.mjs.map} +1 -1
- package/lib/{dimensioning-helper-DSlkLDmx.mjs → dimensioning-helper-WQTVJpxQ.mjs} +4 -4
- package/lib/{dimensioning-helper-DSlkLDmx.mjs.map → dimensioning-helper-WQTVJpxQ.mjs.map} +1 -1
- package/lib/dimensioning-helper-v3HsrygN.mjs +2 -0
- package/lib/{dist-BZTF7IJN.mjs → dist-Blgk0vU0.mjs} +1 -1
- package/lib/{dist-BZTF7IJN.mjs.map → dist-Blgk0vU0.mjs.map} +1 -1
- package/lib/{fflate.module-Cx1QFI2-.mjs → fflate.module-DTkA0kF8.mjs} +1 -1
- package/lib/{fflate.module-Cx1QFI2-.mjs.map → fflate.module-DTkA0kF8.mjs.map} +1 -1
- package/lib/{glb-viewer-DY3xeUtU.mjs → glb-viewer-C1-vP2Vq.mjs} +24 -24
- package/lib/{glb-viewer-DY3xeUtU.mjs.map → glb-viewer-C1-vP2Vq.mjs.map} +1 -1
- package/lib/glb-viewer-CaNU0FLF.mjs +2 -0
- package/lib/{highlight-coordinator-Q8dEUY3D.mjs → highlight-coordinator-DKMaPGPo.mjs} +10 -10
- package/lib/{highlight-coordinator-Q8dEUY3D.mjs.map → highlight-coordinator-DKMaPGPo.mjs.map} +1 -1
- package/lib/{homag-intelligence-SidskTjc.mjs → homag-intelligence-Dr0m9LxO.mjs} +9 -3
- package/lib/homag-intelligence-Dr0m9LxO.mjs.map +1 -0
- package/lib/{hosek-wilkie-sky-DmTvnxMA.mjs → hosek-wilkie-sky-CZX3Q53j.mjs} +3 -3
- package/lib/{hosek-wilkie-sky-DmTvnxMA.mjs.map → hosek-wilkie-sky-CZX3Q53j.mjs.map} +1 -1
- package/lib/{imos-ix-poc-export-helper-BGN97m8W.mjs → imos-ix-poc-export-helper-DLaYjLvF.mjs} +3 -3
- package/lib/{imos-ix-poc-export-helper-BGN97m8W.mjs.map → imos-ix-poc-export-helper-DLaYjLvF.mjs.map} +1 -1
- package/lib/{kernel-utils-BYKmP0mf.mjs → kernel-utils-BwJOfYWh.mjs} +1 -1
- package/lib/{kernel-utils-BYKmP0mf.mjs.map → kernel-utils-BwJOfYWh.mjs.map} +1 -1
- package/lib/{layer-DRMDGxT7.mjs → layer-PJGxbJOI.mjs} +1 -1
- package/lib/{layer-DRMDGxT7.mjs.map → layer-PJGxbJOI.mjs.map} +1 -1
- package/lib/{material-viewer-CzzbbiY3.mjs → material-viewer-CHzje_V0.mjs} +31 -31
- package/lib/{material-viewer-CzzbbiY3.mjs.map → material-viewer-CHzje_V0.mjs.map} +1 -1
- package/lib/{packages-Cduqgaaj.mjs → packages-DbOsSpKq.mjs} +6 -5
- package/lib/{packages-Cduqgaaj.mjs.map → packages-DbOsSpKq.mjs.map} +1 -1
- package/lib/{planner-ClhRT5pF.mjs → planner-BOrph7M7.mjs} +14 -14
- package/lib/{planner-ClhRT5pF.mjs.map → planner-BOrph7M7.mjs.map} +1 -1
- package/lib/planner-DXeyIHUx.mjs +2 -0
- package/lib/{plugin-system-CPf99Zkf.mjs → plugin-system-BSLY3o0a.mjs} +3 -3
- package/lib/{plugin-system-CPf99Zkf.mjs.map → plugin-system-BSLY3o0a.mjs.map} +1 -1
- package/lib/{roomle-headless-setup-ps3I0vOP.mjs → roomle-headless-setup-DbO_rLjK.mjs} +1 -1
- package/lib/{roomle-headless-setup-ps3I0vOP.mjs.map → roomle-headless-setup-DbO_rLjK.mjs.map} +1 -1
- package/lib/roomle-headless.d.ts +321 -17
- package/lib/roomle-headless.js +68 -68
- package/lib/roomle-headless.js.map +1 -1
- package/lib/{roomle-renderer-UJINLYxS.mjs → roomle-renderer-nCUrLU_S.mjs} +1 -1
- package/lib/roomle-renderer-nCUrLU_S.mjs.map +1 -0
- package/lib/{roomle-sdk-VJa0TBo9.mjs → roomle-sdk-CN9TqA78.mjs} +4236 -3463
- package/lib/roomle-sdk-CN9TqA78.mjs.map +1 -0
- package/lib/roomle-sdk.d.ts +321 -17
- package/lib/roomle-sdk.js +9 -8
- package/lib/{roomle-webgpu-renderer-BSvxbopA.mjs → roomle-webgpu-renderer-C26OAfkn.mjs} +299 -299
- package/lib/{roomle-webgpu-renderer-BSvxbopA.mjs.map → roomle-webgpu-renderer-C26OAfkn.mjs.map} +1 -1
- package/lib/{scene-renderer-C3ubDmx0.mjs → scene-renderer-DGSgD6mp.mjs} +359 -342
- package/lib/scene-renderer-DGSgD6mp.mjs.map +1 -0
- package/lib/{script-loader-DIm0FRqb.mjs → script-loader-CL3F8sIY.mjs} +3 -3
- package/lib/{script-loader-DIm0FRqb.mjs.map → script-loader-CL3F8sIY.mjs.map} +1 -1
- package/lib/{shading-settings-6v-7O_Sz.mjs → shading-settings-DJ4kY2Cn.mjs} +2 -2
- package/lib/{shading-settings-6v-7O_Sz.mjs.map → shading-settings-DJ4kY2Cn.mjs.map} +1 -1
- package/lib/src-D2lqGogG.mjs +2 -0
- package/lib/{src-Dg0wYIom.mjs → src-DRuHdK6i.mjs} +1 -1
- package/lib/{src-Dg0wYIom.mjs.map → src-DRuHdK6i.mjs.map} +1 -1
- package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/package.json +1 -1
- package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/ConfiguratorKernel.wasm +0 -0
- package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/RoomleCore.wasm +0 -0
- package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/RoomleToolsCore.wasm +0 -0
- package/lib/{stats-helper-BQ4iIDmH.mjs → stats-helper-C74q5Bje.mjs} +3 -3
- package/lib/{stats-helper-BQ4iIDmH.mjs.map → stats-helper-C74q5Bje.mjs.map} +1 -1
- package/lib/{svgo.browser-xZ3L7awG.mjs → svgo.browser-EB1zkPfG.mjs} +1 -1
- package/lib/{svgo.browser-xZ3L7awG.mjs.map → svgo.browser-EB1zkPfG.mjs.map} +1 -1
- package/lib/{three.tsl-DtfvggFX.mjs → three.tsl-CuZzrviK.mjs} +1 -1
- package/lib/{three.tsl-De6A-G56.mjs → three.tsl-kYk-mr3-.mjs} +2 -2
- package/lib/{three.tsl-De6A-G56.mjs.map → three.tsl-kYk-mr3-.mjs.map} +1 -1
- package/lib/{three.webgpu-B1OhMci_.mjs → three.webgpu-D11YJG2U.mjs} +1 -1
- package/lib/{three.webgpu-wPiwbpFM.mjs → three.webgpu-DTO8skiU.mjs} +1 -1
- package/lib/{three.webgpu-wPiwbpFM.mjs.map → three.webgpu-DTO8skiU.mjs.map} +1 -1
- package/lib/{threejs-utils-CMmJiCGK.mjs → threejs-utils-DHTRY4yW.mjs} +288 -152
- package/lib/threejs-utils-DHTRY4yW.mjs.map +1 -0
- package/lib/{tools-core-SxI9qPW4.mjs → tools-core-D3kc3jRW.mjs} +6 -6
- package/lib/{tools-core-SxI9qPW4.mjs.map → tools-core-D3kc3jRW.mjs.map} +1 -1
- package/lib/{webgpu-BxYJfBjz.mjs → webgpu-zcxAHKs3.mjs} +4 -4
- package/lib/{webgpu-BxYJfBjz.mjs.map → webgpu-zcxAHKs3.mjs.map} +1 -1
- package/lib/workers-B-AqdQMe.mjs +6 -0
- package/lib/{workers-B_wmKVL0.mjs.map → workers-B-AqdQMe.mjs.map} +1 -1
- package/package.json +3 -3
- package/lib/api-DGnvZIcv.mjs.map +0 -1
- package/lib/asset-loader.worker-CzI1oyTY.mjs.map +0 -1
- package/lib/budgeteer.sw-D80jTmYa.mjs.map +0 -1
- package/lib/common-utils-OTJQGohe.mjs +0 -206
- package/lib/common-utils-OTJQGohe.mjs.map +0 -1
- package/lib/component-dimensioning-BvF9Vdm0.mjs +0 -169
- package/lib/component-dimensioning-BvF9Vdm0.mjs.map +0 -1
- package/lib/configurator-BFZrqpSE.mjs +0 -45
- package/lib/configurator-DUKXHWSS.mjs +0 -2
- package/lib/dimensioning-helper-CQlesi-m.mjs +0 -2
- package/lib/glb-viewer-GQsVJ2fM.mjs +0 -2
- package/lib/homag-intelligence-SidskTjc.mjs.map +0 -1
- package/lib/planner-BX25vBoU.mjs +0 -2
- package/lib/render-cache-CPppt7Rd.mjs +0 -150
- package/lib/render-cache-CPppt7Rd.mjs.map +0 -1
- package/lib/render-order-a0QAbB7Q.mjs +0 -26
- package/lib/render-order-a0QAbB7Q.mjs.map +0 -1
- package/lib/roomle-renderer-UJINLYxS.mjs.map +0 -1
- package/lib/roomle-sdk-VJa0TBo9.mjs.map +0 -1
- package/lib/scene-renderer-C3ubDmx0.mjs.map +0 -1
- package/lib/src-6KtBPZXp.mjs +0 -2
- package/lib/threejs-utils-CMmJiCGK.mjs.map +0 -1
- package/lib/workers-B_wmKVL0.mjs +0 -6
package/lib/roomle-headless.d.ts
CHANGED
|
@@ -1712,7 +1712,6 @@ export declare class ConfiguratorSceneManager extends SceneManager implements Co
|
|
|
1712
1712
|
private _uiIntersectionHelper;
|
|
1713
1713
|
private _sceneEventHandler;
|
|
1714
1714
|
private _isComponentDimensionsVisible;
|
|
1715
|
-
private _dimensionUpdateDebounced;
|
|
1716
1715
|
private _sceneSetupReady;
|
|
1717
1716
|
constructor(creator: string, offset: CanvasOffset, mode: Enumify<typeof CAMERA_TYPE>);
|
|
1718
1717
|
/**
|
|
@@ -1751,6 +1750,7 @@ export declare class ConfiguratorSceneManager extends SceneManager implements Co
|
|
|
1751
1750
|
private _printObjectGraph;
|
|
1752
1751
|
clearScene(): void;
|
|
1753
1752
|
planObjectConstructionDone(_planObject: PlanObjectKernel): void;
|
|
1753
|
+
private _rebuildOrDropComponentDimensionings;
|
|
1754
1754
|
private _internalClearScene;
|
|
1755
1755
|
protected _waitForAssets(): Promise<void>;
|
|
1756
1756
|
preparePerspectiveImage(options?: PrepareImageOptions, _isolationMode?: boolean): Promise<Base64Image>;
|
|
@@ -1793,6 +1793,8 @@ export declare class ConfiguratorSceneManager extends SceneManager implements Co
|
|
|
1793
1793
|
zoomIn(value?: number): void;
|
|
1794
1794
|
zoomOut(value?: number): void;
|
|
1795
1795
|
showDimensions(): Promise<void>;
|
|
1796
|
+
private _showComponentDimensionings;
|
|
1797
|
+
private _areMeasurementsShown;
|
|
1796
1798
|
private _initDimensions;
|
|
1797
1799
|
hideDimensions(): void;
|
|
1798
1800
|
private _updateDimensionLabels;
|
|
@@ -1813,6 +1815,9 @@ export declare class ConfiguratorSceneManager extends SceneManager implements Co
|
|
|
1813
1815
|
};
|
|
1814
1816
|
private _permissionToDeleteComponent;
|
|
1815
1817
|
componentUpdated(component: RoomleComponent, kernelComponent: KernelComponent): void;
|
|
1818
|
+
planObjectConfigurationUpdated(_planObject: PlanObjectKernel, _pendingDocking: boolean): Promise<void>;
|
|
1819
|
+
private _refreshComponentDimensionings;
|
|
1820
|
+
private _showBoundingBoxDimensions;
|
|
1816
1821
|
planObjectUpdated(planObject: PlanObjectKernel, geometryChanged: boolean, pendingDocking: boolean, automaticCalculationUpdate: boolean): void;
|
|
1817
1822
|
componentDeleted(component: RoomleComponent): void;
|
|
1818
1823
|
previewConstructionDone(component: RoomleComponent, hasPreviews: boolean): void;
|
|
@@ -2257,6 +2262,7 @@ export declare interface ConfiguratorViewModelCallbackI {
|
|
|
2257
2262
|
componentUpdated(component: RoomleComponent, kernelComponent: KernelComponent): void;
|
|
2258
2263
|
componentDeleted(component: RoomleComponent): void;
|
|
2259
2264
|
planObjectUpdated(planObject: PlanObjectKernel, geometryChanged: boolean, pendingDocking: boolean, automaticCalculationUpdate: boolean): void;
|
|
2265
|
+
planObjectConfigurationUpdated(planObject: PlanObjectKernel, pendingDocking: boolean): Promise<void>;
|
|
2260
2266
|
planObjectConstructionDone(planObject: PlanObjectKernel): void;
|
|
2261
2267
|
previewConstructionDone(component: RoomleComponent, hasPreviews: boolean): void;
|
|
2262
2268
|
planObjectDependencyUpdated(planObjectId: number): void;
|
|
@@ -2967,6 +2973,8 @@ export declare class DomHelper implements LifeCycleCallbacks, Context {
|
|
|
2967
2973
|
destroy(): void;
|
|
2968
2974
|
}
|
|
2969
2975
|
|
|
2976
|
+
export declare const download: (filename: string, content: string) => void;
|
|
2977
|
+
|
|
2970
2978
|
export declare class DraggableNode extends Object3D {
|
|
2971
2979
|
private _sphere;
|
|
2972
2980
|
private _innerRingMesh;
|
|
@@ -3513,9 +3521,10 @@ export declare interface ExternalObjectAPI {
|
|
|
3513
3521
|
/**
|
|
3514
3522
|
* "removeExternalObject" removes a group or root module from the plan.
|
|
3515
3523
|
* If the removed root module is located between other root modules the remaining group is split up in multiple groups.
|
|
3524
|
+
* The returned promise resolves once the plan object is removed.
|
|
3516
3525
|
* @param groupOrRootModuleId The ID of the group or root module to be removed.
|
|
3517
3526
|
*/
|
|
3518
|
-
removeExternalObject(groupOrRootModuleId: string): void
|
|
3527
|
+
removeExternalObject(groupOrRootModuleId: string): Promise<void>;
|
|
3519
3528
|
/**
|
|
3520
3529
|
* "selectExternalObject" changes the selected object in the scene.
|
|
3521
3530
|
* The function selects either a complete group of root modules or a single root module or a single sub module.
|
|
@@ -3548,12 +3557,33 @@ export declare interface ExternalObjectAPI {
|
|
|
3548
3557
|
*/
|
|
3549
3558
|
getExternalRoomInformation(mode?: PlanRoomGeometryMode): Promise<ExternalRoomInformation>;
|
|
3550
3559
|
/**
|
|
3551
|
-
* "getExternalObjectPlanContext" returns
|
|
3552
|
-
* the master data per library
|
|
3553
|
-
*
|
|
3560
|
+
* "getExternalObjectPlanContext" returns an agent-ready snapshot of the external object state:
|
|
3561
|
+
* the compacted master data per library (root modules and the customer-facing attributes),
|
|
3562
|
+
* the room information of all rooms (contours in 3D, pos: [x, level, -y], with a derived
|
|
3563
|
+
* walls array per room), the articles that can be used (compact catalog with dimensions,
|
|
3564
|
+
* docking vectors and sub-modules), and all groups currently loaded in the plan (as
|
|
3565
|
+
* resubmittable article picks with footprints and free docking vectors).
|
|
3566
|
+
* The result is designed to be passed to an AI agent as it is, without further preparation,
|
|
3567
|
+
* with all geometry in one coordinate system: 3D, right-handed, Y up.
|
|
3554
3568
|
* @param include The sections to include. All sections are returned when omitted or empty.
|
|
3555
3569
|
*/
|
|
3556
3570
|
getExternalObjectPlanContext(include?: HiPlanContextSection[]): Promise<HiPlanContext>;
|
|
3571
|
+
/**
|
|
3572
|
+
* "externalObjectGroupOperation" changes the groups in the plan by command. The payload refers to
|
|
3573
|
+
* groups, root modules and articles by the ids of "getExternalObjectPlanContext":
|
|
3574
|
+
* - "change-module-attribute" { rootModuleId, moduleId?, attributeId, value } sets an attribute of a root module or of one of its sub modules
|
|
3575
|
+
* - "change-group-attribute" { groupId, attributeId, value } sets an attribute on every module of the group that has it
|
|
3576
|
+
* - "delete-group" { groupId } removes the group from the plan
|
|
3577
|
+
* - "delete-root-module" { rootModuleId } removes a root module; the rest of the group splits where it is no longer docked together
|
|
3578
|
+
* - "merge-article-into-group" { groupId, articleId, attributes?, dockTo: { rootId, ownDockingVector, dockingVector, mode?, offset? } } docks a new root module of the article to a free docking vector of a root module of the group
|
|
3579
|
+
* - "exchange-root-module" { groupId, rootModuleId, articleId } replaces a root module with an article of one root module, keeping its docking
|
|
3580
|
+
* - "merge-groups" { targetGroupId, groupIds } merges the groups into the target group where they stand, like the merge action of the planner; no docking is added
|
|
3581
|
+
* The promise resolves once the planner has loaded the result, with the affected groups in the shape of the plan context,
|
|
3582
|
+
* and rejects with the reason when the payload is invalid or the operation cannot be performed.
|
|
3583
|
+
* @param command The operation.
|
|
3584
|
+
* @param payload The payload of the operation.
|
|
3585
|
+
*/
|
|
3586
|
+
externalObjectGroupOperation<C extends HiGroupOperation>(command: C, payload: HiGroupOperationPayloads[C]): Promise<HiGroupOperationResult>;
|
|
3557
3587
|
/**
|
|
3558
3588
|
* It generates a snapshot of the external object in the plan without saving any data.
|
|
3559
3589
|
* By default, the snapshot includes order data, room information, the plan XML, GLBs of the complete scene,
|
|
@@ -3845,7 +3875,6 @@ export declare interface FeatureFlags {
|
|
|
3845
3875
|
/* Excluded from this release type: drawPreviewMode */
|
|
3846
3876
|
/* Excluded from this release type: forceSaveThumbnails */
|
|
3847
3877
|
/* Excluded from this release type: interiorLights */
|
|
3848
|
-
/* Excluded from this release type: advancedDimensioning */
|
|
3849
3878
|
/* Excluded from this release type: webGpu */
|
|
3850
3879
|
/* Excluded from this release type: advancedHighlighting */
|
|
3851
3880
|
/* Excluded from this release type: fence */
|
|
@@ -3859,7 +3888,6 @@ export declare class FeatureFlagsImplementation implements FeatureFlags {
|
|
|
3859
3888
|
mergeOnInsert: boolean;
|
|
3860
3889
|
drawPreviewMode: Enumify<typeof DRAW_PREVIEW_MODES>;
|
|
3861
3890
|
interiorLights: boolean;
|
|
3862
|
-
advancedDimensioning: boolean;
|
|
3863
3891
|
enableSnapping: boolean;
|
|
3864
3892
|
webGpu: boolean;
|
|
3865
3893
|
forceSaveThumbnails: boolean;
|
|
@@ -4213,6 +4241,7 @@ export declare interface GlueLogic {
|
|
|
4213
4241
|
createOrReplacePosDataFromArticleLayout(articleLayoutJson: ExternalObjectGroupLayout, layoutType: string, posArticles?: PosArticle[]): Promise<PosGroup | PosGroup[] | undefined>;
|
|
4214
4242
|
newPosDataFromGroup(posDataJson: PosGroup): Promise<PosGroup>;
|
|
4215
4243
|
getPlanContext(include?: HiPlanContextSection[]): Promise<HiPlanContext>;
|
|
4244
|
+
executeGroupOperation(command: string, payload: unknown): Promise<HiGroupOperationResult>;
|
|
4216
4245
|
getGroupDataForOrder(options: GetGroupDataForOrderOptions): Promise<HiOrderData | null>;
|
|
4217
4246
|
getMaterialUrl(materialId: string, groupOrModuleId?: string): string | null;
|
|
4218
4247
|
}
|
|
@@ -4530,6 +4559,25 @@ export declare const HI_CONTEXT_ACTION: {
|
|
|
4530
4559
|
readonly ISOLATION: "isolation";
|
|
4531
4560
|
};
|
|
4532
4561
|
|
|
4562
|
+
/**
|
|
4563
|
+
* Group operations change the groups of the plan context by command: a
|
|
4564
|
+
* command names the operation, its payload refers to the groups, root modules
|
|
4565
|
+
* and articles by the ids the plan context shows. `runGroupOperation`
|
|
4566
|
+
* validates the payload, performs the operation with the glue-logic features
|
|
4567
|
+
* behind `HiGroupOperations` and returns the affected groups in the
|
|
4568
|
+
* plan-context shape. A new command is one entry in `HI_GROUP_OPERATION`, one
|
|
4569
|
+
* payload type and one handler.
|
|
4570
|
+
*/
|
|
4571
|
+
export declare const HI_GROUP_OPERATION: {
|
|
4572
|
+
readonly CHANGE_MODULE_ATTRIBUTE: "change-module-attribute";
|
|
4573
|
+
readonly CHANGE_GROUP_ATTRIBUTE: "change-group-attribute";
|
|
4574
|
+
readonly DELETE_GROUP: "delete-group";
|
|
4575
|
+
readonly DELETE_ROOT_MODULE: "delete-root-module";
|
|
4576
|
+
readonly MERGE_ARTICLE_INTO_GROUP: "merge-article-into-group";
|
|
4577
|
+
readonly EXCHANGE_ROOT_MODULE: "exchange-root-module";
|
|
4578
|
+
readonly MERGE_GROUPS: "merge-groups";
|
|
4579
|
+
};
|
|
4580
|
+
|
|
4533
4581
|
export declare const HI_LOAD_OBJECT_REASON: {
|
|
4534
4582
|
readonly ADD_SUBARTICLE: "add_subarticle";
|
|
4535
4583
|
readonly MOVE_SUBARTICLE: "move_subarticle";
|
|
@@ -4566,8 +4614,15 @@ export declare interface HiApiOptions extends HomagIntelligenceSubscription {
|
|
|
4566
4614
|
language?: string;
|
|
4567
4615
|
}
|
|
4568
4616
|
|
|
4617
|
+
export declare interface HiArticlePick {
|
|
4618
|
+
articleId: string;
|
|
4619
|
+
attributes?: HiPlanRootAttribute[];
|
|
4620
|
+
}
|
|
4621
|
+
|
|
4569
4622
|
export declare type HiAttributeOptionsResult = CheckDropDownResult | CheckDropDownEntry[] | undefined;
|
|
4570
4623
|
|
|
4624
|
+
export declare type HiAttributeValue = string | boolean;
|
|
4625
|
+
|
|
4571
4626
|
export declare interface HiCallbacks {
|
|
4572
4627
|
/**
|
|
4573
4628
|
* Requests the calculation script for the given library ID.
|
|
@@ -4663,6 +4718,15 @@ export declare type HiContextAction = (typeof HI_CONTEXT_ACTION)[keyof typeof HI
|
|
|
4663
4718
|
*/
|
|
4664
4719
|
export declare const HIDDEN_INTERACTION_LIFECYCLE_METHODS: readonly ["startInteraction", "resumeInteraction", "endInteraction"];
|
|
4665
4720
|
|
|
4721
|
+
/** A free docking vector of a root of the group, and how the article docks to it. */
|
|
4722
|
+
export declare interface HiDockTarget {
|
|
4723
|
+
rootId: string;
|
|
4724
|
+
ownDockingVector: PosDock | string;
|
|
4725
|
+
dockingVector: PosDock | string;
|
|
4726
|
+
mode?: PosDockMode;
|
|
4727
|
+
offset?: HiPlanPosition3;
|
|
4728
|
+
}
|
|
4729
|
+
|
|
4666
4730
|
export declare interface HighlightHelper {
|
|
4667
4731
|
init(object: Object3D, camera: PerspectiveCamera): void;
|
|
4668
4732
|
setCamera(camera: PerspectiveCamera): void;
|
|
@@ -4676,6 +4740,48 @@ export declare interface HighlightHelper {
|
|
|
4676
4740
|
invalidate?(): void;
|
|
4677
4741
|
}
|
|
4678
4742
|
|
|
4743
|
+
export declare type HiGroupOperation = (typeof HI_GROUP_OPERATION)[keyof typeof HI_GROUP_OPERATION];
|
|
4744
|
+
|
|
4745
|
+
export declare interface HiGroupOperationPayloads {
|
|
4746
|
+
'change-module-attribute': {
|
|
4747
|
+
rootModuleId: string;
|
|
4748
|
+
moduleId?: string | null;
|
|
4749
|
+
attributeId: string;
|
|
4750
|
+
value: HiAttributeValue;
|
|
4751
|
+
};
|
|
4752
|
+
'change-group-attribute': {
|
|
4753
|
+
groupId: string;
|
|
4754
|
+
attributeId: string;
|
|
4755
|
+
value: HiAttributeValue;
|
|
4756
|
+
};
|
|
4757
|
+
'delete-group': {
|
|
4758
|
+
groupId: string;
|
|
4759
|
+
};
|
|
4760
|
+
'delete-root-module': {
|
|
4761
|
+
rootModuleId: string;
|
|
4762
|
+
};
|
|
4763
|
+
'merge-article-into-group': HiArticlePick & {
|
|
4764
|
+
groupId: string;
|
|
4765
|
+
dockTo: HiDockTarget;
|
|
4766
|
+
};
|
|
4767
|
+
'exchange-root-module': {
|
|
4768
|
+
groupId: string;
|
|
4769
|
+
rootModuleId: string;
|
|
4770
|
+
articleId: string;
|
|
4771
|
+
};
|
|
4772
|
+
'merge-groups': {
|
|
4773
|
+
targetGroupId: string;
|
|
4774
|
+
groupIds: string[];
|
|
4775
|
+
};
|
|
4776
|
+
}
|
|
4777
|
+
|
|
4778
|
+
export declare interface HiGroupOperationResult {
|
|
4779
|
+
command: HiGroupOperation;
|
|
4780
|
+
groups: HiPlanGroup[];
|
|
4781
|
+
removedGroupIds: string[];
|
|
4782
|
+
changedModuleIds?: string[];
|
|
4783
|
+
}
|
|
4784
|
+
|
|
4679
4785
|
export declare type HiLoadObjectReason = (typeof HI_LOAD_OBJECT_REASON)[keyof typeof HI_LOAD_OBJECT_REASON];
|
|
4680
4786
|
|
|
4681
4787
|
export declare interface HiObjectSelectionApi {
|
|
@@ -4723,15 +4829,181 @@ export declare interface HiOrderHeader {
|
|
|
4723
4829
|
|
|
4724
4830
|
export declare type HiPanelActionType = (typeof HI_PANEL_ACTION)[keyof typeof HI_PANEL_ACTION];
|
|
4725
4831
|
|
|
4832
|
+
export declare interface HiPlanArticle {
|
|
4833
|
+
articleId: string;
|
|
4834
|
+
articleName?: string;
|
|
4835
|
+
desc?: string;
|
|
4836
|
+
imageUrl?: string;
|
|
4837
|
+
category?: string;
|
|
4838
|
+
libraryId: string;
|
|
4839
|
+
catalog: string;
|
|
4840
|
+
cornerArticle: boolean;
|
|
4841
|
+
cornerPoint?: HiPlanPosition3;
|
|
4842
|
+
rootModules: HiPlanArticleRootModule[];
|
|
4843
|
+
}
|
|
4844
|
+
|
|
4845
|
+
export declare interface HiPlanArticleAttributeValue {
|
|
4846
|
+
id: string;
|
|
4847
|
+
name?: string;
|
|
4848
|
+
value?: number | string | boolean;
|
|
4849
|
+
}
|
|
4850
|
+
|
|
4851
|
+
export declare interface HiPlanArticleRootModule {
|
|
4852
|
+
module: {
|
|
4853
|
+
id: string;
|
|
4854
|
+
name?: string;
|
|
4855
|
+
desc?: string;
|
|
4856
|
+
imageUrl?: string;
|
|
4857
|
+
};
|
|
4858
|
+
dimensions: HiPlanArticleAttributeValue[];
|
|
4859
|
+
mainAttributes: HiPlanArticleAttributeValue[];
|
|
4860
|
+
dockingVectors: string[];
|
|
4861
|
+
insertLevels?: PosInsertLevelInfo[];
|
|
4862
|
+
subModules: Array<{
|
|
4863
|
+
id: string;
|
|
4864
|
+
name?: string;
|
|
4865
|
+
desc?: string;
|
|
4866
|
+
imageUrl?: string;
|
|
4867
|
+
}>;
|
|
4868
|
+
}
|
|
4869
|
+
|
|
4870
|
+
export declare interface HiPlanAttribute {
|
|
4871
|
+
id: string;
|
|
4872
|
+
name: string;
|
|
4873
|
+
desc?: string;
|
|
4874
|
+
imageUrl?: string;
|
|
4875
|
+
type: MDType;
|
|
4876
|
+
group?: string;
|
|
4877
|
+
selections?: MDAttributeSelection[];
|
|
4878
|
+
}
|
|
4879
|
+
|
|
4726
4880
|
export declare interface HiPlanContext {
|
|
4727
|
-
masterData?: Record<string,
|
|
4728
|
-
rooms?:
|
|
4729
|
-
articles?:
|
|
4730
|
-
groups?:
|
|
4881
|
+
masterData?: Record<string, HiPlanMasterData>;
|
|
4882
|
+
rooms?: HiPlanRoomInformation;
|
|
4883
|
+
articles?: HiPlanArticle[];
|
|
4884
|
+
groups?: HiPlanGroup[];
|
|
4885
|
+
}
|
|
4886
|
+
|
|
4887
|
+
export declare interface HiPlanContextData {
|
|
4888
|
+
dockedRoots: Array<{
|
|
4889
|
+
ownDockingVector: PosDock | string;
|
|
4890
|
+
dockedRoots: HiPlanDockedRoot[];
|
|
4891
|
+
}>;
|
|
4731
4892
|
}
|
|
4732
4893
|
|
|
4733
4894
|
export declare type HiPlanContextSection = 'masterData' | 'rooms' | 'articles' | 'groups';
|
|
4734
4895
|
|
|
4896
|
+
export declare interface HiPlanContour {
|
|
4897
|
+
level: number;
|
|
4898
|
+
segments: HiPlanContourSegment[];
|
|
4899
|
+
}
|
|
4900
|
+
|
|
4901
|
+
export declare interface HiPlanContourSegment {
|
|
4902
|
+
cmd: string;
|
|
4903
|
+
pos: HiPlanPosition3;
|
|
4904
|
+
angle?: number;
|
|
4905
|
+
type?: string;
|
|
4906
|
+
height?: number;
|
|
4907
|
+
thickness?: number;
|
|
4908
|
+
}
|
|
4909
|
+
|
|
4910
|
+
export declare interface HiPlanDockedRoot {
|
|
4911
|
+
id: string;
|
|
4912
|
+
dockingVector: PosDock | string;
|
|
4913
|
+
mode?: PosDockMode | string;
|
|
4914
|
+
offset?: number[];
|
|
4915
|
+
}
|
|
4916
|
+
|
|
4917
|
+
export declare interface HiPlanFootprint {
|
|
4918
|
+
x: [number, number];
|
|
4919
|
+
z: [number, number];
|
|
4920
|
+
widthMm: number;
|
|
4921
|
+
depthMm: number;
|
|
4922
|
+
}
|
|
4923
|
+
|
|
4924
|
+
export declare interface HiPlanGroup {
|
|
4925
|
+
id: string;
|
|
4926
|
+
libraryId?: string;
|
|
4927
|
+
position: HiPlanGroupPosition;
|
|
4928
|
+
attributes?: PosModuleAttribute[];
|
|
4929
|
+
roots: HiPlanRoot[];
|
|
4930
|
+
}
|
|
4931
|
+
|
|
4932
|
+
export declare interface HiPlanGroupPosition {
|
|
4933
|
+
pos?: number[];
|
|
4934
|
+
rotationY?: number;
|
|
4935
|
+
footprint?: HiPlanFootprint;
|
|
4936
|
+
}
|
|
4937
|
+
|
|
4938
|
+
export declare interface HiPlanMasterData {
|
|
4939
|
+
libraryId: string;
|
|
4940
|
+
modules: HiPlanMasterDataModule[];
|
|
4941
|
+
attributes: HiPlanAttribute[];
|
|
4942
|
+
}
|
|
4943
|
+
|
|
4944
|
+
export declare interface HiPlanMasterDataModule {
|
|
4945
|
+
id: string;
|
|
4946
|
+
name: string;
|
|
4947
|
+
desc?: string;
|
|
4948
|
+
imageUrl?: string;
|
|
4949
|
+
attributes: string[];
|
|
4950
|
+
}
|
|
4951
|
+
|
|
4952
|
+
/**
|
|
4953
|
+
* The plan context is the data an AI agent needs to understand and author a
|
|
4954
|
+
* planning session. `getPlanContext` (glue logic) assembles it and every
|
|
4955
|
+
* section leaves this file in the agent-ready shape: compacted, and in one
|
|
4956
|
+
* coordinate system - 3D, right-handed, Y up, the coordinate system of
|
|
4957
|
+
* `PosGroup`.
|
|
4958
|
+
*/
|
|
4959
|
+
export declare type HiPlanPosition3 = [number, number, number];
|
|
4960
|
+
|
|
4961
|
+
export declare interface HiPlanRoom {
|
|
4962
|
+
levels: HiPlanContour[];
|
|
4963
|
+
walls: HiPlanWall[];
|
|
4964
|
+
}
|
|
4965
|
+
|
|
4966
|
+
export declare interface HiPlanRoomInformation {
|
|
4967
|
+
rooms: HiPlanRoom[];
|
|
4968
|
+
}
|
|
4969
|
+
|
|
4970
|
+
export declare interface HiPlanRoot {
|
|
4971
|
+
id: string;
|
|
4972
|
+
articleId: string;
|
|
4973
|
+
articleName?: string;
|
|
4974
|
+
desc?: string;
|
|
4975
|
+
imageUrl?: string;
|
|
4976
|
+
category?: string;
|
|
4977
|
+
isGenerated?: boolean;
|
|
4978
|
+
attributes: HiPlanRootAttribute[];
|
|
4979
|
+
contextData?: HiPlanContextData;
|
|
4980
|
+
dockingVectors: string[];
|
|
4981
|
+
freeDockingVectors: string[];
|
|
4982
|
+
subModules: Array<{
|
|
4983
|
+
id: string;
|
|
4984
|
+
imageUrl?: string;
|
|
4985
|
+
}>;
|
|
4986
|
+
}
|
|
4987
|
+
|
|
4988
|
+
export declare interface HiPlanRootAttribute {
|
|
4989
|
+
id: string;
|
|
4990
|
+
value?: number | string | boolean;
|
|
4991
|
+
}
|
|
4992
|
+
|
|
4993
|
+
export declare interface HiPlanWall {
|
|
4994
|
+
index: number;
|
|
4995
|
+
side: HiPlanWallSide;
|
|
4996
|
+
start: HiPlanPosition3;
|
|
4997
|
+
end: HiPlanPosition3;
|
|
4998
|
+
lengthMm: number;
|
|
4999
|
+
type?: string;
|
|
5000
|
+
heightMm?: number;
|
|
5001
|
+
thicknessMm?: number;
|
|
5002
|
+
facingRotationY: number;
|
|
5003
|
+
}
|
|
5004
|
+
|
|
5005
|
+
export declare type HiPlanWallSide = 'left' | 'right' | 'top' | 'bottom';
|
|
5006
|
+
|
|
4735
5007
|
export declare interface HiPriceData {
|
|
4736
5008
|
[key: string]: any;
|
|
4737
5009
|
orderData: HiOrder;
|
|
@@ -4887,7 +5159,7 @@ export declare class ImageRenderer implements Context {
|
|
|
4887
5159
|
private _getRenderer;
|
|
4888
5160
|
protected _createThreejsImageRenderer(): Promise<WebGLRenderer | WebGPURenderer>;
|
|
4889
5161
|
protected _createRoomleRenderer(imageRenderer: WebGLRenderer | WebGPURenderer): Promise<GenericRoomleRenderer>;
|
|
4890
|
-
switchToPlannerSettings(): Promise<void>;
|
|
5162
|
+
switchToPlannerSettings(renderMode: PlannerRenderMode): Promise<void>;
|
|
4891
5163
|
switchToConfiguratorSettings(): Promise<void>;
|
|
4892
5164
|
updateBounds(bounds: Box3): Promise<void>;
|
|
4893
5165
|
static getCameraTargetForBBox(bbox: Box3, spacing?: number): CameraTarget;
|
|
@@ -4941,6 +5213,9 @@ export declare class InitData implements Context, Omit<InitDataDefinition, 'colo
|
|
|
4941
5213
|
restrictionLevel: number;
|
|
4942
5214
|
hi?: HomagIntelligenceInitData;
|
|
4943
5215
|
disableDefaultLabelStyles: boolean;
|
|
5216
|
+
translations?: Record<string, {
|
|
5217
|
+
'room-types'?: Record<string, string>;
|
|
5218
|
+
}>;
|
|
4944
5219
|
highlighting: Enumify<typeof ROOMLE_HIGHLIGHTNG>;
|
|
4945
5220
|
initialFloorMaterial?: string;
|
|
4946
5221
|
dls?: string;
|
|
@@ -6009,8 +6284,15 @@ export declare interface Matrix4 {
|
|
|
6009
6284
|
|
|
6010
6285
|
export declare type MaybePromise<T> = (() => T) | (() => Promise<T>);
|
|
6011
6286
|
|
|
6287
|
+
/**
|
|
6288
|
+
* MD5 hex digest of a string, e.g. the hashed password RapiAccess.signinUser expects
|
|
6289
|
+
*/
|
|
6290
|
+
export declare const md5Hash: (value: string) => string;
|
|
6291
|
+
|
|
6012
6292
|
export declare type MDAttributeInfo = MDBoolAttributeInfo | MDTextAttributeInfo | MDIntegerAttributeInfo | MDRealAttributeInfo | MDDimAttributeInfo;
|
|
6013
6293
|
|
|
6294
|
+
export declare type MDAttributeSelection = MDBoolAttributeSelection | MDTextAttributeSelection | MDIntegerAttributeSelection | MDRealAttributeSelection | MDDimAttributeSelection;
|
|
6295
|
+
|
|
6014
6296
|
export declare interface MDBoolAttributeInfo extends BaseMDAttributeInfo {
|
|
6015
6297
|
selections?: MDBoolAttributeSelection[];
|
|
6016
6298
|
type: MDType.Bool;
|
|
@@ -9396,6 +9678,16 @@ export declare class RaycastHelper extends EventDispatcher<Record<RAYCAST_EVENT,
|
|
|
9396
9678
|
private _findHover;
|
|
9397
9679
|
private _intersection;
|
|
9398
9680
|
private _intersect;
|
|
9681
|
+
/**
|
|
9682
|
+
* Components are hit through their bounding boxes, and the box of a component
|
|
9683
|
+
* encloses the boxes of the sub components within it, so the nearest hit of a
|
|
9684
|
+
* priority is usually the enclosing one and a click on a sub component would
|
|
9685
|
+
* never reach it. Move the innermost hit nested within that nearest one to the
|
|
9686
|
+
* front. A sub component counts as nested when it lies mostly within, as it
|
|
9687
|
+
* can protrude from the box around it. Hits that are not nested keep their
|
|
9688
|
+
* distance order, so unrelated objects are unaffected.
|
|
9689
|
+
*/
|
|
9690
|
+
private _preferNestedComponent;
|
|
9399
9691
|
intersectAtPosition(position: Position2): RoomleEventedIntersection | null;
|
|
9400
9692
|
private _findObjectWithHandler;
|
|
9401
9693
|
private _onDragStart;
|
|
@@ -9481,8 +9773,9 @@ export declare class RoomDesignerApi implements RoomDesignerRequests {
|
|
|
9481
9773
|
selectRoot(rootModuleId: string): Promise<void>;
|
|
9482
9774
|
selectModule(rootModuleId: string, subModuleId: string): Promise<void>;
|
|
9483
9775
|
openCloseGroup(groupOrRootModuleId: string, subModuleId: string | null, open: boolean, animate: boolean): Promise<void>;
|
|
9484
|
-
deleteGroup(groupId: string): void
|
|
9485
|
-
deleteRootModule(rootModuleId: string): void
|
|
9776
|
+
deleteGroup(groupId: string): Promise<void>;
|
|
9777
|
+
deleteRootModule(rootModuleId: string): Promise<void>;
|
|
9778
|
+
mergeGroups(groupIds: string[]): Promise<void>;
|
|
9486
9779
|
getPosDataOfAllGroups(): Promise<PosGroup[]>;
|
|
9487
9780
|
getRoomInformation(mode?: PlanRoomGeometryMode): Promise<ExternalRoomInformation>;
|
|
9488
9781
|
saveExternalObjectSnapshot(): Promise<ExternalObjectSnapshotSaveResult | null>;
|
|
@@ -9498,8 +9791,9 @@ export declare interface RoomDesignerRequests {
|
|
|
9498
9791
|
selectRoot(rootModuleId: string): Promise<void>;
|
|
9499
9792
|
selectModule(rootModuleId: string, subModuleId: string): Promise<void>;
|
|
9500
9793
|
openCloseGroup(groupOrRootModuleId: string, subModuleId: string | null, open: boolean, animate: boolean): void;
|
|
9501
|
-
deleteGroup(groupId: string): void
|
|
9502
|
-
deleteRootModule(rootModuleId: string): void
|
|
9794
|
+
deleteGroup(groupId: string): Promise<void>;
|
|
9795
|
+
deleteRootModule(rootModuleId: string): Promise<void>;
|
|
9796
|
+
mergeGroups(groupIds: string[]): Promise<void>;
|
|
9503
9797
|
getPosDataOfAllGroups(): Promise<PosGroup[]>;
|
|
9504
9798
|
getRoomInformation(mode?: PlanRoomGeometryMode): Promise<ExternalRoomInformation>;
|
|
9505
9799
|
saveExternalObjectSnapshot(): Promise<ExternalObjectSnapshotSaveResult | null>;
|
|
@@ -9640,6 +9934,7 @@ export declare class RoomleConfigurator<P extends readonly PluginName[] = readon
|
|
|
9640
9934
|
*/
|
|
9641
9935
|
download2DPlanViews(): Promise<void>;
|
|
9642
9936
|
exportCanvasScreenshot(quality?: number): Promise<string>;
|
|
9937
|
+
exportCameraScreenshot(quality?: number): Promise<string>;
|
|
9643
9938
|
initSceneManager(sceneManager?: ConfiguratorSceneManager): void;
|
|
9644
9939
|
getScene(): Scene;
|
|
9645
9940
|
getSceneManager(): ConfiguratorSceneManager;
|
|
@@ -10907,6 +11202,7 @@ export declare class RoomlePlanner<P extends readonly PluginName[] = readonly []
|
|
|
10907
11202
|
swapObject(old: number | PlanElementViewModel | null, idOfNew: RapiId): Promise<number>;
|
|
10908
11203
|
exportImageFromCamera(filename?: string, shouldWaitForAssets?: boolean): Promise<void>;
|
|
10909
11204
|
exportCanvasScreenshot(quality?: number): Promise<string>;
|
|
11205
|
+
exportCameraScreenshot(quality?: number): Promise<string>;
|
|
10910
11206
|
/**
|
|
10911
11207
|
* Move the current selected element in the 3D space
|
|
10912
11208
|
* @param selectedElement this is the current selected plan object
|
|
@@ -10975,13 +11271,15 @@ export declare class RoomlePlanner<P extends readonly PluginName[] = readonly []
|
|
|
10975
11271
|
}>;
|
|
10976
11272
|
getExternalObjectValidSubArticles(posGroupId?: string): PosArticle[];
|
|
10977
11273
|
selectExternalObjectSubArticle(subArticleId: string): void;
|
|
10978
|
-
|
|
11274
|
+
_mergeExternalObjects(groupIds: string[]): Promise<void>;
|
|
11275
|
+
removeExternalObject(groupOrRootModuleId: string): Promise<void>;
|
|
10979
11276
|
selectExternalObject(groupOrRootModuleId: string, subModuleId: string | null, contextAction: HiContextAction): Promise<void>;
|
|
10980
11277
|
highlightExternalObject(groupOrRootModuleId: string, subModuleId: string | null): Promise<void>;
|
|
10981
11278
|
openOrCloseGeometryOfExternalObject(groupIdOrRootModuleId: string, _subModuleId: string | null, open: boolean, animate: boolean): void;
|
|
10982
11279
|
_selectExternalObjectGroup(groupId: string, switchToPlanner: boolean): Promise<void>;
|
|
10983
11280
|
getExternalObjectGroups(): Promise<object[]>;
|
|
10984
11281
|
getExternalObjectPlanContext(include?: HiPlanContextSection[]): Promise<HiPlanContext>;
|
|
11282
|
+
externalObjectGroupOperation<C extends HiGroupOperation>(command: C, payload: HiGroupOperationPayloads[C]): Promise<HiGroupOperationResult>;
|
|
10985
11283
|
getExternalRoomInformation(mode?: PlanRoomGeometryMode): Promise<ExternalRoomInformation>;
|
|
10986
11284
|
/**
|
|
10987
11285
|
* Highlights a product in the planner.
|
|
@@ -11699,6 +11997,12 @@ export declare abstract class SceneManager implements Context, LifeCycleCallback
|
|
|
11699
11997
|
protected _waitForAssets(): Promise<void>;
|
|
11700
11998
|
exportCanvasScreenshot(quality?: number): Promise<string>;
|
|
11701
11999
|
exportImageFromCamera(filename: string, shouldWaitForAssets?: boolean): Promise<void>;
|
|
12000
|
+
/**
|
|
12001
|
+
* Like exportCanvasScreenshot, but cropped to the part of the canvas the
|
|
12002
|
+
* camera renders into (see setCameraOffset), so UI overlays are left out
|
|
12003
|
+
*/
|
|
12004
|
+
exportCameraScreenshot(quality?: number): Promise<string>;
|
|
12005
|
+
private _cropToCameraOffset;
|
|
11702
12006
|
private getCanvasScreenshotWithDimensions;
|
|
11703
12007
|
changeEnvironmentMapIntensity(intensity: number): void;
|
|
11704
12008
|
changeEnvironmentMapRotation(rotation: number): void;
|