@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-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;
|
|
@@ -3887,6 +3915,8 @@ export declare interface FetchOptions {
|
|
|
3887
3915
|
|
|
3888
3916
|
export declare type FinalizeMode = 'immediate' | 'on-signal';
|
|
3889
3917
|
|
|
3918
|
+
export declare type FloatArray = EmscriptenArray<number>;
|
|
3919
|
+
|
|
3890
3920
|
export declare abstract class Floor extends PlanElement {
|
|
3891
3921
|
area: number;
|
|
3892
3922
|
material: FloorMaterial;
|
|
@@ -4158,7 +4188,7 @@ export declare interface GlobalInitDataDefinition {
|
|
|
4158
4188
|
*/
|
|
4159
4189
|
configuratorId?: string;
|
|
4160
4190
|
/**
|
|
4161
|
-
* @description Set which RAPI (Roomle API) backend should be used usage: customApiUrl=https://www.roomle.com/api/
|
|
4191
|
+
* @description Set which RAPI (Roomle API) backend should be used usage: customApiUrl=https://www.roomle.com/api/v3
|
|
4162
4192
|
*/
|
|
4163
4193
|
customApiUrl?: string;
|
|
4164
4194
|
/* Excluded from this release type: e2e */
|
|
@@ -4213,6 +4243,7 @@ export declare interface GlueLogic {
|
|
|
4213
4243
|
createOrReplacePosDataFromArticleLayout(articleLayoutJson: ExternalObjectGroupLayout, layoutType: string, posArticles?: PosArticle[]): Promise<PosGroup | PosGroup[] | undefined>;
|
|
4214
4244
|
newPosDataFromGroup(posDataJson: PosGroup): Promise<PosGroup>;
|
|
4215
4245
|
getPlanContext(include?: HiPlanContextSection[]): Promise<HiPlanContext>;
|
|
4246
|
+
executeGroupOperation(command: string, payload: unknown): Promise<HiGroupOperationResult>;
|
|
4216
4247
|
getGroupDataForOrder(options: GetGroupDataForOrderOptions): Promise<HiOrderData | null>;
|
|
4217
4248
|
getMaterialUrl(materialId: string, groupOrModuleId?: string): string | null;
|
|
4218
4249
|
}
|
|
@@ -4239,7 +4270,7 @@ export declare interface HandWrittenPlanInteractionHandler {
|
|
|
4239
4270
|
moveObjectsBy(planObjects: KernelObjectPtrList, distance: KernelVector3): void;
|
|
4240
4271
|
rotateObjectTo(planObject: KernelObject, angleInRad: number): void;
|
|
4241
4272
|
setObjectRotation(planObject: KernelObject, angleInRad: number): void;
|
|
4242
|
-
addPlanObjects(list: KernelObjectPtrList, findFreeSpaceInPlan: boolean): PlanObject[];
|
|
4273
|
+
addPlanObjects(list: KernelObjectPtrList, findFreeSpaceInPlan: boolean, cameraPosition?: KernelVector3, lineOfSight?: KernelVector3): PlanObject[];
|
|
4243
4274
|
addPlanObjectFromItem(object: KernelObject, position: KernelVector3, type: number, findFreeSpaceInPlan: boolean): PlanObject;
|
|
4244
4275
|
addOrUpdateExternalPlanObjects(serializedConfiguration: string | string[], position: KernelVector3, rotationInRad: number, updateConfiguration: ExternalObjectLoadConfiguration_2, mergedGroupIds: string | string[]): PlanObject[];
|
|
4245
4276
|
createPreviewGeometryForAddOn(objectId: string, objectConfiguration: string, articleId: string, groupDefinitions: string, validContainerModules: ExternalValidContainerModule_2[]): void;
|
|
@@ -4530,6 +4561,25 @@ export declare const HI_CONTEXT_ACTION: {
|
|
|
4530
4561
|
readonly ISOLATION: "isolation";
|
|
4531
4562
|
};
|
|
4532
4563
|
|
|
4564
|
+
/**
|
|
4565
|
+
* Group operations change the groups of the plan context by command: a
|
|
4566
|
+
* command names the operation, its payload refers to the groups, root modules
|
|
4567
|
+
* and articles by the ids the plan context shows. `runGroupOperation`
|
|
4568
|
+
* validates the payload, performs the operation with the glue-logic features
|
|
4569
|
+
* behind `HiGroupOperations` and returns the affected groups in the
|
|
4570
|
+
* plan-context shape. A new command is one entry in `HI_GROUP_OPERATION`, one
|
|
4571
|
+
* payload type and one handler.
|
|
4572
|
+
*/
|
|
4573
|
+
export declare const HI_GROUP_OPERATION: {
|
|
4574
|
+
readonly CHANGE_MODULE_ATTRIBUTE: "change-module-attribute";
|
|
4575
|
+
readonly CHANGE_GROUP_ATTRIBUTE: "change-group-attribute";
|
|
4576
|
+
readonly DELETE_GROUP: "delete-group";
|
|
4577
|
+
readonly DELETE_ROOT_MODULE: "delete-root-module";
|
|
4578
|
+
readonly MERGE_ARTICLE_INTO_GROUP: "merge-article-into-group";
|
|
4579
|
+
readonly EXCHANGE_ROOT_MODULE: "exchange-root-module";
|
|
4580
|
+
readonly MERGE_GROUPS: "merge-groups";
|
|
4581
|
+
};
|
|
4582
|
+
|
|
4533
4583
|
export declare const HI_LOAD_OBJECT_REASON: {
|
|
4534
4584
|
readonly ADD_SUBARTICLE: "add_subarticle";
|
|
4535
4585
|
readonly MOVE_SUBARTICLE: "move_subarticle";
|
|
@@ -4566,8 +4616,15 @@ export declare interface HiApiOptions extends HomagIntelligenceSubscription {
|
|
|
4566
4616
|
language?: string;
|
|
4567
4617
|
}
|
|
4568
4618
|
|
|
4619
|
+
export declare interface HiArticlePick {
|
|
4620
|
+
articleId: string;
|
|
4621
|
+
attributes?: HiPlanRootAttribute[];
|
|
4622
|
+
}
|
|
4623
|
+
|
|
4569
4624
|
export declare type HiAttributeOptionsResult = CheckDropDownResult | CheckDropDownEntry[] | undefined;
|
|
4570
4625
|
|
|
4626
|
+
export declare type HiAttributeValue = string | boolean;
|
|
4627
|
+
|
|
4571
4628
|
export declare interface HiCallbacks {
|
|
4572
4629
|
/**
|
|
4573
4630
|
* Requests the calculation script for the given library ID.
|
|
@@ -4663,6 +4720,15 @@ export declare type HiContextAction = (typeof HI_CONTEXT_ACTION)[keyof typeof HI
|
|
|
4663
4720
|
*/
|
|
4664
4721
|
export declare const HIDDEN_INTERACTION_LIFECYCLE_METHODS: readonly ["startInteraction", "resumeInteraction", "endInteraction"];
|
|
4665
4722
|
|
|
4723
|
+
/** A free docking vector of a root of the group, and how the article docks to it. */
|
|
4724
|
+
export declare interface HiDockTarget {
|
|
4725
|
+
rootId: string;
|
|
4726
|
+
ownDockingVector: PosDock | string;
|
|
4727
|
+
dockingVector: PosDock | string;
|
|
4728
|
+
mode?: PosDockMode;
|
|
4729
|
+
offset?: HiPlanPosition3;
|
|
4730
|
+
}
|
|
4731
|
+
|
|
4666
4732
|
export declare interface HighlightHelper {
|
|
4667
4733
|
init(object: Object3D, camera: PerspectiveCamera): void;
|
|
4668
4734
|
setCamera(camera: PerspectiveCamera): void;
|
|
@@ -4676,6 +4742,48 @@ export declare interface HighlightHelper {
|
|
|
4676
4742
|
invalidate?(): void;
|
|
4677
4743
|
}
|
|
4678
4744
|
|
|
4745
|
+
export declare type HiGroupOperation = (typeof HI_GROUP_OPERATION)[keyof typeof HI_GROUP_OPERATION];
|
|
4746
|
+
|
|
4747
|
+
export declare interface HiGroupOperationPayloads {
|
|
4748
|
+
'change-module-attribute': {
|
|
4749
|
+
rootModuleId: string;
|
|
4750
|
+
moduleId?: string | null;
|
|
4751
|
+
attributeId: string;
|
|
4752
|
+
value: HiAttributeValue;
|
|
4753
|
+
};
|
|
4754
|
+
'change-group-attribute': {
|
|
4755
|
+
groupId: string;
|
|
4756
|
+
attributeId: string;
|
|
4757
|
+
value: HiAttributeValue;
|
|
4758
|
+
};
|
|
4759
|
+
'delete-group': {
|
|
4760
|
+
groupId: string;
|
|
4761
|
+
};
|
|
4762
|
+
'delete-root-module': {
|
|
4763
|
+
rootModuleId: string;
|
|
4764
|
+
};
|
|
4765
|
+
'merge-article-into-group': HiArticlePick & {
|
|
4766
|
+
groupId: string;
|
|
4767
|
+
dockTo: HiDockTarget;
|
|
4768
|
+
};
|
|
4769
|
+
'exchange-root-module': {
|
|
4770
|
+
groupId: string;
|
|
4771
|
+
rootModuleId: string;
|
|
4772
|
+
articleId: string;
|
|
4773
|
+
};
|
|
4774
|
+
'merge-groups': {
|
|
4775
|
+
targetGroupId: string;
|
|
4776
|
+
groupIds: string[];
|
|
4777
|
+
};
|
|
4778
|
+
}
|
|
4779
|
+
|
|
4780
|
+
export declare interface HiGroupOperationResult {
|
|
4781
|
+
command: HiGroupOperation;
|
|
4782
|
+
groups: HiPlanGroup[];
|
|
4783
|
+
removedGroupIds: string[];
|
|
4784
|
+
changedModuleIds?: string[];
|
|
4785
|
+
}
|
|
4786
|
+
|
|
4679
4787
|
export declare type HiLoadObjectReason = (typeof HI_LOAD_OBJECT_REASON)[keyof typeof HI_LOAD_OBJECT_REASON];
|
|
4680
4788
|
|
|
4681
4789
|
export declare interface HiObjectSelectionApi {
|
|
@@ -4723,15 +4831,181 @@ export declare interface HiOrderHeader {
|
|
|
4723
4831
|
|
|
4724
4832
|
export declare type HiPanelActionType = (typeof HI_PANEL_ACTION)[keyof typeof HI_PANEL_ACTION];
|
|
4725
4833
|
|
|
4834
|
+
export declare interface HiPlanArticle {
|
|
4835
|
+
articleId: string;
|
|
4836
|
+
articleName?: string;
|
|
4837
|
+
desc?: string;
|
|
4838
|
+
imageUrl?: string;
|
|
4839
|
+
category?: string;
|
|
4840
|
+
libraryId: string;
|
|
4841
|
+
catalog: string;
|
|
4842
|
+
cornerArticle: boolean;
|
|
4843
|
+
cornerPoint?: HiPlanPosition3;
|
|
4844
|
+
rootModules: HiPlanArticleRootModule[];
|
|
4845
|
+
}
|
|
4846
|
+
|
|
4847
|
+
export declare interface HiPlanArticleAttributeValue {
|
|
4848
|
+
id: string;
|
|
4849
|
+
name?: string;
|
|
4850
|
+
value?: number | string | boolean;
|
|
4851
|
+
}
|
|
4852
|
+
|
|
4853
|
+
export declare interface HiPlanArticleRootModule {
|
|
4854
|
+
module: {
|
|
4855
|
+
id: string;
|
|
4856
|
+
name?: string;
|
|
4857
|
+
desc?: string;
|
|
4858
|
+
imageUrl?: string;
|
|
4859
|
+
};
|
|
4860
|
+
dimensions: HiPlanArticleAttributeValue[];
|
|
4861
|
+
mainAttributes: HiPlanArticleAttributeValue[];
|
|
4862
|
+
dockingVectors: string[];
|
|
4863
|
+
insertLevels?: PosInsertLevelInfo[];
|
|
4864
|
+
subModules: Array<{
|
|
4865
|
+
id: string;
|
|
4866
|
+
name?: string;
|
|
4867
|
+
desc?: string;
|
|
4868
|
+
imageUrl?: string;
|
|
4869
|
+
}>;
|
|
4870
|
+
}
|
|
4871
|
+
|
|
4872
|
+
export declare interface HiPlanAttribute {
|
|
4873
|
+
id: string;
|
|
4874
|
+
name: string;
|
|
4875
|
+
desc?: string;
|
|
4876
|
+
imageUrl?: string;
|
|
4877
|
+
type: MDType;
|
|
4878
|
+
group?: string;
|
|
4879
|
+
selections?: MDAttributeSelection[];
|
|
4880
|
+
}
|
|
4881
|
+
|
|
4726
4882
|
export declare interface HiPlanContext {
|
|
4727
|
-
masterData?: Record<string,
|
|
4728
|
-
rooms?:
|
|
4729
|
-
articles?:
|
|
4730
|
-
groups?:
|
|
4883
|
+
masterData?: Record<string, HiPlanMasterData>;
|
|
4884
|
+
rooms?: HiPlanRoomInformation;
|
|
4885
|
+
articles?: HiPlanArticle[];
|
|
4886
|
+
groups?: HiPlanGroup[];
|
|
4887
|
+
}
|
|
4888
|
+
|
|
4889
|
+
export declare interface HiPlanContextData {
|
|
4890
|
+
dockedRoots: Array<{
|
|
4891
|
+
ownDockingVector: PosDock | string;
|
|
4892
|
+
dockedRoots: HiPlanDockedRoot[];
|
|
4893
|
+
}>;
|
|
4731
4894
|
}
|
|
4732
4895
|
|
|
4733
4896
|
export declare type HiPlanContextSection = 'masterData' | 'rooms' | 'articles' | 'groups';
|
|
4734
4897
|
|
|
4898
|
+
export declare interface HiPlanContour {
|
|
4899
|
+
level: number;
|
|
4900
|
+
segments: HiPlanContourSegment[];
|
|
4901
|
+
}
|
|
4902
|
+
|
|
4903
|
+
export declare interface HiPlanContourSegment {
|
|
4904
|
+
cmd: string;
|
|
4905
|
+
pos: HiPlanPosition3;
|
|
4906
|
+
angle?: number;
|
|
4907
|
+
type?: string;
|
|
4908
|
+
height?: number;
|
|
4909
|
+
thickness?: number;
|
|
4910
|
+
}
|
|
4911
|
+
|
|
4912
|
+
export declare interface HiPlanDockedRoot {
|
|
4913
|
+
id: string;
|
|
4914
|
+
dockingVector: PosDock | string;
|
|
4915
|
+
mode?: PosDockMode | string;
|
|
4916
|
+
offset?: number[];
|
|
4917
|
+
}
|
|
4918
|
+
|
|
4919
|
+
export declare interface HiPlanFootprint {
|
|
4920
|
+
x: [number, number];
|
|
4921
|
+
z: [number, number];
|
|
4922
|
+
widthMm: number;
|
|
4923
|
+
depthMm: number;
|
|
4924
|
+
}
|
|
4925
|
+
|
|
4926
|
+
export declare interface HiPlanGroup {
|
|
4927
|
+
id: string;
|
|
4928
|
+
libraryId?: string;
|
|
4929
|
+
position: HiPlanGroupPosition;
|
|
4930
|
+
attributes?: PosModuleAttribute[];
|
|
4931
|
+
roots: HiPlanRoot[];
|
|
4932
|
+
}
|
|
4933
|
+
|
|
4934
|
+
export declare interface HiPlanGroupPosition {
|
|
4935
|
+
pos?: number[];
|
|
4936
|
+
rotationY?: number;
|
|
4937
|
+
footprint?: HiPlanFootprint;
|
|
4938
|
+
}
|
|
4939
|
+
|
|
4940
|
+
export declare interface HiPlanMasterData {
|
|
4941
|
+
libraryId: string;
|
|
4942
|
+
modules: HiPlanMasterDataModule[];
|
|
4943
|
+
attributes: HiPlanAttribute[];
|
|
4944
|
+
}
|
|
4945
|
+
|
|
4946
|
+
export declare interface HiPlanMasterDataModule {
|
|
4947
|
+
id: string;
|
|
4948
|
+
name: string;
|
|
4949
|
+
desc?: string;
|
|
4950
|
+
imageUrl?: string;
|
|
4951
|
+
attributes: string[];
|
|
4952
|
+
}
|
|
4953
|
+
|
|
4954
|
+
/**
|
|
4955
|
+
* The plan context is the data an AI agent needs to understand and author a
|
|
4956
|
+
* planning session. `getPlanContext` (glue logic) assembles it and every
|
|
4957
|
+
* section leaves this file in the agent-ready shape: compacted, and in one
|
|
4958
|
+
* coordinate system - 3D, right-handed, Y up, the coordinate system of
|
|
4959
|
+
* `PosGroup`.
|
|
4960
|
+
*/
|
|
4961
|
+
export declare type HiPlanPosition3 = [number, number, number];
|
|
4962
|
+
|
|
4963
|
+
export declare interface HiPlanRoom {
|
|
4964
|
+
levels: HiPlanContour[];
|
|
4965
|
+
walls: HiPlanWall[];
|
|
4966
|
+
}
|
|
4967
|
+
|
|
4968
|
+
export declare interface HiPlanRoomInformation {
|
|
4969
|
+
rooms: HiPlanRoom[];
|
|
4970
|
+
}
|
|
4971
|
+
|
|
4972
|
+
export declare interface HiPlanRoot {
|
|
4973
|
+
id: string;
|
|
4974
|
+
articleId: string;
|
|
4975
|
+
articleName?: string;
|
|
4976
|
+
desc?: string;
|
|
4977
|
+
imageUrl?: string;
|
|
4978
|
+
category?: string;
|
|
4979
|
+
isGenerated?: boolean;
|
|
4980
|
+
attributes: HiPlanRootAttribute[];
|
|
4981
|
+
contextData?: HiPlanContextData;
|
|
4982
|
+
dockingVectors: string[];
|
|
4983
|
+
freeDockingVectors: string[];
|
|
4984
|
+
subModules: Array<{
|
|
4985
|
+
id: string;
|
|
4986
|
+
imageUrl?: string;
|
|
4987
|
+
}>;
|
|
4988
|
+
}
|
|
4989
|
+
|
|
4990
|
+
export declare interface HiPlanRootAttribute {
|
|
4991
|
+
id: string;
|
|
4992
|
+
value?: number | string | boolean;
|
|
4993
|
+
}
|
|
4994
|
+
|
|
4995
|
+
export declare interface HiPlanWall {
|
|
4996
|
+
index: number;
|
|
4997
|
+
side: HiPlanWallSide;
|
|
4998
|
+
start: HiPlanPosition3;
|
|
4999
|
+
end: HiPlanPosition3;
|
|
5000
|
+
lengthMm: number;
|
|
5001
|
+
type?: string;
|
|
5002
|
+
heightMm?: number;
|
|
5003
|
+
thicknessMm?: number;
|
|
5004
|
+
facingRotationY: number;
|
|
5005
|
+
}
|
|
5006
|
+
|
|
5007
|
+
export declare type HiPlanWallSide = 'left' | 'right' | 'top' | 'bottom';
|
|
5008
|
+
|
|
4735
5009
|
export declare interface HiPriceData {
|
|
4736
5010
|
[key: string]: any;
|
|
4737
5011
|
orderData: HiOrder;
|
|
@@ -4887,7 +5161,7 @@ export declare class ImageRenderer implements Context {
|
|
|
4887
5161
|
private _getRenderer;
|
|
4888
5162
|
protected _createThreejsImageRenderer(): Promise<WebGLRenderer | WebGPURenderer>;
|
|
4889
5163
|
protected _createRoomleRenderer(imageRenderer: WebGLRenderer | WebGPURenderer): Promise<GenericRoomleRenderer>;
|
|
4890
|
-
switchToPlannerSettings(): Promise<void>;
|
|
5164
|
+
switchToPlannerSettings(renderMode: PlannerRenderMode): Promise<void>;
|
|
4891
5165
|
switchToConfiguratorSettings(): Promise<void>;
|
|
4892
5166
|
updateBounds(bounds: Box3): Promise<void>;
|
|
4893
5167
|
static getCameraTargetForBBox(bbox: Box3, spacing?: number): CameraTarget;
|
|
@@ -4941,6 +5215,9 @@ export declare class InitData implements Context, Omit<InitDataDefinition, 'colo
|
|
|
4941
5215
|
restrictionLevel: number;
|
|
4942
5216
|
hi?: HomagIntelligenceInitData;
|
|
4943
5217
|
disableDefaultLabelStyles: boolean;
|
|
5218
|
+
translations?: Record<string, {
|
|
5219
|
+
'room-types'?: Record<string, string>;
|
|
5220
|
+
}>;
|
|
4944
5221
|
highlighting: Enumify<typeof ROOMLE_HIGHLIGHTNG>;
|
|
4945
5222
|
initialFloorMaterial?: string;
|
|
4946
5223
|
dls?: string;
|
|
@@ -6009,8 +6286,15 @@ export declare interface Matrix4 {
|
|
|
6009
6286
|
|
|
6010
6287
|
export declare type MaybePromise<T> = (() => T) | (() => Promise<T>);
|
|
6011
6288
|
|
|
6289
|
+
/**
|
|
6290
|
+
* MD5 hex digest of a string, e.g. the hashed password RapiAccess.signinUser expects
|
|
6291
|
+
*/
|
|
6292
|
+
export declare const md5Hash: (value: string) => string;
|
|
6293
|
+
|
|
6012
6294
|
export declare type MDAttributeInfo = MDBoolAttributeInfo | MDTextAttributeInfo | MDIntegerAttributeInfo | MDRealAttributeInfo | MDDimAttributeInfo;
|
|
6013
6295
|
|
|
6296
|
+
export declare type MDAttributeSelection = MDBoolAttributeSelection | MDTextAttributeSelection | MDIntegerAttributeSelection | MDRealAttributeSelection | MDDimAttributeSelection;
|
|
6297
|
+
|
|
6014
6298
|
export declare interface MDBoolAttributeInfo extends BaseMDAttributeInfo {
|
|
6015
6299
|
selections?: MDBoolAttributeSelection[];
|
|
6016
6300
|
type: MDType.Bool;
|
|
@@ -6931,6 +7215,9 @@ export declare interface PlanInteractionHandler_2 {
|
|
|
6931
7215
|
setNodeType(node: Node_3, nodeType: NodeType_2): void;
|
|
6932
7216
|
setWallThickness(wall: Wall_2, thickness: number): void;
|
|
6933
7217
|
setWallHeight(wall: Wall_2, height: number): void;
|
|
7218
|
+
setWallArc(wall: Wall_2, sweepAngleInRad: number): void;
|
|
7219
|
+
setWallArcThroughPoint(wall: Wall_2, point: Vector3): void;
|
|
7220
|
+
setWallCurve(wall: Wall_2, interiorControlPoints: WallCurveControlPoint[], degree: number, knots: number[]): void;
|
|
6934
7221
|
setWallColor(wall: Wall_2, color: number): void;
|
|
6935
7222
|
setWallLeftMaterial(wall: Wall_2, material: WallMaterial_2): void;
|
|
6936
7223
|
setWallRightMaterial(wall: Wall_2, material: WallMaterial_2): void;
|
|
@@ -6957,9 +7244,9 @@ export declare interface PlanInteractionHandler_2 {
|
|
|
6957
7244
|
addAttic(wall: Wall_2, kneeHeight: number, width: number, side: WallSide_2 | null | undefined): Attic;
|
|
6958
7245
|
addNode(position: Vector3): Node_3;
|
|
6959
7246
|
addText(text: string, position: Vector3): PlanText_2;
|
|
6960
|
-
addPlanObject(itemId: string, type: string, size: Vector3, position: Vector3, rotationInRad: number, findFreeSpaceInPlan: boolean): PlanObject_2;
|
|
6961
|
-
addPlanObjects(catalogItems: CatalogItemPtrList_2, findFreeSpaceInPlan: boolean): PlanObject_2[];
|
|
6962
|
-
addPlanObjectFromItem(item: CatalogItem_2, position: Vector3, rotationInRad: number, findFreeSpaceInPlan: boolean): PlanObject_2;
|
|
7247
|
+
addPlanObject(itemId: string, type: string, size: Vector3, position: Vector3, rotationInRad: number, findFreeSpaceInPlan: boolean, cameraPosition?: Vector3, lineOfSight?: Vector3): PlanObject_2;
|
|
7248
|
+
addPlanObjects(catalogItems: CatalogItemPtrList_2, findFreeSpaceInPlan: boolean, cameraPosition?: Vector3, lineOfSight?: Vector3): PlanObject_2[];
|
|
7249
|
+
addPlanObjectFromItem(item: CatalogItem_2, position: Vector3, rotationInRad: number, findFreeSpaceInPlan: boolean, cameraPosition?: Vector3, lineOfSight?: Vector3): PlanObject_2;
|
|
6963
7250
|
addOrUpdateExternalPlanObjects(groups: string | string[], position: Vector3, rotationInRad: number, updateConfiguration: ExternalObjectLoadConfiguration, mergedGroupIds: string | string[]): PlanObject_2[];
|
|
6964
7251
|
createPreviewGeometryForAddOn(objectId: string, objectConfiguration: string, articleId: string, groupDefinitions: string, validContainerModules: ExternalValidContainerModule[]): void;
|
|
6965
7252
|
catalogItemLoaded(catalogItem: CatalogItem_2): void;
|
|
@@ -7245,7 +7532,11 @@ export declare class PlannerKernelAccess extends ConfiguratorKernelAccess {
|
|
|
7245
7532
|
protected _validateExternalComponentParameters(componentId: number, parameters: KernelParameter[]): Promise<KernelParameter[]>;
|
|
7246
7533
|
protected _validateExternalPlanObjectParameters(objectId: number, parameters: KernelParameter[]): Promise<KernelParameter[]>;
|
|
7247
7534
|
catalogItemLoaded(catalogItem: RapiItem): void;
|
|
7248
|
-
|
|
7535
|
+
/**
|
|
7536
|
+
* @param camera in 3D and first-person view, doors, windows and wall-mounted
|
|
7537
|
+
* objects are placed on the wall this camera looks at
|
|
7538
|
+
*/
|
|
7539
|
+
insertItems(itemList: Array<RapiItem | RapiConfiguration>, newUndoRedoStep?: boolean, camera?: Camera): Promise<RuntimeId[]>;
|
|
7249
7540
|
private _performInsertItems;
|
|
7250
7541
|
duplicateItems(planObjects: PlanObject[]): PlanObject[];
|
|
7251
7542
|
mergeItems(planObjects: PlanObject[]): void;
|
|
@@ -8767,6 +9058,7 @@ export declare class RapiAccess implements Context {
|
|
|
8767
9058
|
getMeshesOfCatalog(catalogId: RapiId): Promise<RapiMesh[]>;
|
|
8768
9059
|
getTexturesOf(rapiJson: RapiJson): Promise<RapiTexture[]>;
|
|
8769
9060
|
getItemsOf(rapiJson: RapiJson): Promise<RapiItem[]>;
|
|
9061
|
+
getTagsOf(rapiJson: RapiJson): Promise<RapiTag[]>;
|
|
8770
9062
|
getMaterialsOf(rapiJson: RapiJson): Promise<RapiMaterial[]>;
|
|
8771
9063
|
getComponentsOf(rapiJson: RapiJson): Promise<RapiComponent[]>;
|
|
8772
9064
|
getAdditionalContentsOfItems(rapiItems: RapiItem[]): Promise<RapiAdditionalContent[]>;
|
|
@@ -8815,6 +9107,7 @@ export declare class RapiAccess implements Context {
|
|
|
8815
9107
|
private _get;
|
|
8816
9108
|
private _fetchJson;
|
|
8817
9109
|
private _fetch;
|
|
9110
|
+
private _logDeprecatedEndpoint;
|
|
8818
9111
|
private _createHeaders;
|
|
8819
9112
|
private _handleJson;
|
|
8820
9113
|
private _prepareEmbeddedData;
|
|
@@ -9009,15 +9302,15 @@ export declare interface RapiItem extends RapiElement {
|
|
|
9009
9302
|
width: number;
|
|
9010
9303
|
height: number;
|
|
9011
9304
|
depth: number;
|
|
9012
|
-
basecolor: number;
|
|
9013
|
-
displayedWidth: number;
|
|
9014
|
-
displayedHeight: number;
|
|
9015
|
-
displayedDepth: number;
|
|
9016
9305
|
perspectiveImageHD: AssetUrl;
|
|
9017
9306
|
topImage: AssetUrl;
|
|
9018
|
-
|
|
9019
|
-
|
|
9020
|
-
|
|
9307
|
+
basecolor?: number;
|
|
9308
|
+
displayedWidth?: number;
|
|
9309
|
+
displayedHeight?: number;
|
|
9310
|
+
displayedDepth?: number;
|
|
9311
|
+
threeDimensionalAssetWeb?: AssetUrl;
|
|
9312
|
+
threeDimensionalAssetIOS?: AssetUrl;
|
|
9313
|
+
threeDimensionalAsset?: AssetUrl;
|
|
9021
9314
|
flipable: boolean;
|
|
9022
9315
|
scaleable: boolean;
|
|
9023
9316
|
meta: string;
|
|
@@ -9396,6 +9689,16 @@ export declare class RaycastHelper extends EventDispatcher<Record<RAYCAST_EVENT,
|
|
|
9396
9689
|
private _findHover;
|
|
9397
9690
|
private _intersection;
|
|
9398
9691
|
private _intersect;
|
|
9692
|
+
/**
|
|
9693
|
+
* Components are hit through their bounding boxes, and the box of a component
|
|
9694
|
+
* encloses the boxes of the sub components within it, so the nearest hit of a
|
|
9695
|
+
* priority is usually the enclosing one and a click on a sub component would
|
|
9696
|
+
* never reach it. Move the innermost hit nested within that nearest one to the
|
|
9697
|
+
* front. A sub component counts as nested when it lies mostly within, as it
|
|
9698
|
+
* can protrude from the box around it. Hits that are not nested keep their
|
|
9699
|
+
* distance order, so unrelated objects are unaffected.
|
|
9700
|
+
*/
|
|
9701
|
+
private _preferNestedComponent;
|
|
9399
9702
|
intersectAtPosition(position: Position2): RoomleEventedIntersection | null;
|
|
9400
9703
|
private _findObjectWithHandler;
|
|
9401
9704
|
private _onDragStart;
|
|
@@ -9481,8 +9784,9 @@ export declare class RoomDesignerApi implements RoomDesignerRequests {
|
|
|
9481
9784
|
selectRoot(rootModuleId: string): Promise<void>;
|
|
9482
9785
|
selectModule(rootModuleId: string, subModuleId: string): Promise<void>;
|
|
9483
9786
|
openCloseGroup(groupOrRootModuleId: string, subModuleId: string | null, open: boolean, animate: boolean): Promise<void>;
|
|
9484
|
-
deleteGroup(groupId: string): void
|
|
9485
|
-
deleteRootModule(rootModuleId: string): void
|
|
9787
|
+
deleteGroup(groupId: string): Promise<void>;
|
|
9788
|
+
deleteRootModule(rootModuleId: string): Promise<void>;
|
|
9789
|
+
mergeGroups(groupIds: string[]): Promise<void>;
|
|
9486
9790
|
getPosDataOfAllGroups(): Promise<PosGroup[]>;
|
|
9487
9791
|
getRoomInformation(mode?: PlanRoomGeometryMode): Promise<ExternalRoomInformation>;
|
|
9488
9792
|
saveExternalObjectSnapshot(): Promise<ExternalObjectSnapshotSaveResult | null>;
|
|
@@ -9498,8 +9802,9 @@ export declare interface RoomDesignerRequests {
|
|
|
9498
9802
|
selectRoot(rootModuleId: string): Promise<void>;
|
|
9499
9803
|
selectModule(rootModuleId: string, subModuleId: string): Promise<void>;
|
|
9500
9804
|
openCloseGroup(groupOrRootModuleId: string, subModuleId: string | null, open: boolean, animate: boolean): void;
|
|
9501
|
-
deleteGroup(groupId: string): void
|
|
9502
|
-
deleteRootModule(rootModuleId: string): void
|
|
9805
|
+
deleteGroup(groupId: string): Promise<void>;
|
|
9806
|
+
deleteRootModule(rootModuleId: string): Promise<void>;
|
|
9807
|
+
mergeGroups(groupIds: string[]): Promise<void>;
|
|
9503
9808
|
getPosDataOfAllGroups(): Promise<PosGroup[]>;
|
|
9504
9809
|
getRoomInformation(mode?: PlanRoomGeometryMode): Promise<ExternalRoomInformation>;
|
|
9505
9810
|
saveExternalObjectSnapshot(): Promise<ExternalObjectSnapshotSaveResult | null>;
|
|
@@ -9640,6 +9945,7 @@ export declare class RoomleConfigurator<P extends readonly PluginName[] = readon
|
|
|
9640
9945
|
*/
|
|
9641
9946
|
download2DPlanViews(): Promise<void>;
|
|
9642
9947
|
exportCanvasScreenshot(quality?: number): Promise<string>;
|
|
9948
|
+
exportCameraScreenshot(quality?: number): Promise<string>;
|
|
9643
9949
|
initSceneManager(sceneManager?: ConfiguratorSceneManager): void;
|
|
9644
9950
|
getScene(): Scene;
|
|
9645
9951
|
getSceneManager(): ConfiguratorSceneManager;
|
|
@@ -10907,6 +11213,7 @@ export declare class RoomlePlanner<P extends readonly PluginName[] = readonly []
|
|
|
10907
11213
|
swapObject(old: number | PlanElementViewModel | null, idOfNew: RapiId): Promise<number>;
|
|
10908
11214
|
exportImageFromCamera(filename?: string, shouldWaitForAssets?: boolean): Promise<void>;
|
|
10909
11215
|
exportCanvasScreenshot(quality?: number): Promise<string>;
|
|
11216
|
+
exportCameraScreenshot(quality?: number): Promise<string>;
|
|
10910
11217
|
/**
|
|
10911
11218
|
* Move the current selected element in the 3D space
|
|
10912
11219
|
* @param selectedElement this is the current selected plan object
|
|
@@ -10975,13 +11282,15 @@ export declare class RoomlePlanner<P extends readonly PluginName[] = readonly []
|
|
|
10975
11282
|
}>;
|
|
10976
11283
|
getExternalObjectValidSubArticles(posGroupId?: string): PosArticle[];
|
|
10977
11284
|
selectExternalObjectSubArticle(subArticleId: string): void;
|
|
10978
|
-
|
|
11285
|
+
_mergeExternalObjects(groupIds: string[]): Promise<void>;
|
|
11286
|
+
removeExternalObject(groupOrRootModuleId: string): Promise<void>;
|
|
10979
11287
|
selectExternalObject(groupOrRootModuleId: string, subModuleId: string | null, contextAction: HiContextAction): Promise<void>;
|
|
10980
11288
|
highlightExternalObject(groupOrRootModuleId: string, subModuleId: string | null): Promise<void>;
|
|
10981
11289
|
openOrCloseGeometryOfExternalObject(groupIdOrRootModuleId: string, _subModuleId: string | null, open: boolean, animate: boolean): void;
|
|
10982
11290
|
_selectExternalObjectGroup(groupId: string, switchToPlanner: boolean): Promise<void>;
|
|
10983
11291
|
getExternalObjectGroups(): Promise<object[]>;
|
|
10984
11292
|
getExternalObjectPlanContext(include?: HiPlanContextSection[]): Promise<HiPlanContext>;
|
|
11293
|
+
externalObjectGroupOperation<C extends HiGroupOperation>(command: C, payload: HiGroupOperationPayloads[C]): Promise<HiGroupOperationResult>;
|
|
10985
11294
|
getExternalRoomInformation(mode?: PlanRoomGeometryMode): Promise<ExternalRoomInformation>;
|
|
10986
11295
|
/**
|
|
10987
11296
|
* Highlights a product in the planner.
|
|
@@ -11699,6 +12008,12 @@ export declare abstract class SceneManager implements Context, LifeCycleCallback
|
|
|
11699
12008
|
protected _waitForAssets(): Promise<void>;
|
|
11700
12009
|
exportCanvasScreenshot(quality?: number): Promise<string>;
|
|
11701
12010
|
exportImageFromCamera(filename: string, shouldWaitForAssets?: boolean): Promise<void>;
|
|
12011
|
+
/**
|
|
12012
|
+
* Like exportCanvasScreenshot, but cropped to the part of the canvas the
|
|
12013
|
+
* camera renders into (see setCameraOffset), so UI overlays are left out
|
|
12014
|
+
*/
|
|
12015
|
+
exportCameraScreenshot(quality?: number): Promise<string>;
|
|
12016
|
+
private _cropToCameraOffset;
|
|
11702
12017
|
private getCanvasScreenshotWithDimensions;
|
|
11703
12018
|
changeEnvironmentMapIntensity(intensity: number): void;
|
|
11704
12019
|
changeEnvironmentMapRotation(rotation: number): void;
|
|
@@ -12462,6 +12777,14 @@ export declare interface Wall_2 extends PlanElement_2 {
|
|
|
12462
12777
|
getCornerToLeft(): Vector3;
|
|
12463
12778
|
getCornerToRight(): Vector3;
|
|
12464
12779
|
getAngle(): number;
|
|
12780
|
+
getArcSweepAngle(): number;
|
|
12781
|
+
getCurveControlPoints(): PointArray_2;
|
|
12782
|
+
getCurveWeights(): FloatArray;
|
|
12783
|
+
getCurveDegree(): number;
|
|
12784
|
+
getAxisPolyline(): PointArray_2;
|
|
12785
|
+
getLeftFacePolyline(): PointArray_2;
|
|
12786
|
+
getRightFacePolyline(): PointArray_2;
|
|
12787
|
+
getTangentAngleAt(point: Vector3): number;
|
|
12465
12788
|
getLength(side: WallSide_2): number;
|
|
12466
12789
|
getSlopingLength(): number;
|
|
12467
12790
|
getPreferredSide(): WallSide_2;
|
|
@@ -12470,6 +12793,7 @@ export declare interface Wall_2 extends PlanElement_2 {
|
|
|
12470
12793
|
getCenter(): Vector3;
|
|
12471
12794
|
getHeightAt(aPoint: Vector3): number;
|
|
12472
12795
|
getPointWithHeight(aHeight: number): Vector3;
|
|
12796
|
+
readonly isCurved: boolean;
|
|
12473
12797
|
readonly meshThickness: number;
|
|
12474
12798
|
readonly isVectorWall: boolean;
|
|
12475
12799
|
readonly thickness: number;
|
|
@@ -12495,6 +12819,12 @@ export declare class WallAtticPlanElementViewModel extends PlanElementViewModel
|
|
|
12495
12819
|
update(): void;
|
|
12496
12820
|
}
|
|
12497
12821
|
|
|
12822
|
+
export declare interface WallCurveControlPoint {
|
|
12823
|
+
u: number;
|
|
12824
|
+
v: number;
|
|
12825
|
+
w: number;
|
|
12826
|
+
}
|
|
12827
|
+
|
|
12498
12828
|
export declare interface WallDefinition {
|
|
12499
12829
|
from: Position3;
|
|
12500
12830
|
to: Position3;
|