@roomle/web-sdk 5.1.0-typestest.1 → 5.2.0-alpha.1
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-B4TrOz4F.mjs} +7 -4
- package/lib/api-B4TrOz4F.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/budgeteer.sw.js +1 -1
- 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-CKf-giUj.mjs +2 -0
- package/lib/configurator-DrF49jhK.mjs +45 -0
- package/lib/{configurator-BFZrqpSE.mjs.map → configurator-DrF49jhK.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-BOTT1GcI.mjs +2 -0
- package/lib/{glb-viewer-DY3xeUtU.mjs → glb-viewer-DfTibwy-.mjs} +24 -24
- package/lib/{glb-viewer-DY3xeUtU.mjs.map → glb-viewer-DfTibwy-.mjs.map} +1 -1
- 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-BpYU-Dit.mjs} +10 -4
- package/lib/homag-intelligence-BpYU-Dit.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-D2SC_WGL.mjs} +31 -31
- package/lib/{material-viewer-CzzbbiY3.mjs.map → material-viewer-D2SC_WGL.mjs.map} +1 -1
- package/lib/{packages-Cduqgaaj.mjs → packages-Dq64FLqO.mjs} +6 -5
- package/lib/{packages-Cduqgaaj.mjs.map → packages-Dq64FLqO.mjs.map} +1 -1
- package/lib/{planner-ClhRT5pF.mjs → planner-BflojXJm.mjs} +14 -14
- package/lib/{planner-ClhRT5pF.mjs.map → planner-BflojXJm.mjs.map} +1 -1
- package/lib/planner-C8gpY4ZL.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 +360 -30
- 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-AuHoyXQw.mjs} +4266 -3484
- package/lib/roomle-sdk-AuHoyXQw.mjs.map +1 -0
- package/lib/roomle-sdk.d.ts +360 -30
- 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-ChoIO9yO.mjs} +3 -3
- package/lib/{script-loader-DIm0FRqb.mjs.map → script-loader-ChoIO9yO.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/packages/workers/generated/budgeteer.sw.js +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/src/embind/plannerCoreInterface.d.ts +23 -4
- package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/src/embind/plannerCoreInterface.js.map +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-CVyQSfI6.mjs} +6 -6
- package/lib/{tools-core-SxI9qPW4.mjs.map → tools-core-CVyQSfI6.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-sdk.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;
|
|
@@ -3504,9 +3512,10 @@ export declare interface ExternalObjectAPI {
|
|
|
3504
3512
|
/**
|
|
3505
3513
|
* "removeExternalObject" removes a group or root module from the plan.
|
|
3506
3514
|
* If the removed root module is located between other root modules the remaining group is split up in multiple groups.
|
|
3515
|
+
* The returned promise resolves once the plan object is removed.
|
|
3507
3516
|
* @param groupOrRootModuleId The ID of the group or root module to be removed.
|
|
3508
3517
|
*/
|
|
3509
|
-
removeExternalObject(groupOrRootModuleId: string): void
|
|
3518
|
+
removeExternalObject(groupOrRootModuleId: string): Promise<void>;
|
|
3510
3519
|
/**
|
|
3511
3520
|
* "selectExternalObject" changes the selected object in the scene.
|
|
3512
3521
|
* The function selects either a complete group of root modules or a single root module or a single sub module.
|
|
@@ -3539,12 +3548,33 @@ export declare interface ExternalObjectAPI {
|
|
|
3539
3548
|
*/
|
|
3540
3549
|
getExternalRoomInformation(mode?: PlanRoomGeometryMode): Promise<ExternalRoomInformation>;
|
|
3541
3550
|
/**
|
|
3542
|
-
* "getExternalObjectPlanContext" returns
|
|
3543
|
-
* the master data per library
|
|
3544
|
-
*
|
|
3551
|
+
* "getExternalObjectPlanContext" returns an agent-ready snapshot of the external object state:
|
|
3552
|
+
* the compacted master data per library (root modules and the customer-facing attributes),
|
|
3553
|
+
* the room information of all rooms (contours in 3D, pos: [x, level, -y], with a derived
|
|
3554
|
+
* walls array per room), the articles that can be used (compact catalog with dimensions,
|
|
3555
|
+
* docking vectors and sub-modules), and all groups currently loaded in the plan (as
|
|
3556
|
+
* resubmittable article picks with footprints and free docking vectors).
|
|
3557
|
+
* The result is designed to be passed to an AI agent as it is, without further preparation,
|
|
3558
|
+
* with all geometry in one coordinate system: 3D, right-handed, Y up.
|
|
3545
3559
|
* @param include The sections to include. All sections are returned when omitted or empty.
|
|
3546
3560
|
*/
|
|
3547
3561
|
getExternalObjectPlanContext(include?: HiPlanContextSection[]): Promise<HiPlanContext>;
|
|
3562
|
+
/**
|
|
3563
|
+
* "externalObjectGroupOperation" changes the groups in the plan by command. The payload refers to
|
|
3564
|
+
* groups, root modules and articles by the ids of "getExternalObjectPlanContext":
|
|
3565
|
+
* - "change-module-attribute" { rootModuleId, moduleId?, attributeId, value } sets an attribute of a root module or of one of its sub modules
|
|
3566
|
+
* - "change-group-attribute" { groupId, attributeId, value } sets an attribute on every module of the group that has it
|
|
3567
|
+
* - "delete-group" { groupId } removes the group from the plan
|
|
3568
|
+
* - "delete-root-module" { rootModuleId } removes a root module; the rest of the group splits where it is no longer docked together
|
|
3569
|
+
* - "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
|
|
3570
|
+
* - "exchange-root-module" { groupId, rootModuleId, articleId } replaces a root module with an article of one root module, keeping its docking
|
|
3571
|
+
* - "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
|
|
3572
|
+
* The promise resolves once the planner has loaded the result, with the affected groups in the shape of the plan context,
|
|
3573
|
+
* and rejects with the reason when the payload is invalid or the operation cannot be performed.
|
|
3574
|
+
* @param command The operation.
|
|
3575
|
+
* @param payload The payload of the operation.
|
|
3576
|
+
*/
|
|
3577
|
+
externalObjectGroupOperation<C extends HiGroupOperation>(command: C, payload: HiGroupOperationPayloads[C]): Promise<HiGroupOperationResult>;
|
|
3548
3578
|
/**
|
|
3549
3579
|
* It generates a snapshot of the external object in the plan without saving any data.
|
|
3550
3580
|
* By default, the snapshot includes order data, room information, the plan XML, GLBs of the complete scene,
|
|
@@ -3836,7 +3866,6 @@ export declare interface FeatureFlags {
|
|
|
3836
3866
|
/* Excluded from this release type: drawPreviewMode */
|
|
3837
3867
|
/* Excluded from this release type: forceSaveThumbnails */
|
|
3838
3868
|
/* Excluded from this release type: interiorLights */
|
|
3839
|
-
/* Excluded from this release type: advancedDimensioning */
|
|
3840
3869
|
/* Excluded from this release type: webGpu */
|
|
3841
3870
|
/* Excluded from this release type: advancedHighlighting */
|
|
3842
3871
|
/* Excluded from this release type: fence */
|
|
@@ -3850,7 +3879,6 @@ export declare class FeatureFlagsImplementation implements FeatureFlags {
|
|
|
3850
3879
|
mergeOnInsert: boolean;
|
|
3851
3880
|
drawPreviewMode: Enumify<typeof DRAW_PREVIEW_MODES>;
|
|
3852
3881
|
interiorLights: boolean;
|
|
3853
|
-
advancedDimensioning: boolean;
|
|
3854
3882
|
enableSnapping: boolean;
|
|
3855
3883
|
webGpu: boolean;
|
|
3856
3884
|
forceSaveThumbnails: boolean;
|
|
@@ -3878,6 +3906,8 @@ export declare interface FetchOptions {
|
|
|
3878
3906
|
|
|
3879
3907
|
export declare type FinalizeMode = 'immediate' | 'on-signal';
|
|
3880
3908
|
|
|
3909
|
+
export declare type FloatArray = EmscriptenArray<number>;
|
|
3910
|
+
|
|
3881
3911
|
export declare abstract class Floor extends PlanElement {
|
|
3882
3912
|
area: number;
|
|
3883
3913
|
material: FloorMaterial;
|
|
@@ -4147,7 +4177,7 @@ export declare interface GlobalInitDataDefinition {
|
|
|
4147
4177
|
*/
|
|
4148
4178
|
configuratorId?: string;
|
|
4149
4179
|
/**
|
|
4150
|
-
* @description Set which RAPI (Roomle API) backend should be used usage: customApiUrl=https://www.roomle.com/api/
|
|
4180
|
+
* @description Set which RAPI (Roomle API) backend should be used usage: customApiUrl=https://www.roomle.com/api/v3
|
|
4151
4181
|
*/
|
|
4152
4182
|
customApiUrl?: string;
|
|
4153
4183
|
/* Excluded from this release type: e2e */
|
|
@@ -4202,6 +4232,7 @@ export declare interface GlueLogic {
|
|
|
4202
4232
|
createOrReplacePosDataFromArticleLayout(articleLayoutJson: ExternalObjectGroupLayout, layoutType: string, posArticles?: PosArticle[]): Promise<PosGroup | PosGroup[] | undefined>;
|
|
4203
4233
|
newPosDataFromGroup(posDataJson: PosGroup): Promise<PosGroup>;
|
|
4204
4234
|
getPlanContext(include?: HiPlanContextSection[]): Promise<HiPlanContext>;
|
|
4235
|
+
executeGroupOperation(command: string, payload: unknown): Promise<HiGroupOperationResult>;
|
|
4205
4236
|
getGroupDataForOrder(options: GetGroupDataForOrderOptions): Promise<HiOrderData | null>;
|
|
4206
4237
|
getMaterialUrl(materialId: string, groupOrModuleId?: string): string | null;
|
|
4207
4238
|
}
|
|
@@ -4228,7 +4259,7 @@ export declare interface HandWrittenPlanInteractionHandler {
|
|
|
4228
4259
|
moveObjectsBy(planObjects: KernelObjectPtrList, distance: KernelVector3): void;
|
|
4229
4260
|
rotateObjectTo(planObject: KernelObject, angleInRad: number): void;
|
|
4230
4261
|
setObjectRotation(planObject: KernelObject, angleInRad: number): void;
|
|
4231
|
-
addPlanObjects(list: KernelObjectPtrList, findFreeSpaceInPlan: boolean): PlanObject[];
|
|
4262
|
+
addPlanObjects(list: KernelObjectPtrList, findFreeSpaceInPlan: boolean, cameraPosition?: KernelVector3, lineOfSight?: KernelVector3): PlanObject[];
|
|
4232
4263
|
addPlanObjectFromItem(object: KernelObject, position: KernelVector3, type: number, findFreeSpaceInPlan: boolean): PlanObject;
|
|
4233
4264
|
addOrUpdateExternalPlanObjects(serializedConfiguration: string | string[], position: KernelVector3, rotationInRad: number, updateConfiguration: ExternalObjectLoadConfiguration_2, mergedGroupIds: string | string[]): PlanObject[];
|
|
4234
4265
|
createPreviewGeometryForAddOn(objectId: string, objectConfiguration: string, articleId: string, groupDefinitions: string, validContainerModules: ExternalValidContainerModule_2[]): void;
|
|
@@ -4367,6 +4398,25 @@ export declare const HI_CONTEXT_ACTION: {
|
|
|
4367
4398
|
readonly ISOLATION: "isolation";
|
|
4368
4399
|
};
|
|
4369
4400
|
|
|
4401
|
+
/**
|
|
4402
|
+
* Group operations change the groups of the plan context by command: a
|
|
4403
|
+
* command names the operation, its payload refers to the groups, root modules
|
|
4404
|
+
* and articles by the ids the plan context shows. `runGroupOperation`
|
|
4405
|
+
* validates the payload, performs the operation with the glue-logic features
|
|
4406
|
+
* behind `HiGroupOperations` and returns the affected groups in the
|
|
4407
|
+
* plan-context shape. A new command is one entry in `HI_GROUP_OPERATION`, one
|
|
4408
|
+
* payload type and one handler.
|
|
4409
|
+
*/
|
|
4410
|
+
export declare const HI_GROUP_OPERATION: {
|
|
4411
|
+
readonly CHANGE_MODULE_ATTRIBUTE: "change-module-attribute";
|
|
4412
|
+
readonly CHANGE_GROUP_ATTRIBUTE: "change-group-attribute";
|
|
4413
|
+
readonly DELETE_GROUP: "delete-group";
|
|
4414
|
+
readonly DELETE_ROOT_MODULE: "delete-root-module";
|
|
4415
|
+
readonly MERGE_ARTICLE_INTO_GROUP: "merge-article-into-group";
|
|
4416
|
+
readonly EXCHANGE_ROOT_MODULE: "exchange-root-module";
|
|
4417
|
+
readonly MERGE_GROUPS: "merge-groups";
|
|
4418
|
+
};
|
|
4419
|
+
|
|
4370
4420
|
export declare const HI_LOAD_OBJECT_REASON: {
|
|
4371
4421
|
readonly ADD_SUBARTICLE: "add_subarticle";
|
|
4372
4422
|
readonly MOVE_SUBARTICLE: "move_subarticle";
|
|
@@ -4403,8 +4453,15 @@ export declare interface HiApiOptions extends HomagIntelligenceSubscription {
|
|
|
4403
4453
|
language?: string;
|
|
4404
4454
|
}
|
|
4405
4455
|
|
|
4456
|
+
export declare interface HiArticlePick {
|
|
4457
|
+
articleId: string;
|
|
4458
|
+
attributes?: HiPlanRootAttribute[];
|
|
4459
|
+
}
|
|
4460
|
+
|
|
4406
4461
|
export declare type HiAttributeOptionsResult = CheckDropDownResult | CheckDropDownEntry[] | undefined;
|
|
4407
4462
|
|
|
4463
|
+
export declare type HiAttributeValue = string | boolean;
|
|
4464
|
+
|
|
4408
4465
|
export declare interface HiCallbacks {
|
|
4409
4466
|
/**
|
|
4410
4467
|
* Requests the calculation script for the given library ID.
|
|
@@ -4500,6 +4557,15 @@ export declare type HiContextAction = (typeof HI_CONTEXT_ACTION)[keyof typeof HI
|
|
|
4500
4557
|
*/
|
|
4501
4558
|
export declare const HIDDEN_INTERACTION_LIFECYCLE_METHODS: readonly ["startInteraction", "resumeInteraction", "endInteraction"];
|
|
4502
4559
|
|
|
4560
|
+
/** A free docking vector of a root of the group, and how the article docks to it. */
|
|
4561
|
+
export declare interface HiDockTarget {
|
|
4562
|
+
rootId: string;
|
|
4563
|
+
ownDockingVector: PosDock | string;
|
|
4564
|
+
dockingVector: PosDock | string;
|
|
4565
|
+
mode?: PosDockMode;
|
|
4566
|
+
offset?: HiPlanPosition3;
|
|
4567
|
+
}
|
|
4568
|
+
|
|
4503
4569
|
export declare interface HighlightHelper {
|
|
4504
4570
|
init(object: Object3D, camera: PerspectiveCamera): void;
|
|
4505
4571
|
setCamera(camera: PerspectiveCamera): void;
|
|
@@ -4513,6 +4579,48 @@ export declare interface HighlightHelper {
|
|
|
4513
4579
|
invalidate?(): void;
|
|
4514
4580
|
}
|
|
4515
4581
|
|
|
4582
|
+
export declare type HiGroupOperation = (typeof HI_GROUP_OPERATION)[keyof typeof HI_GROUP_OPERATION];
|
|
4583
|
+
|
|
4584
|
+
export declare interface HiGroupOperationPayloads {
|
|
4585
|
+
'change-module-attribute': {
|
|
4586
|
+
rootModuleId: string;
|
|
4587
|
+
moduleId?: string | null;
|
|
4588
|
+
attributeId: string;
|
|
4589
|
+
value: HiAttributeValue;
|
|
4590
|
+
};
|
|
4591
|
+
'change-group-attribute': {
|
|
4592
|
+
groupId: string;
|
|
4593
|
+
attributeId: string;
|
|
4594
|
+
value: HiAttributeValue;
|
|
4595
|
+
};
|
|
4596
|
+
'delete-group': {
|
|
4597
|
+
groupId: string;
|
|
4598
|
+
};
|
|
4599
|
+
'delete-root-module': {
|
|
4600
|
+
rootModuleId: string;
|
|
4601
|
+
};
|
|
4602
|
+
'merge-article-into-group': HiArticlePick & {
|
|
4603
|
+
groupId: string;
|
|
4604
|
+
dockTo: HiDockTarget;
|
|
4605
|
+
};
|
|
4606
|
+
'exchange-root-module': {
|
|
4607
|
+
groupId: string;
|
|
4608
|
+
rootModuleId: string;
|
|
4609
|
+
articleId: string;
|
|
4610
|
+
};
|
|
4611
|
+
'merge-groups': {
|
|
4612
|
+
targetGroupId: string;
|
|
4613
|
+
groupIds: string[];
|
|
4614
|
+
};
|
|
4615
|
+
}
|
|
4616
|
+
|
|
4617
|
+
export declare interface HiGroupOperationResult {
|
|
4618
|
+
command: HiGroupOperation;
|
|
4619
|
+
groups: HiPlanGroup[];
|
|
4620
|
+
removedGroupIds: string[];
|
|
4621
|
+
changedModuleIds?: string[];
|
|
4622
|
+
}
|
|
4623
|
+
|
|
4516
4624
|
export declare type HiLoadObjectReason = (typeof HI_LOAD_OBJECT_REASON)[keyof typeof HI_LOAD_OBJECT_REASON];
|
|
4517
4625
|
|
|
4518
4626
|
export declare interface HiObjectSelectionApi {
|
|
@@ -4560,15 +4668,181 @@ export declare interface HiOrderHeader {
|
|
|
4560
4668
|
|
|
4561
4669
|
export declare type HiPanelActionType = (typeof HI_PANEL_ACTION)[keyof typeof HI_PANEL_ACTION];
|
|
4562
4670
|
|
|
4671
|
+
export declare interface HiPlanArticle {
|
|
4672
|
+
articleId: string;
|
|
4673
|
+
articleName?: string;
|
|
4674
|
+
desc?: string;
|
|
4675
|
+
imageUrl?: string;
|
|
4676
|
+
category?: string;
|
|
4677
|
+
libraryId: string;
|
|
4678
|
+
catalog: string;
|
|
4679
|
+
cornerArticle: boolean;
|
|
4680
|
+
cornerPoint?: HiPlanPosition3;
|
|
4681
|
+
rootModules: HiPlanArticleRootModule[];
|
|
4682
|
+
}
|
|
4683
|
+
|
|
4684
|
+
export declare interface HiPlanArticleAttributeValue {
|
|
4685
|
+
id: string;
|
|
4686
|
+
name?: string;
|
|
4687
|
+
value?: number | string | boolean;
|
|
4688
|
+
}
|
|
4689
|
+
|
|
4690
|
+
export declare interface HiPlanArticleRootModule {
|
|
4691
|
+
module: {
|
|
4692
|
+
id: string;
|
|
4693
|
+
name?: string;
|
|
4694
|
+
desc?: string;
|
|
4695
|
+
imageUrl?: string;
|
|
4696
|
+
};
|
|
4697
|
+
dimensions: HiPlanArticleAttributeValue[];
|
|
4698
|
+
mainAttributes: HiPlanArticleAttributeValue[];
|
|
4699
|
+
dockingVectors: string[];
|
|
4700
|
+
insertLevels?: PosInsertLevelInfo[];
|
|
4701
|
+
subModules: Array<{
|
|
4702
|
+
id: string;
|
|
4703
|
+
name?: string;
|
|
4704
|
+
desc?: string;
|
|
4705
|
+
imageUrl?: string;
|
|
4706
|
+
}>;
|
|
4707
|
+
}
|
|
4708
|
+
|
|
4709
|
+
export declare interface HiPlanAttribute {
|
|
4710
|
+
id: string;
|
|
4711
|
+
name: string;
|
|
4712
|
+
desc?: string;
|
|
4713
|
+
imageUrl?: string;
|
|
4714
|
+
type: MDType;
|
|
4715
|
+
group?: string;
|
|
4716
|
+
selections?: MDAttributeSelection[];
|
|
4717
|
+
}
|
|
4718
|
+
|
|
4563
4719
|
export declare interface HiPlanContext {
|
|
4564
|
-
masterData?: Record<string,
|
|
4565
|
-
rooms?:
|
|
4566
|
-
articles?:
|
|
4567
|
-
groups?:
|
|
4720
|
+
masterData?: Record<string, HiPlanMasterData>;
|
|
4721
|
+
rooms?: HiPlanRoomInformation;
|
|
4722
|
+
articles?: HiPlanArticle[];
|
|
4723
|
+
groups?: HiPlanGroup[];
|
|
4724
|
+
}
|
|
4725
|
+
|
|
4726
|
+
export declare interface HiPlanContextData {
|
|
4727
|
+
dockedRoots: Array<{
|
|
4728
|
+
ownDockingVector: PosDock | string;
|
|
4729
|
+
dockedRoots: HiPlanDockedRoot[];
|
|
4730
|
+
}>;
|
|
4568
4731
|
}
|
|
4569
4732
|
|
|
4570
4733
|
export declare type HiPlanContextSection = 'masterData' | 'rooms' | 'articles' | 'groups';
|
|
4571
4734
|
|
|
4735
|
+
export declare interface HiPlanContour {
|
|
4736
|
+
level: number;
|
|
4737
|
+
segments: HiPlanContourSegment[];
|
|
4738
|
+
}
|
|
4739
|
+
|
|
4740
|
+
export declare interface HiPlanContourSegment {
|
|
4741
|
+
cmd: string;
|
|
4742
|
+
pos: HiPlanPosition3;
|
|
4743
|
+
angle?: number;
|
|
4744
|
+
type?: string;
|
|
4745
|
+
height?: number;
|
|
4746
|
+
thickness?: number;
|
|
4747
|
+
}
|
|
4748
|
+
|
|
4749
|
+
export declare interface HiPlanDockedRoot {
|
|
4750
|
+
id: string;
|
|
4751
|
+
dockingVector: PosDock | string;
|
|
4752
|
+
mode?: PosDockMode | string;
|
|
4753
|
+
offset?: number[];
|
|
4754
|
+
}
|
|
4755
|
+
|
|
4756
|
+
export declare interface HiPlanFootprint {
|
|
4757
|
+
x: [number, number];
|
|
4758
|
+
z: [number, number];
|
|
4759
|
+
widthMm: number;
|
|
4760
|
+
depthMm: number;
|
|
4761
|
+
}
|
|
4762
|
+
|
|
4763
|
+
export declare interface HiPlanGroup {
|
|
4764
|
+
id: string;
|
|
4765
|
+
libraryId?: string;
|
|
4766
|
+
position: HiPlanGroupPosition;
|
|
4767
|
+
attributes?: PosModuleAttribute[];
|
|
4768
|
+
roots: HiPlanRoot[];
|
|
4769
|
+
}
|
|
4770
|
+
|
|
4771
|
+
export declare interface HiPlanGroupPosition {
|
|
4772
|
+
pos?: number[];
|
|
4773
|
+
rotationY?: number;
|
|
4774
|
+
footprint?: HiPlanFootprint;
|
|
4775
|
+
}
|
|
4776
|
+
|
|
4777
|
+
export declare interface HiPlanMasterData {
|
|
4778
|
+
libraryId: string;
|
|
4779
|
+
modules: HiPlanMasterDataModule[];
|
|
4780
|
+
attributes: HiPlanAttribute[];
|
|
4781
|
+
}
|
|
4782
|
+
|
|
4783
|
+
export declare interface HiPlanMasterDataModule {
|
|
4784
|
+
id: string;
|
|
4785
|
+
name: string;
|
|
4786
|
+
desc?: string;
|
|
4787
|
+
imageUrl?: string;
|
|
4788
|
+
attributes: string[];
|
|
4789
|
+
}
|
|
4790
|
+
|
|
4791
|
+
/**
|
|
4792
|
+
* The plan context is the data an AI agent needs to understand and author a
|
|
4793
|
+
* planning session. `getPlanContext` (glue logic) assembles it and every
|
|
4794
|
+
* section leaves this file in the agent-ready shape: compacted, and in one
|
|
4795
|
+
* coordinate system - 3D, right-handed, Y up, the coordinate system of
|
|
4796
|
+
* `PosGroup`.
|
|
4797
|
+
*/
|
|
4798
|
+
export declare type HiPlanPosition3 = [number, number, number];
|
|
4799
|
+
|
|
4800
|
+
export declare interface HiPlanRoom {
|
|
4801
|
+
levels: HiPlanContour[];
|
|
4802
|
+
walls: HiPlanWall[];
|
|
4803
|
+
}
|
|
4804
|
+
|
|
4805
|
+
export declare interface HiPlanRoomInformation {
|
|
4806
|
+
rooms: HiPlanRoom[];
|
|
4807
|
+
}
|
|
4808
|
+
|
|
4809
|
+
export declare interface HiPlanRoot {
|
|
4810
|
+
id: string;
|
|
4811
|
+
articleId: string;
|
|
4812
|
+
articleName?: string;
|
|
4813
|
+
desc?: string;
|
|
4814
|
+
imageUrl?: string;
|
|
4815
|
+
category?: string;
|
|
4816
|
+
isGenerated?: boolean;
|
|
4817
|
+
attributes: HiPlanRootAttribute[];
|
|
4818
|
+
contextData?: HiPlanContextData;
|
|
4819
|
+
dockingVectors: string[];
|
|
4820
|
+
freeDockingVectors: string[];
|
|
4821
|
+
subModules: Array<{
|
|
4822
|
+
id: string;
|
|
4823
|
+
imageUrl?: string;
|
|
4824
|
+
}>;
|
|
4825
|
+
}
|
|
4826
|
+
|
|
4827
|
+
export declare interface HiPlanRootAttribute {
|
|
4828
|
+
id: string;
|
|
4829
|
+
value?: number | string | boolean;
|
|
4830
|
+
}
|
|
4831
|
+
|
|
4832
|
+
export declare interface HiPlanWall {
|
|
4833
|
+
index: number;
|
|
4834
|
+
side: HiPlanWallSide;
|
|
4835
|
+
start: HiPlanPosition3;
|
|
4836
|
+
end: HiPlanPosition3;
|
|
4837
|
+
lengthMm: number;
|
|
4838
|
+
type?: string;
|
|
4839
|
+
heightMm?: number;
|
|
4840
|
+
thicknessMm?: number;
|
|
4841
|
+
facingRotationY: number;
|
|
4842
|
+
}
|
|
4843
|
+
|
|
4844
|
+
export declare type HiPlanWallSide = 'left' | 'right' | 'top' | 'bottom';
|
|
4845
|
+
|
|
4572
4846
|
export declare interface HiPriceData {
|
|
4573
4847
|
[key: string]: any;
|
|
4574
4848
|
orderData: HiOrder;
|
|
@@ -4714,7 +4988,7 @@ export declare class ImageRenderer implements Context {
|
|
|
4714
4988
|
private _getRenderer;
|
|
4715
4989
|
protected _createThreejsImageRenderer(): Promise<WebGLRenderer | WebGPURenderer>;
|
|
4716
4990
|
protected _createRoomleRenderer(imageRenderer: WebGLRenderer | WebGPURenderer): Promise<GenericRoomleRenderer>;
|
|
4717
|
-
switchToPlannerSettings(): Promise<void>;
|
|
4991
|
+
switchToPlannerSettings(renderMode: PlannerRenderMode): Promise<void>;
|
|
4718
4992
|
switchToConfiguratorSettings(): Promise<void>;
|
|
4719
4993
|
updateBounds(bounds: Box3): Promise<void>;
|
|
4720
4994
|
static getCameraTargetForBBox(bbox: Box3, spacing?: number): CameraTarget;
|
|
@@ -4768,6 +5042,9 @@ export declare class InitData implements Context, Omit<InitDataDefinition, 'colo
|
|
|
4768
5042
|
restrictionLevel: number;
|
|
4769
5043
|
hi?: HomagIntelligenceInitData;
|
|
4770
5044
|
disableDefaultLabelStyles: boolean;
|
|
5045
|
+
translations?: Record<string, {
|
|
5046
|
+
'room-types'?: Record<string, string>;
|
|
5047
|
+
}>;
|
|
4771
5048
|
highlighting: Enumify<typeof ROOMLE_HIGHLIGHTNG>;
|
|
4772
5049
|
initialFloorMaterial?: string;
|
|
4773
5050
|
dls?: string;
|
|
@@ -5834,8 +6111,15 @@ export declare interface Matrix4 {
|
|
|
5834
6111
|
|
|
5835
6112
|
export declare type MaybePromise<T> = (() => T) | (() => Promise<T>);
|
|
5836
6113
|
|
|
6114
|
+
/**
|
|
6115
|
+
* MD5 hex digest of a string, e.g. the hashed password RapiAccess.signinUser expects
|
|
6116
|
+
*/
|
|
6117
|
+
export declare const md5Hash: (value: string) => string;
|
|
6118
|
+
|
|
5837
6119
|
export declare type MDAttributeInfo = MDBoolAttributeInfo | MDTextAttributeInfo | MDIntegerAttributeInfo | MDRealAttributeInfo | MDDimAttributeInfo;
|
|
5838
6120
|
|
|
6121
|
+
export declare type MDAttributeSelection = MDBoolAttributeSelection | MDTextAttributeSelection | MDIntegerAttributeSelection | MDRealAttributeSelection | MDDimAttributeSelection;
|
|
6122
|
+
|
|
5839
6123
|
export declare interface MDBoolAttributeInfo extends BaseMDAttributeInfo {
|
|
5840
6124
|
selections?: MDBoolAttributeSelection[];
|
|
5841
6125
|
type: MDType.Bool;
|
|
@@ -6727,6 +7011,9 @@ export declare interface PlanInteractionHandler_2 {
|
|
|
6727
7011
|
setNodeType(node: Node_3, nodeType: NodeType_2): void;
|
|
6728
7012
|
setWallThickness(wall: Wall_2, thickness: number): void;
|
|
6729
7013
|
setWallHeight(wall: Wall_2, height: number): void;
|
|
7014
|
+
setWallArc(wall: Wall_2, sweepAngleInRad: number): void;
|
|
7015
|
+
setWallArcThroughPoint(wall: Wall_2, point: Vector3): void;
|
|
7016
|
+
setWallCurve(wall: Wall_2, interiorControlPoints: WallCurveControlPoint[], degree: number, knots: number[]): void;
|
|
6730
7017
|
setWallColor(wall: Wall_2, color: number): void;
|
|
6731
7018
|
setWallLeftMaterial(wall: Wall_2, material: WallMaterial_2): void;
|
|
6732
7019
|
setWallRightMaterial(wall: Wall_2, material: WallMaterial_2): void;
|
|
@@ -6753,9 +7040,9 @@ export declare interface PlanInteractionHandler_2 {
|
|
|
6753
7040
|
addAttic(wall: Wall_2, kneeHeight: number, width: number, side: WallSide_2 | null | undefined): Attic;
|
|
6754
7041
|
addNode(position: Vector3): Node_3;
|
|
6755
7042
|
addText(text: string, position: Vector3): PlanText_2;
|
|
6756
|
-
addPlanObject(itemId: string, type: string, size: Vector3, position: Vector3, rotationInRad: number, findFreeSpaceInPlan: boolean): PlanObject_2;
|
|
6757
|
-
addPlanObjects(catalogItems: CatalogItemPtrList_2, findFreeSpaceInPlan: boolean): PlanObject_2[];
|
|
6758
|
-
addPlanObjectFromItem(item: CatalogItem_2, position: Vector3, rotationInRad: number, findFreeSpaceInPlan: boolean): PlanObject_2;
|
|
7043
|
+
addPlanObject(itemId: string, type: string, size: Vector3, position: Vector3, rotationInRad: number, findFreeSpaceInPlan: boolean, cameraPosition?: Vector3, lineOfSight?: Vector3): PlanObject_2;
|
|
7044
|
+
addPlanObjects(catalogItems: CatalogItemPtrList_2, findFreeSpaceInPlan: boolean, cameraPosition?: Vector3, lineOfSight?: Vector3): PlanObject_2[];
|
|
7045
|
+
addPlanObjectFromItem(item: CatalogItem_2, position: Vector3, rotationInRad: number, findFreeSpaceInPlan: boolean, cameraPosition?: Vector3, lineOfSight?: Vector3): PlanObject_2;
|
|
6759
7046
|
addOrUpdateExternalPlanObjects(groups: string | string[], position: Vector3, rotationInRad: number, updateConfiguration: ExternalObjectLoadConfiguration, mergedGroupIds: string | string[]): PlanObject_2[];
|
|
6760
7047
|
createPreviewGeometryForAddOn(objectId: string, objectConfiguration: string, articleId: string, groupDefinitions: string, validContainerModules: ExternalValidContainerModule[]): void;
|
|
6761
7048
|
catalogItemLoaded(catalogItem: CatalogItem_2): void;
|
|
@@ -7041,7 +7328,11 @@ export declare class PlannerKernelAccess extends ConfiguratorKernelAccess {
|
|
|
7041
7328
|
protected _validateExternalComponentParameters(componentId: number, parameters: KernelParameter[]): Promise<KernelParameter[]>;
|
|
7042
7329
|
protected _validateExternalPlanObjectParameters(objectId: number, parameters: KernelParameter[]): Promise<KernelParameter[]>;
|
|
7043
7330
|
catalogItemLoaded(catalogItem: RapiItem): void;
|
|
7044
|
-
|
|
7331
|
+
/**
|
|
7332
|
+
* @param camera in 3D and first-person view, doors, windows and wall-mounted
|
|
7333
|
+
* objects are placed on the wall this camera looks at
|
|
7334
|
+
*/
|
|
7335
|
+
insertItems(itemList: Array<RapiItem | RapiConfiguration>, newUndoRedoStep?: boolean, camera?: Camera): Promise<RuntimeId[]>;
|
|
7045
7336
|
private _performInsertItems;
|
|
7046
7337
|
duplicateItems(planObjects: PlanObject[]): PlanObject[];
|
|
7047
7338
|
mergeItems(planObjects: PlanObject[]): void;
|
|
@@ -8563,6 +8854,7 @@ export declare class RapiAccess implements Context {
|
|
|
8563
8854
|
getMeshesOfCatalog(catalogId: RapiId): Promise<RapiMesh[]>;
|
|
8564
8855
|
getTexturesOf(rapiJson: RapiJson): Promise<RapiTexture[]>;
|
|
8565
8856
|
getItemsOf(rapiJson: RapiJson): Promise<RapiItem[]>;
|
|
8857
|
+
getTagsOf(rapiJson: RapiJson): Promise<RapiTag[]>;
|
|
8566
8858
|
getMaterialsOf(rapiJson: RapiJson): Promise<RapiMaterial[]>;
|
|
8567
8859
|
getComponentsOf(rapiJson: RapiJson): Promise<RapiComponent[]>;
|
|
8568
8860
|
getAdditionalContentsOfItems(rapiItems: RapiItem[]): Promise<RapiAdditionalContent[]>;
|
|
@@ -8611,6 +8903,7 @@ export declare class RapiAccess implements Context {
|
|
|
8611
8903
|
private _get;
|
|
8612
8904
|
private _fetchJson;
|
|
8613
8905
|
private _fetch;
|
|
8906
|
+
private _logDeprecatedEndpoint;
|
|
8614
8907
|
private _createHeaders;
|
|
8615
8908
|
private _handleJson;
|
|
8616
8909
|
private _prepareEmbeddedData;
|
|
@@ -8805,15 +9098,15 @@ export declare interface RapiItem extends RapiElement {
|
|
|
8805
9098
|
width: number;
|
|
8806
9099
|
height: number;
|
|
8807
9100
|
depth: number;
|
|
8808
|
-
basecolor: number;
|
|
8809
|
-
displayedWidth: number;
|
|
8810
|
-
displayedHeight: number;
|
|
8811
|
-
displayedDepth: number;
|
|
8812
9101
|
perspectiveImageHD: AssetUrl;
|
|
8813
9102
|
topImage: AssetUrl;
|
|
8814
|
-
|
|
8815
|
-
|
|
8816
|
-
|
|
9103
|
+
basecolor?: number;
|
|
9104
|
+
displayedWidth?: number;
|
|
9105
|
+
displayedHeight?: number;
|
|
9106
|
+
displayedDepth?: number;
|
|
9107
|
+
threeDimensionalAssetWeb?: AssetUrl;
|
|
9108
|
+
threeDimensionalAssetIOS?: AssetUrl;
|
|
9109
|
+
threeDimensionalAsset?: AssetUrl;
|
|
8817
9110
|
flipable: boolean;
|
|
8818
9111
|
scaleable: boolean;
|
|
8819
9112
|
meta: string;
|
|
@@ -9192,6 +9485,16 @@ export declare class RaycastHelper extends EventDispatcher<Record<RAYCAST_EVENT,
|
|
|
9192
9485
|
private _findHover;
|
|
9193
9486
|
private _intersection;
|
|
9194
9487
|
private _intersect;
|
|
9488
|
+
/**
|
|
9489
|
+
* Components are hit through their bounding boxes, and the box of a component
|
|
9490
|
+
* encloses the boxes of the sub components within it, so the nearest hit of a
|
|
9491
|
+
* priority is usually the enclosing one and a click on a sub component would
|
|
9492
|
+
* never reach it. Move the innermost hit nested within that nearest one to the
|
|
9493
|
+
* front. A sub component counts as nested when it lies mostly within, as it
|
|
9494
|
+
* can protrude from the box around it. Hits that are not nested keep their
|
|
9495
|
+
* distance order, so unrelated objects are unaffected.
|
|
9496
|
+
*/
|
|
9497
|
+
private _preferNestedComponent;
|
|
9195
9498
|
intersectAtPosition(position: Position2): RoomleEventedIntersection | null;
|
|
9196
9499
|
private _findObjectWithHandler;
|
|
9197
9500
|
private _onDragStart;
|
|
@@ -9277,8 +9580,9 @@ export declare class RoomDesignerApi implements RoomDesignerRequests {
|
|
|
9277
9580
|
selectRoot(rootModuleId: string): Promise<void>;
|
|
9278
9581
|
selectModule(rootModuleId: string, subModuleId: string): Promise<void>;
|
|
9279
9582
|
openCloseGroup(groupOrRootModuleId: string, subModuleId: string | null, open: boolean, animate: boolean): Promise<void>;
|
|
9280
|
-
deleteGroup(groupId: string): void
|
|
9281
|
-
deleteRootModule(rootModuleId: string): void
|
|
9583
|
+
deleteGroup(groupId: string): Promise<void>;
|
|
9584
|
+
deleteRootModule(rootModuleId: string): Promise<void>;
|
|
9585
|
+
mergeGroups(groupIds: string[]): Promise<void>;
|
|
9282
9586
|
getPosDataOfAllGroups(): Promise<PosGroup[]>;
|
|
9283
9587
|
getRoomInformation(mode?: PlanRoomGeometryMode): Promise<ExternalRoomInformation>;
|
|
9284
9588
|
saveExternalObjectSnapshot(): Promise<ExternalObjectSnapshotSaveResult | null>;
|
|
@@ -9294,8 +9598,9 @@ export declare interface RoomDesignerRequests {
|
|
|
9294
9598
|
selectRoot(rootModuleId: string): Promise<void>;
|
|
9295
9599
|
selectModule(rootModuleId: string, subModuleId: string): Promise<void>;
|
|
9296
9600
|
openCloseGroup(groupOrRootModuleId: string, subModuleId: string | null, open: boolean, animate: boolean): void;
|
|
9297
|
-
deleteGroup(groupId: string): void
|
|
9298
|
-
deleteRootModule(rootModuleId: string): void
|
|
9601
|
+
deleteGroup(groupId: string): Promise<void>;
|
|
9602
|
+
deleteRootModule(rootModuleId: string): Promise<void>;
|
|
9603
|
+
mergeGroups(groupIds: string[]): Promise<void>;
|
|
9299
9604
|
getPosDataOfAllGroups(): Promise<PosGroup[]>;
|
|
9300
9605
|
getRoomInformation(mode?: PlanRoomGeometryMode): Promise<ExternalRoomInformation>;
|
|
9301
9606
|
saveExternalObjectSnapshot(): Promise<ExternalObjectSnapshotSaveResult | null>;
|
|
@@ -9436,6 +9741,7 @@ export declare class RoomleConfigurator<P extends readonly PluginName[] = readon
|
|
|
9436
9741
|
*/
|
|
9437
9742
|
download2DPlanViews(): Promise<void>;
|
|
9438
9743
|
exportCanvasScreenshot(quality?: number): Promise<string>;
|
|
9744
|
+
exportCameraScreenshot(quality?: number): Promise<string>;
|
|
9439
9745
|
initSceneManager(sceneManager?: ConfiguratorSceneManager): void;
|
|
9440
9746
|
getScene(): Scene;
|
|
9441
9747
|
getSceneManager(): ConfiguratorSceneManager;
|
|
@@ -10703,6 +11009,7 @@ export declare class RoomlePlanner<P extends readonly PluginName[] = readonly []
|
|
|
10703
11009
|
swapObject(old: number | PlanElementViewModel | null, idOfNew: RapiId): Promise<number>;
|
|
10704
11010
|
exportImageFromCamera(filename?: string, shouldWaitForAssets?: boolean): Promise<void>;
|
|
10705
11011
|
exportCanvasScreenshot(quality?: number): Promise<string>;
|
|
11012
|
+
exportCameraScreenshot(quality?: number): Promise<string>;
|
|
10706
11013
|
/**
|
|
10707
11014
|
* Move the current selected element in the 3D space
|
|
10708
11015
|
* @param selectedElement this is the current selected plan object
|
|
@@ -10771,13 +11078,15 @@ export declare class RoomlePlanner<P extends readonly PluginName[] = readonly []
|
|
|
10771
11078
|
}>;
|
|
10772
11079
|
getExternalObjectValidSubArticles(posGroupId?: string): PosArticle[];
|
|
10773
11080
|
selectExternalObjectSubArticle(subArticleId: string): void;
|
|
10774
|
-
|
|
11081
|
+
_mergeExternalObjects(groupIds: string[]): Promise<void>;
|
|
11082
|
+
removeExternalObject(groupOrRootModuleId: string): Promise<void>;
|
|
10775
11083
|
selectExternalObject(groupOrRootModuleId: string, subModuleId: string | null, contextAction: HiContextAction): Promise<void>;
|
|
10776
11084
|
highlightExternalObject(groupOrRootModuleId: string, subModuleId: string | null): Promise<void>;
|
|
10777
11085
|
openOrCloseGeometryOfExternalObject(groupIdOrRootModuleId: string, _subModuleId: string | null, open: boolean, animate: boolean): void;
|
|
10778
11086
|
_selectExternalObjectGroup(groupId: string, switchToPlanner: boolean): Promise<void>;
|
|
10779
11087
|
getExternalObjectGroups(): Promise<object[]>;
|
|
10780
11088
|
getExternalObjectPlanContext(include?: HiPlanContextSection[]): Promise<HiPlanContext>;
|
|
11089
|
+
externalObjectGroupOperation<C extends HiGroupOperation>(command: C, payload: HiGroupOperationPayloads[C]): Promise<HiGroupOperationResult>;
|
|
10781
11090
|
getExternalRoomInformation(mode?: PlanRoomGeometryMode): Promise<ExternalRoomInformation>;
|
|
10782
11091
|
/**
|
|
10783
11092
|
* Highlights a product in the planner.
|
|
@@ -11482,6 +11791,12 @@ export declare abstract class SceneManager implements Context, LifeCycleCallback
|
|
|
11482
11791
|
protected _waitForAssets(): Promise<void>;
|
|
11483
11792
|
exportCanvasScreenshot(quality?: number): Promise<string>;
|
|
11484
11793
|
exportImageFromCamera(filename: string, shouldWaitForAssets?: boolean): Promise<void>;
|
|
11794
|
+
/**
|
|
11795
|
+
* Like exportCanvasScreenshot, but cropped to the part of the canvas the
|
|
11796
|
+
* camera renders into (see setCameraOffset), so UI overlays are left out
|
|
11797
|
+
*/
|
|
11798
|
+
exportCameraScreenshot(quality?: number): Promise<string>;
|
|
11799
|
+
private _cropToCameraOffset;
|
|
11485
11800
|
private getCanvasScreenshotWithDimensions;
|
|
11486
11801
|
changeEnvironmentMapIntensity(intensity: number): void;
|
|
11487
11802
|
changeEnvironmentMapRotation(rotation: number): void;
|
|
@@ -12229,6 +12544,14 @@ export declare interface Wall_2 extends PlanElement_2 {
|
|
|
12229
12544
|
getCornerToLeft(): Vector3;
|
|
12230
12545
|
getCornerToRight(): Vector3;
|
|
12231
12546
|
getAngle(): number;
|
|
12547
|
+
getArcSweepAngle(): number;
|
|
12548
|
+
getCurveControlPoints(): PointArray_2;
|
|
12549
|
+
getCurveWeights(): FloatArray;
|
|
12550
|
+
getCurveDegree(): number;
|
|
12551
|
+
getAxisPolyline(): PointArray_2;
|
|
12552
|
+
getLeftFacePolyline(): PointArray_2;
|
|
12553
|
+
getRightFacePolyline(): PointArray_2;
|
|
12554
|
+
getTangentAngleAt(point: Vector3): number;
|
|
12232
12555
|
getLength(side: WallSide_2): number;
|
|
12233
12556
|
getSlopingLength(): number;
|
|
12234
12557
|
getPreferredSide(): WallSide_2;
|
|
@@ -12237,6 +12560,7 @@ export declare interface Wall_2 extends PlanElement_2 {
|
|
|
12237
12560
|
getCenter(): Vector3;
|
|
12238
12561
|
getHeightAt(aPoint: Vector3): number;
|
|
12239
12562
|
getPointWithHeight(aHeight: number): Vector3;
|
|
12563
|
+
readonly isCurved: boolean;
|
|
12240
12564
|
readonly meshThickness: number;
|
|
12241
12565
|
readonly isVectorWall: boolean;
|
|
12242
12566
|
readonly thickness: number;
|
|
@@ -12262,6 +12586,12 @@ export declare class WallAtticPlanElementViewModel extends PlanElementViewModel
|
|
|
12262
12586
|
update(): void;
|
|
12263
12587
|
}
|
|
12264
12588
|
|
|
12589
|
+
export declare interface WallCurveControlPoint {
|
|
12590
|
+
u: number;
|
|
12591
|
+
v: number;
|
|
12592
|
+
w: number;
|
|
12593
|
+
}
|
|
12594
|
+
|
|
12265
12595
|
export declare interface WallDefinition {
|
|
12266
12596
|
from: Position3;
|
|
12267
12597
|
to: Position3;
|