@roomle/web-sdk 5.1.0-alpha.7 → 5.1.0-alpha.9
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/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-D1GP5SkG.mjs → api-DBo4bqkV.mjs} +2 -2
- package/lib/{api-D1GP5SkG.mjs.map → api-DBo4bqkV.mjs.map} +1 -1
- package/lib/{asset-loader.worker-CzI1oyTY.mjs → asset-loader.worker-CE4O0JU-.mjs} +1 -1
- package/lib/asset-loader.worker-CE4O0JU-.mjs.map +1 -0
- package/lib/{banana-for-scale-Cf41yXTl.mjs → banana-for-scale-DQIiLvlJ.mjs} +3 -3
- package/lib/{banana-for-scale-Cf41yXTl.mjs.map → banana-for-scale-DQIiLvlJ.mjs.map} +1 -1
- package/lib/{budgeteer.sw-D80jTmYa.mjs → budgeteer.sw-yR2xApHT.mjs} +1 -1
- package/lib/budgeteer.sw-yR2xApHT.mjs.map +1 -0
- package/lib/common-utils-CNGLvAo_.mjs +320 -0
- package/lib/common-utils-CNGLvAo_.mjs.map +1 -0
- package/lib/{component-raycast-helper-CnpnRaFg.mjs → component-raycast-helper-razJrkD8.mjs} +4 -4
- package/lib/{component-raycast-helper-CnpnRaFg.mjs.map → component-raycast-helper-razJrkD8.mjs.map} +1 -1
- package/lib/{configurator-C0_PGKso.mjs → configurator-Bfbi3q7X.mjs} +4 -4
- package/lib/{configurator-C0_PGKso.mjs.map → configurator-Bfbi3q7X.mjs.map} +1 -1
- package/lib/configurator-BxIDaIsx.mjs +2 -0
- 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-BkdQVlpk.mjs → glb-viewer-CP0TDbjo.mjs} +6 -6
- package/lib/{glb-viewer-BkdQVlpk.mjs.map → glb-viewer-CP0TDbjo.mjs.map} +1 -1
- package/lib/glb-viewer-DYkOoOv-.mjs +2 -0
- package/lib/{highlight-coordinator-DU6oFunq.mjs → highlight-coordinator-DwIDs-5n.mjs} +10 -10
- package/lib/{highlight-coordinator-DU6oFunq.mjs.map → highlight-coordinator-DwIDs-5n.mjs.map} +1 -1
- package/lib/{homag-intelligence-DwPlHiPP.mjs → homag-intelligence-1GdmdIBg.mjs} +3 -3
- package/lib/{homag-intelligence-DwPlHiPP.mjs.map → homag-intelligence-1GdmdIBg.mjs.map} +1 -1
- 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-Bgq9-EYG.mjs → material-viewer-DJEEvr_2.mjs} +6 -6
- package/lib/{material-viewer-Bgq9-EYG.mjs.map → material-viewer-DJEEvr_2.mjs.map} +1 -1
- package/lib/{packages-DAyvqO4U.mjs → packages-Da2aAUP6.mjs} +6 -5
- package/lib/{packages-DAyvqO4U.mjs.map → packages-Da2aAUP6.mjs.map} +1 -1
- package/lib/{planner-DSB66hxa.mjs → planner-B3gmGQ5h.mjs} +3 -3
- package/lib/{planner-DSB66hxa.mjs.map → planner-B3gmGQ5h.mjs.map} +1 -1
- package/lib/planner-BpzUs9MN.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 +1768 -284
- package/lib/roomle-headless.js +100 -100
- 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-BObGek-f.mjs → roomle-sdk-B7kJPhbu.mjs} +4250 -3768
- package/lib/roomle-sdk-B7kJPhbu.mjs.map +1 -0
- package/lib/roomle-sdk.d.ts +1762 -278
- 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--DzrpIl_.mjs → scene-renderer-CHMngNZI.mjs} +362 -345
- package/lib/scene-renderer-CHMngNZI.mjs.map +1 -0
- package/lib/{script-loader-BwGk350m.mjs → script-loader-Bgt0r8D_.mjs} +3 -3
- package/lib/{script-loader-BwGk350m.mjs.map → script-loader-Bgt0r8D_.mjs.map} +1 -1
- package/lib/{shading-settings-6v-7O_Sz.mjs → shading-settings-DJ4kY2Cn.mjs} +2 -2
- package/lib/{shading-settings-6v-7O_Sz.mjs.map → shading-settings-DJ4kY2Cn.mjs.map} +1 -1
- package/lib/src-D2lqGogG.mjs +2 -0
- package/lib/{src-Dg0wYIom.mjs → src-DRuHdK6i.mjs} +1 -1
- package/lib/{src-Dg0wYIom.mjs.map → src-DRuHdK6i.mjs.map} +1 -1
- package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/package.json +1 -1
- package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/ConfiguratorKernel.wasm +0 -0
- package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/RoomleCore.wasm +0 -0
- package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/RoomleToolsCore.wasm +0 -0
- package/lib/{stats-helper-DYjPPDnz.mjs → stats-helper-CuB9x20N.mjs} +3 -3
- package/lib/{stats-helper-DYjPPDnz.mjs.map → stats-helper-CuB9x20N.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-lVSsgAiQ.mjs → threejs-utils-CrP6G-ow.mjs} +243 -100
- package/lib/threejs-utils-CrP6G-ow.mjs.map +1 -0
- package/lib/{tools-core-QpvVIiHK.mjs → tools-core-Bo2DwzBG.mjs} +3 -3
- package/lib/{tools-core-QpvVIiHK.mjs.map → tools-core-Bo2DwzBG.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 +6 -15
- 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-yPK46Y5o.mjs +0 -169
- package/lib/component-dimensioning-yPK46Y5o.mjs.map +0 -1
- package/lib/configurator-DkdZwDYB.mjs +0 -2
- package/lib/dimensioning-helper-CQlesi-m.mjs +0 -2
- package/lib/glb-viewer-02ilhcMw.mjs +0 -2
- package/lib/planner-Dpcg_QGP.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-BObGek-f.mjs.map +0 -1
- package/lib/scene-renderer--DzrpIl_.mjs.map +0 -1
- package/lib/src-6KtBPZXp.mjs +0 -2
- package/lib/threejs-utils-lVSsgAiQ.mjs.map +0 -1
- package/lib/workers-B_wmKVL0.mjs +0 -6
package/lib/roomle-headless.d.ts
CHANGED
|
@@ -6,26 +6,9 @@ import { Camera as Camera_2 } from 'three/webgpu';
|
|
|
6
6
|
import { Color } from 'three';
|
|
7
7
|
import { ColorRepresentation } from 'three';
|
|
8
8
|
import { ColorRepresentation as ColorRepresentation_2 } from 'three/webgpu';
|
|
9
|
-
import { CommunicationInterfaceCallback } from '../../../workers/src/communication-interface';
|
|
10
|
-
import { ConstructionObjectDoorArch } from 'roomle-core-hsc/src/embind/plannerCoreInterface';
|
|
11
|
-
import { createExtObjId } from '../../../../../common/src/utils/external-objects';
|
|
12
|
-
import { Enumify } from '../../../../../../common/src/utils/types';
|
|
13
|
-
import { Enumify as Enumify_2 } from '../../../../../common/src/utils/types';
|
|
14
|
-
import { Enumify as Enumify_3 } from '../../../common/src/utils/types';
|
|
15
|
-
import { Enumify as Enumify_4 } from '../../../../common/src/utils/types';
|
|
16
9
|
import { Euler } from 'three';
|
|
17
|
-
import { ExtObjId } from '../../../common/src/utils/external-objects';
|
|
18
|
-
import { ExtObjId as ExtObjId_2 } from '../../../../../common/src/utils/external-objects';
|
|
19
10
|
import { Group } from 'three';
|
|
20
|
-
import { HiCallbacks } from '../../../../common/src/hi/hi-types';
|
|
21
|
-
import { HiOrderData } from '../../../../common/src/hi/hi-types';
|
|
22
|
-
import { HiOrderHeader } from '../../../../common/src/hi/hi-types';
|
|
23
11
|
import { Intersection } from 'three';
|
|
24
|
-
import { isIdAComponent } from '../../common/src/utils/id-inferrer';
|
|
25
|
-
import { isIdAConfigurationString } from '../../common/src/utils/id-inferrer';
|
|
26
|
-
import { isIdAnItem } from '../../common/src/utils/id-inferrer';
|
|
27
|
-
import { isIdAPlan } from '../../common/src/utils/id-inferrer';
|
|
28
|
-
import { isPlanSnapshotId } from '../../common/src/utils/id-inferrer';
|
|
29
12
|
import { Layers } from 'three';
|
|
30
13
|
import { Light } from 'three';
|
|
31
14
|
import { Material } from 'three';
|
|
@@ -34,38 +17,39 @@ import { Mesh } from 'three';
|
|
|
34
17
|
import { MeshPhysicalMaterial } from 'three';
|
|
35
18
|
import { MeshStandardMaterial } from 'three';
|
|
36
19
|
import { NormalBufferAttributes } from 'three';
|
|
37
|
-
import { Nullable } from '../../common/src/utils/types';
|
|
38
|
-
import { Nullable as Nullable_2 } from '../../../../../common/src/utils/types';
|
|
39
20
|
import { Object3D } from 'three';
|
|
40
21
|
import { Object3D as Object3D_2 } from 'three/webgpu';
|
|
41
22
|
import { Object3DEventMap } from 'three';
|
|
42
23
|
import { OrthographicCamera } from 'three';
|
|
43
24
|
import { ParametersGroup } from 'three/examples/jsm/inspector/tabs/Parameters.js';
|
|
44
|
-
import { PartList } from 'roomle-core-hsc/src/embind/configuratorCoreInterface';
|
|
45
25
|
import { PerspectiveCamera } from 'three';
|
|
46
|
-
import { PlanInteractionHandler as PlanInteractionHandler_2 } from 'roomle-core-hsc/src/embind/plannerCoreInterface';
|
|
47
26
|
import { PointLight } from 'three';
|
|
48
27
|
import { Scene } from 'three';
|
|
49
28
|
import { Scene as Scene_2 } from 'three/webgpu';
|
|
50
29
|
import { Texture } from 'three';
|
|
51
30
|
import { TextureLoader } from 'three';
|
|
52
31
|
import { Vector2 } from 'three';
|
|
53
|
-
import { Vector3 } from 'three';
|
|
32
|
+
import { Vector3 as Vector3_2 } from 'three';
|
|
54
33
|
import { WebGLRenderer } from 'three';
|
|
55
34
|
import { WebGPURenderer } from 'three/webgpu';
|
|
56
|
-
import { WORKER_MESSAGE } from '../../../workers/src/communication-interface';
|
|
57
35
|
|
|
58
36
|
export declare abstract class AbstractModel {
|
|
59
37
|
extRef: number;
|
|
60
38
|
abstract getId(): number;
|
|
61
39
|
}
|
|
62
40
|
|
|
41
|
+
export declare interface AbstractModel_2 {
|
|
42
|
+
new (): AbstractModel_2;
|
|
43
|
+
getId(): number;
|
|
44
|
+
extRef: ExternalReference_2;
|
|
45
|
+
}
|
|
46
|
+
|
|
63
47
|
export declare class AbstractModelWrapper extends AbstractModel {
|
|
64
48
|
getId(): number;
|
|
65
49
|
}
|
|
66
50
|
|
|
67
51
|
export declare interface AdditionalInfo {
|
|
68
|
-
type:
|
|
52
|
+
type: Enumify<typeof CATALOG_INFOS_TYPES>;
|
|
69
53
|
key: string;
|
|
70
54
|
parentIdFilter: string;
|
|
71
55
|
catalog: string;
|
|
@@ -85,16 +69,23 @@ export declare interface AddOnSpot {
|
|
|
85
69
|
mask: string;
|
|
86
70
|
}
|
|
87
71
|
|
|
72
|
+
export declare interface AddOnSpot_2 {
|
|
73
|
+
mask: string;
|
|
74
|
+
position: Vector3;
|
|
75
|
+
}
|
|
76
|
+
|
|
88
77
|
export declare class AddOnSpotArray extends EmsArray<KernelAddOnSpot> {
|
|
89
78
|
}
|
|
90
79
|
|
|
91
|
-
export declare
|
|
80
|
+
export declare type AddOnSpotArray_2 = EmscriptenArray<AddOnSpot_2>;
|
|
81
|
+
|
|
82
|
+
export declare class AddOnSpotArray_3 extends EmsArray<KernelAddOnSpot> {
|
|
92
83
|
}
|
|
93
84
|
|
|
94
85
|
export declare class AdjustableCameraControl3D extends CameraControl3D {
|
|
95
86
|
shouldIgnoreStandardBehavior: boolean;
|
|
96
|
-
adjust(bounds:
|
|
97
|
-
protected _update(overrideTarget?:
|
|
87
|
+
adjust(bounds: Vector3_2, position: Vector3_2, yaw: number, pitch: number, _fov: number): void;
|
|
88
|
+
protected _update(overrideTarget?: Vector3_2): void;
|
|
98
89
|
animateCamera(delta: number): boolean;
|
|
99
90
|
}
|
|
100
91
|
|
|
@@ -102,12 +93,33 @@ export declare interface Anchor {
|
|
|
102
93
|
value: ResizingAnchor;
|
|
103
94
|
}
|
|
104
95
|
|
|
96
|
+
export declare interface Animation_2 {
|
|
97
|
+
actions: AnimationAction[];
|
|
98
|
+
animate?: boolean;
|
|
99
|
+
applyToChildren?: boolean;
|
|
100
|
+
enabled: boolean;
|
|
101
|
+
group: string;
|
|
102
|
+
key: string;
|
|
103
|
+
label: string;
|
|
104
|
+
level: number;
|
|
105
|
+
sort: number;
|
|
106
|
+
visibleInPlanner: boolean;
|
|
107
|
+
}
|
|
108
|
+
|
|
105
109
|
export declare const ANIMATION_LEVEL: {
|
|
106
110
|
readonly COMPONENT: 0;
|
|
107
111
|
readonly OBJECT_COMPONENT: 1;
|
|
108
112
|
readonly OBJECT: 2;
|
|
109
113
|
};
|
|
110
114
|
|
|
115
|
+
export declare interface AnimationAction {
|
|
116
|
+
key: string;
|
|
117
|
+
label: string;
|
|
118
|
+
type: string;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export declare type AnimationArray = EmscriptenArray<Animation_2>;
|
|
122
|
+
|
|
111
123
|
export declare interface AnimationKeyAndValue {
|
|
112
124
|
key: string;
|
|
113
125
|
value: string;
|
|
@@ -120,6 +132,11 @@ export declare interface AnimationTransformation {
|
|
|
120
132
|
key: string;
|
|
121
133
|
}
|
|
122
134
|
|
|
135
|
+
export declare interface AnimationTransformation_2 {
|
|
136
|
+
animationMatrix: Matrix4;
|
|
137
|
+
key: string;
|
|
138
|
+
}
|
|
139
|
+
|
|
123
140
|
export declare interface AnimationTransition {
|
|
124
141
|
from: string;
|
|
125
142
|
to: string;
|
|
@@ -158,6 +175,11 @@ export declare interface AppState {
|
|
|
158
175
|
|
|
159
176
|
export declare type ArticleNumber = string;
|
|
160
177
|
|
|
178
|
+
export declare interface AssembledObjectBounds {
|
|
179
|
+
boundingBox: Box;
|
|
180
|
+
parts: ObjectBoundsArray;
|
|
181
|
+
}
|
|
182
|
+
|
|
161
183
|
export declare interface Asset {
|
|
162
184
|
format: string;
|
|
163
185
|
url: string;
|
|
@@ -180,13 +202,39 @@ export declare interface AssetResponse {
|
|
|
180
202
|
value?: number;
|
|
181
203
|
}
|
|
182
204
|
|
|
205
|
+
export declare interface AssetResponse_2 {
|
|
206
|
+
data: any;
|
|
207
|
+
id: string;
|
|
208
|
+
type: AssetType_2;
|
|
209
|
+
value?: number;
|
|
210
|
+
}
|
|
211
|
+
|
|
183
212
|
export declare interface AssetType {
|
|
184
|
-
value:
|
|
213
|
+
value: Enumify<typeof CORE_ASSET_TYPE>;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
export declare interface AssetType_2 {
|
|
217
|
+
value: Enumify_3<typeof CORE_ASSET_TYPE_2>;
|
|
185
218
|
}
|
|
186
219
|
|
|
187
220
|
export declare type AssetUrl = string;
|
|
188
221
|
|
|
189
|
-
export declare interface
|
|
222
|
+
export declare interface Attic extends PlanElement_2 {
|
|
223
|
+
new (): Attic;
|
|
224
|
+
getFrom(): Node_3;
|
|
225
|
+
getTo(): Node_3;
|
|
226
|
+
getAssociatedWall(): Wall_2;
|
|
227
|
+
get2dPolygon(): PointArray_2;
|
|
228
|
+
getRidgePoints(): PointArray_2;
|
|
229
|
+
getPointsWithHeight(height: number): PointArray_2;
|
|
230
|
+
readonly side: WallSide_2;
|
|
231
|
+
readonly kneeHeight: number;
|
|
232
|
+
readonly width: number;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
export declare type AtticArray = EmscriptenArray<Attic>;
|
|
236
|
+
|
|
237
|
+
export declare interface AtticDimension<Vector2Type = Vector3_2 | Position2, Vector3Type = Vector3_2 | Position3> {
|
|
190
238
|
/** Start position of the attic in 3D **/
|
|
191
239
|
fromPosition3d?: Vector3Type;
|
|
192
240
|
/** End position of the attic in 3D **/
|
|
@@ -270,6 +318,16 @@ export declare abstract class BaseMaterial {
|
|
|
270
318
|
getSourceType(): KernelEnum;
|
|
271
319
|
}
|
|
272
320
|
|
|
321
|
+
export declare interface BaseMaterial_2 extends AbstractModel_2 {
|
|
322
|
+
new (): BaseMaterial_2;
|
|
323
|
+
getCatalogItemId(): string;
|
|
324
|
+
getSourceType(): MaterialSourceType_2;
|
|
325
|
+
catalogItemId: string;
|
|
326
|
+
materialId: string;
|
|
327
|
+
rgbValue: number;
|
|
328
|
+
useCustomColor: boolean;
|
|
329
|
+
}
|
|
330
|
+
|
|
273
331
|
export declare interface BaseMDAttributeInfo {
|
|
274
332
|
id: string;
|
|
275
333
|
name: string;
|
|
@@ -292,6 +350,11 @@ export declare interface BatchPaintMaterial {
|
|
|
292
350
|
catalogItemId?: RapiId;
|
|
293
351
|
}
|
|
294
352
|
|
|
353
|
+
export declare interface Box {
|
|
354
|
+
origin: Vector3;
|
|
355
|
+
size: Vector3;
|
|
356
|
+
}
|
|
357
|
+
|
|
295
358
|
export declare class CacheHolder {
|
|
296
359
|
private _componentCache;
|
|
297
360
|
private _geometryCache;
|
|
@@ -345,7 +408,7 @@ export declare class CameraBehaviourState implements Context {
|
|
|
345
408
|
_creator_: string;
|
|
346
409
|
private _lastPlanBounds;
|
|
347
410
|
constructor(creator: string);
|
|
348
|
-
isWithinPlanBounds(position:
|
|
411
|
+
isWithinPlanBounds(position: Vector3_2, updatedBounds?: Box3): boolean;
|
|
349
412
|
}
|
|
350
413
|
|
|
351
414
|
export declare abstract class CameraControl extends EventDispatcher<CameraEventMap> implements Context {
|
|
@@ -356,8 +419,8 @@ export declare abstract class CameraControl extends EventDispatcher<CameraEventM
|
|
|
356
419
|
protected _width: number;
|
|
357
420
|
protected _height: number;
|
|
358
421
|
protected _boundingBox: Box3;
|
|
359
|
-
protected _cameraPosition:
|
|
360
|
-
protected _targetPosition:
|
|
422
|
+
protected _cameraPosition: Vector3_2;
|
|
423
|
+
protected _targetPosition: Vector3_2;
|
|
361
424
|
protected _tweenEnd: CameraParameter | null;
|
|
362
425
|
private _stateSaved;
|
|
363
426
|
private _cameraStandingStill;
|
|
@@ -395,14 +458,14 @@ export declare abstract class CameraControl extends EventDispatcher<CameraEventM
|
|
|
395
458
|
lock(): void;
|
|
396
459
|
unlock(): void;
|
|
397
460
|
isLocked(): boolean;
|
|
398
|
-
getTargetPosition():
|
|
461
|
+
getTargetPosition(): Vector3_2;
|
|
399
462
|
protected _saveYawAndPitch(): void;
|
|
400
|
-
getInputPosition(position: Position2):
|
|
463
|
+
getInputPosition(position: Position2): Vector3_2;
|
|
401
464
|
addLightContainer(container: Object3D): void;
|
|
402
|
-
checkNearFarDistance(point:
|
|
465
|
+
checkNearFarDistance(point: Vector3_2): void;
|
|
403
466
|
setBounds(boundingBox: Box3): void;
|
|
404
467
|
get domHelper(): DomHelper;
|
|
405
|
-
protected abstract _update(overrideTarget?:
|
|
468
|
+
protected abstract _update(overrideTarget?: Vector3_2, ignoreChecks?: boolean | undefined, keepVariables?: boolean | undefined): void;
|
|
406
469
|
abstract getKernelZoomFactor(): number;
|
|
407
470
|
}
|
|
408
471
|
|
|
@@ -425,7 +488,7 @@ export declare class CameraControl2D extends CameraControl {
|
|
|
425
488
|
private _zoomTo;
|
|
426
489
|
private _move;
|
|
427
490
|
zoomToFitBounds(bounds: Box3, zoomInAllowed: boolean, force?: boolean): void;
|
|
428
|
-
protected _update(_overrideTarget?:
|
|
491
|
+
protected _update(_overrideTarget?: Vector3_2, _ignoreChecks?: boolean | undefined, _keepVariables?: boolean | undefined): void;
|
|
429
492
|
animateCamera(delta: number): boolean;
|
|
430
493
|
getKernelZoomFactor(): number;
|
|
431
494
|
}
|
|
@@ -474,16 +537,16 @@ export declare class CameraControl3D extends CameraControl {
|
|
|
474
537
|
checkBoundsAndPlaceCamera(boundingBox: Box3, reset?: boolean): void;
|
|
475
538
|
adjustToBoundsWithoutChangingDistance(boundingBox: Box3): void;
|
|
476
539
|
zoomToFitBounds(boundingBox: Box3, reset?: boolean): void;
|
|
477
|
-
updateToBounds(boundingBox: Box3, isPreview: boolean, changeCamera?: boolean, target?:
|
|
540
|
+
updateToBounds(boundingBox: Box3, isPreview: boolean, changeCamera?: boolean, target?: Vector3_2): void;
|
|
478
541
|
protected _checkZoomDistance(boundingBox: Box3, idealDistance: number): void;
|
|
479
|
-
protected _setDistanceAndRangesBasedOnBounds(bounds:
|
|
542
|
+
protected _setDistanceAndRangesBasedOnBounds(bounds: Vector3_2, updateDistance?: boolean): number;
|
|
480
543
|
private _getIdealDistance;
|
|
481
544
|
private _getOffset;
|
|
482
545
|
private _getMargin;
|
|
483
|
-
reset(bounds: Box3, target?:
|
|
546
|
+
reset(bounds: Box3, target?: Vector3_2, yaw?: number, pitch?: number, animate?: boolean): void;
|
|
484
547
|
updateDistanceAndRangesBasedOnBounds(boundingBox: Box3, updateDistance?: boolean): void;
|
|
485
548
|
updateAndReset(boundingBox: Box3, animate?: boolean): Promise<void>;
|
|
486
|
-
protected _update(overrideTarget?:
|
|
549
|
+
protected _update(overrideTarget?: Vector3_2, ignoreChecks?: boolean, keepVariables?: boolean): void;
|
|
487
550
|
private _zoomChanged;
|
|
488
551
|
zoomTo(cameraParameters: CameraParameter): Promise<void>;
|
|
489
552
|
private _getCameraSphere;
|
|
@@ -533,7 +596,7 @@ export declare class CameraControlFirstPerson extends CameraControl {
|
|
|
533
596
|
private _move;
|
|
534
597
|
private _up;
|
|
535
598
|
private _onLongDown;
|
|
536
|
-
protected _update(_overrideTarget?:
|
|
599
|
+
protected _update(_overrideTarget?: Vector3_2): void;
|
|
537
600
|
updateCamera(): void;
|
|
538
601
|
private _onKeyChanged;
|
|
539
602
|
private _processKeyMap;
|
|
@@ -603,8 +666,8 @@ export declare interface CameraParameter {
|
|
|
603
666
|
}
|
|
604
667
|
|
|
605
668
|
export declare interface CameraTarget {
|
|
606
|
-
center:
|
|
607
|
-
bounds:
|
|
669
|
+
center: Vector3_2;
|
|
670
|
+
bounds: Vector3_2;
|
|
608
671
|
diagonal: number;
|
|
609
672
|
}
|
|
610
673
|
|
|
@@ -650,9 +713,23 @@ export declare class CatalogItem extends AbstractModelWrapper {
|
|
|
650
713
|
flipable: boolean;
|
|
651
714
|
}
|
|
652
715
|
|
|
716
|
+
export declare interface CatalogItem_2 extends AbstractModel_2 {
|
|
717
|
+
new (id: string): CatalogItem_2;
|
|
718
|
+
size: Vector3;
|
|
719
|
+
layer: number;
|
|
720
|
+
type: string;
|
|
721
|
+
detailType: string;
|
|
722
|
+
configuration: string;
|
|
723
|
+
orderable: boolean;
|
|
724
|
+
scaleable: boolean;
|
|
725
|
+
flipable: boolean;
|
|
726
|
+
}
|
|
727
|
+
|
|
653
728
|
export declare class CatalogItemPtrList extends EmsList<CatalogItem> {
|
|
654
729
|
}
|
|
655
730
|
|
|
731
|
+
export declare type CatalogItemPtrList_2 = EmscriptenList_2<CatalogItem_2>;
|
|
732
|
+
|
|
656
733
|
export declare class CeilingLight extends PointLight {
|
|
657
734
|
private _container;
|
|
658
735
|
private _shouldCastShadow;
|
|
@@ -980,6 +1057,43 @@ export declare abstract class CommonKernelAccess implements LifeCycleCallbacks,
|
|
|
980
1057
|
requestPartListAndUpdatePricesOfParts(uniqueId?: ConfigurationHash, _prices?: Map<ArticleNumber, RapiPrice>): Promise<void>;
|
|
981
1058
|
}
|
|
982
1059
|
|
|
1060
|
+
export declare interface CommunicationInterfaceCallback {
|
|
1061
|
+
onCommand(command: WORKER_MESSAGE, conversationId: number, data: any): void;
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
export declare interface Component {
|
|
1065
|
+
addOnSpots: AddOnSpot_2[];
|
|
1066
|
+
animations: Animation_2[];
|
|
1067
|
+
boxForMeasurement: Box;
|
|
1068
|
+
childAnimationTransformations: ComponentAnimationTransformation_2[];
|
|
1069
|
+
childIds: number[];
|
|
1070
|
+
componentId: string;
|
|
1071
|
+
dimensioningAxes: DimensioningAxis_2[];
|
|
1072
|
+
dimensionings: Dimensioning_2[];
|
|
1073
|
+
draggingIsLocked: boolean;
|
|
1074
|
+
externalComponent: boolean;
|
|
1075
|
+
geometryBounds: AssembledObjectBounds;
|
|
1076
|
+
globalTransform: Matrix4;
|
|
1077
|
+
hash: string;
|
|
1078
|
+
id: number;
|
|
1079
|
+
label: string;
|
|
1080
|
+
labelIsCalculated: boolean;
|
|
1081
|
+
objectId: number;
|
|
1082
|
+
parameterGroups: ParameterGroup[];
|
|
1083
|
+
parameters: Parameter[];
|
|
1084
|
+
parentId: number;
|
|
1085
|
+
permissionToDelete: PermissionToDelete;
|
|
1086
|
+
permissionToDeleteInIsolation: PermissionToDelete;
|
|
1087
|
+
position: Vector3;
|
|
1088
|
+
possibleChildren: PossibleChild[];
|
|
1089
|
+
rootId: number;
|
|
1090
|
+
rootModuleIds: number[];
|
|
1091
|
+
rootSiblingIds: number[];
|
|
1092
|
+
rotation: Vector3;
|
|
1093
|
+
type: PlanComponentType;
|
|
1094
|
+
valid: boolean;
|
|
1095
|
+
}
|
|
1096
|
+
|
|
983
1097
|
export declare type ComponentAction = 'edit' | 'add';
|
|
984
1098
|
|
|
985
1099
|
export declare interface ComponentAnimationTransformation {
|
|
@@ -987,12 +1101,22 @@ export declare interface ComponentAnimationTransformation {
|
|
|
987
1101
|
componentRuntimeId: number;
|
|
988
1102
|
}
|
|
989
1103
|
|
|
1104
|
+
export declare interface ComponentAnimationTransformation_2 {
|
|
1105
|
+
animations: AnimationTransformation_2[];
|
|
1106
|
+
componentRuntimeId: number;
|
|
1107
|
+
}
|
|
1108
|
+
|
|
990
1109
|
export declare class ComponentArray extends EmsArray<KernelComponent> {
|
|
991
1110
|
}
|
|
992
1111
|
|
|
993
1112
|
export declare class ComponentArray_2 extends EmsArray<KernelComponent> {
|
|
994
1113
|
}
|
|
995
1114
|
|
|
1115
|
+
export declare interface ComponentBounds {
|
|
1116
|
+
boxForMeasurement: Box;
|
|
1117
|
+
geometryBounds: AssembledObjectBounds;
|
|
1118
|
+
}
|
|
1119
|
+
|
|
996
1120
|
export declare type ComponentType = 'preview' | 'component';
|
|
997
1121
|
|
|
998
1122
|
export declare type ConfigForPlugin<P extends PluginName> = PluginConfigMap[P];
|
|
@@ -1025,6 +1149,18 @@ export declare interface ConfigurationLoadedResponse {
|
|
|
1025
1149
|
rootComponentLabel: string;
|
|
1026
1150
|
}
|
|
1027
1151
|
|
|
1152
|
+
export declare interface ConfigurationPlanView {
|
|
1153
|
+
dimensioningColor?: string;
|
|
1154
|
+
dimensioningLineWidth?: number;
|
|
1155
|
+
label: string;
|
|
1156
|
+
lineColor?: string;
|
|
1157
|
+
lineOfSight: Vector3;
|
|
1158
|
+
lineWidth?: number;
|
|
1159
|
+
viewType: PlanViewType_2;
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1162
|
+
export declare type ConfigurationPlanViewArray = EmscriptenArray<ConfigurationPlanView>;
|
|
1163
|
+
|
|
1028
1164
|
export declare type ConfigurationString = string;
|
|
1029
1165
|
|
|
1030
1166
|
export declare interface ConfigurationUniqueIdAndHash {
|
|
@@ -1092,7 +1228,7 @@ export declare interface ConfiguratorInitData {
|
|
|
1092
1228
|
* @description Sets the behavior of the highlighting of a hovered component.
|
|
1093
1229
|
* usage: highlighting=smart
|
|
1094
1230
|
*/
|
|
1095
|
-
highlighting?:
|
|
1231
|
+
highlighting?: Enumify<typeof ROOMLE_HIGHLIGHTNG>;
|
|
1096
1232
|
/**
|
|
1097
1233
|
* @description Set the floor material which is used when loading the configurator
|
|
1098
1234
|
* For different options see {@link @roomle/web-sdk/configurator-core/src/environment/dynamic-environment-setting-loader#EnvironmentSetting}
|
|
@@ -1212,6 +1348,8 @@ export declare interface ConfiguratorInitData {
|
|
|
1212
1348
|
meshRaycasting?: boolean;
|
|
1213
1349
|
}
|
|
1214
1350
|
|
|
1351
|
+
export declare type ConfiguratorKernel = Kernel;
|
|
1352
|
+
|
|
1215
1353
|
export declare class ConfiguratorKernelAccess extends CommonKernelAccess {
|
|
1216
1354
|
private _memoryManager;
|
|
1217
1355
|
private _configuratorKernelAccessCallback;
|
|
@@ -1540,7 +1678,7 @@ export declare class ConfiguratorSceneEventHandler extends SceneEventHandler<Sce
|
|
|
1540
1678
|
private _dragEnd;
|
|
1541
1679
|
protected _interaction(forceRender?: boolean): void;
|
|
1542
1680
|
hasSelection(): boolean;
|
|
1543
|
-
update(bounds:
|
|
1681
|
+
update(bounds: Vector3_2 | null, rootComponentPosition: Vector3_2 | null, backgroundScene: Scene | null): void;
|
|
1544
1682
|
isDragIn(): boolean;
|
|
1545
1683
|
isDragging(): boolean;
|
|
1546
1684
|
setRootComponentId(rootComponentId: number): void;
|
|
@@ -1574,9 +1712,8 @@ export declare class ConfiguratorSceneManager extends SceneManager implements Co
|
|
|
1574
1712
|
private _uiIntersectionHelper;
|
|
1575
1713
|
private _sceneEventHandler;
|
|
1576
1714
|
private _isComponentDimensionsVisible;
|
|
1577
|
-
private _dimensionUpdateDebounced;
|
|
1578
1715
|
private _sceneSetupReady;
|
|
1579
|
-
constructor(creator: string, offset: CanvasOffset, mode:
|
|
1716
|
+
constructor(creator: string, offset: CanvasOffset, mode: Enumify<typeof CAMERA_TYPE>);
|
|
1580
1717
|
/**
|
|
1581
1718
|
* Single point for deciding whether to push HTML label positions to the UI.
|
|
1582
1719
|
* the scene manager must push screen positions after any change.
|
|
@@ -1613,6 +1750,7 @@ export declare class ConfiguratorSceneManager extends SceneManager implements Co
|
|
|
1613
1750
|
private _printObjectGraph;
|
|
1614
1751
|
clearScene(): void;
|
|
1615
1752
|
planObjectConstructionDone(_planObject: PlanObjectKernel): void;
|
|
1753
|
+
private _rebuildOrDropComponentDimensionings;
|
|
1616
1754
|
private _internalClearScene;
|
|
1617
1755
|
protected _waitForAssets(): Promise<void>;
|
|
1618
1756
|
preparePerspectiveImage(options?: PrepareImageOptions, _isolationMode?: boolean): Promise<Base64Image>;
|
|
@@ -1649,12 +1787,14 @@ export declare class ConfiguratorSceneManager extends SceneManager implements Co
|
|
|
1649
1787
|
private _cancelSelection;
|
|
1650
1788
|
private _selectComponent;
|
|
1651
1789
|
private _deselectComponent;
|
|
1652
|
-
getScreenXY(position:
|
|
1790
|
+
getScreenXY(position: Vector3_2): Vector3_2;
|
|
1653
1791
|
setSelectionMode(mode: SELECTION_MODE): void;
|
|
1654
1792
|
changeFloorMaterial(material: RapiMaterial): Promise<void>;
|
|
1655
1793
|
zoomIn(value?: number): void;
|
|
1656
1794
|
zoomOut(value?: number): void;
|
|
1657
1795
|
showDimensions(): Promise<void>;
|
|
1796
|
+
private _showComponentDimensionings;
|
|
1797
|
+
private _areMeasurementsShown;
|
|
1658
1798
|
private _initDimensions;
|
|
1659
1799
|
hideDimensions(): void;
|
|
1660
1800
|
private _updateDimensionLabels;
|
|
@@ -1675,6 +1815,9 @@ export declare class ConfiguratorSceneManager extends SceneManager implements Co
|
|
|
1675
1815
|
};
|
|
1676
1816
|
private _permissionToDeleteComponent;
|
|
1677
1817
|
componentUpdated(component: RoomleComponent, kernelComponent: KernelComponent): void;
|
|
1818
|
+
planObjectConfigurationUpdated(_planObject: PlanObjectKernel, _pendingDocking: boolean): Promise<void>;
|
|
1819
|
+
private _refreshComponentDimensionings;
|
|
1820
|
+
private _showBoundingBoxDimensions;
|
|
1678
1821
|
planObjectUpdated(planObject: PlanObjectKernel, geometryChanged: boolean, pendingDocking: boolean, automaticCalculationUpdate: boolean): void;
|
|
1679
1822
|
componentDeleted(component: RoomleComponent): void;
|
|
1680
1823
|
previewConstructionDone(component: RoomleComponent, hasPreviews: boolean): void;
|
|
@@ -1693,7 +1836,7 @@ export declare class ConfiguratorSceneManager extends SceneManager implements Co
|
|
|
1693
1836
|
private _shouldHighlightComponent;
|
|
1694
1837
|
saveConfigToIdb(): void;
|
|
1695
1838
|
protected _getInputManager(): InputManager;
|
|
1696
|
-
protected createCameraControl(_mode:
|
|
1839
|
+
protected createCameraControl(_mode: Enumify<typeof CAMERA_TYPE>, offset: CanvasOffset): void;
|
|
1697
1840
|
getBounds(): Box3 | null;
|
|
1698
1841
|
getGeometryBounds(): Box3 | null;
|
|
1699
1842
|
sceneChanged(): void;
|
|
@@ -2119,6 +2262,7 @@ export declare interface ConfiguratorViewModelCallbackI {
|
|
|
2119
2262
|
componentUpdated(component: RoomleComponent, kernelComponent: KernelComponent): void;
|
|
2120
2263
|
componentDeleted(component: RoomleComponent): void;
|
|
2121
2264
|
planObjectUpdated(planObject: PlanObjectKernel, geometryChanged: boolean, pendingDocking: boolean, automaticCalculationUpdate: boolean): void;
|
|
2265
|
+
planObjectConfigurationUpdated(planObject: PlanObjectKernel, pendingDocking: boolean): Promise<void>;
|
|
2122
2266
|
planObjectConstructionDone(planObject: PlanObjectKernel): void;
|
|
2123
2267
|
previewConstructionDone(component: RoomleComponent, hasPreviews: boolean): void;
|
|
2124
2268
|
planObjectDependencyUpdated(planObjectId: number): void;
|
|
@@ -2130,7 +2274,7 @@ export declare interface ConfiguratorViewModelCallbackI {
|
|
|
2130
2274
|
addPreviewHandlers(previewComponent: PreviewComponent): void;
|
|
2131
2275
|
}
|
|
2132
2276
|
|
|
2133
|
-
export declare type ConstructionMeasurement = MeasurementBase<
|
|
2277
|
+
export declare type ConstructionMeasurement = MeasurementBase<Vector3_2, Vector3_2>;
|
|
2134
2278
|
|
|
2135
2279
|
export declare interface ConstructionMeasurements {
|
|
2136
2280
|
leftMeasurement: ConstructionMeasurement;
|
|
@@ -2150,9 +2294,32 @@ export declare abstract class ConstructionObject extends PlanObjectPtr {
|
|
|
2150
2294
|
getAttachedWall(): Wall;
|
|
2151
2295
|
}
|
|
2152
2296
|
|
|
2297
|
+
export declare interface ConstructionObject_2 extends PlanObject_2 {
|
|
2298
|
+
new (): ConstructionObject_2;
|
|
2299
|
+
getAttachedWall(): Wall_2;
|
|
2300
|
+
getPreferredSide(): WallSide_2;
|
|
2301
|
+
getCornerFromLeft(): Vector3;
|
|
2302
|
+
getCornerFromRight(): Vector3;
|
|
2303
|
+
getCornerToLeft(): Vector3;
|
|
2304
|
+
getCornerToRight(): Vector3;
|
|
2305
|
+
getDoorArches(): ConstructionObjectDoorArchArray;
|
|
2306
|
+
}
|
|
2307
|
+
|
|
2308
|
+
export declare interface ConstructionObjectDoorArch {
|
|
2309
|
+
getStartPoint(): Vector3;
|
|
2310
|
+
getEndPoint(): Vector3;
|
|
2311
|
+
getStartPointRelativeToObject(): Vector3;
|
|
2312
|
+
getEndPointRelativeToObject(): Vector3;
|
|
2313
|
+
getOpeningDirection(): OpeningDirection;
|
|
2314
|
+
}
|
|
2315
|
+
|
|
2316
|
+
export declare type ConstructionObjectDoorArchArray = EmscriptenArray<ConstructionObjectDoorArch>;
|
|
2317
|
+
|
|
2153
2318
|
export declare class ConstructionObjectSet extends EmsSet<ConstructionObject> {
|
|
2154
2319
|
}
|
|
2155
2320
|
|
|
2321
|
+
export declare type ConstructionObjectSet_2 = EmscriptenSet<ConstructionObject_2>;
|
|
2322
|
+
|
|
2156
2323
|
export declare interface ConstructionOverview {
|
|
2157
2324
|
objects: KernelPlanObjectList;
|
|
2158
2325
|
parts: PartList;
|
|
@@ -2176,9 +2343,9 @@ export declare class ConstructionPlanObjectViewModel extends StaticPlanObjectVie
|
|
|
2176
2343
|
protected _generateBoundingBox(): RoomleEventedMesh;
|
|
2177
2344
|
protected _updateBoundingBox(): void;
|
|
2178
2345
|
getTopViewContainer(): ConstructionTopView;
|
|
2179
|
-
getConstructionElementMeasurements(zoomFactor: number, clientWidth: number, clientHeight: number):
|
|
2346
|
+
getConstructionElementMeasurements(zoomFactor: number, clientWidth: number, clientHeight: number): Nullable<ConstructionMeasurements>;
|
|
2180
2347
|
update(): void;
|
|
2181
|
-
protected _setPositionOfBoundingBox(size:
|
|
2348
|
+
protected _setPositionOfBoundingBox(size: Vector3_2, mesh: RoomleEventedMesh): void;
|
|
2182
2349
|
}
|
|
2183
2350
|
|
|
2184
2351
|
export declare class ConstructionTopView extends Object3D {
|
|
@@ -2208,13 +2375,27 @@ export declare interface Context {
|
|
|
2208
2375
|
}
|
|
2209
2376
|
|
|
2210
2377
|
export declare interface ContinuousDrawingManager {
|
|
2378
|
+
new (): ContinuousDrawingManager;
|
|
2379
|
+
getStartPoint(): Vector3;
|
|
2380
|
+
getDrawingAngle(): number;
|
|
2381
|
+
getCircleRotation(): number;
|
|
2382
|
+
shouldShowCircle(): boolean;
|
|
2383
|
+
isCorridorValid(): boolean;
|
|
2384
|
+
getCorridor(): Line;
|
|
2385
|
+
getDrawnPoints(): PointArray_2;
|
|
2386
|
+
getModelCircleRadius(): number;
|
|
2387
|
+
readonly CIRCLE_RADIUS: number;
|
|
2388
|
+
circleRadius: number;
|
|
2389
|
+
}
|
|
2390
|
+
|
|
2391
|
+
export declare interface ContinuousDrawingManager_2 {
|
|
2211
2392
|
getStartPoint(): KernelVector3;
|
|
2212
2393
|
getDrawingAngle(): number;
|
|
2213
2394
|
getCircleRotation(): number;
|
|
2214
2395
|
shouldShowCircle(): boolean;
|
|
2215
2396
|
isCorridorValid(): boolean;
|
|
2216
2397
|
getCorridor(): any;
|
|
2217
|
-
getDrawnPoints():
|
|
2398
|
+
getDrawnPoints(): PointArray_3;
|
|
2218
2399
|
CIRCLE_RADIUS: number;
|
|
2219
2400
|
}
|
|
2220
2401
|
|
|
@@ -2228,6 +2409,22 @@ export declare const CORE_ASSET_TYPE: {
|
|
|
2228
2409
|
readonly EXTERNAL_SVG_URL: 6;
|
|
2229
2410
|
};
|
|
2230
2411
|
|
|
2412
|
+
export declare const CORE_ASSET_TYPE_2: {
|
|
2413
|
+
readonly ITEM: 0;
|
|
2414
|
+
readonly COMPONENT: 1;
|
|
2415
|
+
readonly EXTERNAL_MESH: 2;
|
|
2416
|
+
readonly MATERIAL_PROPERTIES: 3;
|
|
2417
|
+
readonly MATERIAL_GROUP: 4;
|
|
2418
|
+
readonly EXTERNAL_OBJ_URL: 5;
|
|
2419
|
+
readonly EXTERNAL_SVG_URL: 6;
|
|
2420
|
+
};
|
|
2421
|
+
|
|
2422
|
+
export declare const CORE_DIMENSION_TYPE: {
|
|
2423
|
+
readonly X: 0;
|
|
2424
|
+
readonly Y: 1;
|
|
2425
|
+
readonly Z: 2;
|
|
2426
|
+
};
|
|
2427
|
+
|
|
2231
2428
|
export declare const CORE_DOCK_PAIR_TYPE: {
|
|
2232
2429
|
readonly POINT: 0;
|
|
2233
2430
|
readonly LINE: 1;
|
|
@@ -2239,17 +2436,40 @@ export declare const CORE_DRAWING_MODE: {
|
|
|
2239
2436
|
readonly CONTOUR: 2;
|
|
2240
2437
|
};
|
|
2241
2438
|
|
|
2439
|
+
export declare const CORE_DRAWING_MODE_2: {
|
|
2440
|
+
readonly WALL: 0;
|
|
2441
|
+
readonly ROOM_CONTOUR: 1;
|
|
2442
|
+
readonly CONTOUR: 2;
|
|
2443
|
+
readonly CONSTRUCTION_CONTOUR: 3;
|
|
2444
|
+
};
|
|
2445
|
+
|
|
2446
|
+
export declare const CORE_DRAWING_TYPE: {
|
|
2447
|
+
readonly CONTINOUS: 0;
|
|
2448
|
+
readonly CLICK_PER_CLICK: 1;
|
|
2449
|
+
};
|
|
2450
|
+
|
|
2242
2451
|
export declare const CORE_EDGE_TYPE: {
|
|
2243
2452
|
readonly WALL: 0;
|
|
2244
2453
|
readonly EDGE: 1;
|
|
2245
2454
|
readonly CONSTRUCTION: 2;
|
|
2246
2455
|
};
|
|
2247
2456
|
|
|
2457
|
+
export declare const CORE_EDGE_TYPE_2: {
|
|
2458
|
+
readonly WALL: 0;
|
|
2459
|
+
readonly EDGE: 1;
|
|
2460
|
+
readonly CONSTRUCTION: 2;
|
|
2461
|
+
};
|
|
2462
|
+
|
|
2248
2463
|
export declare const CORE_FLOOR_TYPE: {
|
|
2249
2464
|
readonly DEFAULT: 0;
|
|
2250
2465
|
readonly TERRAIN: 1;
|
|
2251
2466
|
};
|
|
2252
2467
|
|
|
2468
|
+
export declare const CORE_FLOOR_TYPE_2: {
|
|
2469
|
+
readonly DEFAULT: 0;
|
|
2470
|
+
readonly TERRAIN: 1;
|
|
2471
|
+
};
|
|
2472
|
+
|
|
2253
2473
|
export declare const CORE_HELP_LINE_TYPE: {
|
|
2254
2474
|
readonly NONE: 0;
|
|
2255
2475
|
readonly WALL_SNAP_LEVEL: 1;
|
|
@@ -2261,11 +2481,23 @@ export declare const CORE_HELP_LINE_TYPE: {
|
|
|
2261
2481
|
readonly WALL_ALIGNMENT_SNAPPED: 7;
|
|
2262
2482
|
};
|
|
2263
2483
|
|
|
2484
|
+
export declare const CORE_MATERIAL_SOURCE_TYPE: {
|
|
2485
|
+
readonly NONE: 0;
|
|
2486
|
+
readonly CATALOGITEM: 1;
|
|
2487
|
+
readonly MATERIAL: 2;
|
|
2488
|
+
readonly RGBVALUE: 3;
|
|
2489
|
+
};
|
|
2490
|
+
|
|
2264
2491
|
export declare const CORE_NODE_TYPE: {
|
|
2265
2492
|
readonly DEFAULT: 0;
|
|
2266
2493
|
readonly CONSTRUCTION: 1;
|
|
2267
2494
|
};
|
|
2268
2495
|
|
|
2496
|
+
export declare const CORE_NODE_TYPE_2: {
|
|
2497
|
+
readonly DEFAULT: 0;
|
|
2498
|
+
readonly CONSTRUCTION: 1;
|
|
2499
|
+
};
|
|
2500
|
+
|
|
2269
2501
|
export declare const CORE_OBJECT_CATEGORY: {
|
|
2270
2502
|
readonly OBJECT: 0;
|
|
2271
2503
|
readonly DOOR: 1;
|
|
@@ -2275,12 +2507,44 @@ export declare const CORE_OBJECT_CATEGORY: {
|
|
|
2275
2507
|
readonly EXTERNAL_CONSTRUCTION: 5;
|
|
2276
2508
|
};
|
|
2277
2509
|
|
|
2510
|
+
export declare const CORE_OBJECT_TYPE_CATEGORY: {
|
|
2511
|
+
readonly OBJECT: 0;
|
|
2512
|
+
readonly DOOR: 1;
|
|
2513
|
+
readonly WINDOW: 2;
|
|
2514
|
+
readonly CONSTRUCTION: 3;
|
|
2515
|
+
readonly UNKNOWN: 4;
|
|
2516
|
+
readonly EXTERNAL_CONSTRUCTION: 5;
|
|
2517
|
+
};
|
|
2518
|
+
|
|
2519
|
+
export declare const CORE_OPENING_DIRECTION: {
|
|
2520
|
+
readonly LEFT_CLOCKWISE: 0;
|
|
2521
|
+
readonly LEFT_COUNTERCLOCKWISE: 1;
|
|
2522
|
+
readonly RIGHT_CLOCKWISE: 2;
|
|
2523
|
+
readonly RIGHT_COUNTERCLOCKWISE: 3;
|
|
2524
|
+
};
|
|
2525
|
+
|
|
2526
|
+
export declare const CORE_PARAMETER_TYPE_STRING: {
|
|
2527
|
+
readonly UNKNOWN: "";
|
|
2528
|
+
readonly INTEGER: "Integer";
|
|
2529
|
+
readonly DECIMAL: "Decimal";
|
|
2530
|
+
readonly STRING: "String";
|
|
2531
|
+
readonly BOOLTYPE: "Boolean";
|
|
2532
|
+
readonly MATERIAL: "Material";
|
|
2533
|
+
readonly COLOR: "Color";
|
|
2534
|
+
};
|
|
2535
|
+
|
|
2278
2536
|
export declare const CORE_PERMISSION_TO_DELETE: {
|
|
2279
2537
|
readonly NEVER: 0;
|
|
2280
2538
|
readonly REDOCK_CHILDREN: 1;
|
|
2281
2539
|
readonly ALWAYS: 2;
|
|
2282
2540
|
};
|
|
2283
2541
|
|
|
2542
|
+
export declare const CORE_PERMISSION_TO_DELETE_2: {
|
|
2543
|
+
readonly NEVER: 0;
|
|
2544
|
+
readonly REDOCK_CHILDREN: 1;
|
|
2545
|
+
readonly ALWAYS: 2;
|
|
2546
|
+
};
|
|
2547
|
+
|
|
2284
2548
|
export declare const CORE_PLAN_COMPONENT_TYPE: {
|
|
2285
2549
|
readonly ROOT_COMPONENT: 0;
|
|
2286
2550
|
readonly COMPONENT: 1;
|
|
@@ -2289,6 +2553,27 @@ export declare const CORE_PLAN_COMPONENT_TYPE: {
|
|
|
2289
2553
|
readonly SUB_ARTICLE: 4;
|
|
2290
2554
|
};
|
|
2291
2555
|
|
|
2556
|
+
export declare const CORE_PLAN_COMPONENT_TYPE_2: {
|
|
2557
|
+
readonly ROOT_COMPONENT: 0;
|
|
2558
|
+
readonly COMPONENT: 1;
|
|
2559
|
+
readonly ROOT_MODULE: 2;
|
|
2560
|
+
readonly SUB_MODULE: 3;
|
|
2561
|
+
readonly SUB_ARTICLE: 4;
|
|
2562
|
+
};
|
|
2563
|
+
|
|
2564
|
+
export declare const CORE_PLAN_ELEMENT_TYPE: {
|
|
2565
|
+
readonly NODE: 0;
|
|
2566
|
+
readonly WALL: 1;
|
|
2567
|
+
readonly OBJECT: 2;
|
|
2568
|
+
readonly FLOOR: 3;
|
|
2569
|
+
readonly CEILING: 4;
|
|
2570
|
+
readonly TEXT: 5;
|
|
2571
|
+
readonly MEASURE: 6;
|
|
2572
|
+
readonly IMAGE: 7;
|
|
2573
|
+
readonly GROUP: 8;
|
|
2574
|
+
readonly ATTIC: 9;
|
|
2575
|
+
};
|
|
2576
|
+
|
|
2292
2577
|
export declare const CORE_PLAN_ROOM_GEOMETRY_MODE: {
|
|
2293
2578
|
readonly FLOOR: 0;
|
|
2294
2579
|
readonly ROOM: 1;
|
|
@@ -2300,6 +2585,30 @@ export declare const CORE_PLAN_VIEW_TYPE: {
|
|
|
2300
2585
|
readonly ELEVATION: 1;
|
|
2301
2586
|
};
|
|
2302
2587
|
|
|
2588
|
+
export declare const CORE_PLAN_VIEW_TYPE_2: {
|
|
2589
|
+
readonly FLOOR: 0;
|
|
2590
|
+
readonly ELEVATION: 1;
|
|
2591
|
+
};
|
|
2592
|
+
|
|
2593
|
+
export declare const CORE_RESIZING_ANCHOR: {
|
|
2594
|
+
readonly CENTER: 0;
|
|
2595
|
+
readonly BACKLEFT: 1;
|
|
2596
|
+
readonly BACKRIGHT: 2;
|
|
2597
|
+
readonly FRONTLEFT: 3;
|
|
2598
|
+
readonly FRONTRIGHT: 4;
|
|
2599
|
+
readonly BACK: 5;
|
|
2600
|
+
readonly FRONT: 6;
|
|
2601
|
+
readonly LEFT: 7;
|
|
2602
|
+
readonly RIGHT: 8;
|
|
2603
|
+
};
|
|
2604
|
+
|
|
2605
|
+
export declare const CORE_SNAP_MODE: {
|
|
2606
|
+
readonly OFF: 0;
|
|
2607
|
+
readonly ON_COLLISION: 1;
|
|
2608
|
+
readonly ON_COLLISION_ROTATE_WITHIN_DISTANCE: 2;
|
|
2609
|
+
readonly WITHIN_SNAP_DISTANCE: 3;
|
|
2610
|
+
};
|
|
2611
|
+
|
|
2303
2612
|
export declare const CORE_SNAP_STATE: {
|
|
2304
2613
|
readonly DEFAULT: 0;
|
|
2305
2614
|
readonly DOCKING: 1;
|
|
@@ -2311,9 +2620,48 @@ export declare const CORE_TYPE_OF_CORE_ID: {
|
|
|
2311
2620
|
readonly PLANNER: 1;
|
|
2312
2621
|
};
|
|
2313
2622
|
|
|
2623
|
+
export declare const CORE_UNIT_TYPE_STRING: {
|
|
2624
|
+
readonly UNKNOWN_UNIT: "unknown";
|
|
2625
|
+
readonly LENGTH: "length";
|
|
2626
|
+
readonly AREA: "area";
|
|
2627
|
+
readonly ANGLE: "angle";
|
|
2628
|
+
readonly COUNT: "count";
|
|
2629
|
+
};
|
|
2630
|
+
|
|
2631
|
+
export declare const CORE_VIEW_TYPE: {
|
|
2632
|
+
readonly EMPTY: 0;
|
|
2633
|
+
readonly TOGGLE: 1;
|
|
2634
|
+
readonly IMAGELIST: 2;
|
|
2635
|
+
readonly IMAGEBIG: 3;
|
|
2636
|
+
readonly IMAGESMALL: 4;
|
|
2637
|
+
readonly INPUTFIELD: 5;
|
|
2638
|
+
readonly DROPDOWN: 6;
|
|
2639
|
+
readonly SLIDER: 7;
|
|
2640
|
+
readonly BUTTON: 8;
|
|
2641
|
+
};
|
|
2642
|
+
|
|
2643
|
+
export declare const CORE_WALL_EXTENSION_TYPE: {
|
|
2644
|
+
readonly EXTENDBEGIN: 0;
|
|
2645
|
+
readonly EXTENDEND: 1;
|
|
2646
|
+
readonly EXTENDBOTH: 2;
|
|
2647
|
+
};
|
|
2648
|
+
|
|
2649
|
+
export declare const CORE_WALL_SIDE: {
|
|
2650
|
+
readonly LEFT: 0;
|
|
2651
|
+
readonly RIGHT: 1;
|
|
2652
|
+
readonly MIDDLE: 2;
|
|
2653
|
+
};
|
|
2654
|
+
|
|
2655
|
+
export declare const CORE_WALL_TYPE: {
|
|
2656
|
+
readonly STANDALONEWALL: 0;
|
|
2657
|
+
readonly OUTERWALLLEFT: 1;
|
|
2658
|
+
readonly OUTERWALLRIGHT: 2;
|
|
2659
|
+
readonly INNERWALL: 3;
|
|
2660
|
+
};
|
|
2661
|
+
|
|
2314
2662
|
export declare const createExtObj: (data: Record<string, unknown>) => Record<string, unknown>;
|
|
2315
2663
|
|
|
2316
|
-
export
|
|
2664
|
+
export declare const createExtObjId: (id: string) => ExtObjId;
|
|
2317
2665
|
|
|
2318
2666
|
export declare interface CSS2DOverlayRenderer {
|
|
2319
2667
|
renderSnapshot(camera: Camera, width: number, height: number): Promise<HTMLElement | null> | HTMLElement | null;
|
|
@@ -2395,16 +2743,39 @@ export declare class DataSyncer implements Context, CommunicationInterfaceCallba
|
|
|
2395
2743
|
preFillAssetCache(key: string, url: string): void;
|
|
2396
2744
|
}
|
|
2397
2745
|
|
|
2746
|
+
export declare interface Debug {
|
|
2747
|
+
raycaster?: boolean;
|
|
2748
|
+
camera?: boolean;
|
|
2749
|
+
boundingBox?: boolean;
|
|
2750
|
+
PlannerKernelContainer?: any;
|
|
2751
|
+
ConfiguratorKernel?: any;
|
|
2752
|
+
Kernel?: any;
|
|
2753
|
+
KernelContainer?: any;
|
|
2754
|
+
Helper?: any;
|
|
2755
|
+
SceneManager?: unknown;
|
|
2756
|
+
interactionTimingMs?: number;
|
|
2757
|
+
}
|
|
2758
|
+
|
|
2398
2759
|
export declare interface DebugClient {
|
|
2399
2760
|
debugValueMapChange(changes: DebugValueMapChange): void;
|
|
2400
2761
|
}
|
|
2401
2762
|
|
|
2763
|
+
export declare interface DebugClient_2 {
|
|
2764
|
+
debugValueMapChange(changes: DebugValueMapChange_2): void;
|
|
2765
|
+
}
|
|
2766
|
+
|
|
2402
2767
|
export declare interface DebugValueMapChange {
|
|
2403
2768
|
sourceId: number;
|
|
2404
2769
|
sourceInfo: string;
|
|
2405
2770
|
valueMaps: Record<string, DebugValueMapDump>;
|
|
2406
2771
|
}
|
|
2407
2772
|
|
|
2773
|
+
export declare interface DebugValueMapChange_2 {
|
|
2774
|
+
sourceId: number;
|
|
2775
|
+
sourceInfo: string;
|
|
2776
|
+
valueMaps: Record<string, DebugValueMapDump_2>;
|
|
2777
|
+
}
|
|
2778
|
+
|
|
2408
2779
|
export declare interface DebugValueMapDump {
|
|
2409
2780
|
type: string;
|
|
2410
2781
|
componentId: string;
|
|
@@ -2414,6 +2785,15 @@ export declare interface DebugValueMapDump {
|
|
|
2414
2785
|
values: Record<string, string>;
|
|
2415
2786
|
}
|
|
2416
2787
|
|
|
2788
|
+
export declare interface DebugValueMapDump_2 {
|
|
2789
|
+
type: string;
|
|
2790
|
+
componentId: string;
|
|
2791
|
+
internalId: string;
|
|
2792
|
+
id: number;
|
|
2793
|
+
parentId: number;
|
|
2794
|
+
values: Record<string, string>;
|
|
2795
|
+
}
|
|
2796
|
+
|
|
2417
2797
|
export declare const DEFAULT_ENVIRONMENT_SCENE_TYPES: {
|
|
2418
2798
|
readonly ALL_AROUND: "all_around";
|
|
2419
2799
|
readonly FRONT: "front";
|
|
@@ -2428,7 +2808,7 @@ export declare const DEFAULT_RENDER_OPTIONS: {
|
|
|
2428
2808
|
|
|
2429
2809
|
export declare type DefaultEnvironmentSceneType = Enumify<typeof DEFAULT_ENVIRONMENT_SCENE_TYPES> | null;
|
|
2430
2810
|
|
|
2431
|
-
export declare interface DimensionDefinition<Vector2Type =
|
|
2811
|
+
export declare interface DimensionDefinition<Vector2Type = Vector3_2 | Position2, Vector3Type = Vector3_2 | Position3> extends MeasurementBase<Vector2Type, Vector3Type> {
|
|
2432
2812
|
id: number;
|
|
2433
2813
|
lengthFormatted: string;
|
|
2434
2814
|
fromWithoutPadding?: Vector2Type;
|
|
@@ -2448,6 +2828,20 @@ export declare interface Dimensioning {
|
|
|
2448
2828
|
interactionKey?: string;
|
|
2449
2829
|
}
|
|
2450
2830
|
|
|
2831
|
+
export declare interface Dimensioning_2 {
|
|
2832
|
+
axis: string;
|
|
2833
|
+
from: number;
|
|
2834
|
+
interactionKey: string;
|
|
2835
|
+
label: string;
|
|
2836
|
+
level: number;
|
|
2837
|
+
maxLevel: number;
|
|
2838
|
+
to: number;
|
|
2839
|
+
type: {
|
|
2840
|
+
value: DimensionType;
|
|
2841
|
+
};
|
|
2842
|
+
visible: boolean;
|
|
2843
|
+
}
|
|
2844
|
+
|
|
2451
2845
|
export declare interface DimensioningAxis {
|
|
2452
2846
|
direction: KernelVector3;
|
|
2453
2847
|
key: string;
|
|
@@ -2456,6 +2850,14 @@ export declare interface DimensioningAxis {
|
|
|
2456
2850
|
alternativeOrigin?: KernelVector3;
|
|
2457
2851
|
}
|
|
2458
2852
|
|
|
2853
|
+
export declare interface DimensioningAxis_2 {
|
|
2854
|
+
alternativeOrigin?: Vector3;
|
|
2855
|
+
direction: Vector3;
|
|
2856
|
+
key: string;
|
|
2857
|
+
labelDirection: Vector3;
|
|
2858
|
+
origin: Vector3;
|
|
2859
|
+
}
|
|
2860
|
+
|
|
2459
2861
|
export declare class DimensioningHelper {
|
|
2460
2862
|
_creator_: string;
|
|
2461
2863
|
private _unitFormatter;
|
|
@@ -2503,7 +2905,7 @@ export declare class DimensioningHelper {
|
|
|
2503
2905
|
enableTopDimensions(): void;
|
|
2504
2906
|
disableTopDimensions(): void;
|
|
2505
2907
|
getBoundingBox(): Box3;
|
|
2506
|
-
setCameraPosition(position:
|
|
2908
|
+
setCameraPosition(position: Vector3_2): void;
|
|
2507
2909
|
private _performUpdate;
|
|
2508
2910
|
private _clear;
|
|
2509
2911
|
}
|
|
@@ -2534,6 +2936,10 @@ export declare interface DimensionLabelsTransferable {
|
|
|
2534
2936
|
componentId: number;
|
|
2535
2937
|
}
|
|
2536
2938
|
|
|
2939
|
+
export declare interface DimensionType {
|
|
2940
|
+
value: Enumify_3<typeof CORE_DIMENSION_TYPE>;
|
|
2941
|
+
}
|
|
2942
|
+
|
|
2537
2943
|
export declare interface DockingLineSegment {
|
|
2538
2944
|
from: number;
|
|
2539
2945
|
to: number;
|
|
@@ -2546,7 +2952,7 @@ export declare class DockPairPreviewArray_2 extends EmsArray<KernelDockPairPrevi
|
|
|
2546
2952
|
}
|
|
2547
2953
|
|
|
2548
2954
|
export declare interface DockPairType {
|
|
2549
|
-
value:
|
|
2955
|
+
value: Enumify<typeof CORE_DOCK_PAIR_TYPE>;
|
|
2550
2956
|
}
|
|
2551
2957
|
|
|
2552
2958
|
export declare class DomHelper implements LifeCycleCallbacks, Context {
|
|
@@ -2567,6 +2973,8 @@ export declare class DomHelper implements LifeCycleCallbacks, Context {
|
|
|
2567
2973
|
destroy(): void;
|
|
2568
2974
|
}
|
|
2569
2975
|
|
|
2976
|
+
export declare const download: (filename: string, content: string) => void;
|
|
2977
|
+
|
|
2570
2978
|
export declare class DraggableNode extends Object3D {
|
|
2571
2979
|
private _sphere;
|
|
2572
2980
|
private _innerRingMesh;
|
|
@@ -2576,7 +2984,7 @@ export declare class DraggableNode extends Object3D {
|
|
|
2576
2984
|
private _outerRingRadius;
|
|
2577
2985
|
constructor(name: string, sphereSize?: number);
|
|
2578
2986
|
private _initNodeMesh;
|
|
2579
|
-
getSize():
|
|
2987
|
+
getSize(): Vector3_2;
|
|
2580
2988
|
hoverOn(): void;
|
|
2581
2989
|
hoverOff(): void;
|
|
2582
2990
|
setSphereColor(color: number): void;
|
|
@@ -2609,7 +3017,11 @@ export declare const DRAW_PREVIEW_MODES: {
|
|
|
2609
3017
|
};
|
|
2610
3018
|
|
|
2611
3019
|
export declare interface DrawingMode {
|
|
2612
|
-
value:
|
|
3020
|
+
value: Enumify<typeof CORE_DRAWING_MODE>;
|
|
3021
|
+
}
|
|
3022
|
+
|
|
3023
|
+
export declare interface DrawingMode_2 {
|
|
3024
|
+
value: Enumify_2<typeof CORE_DRAWING_MODE_2>;
|
|
2613
3025
|
}
|
|
2614
3026
|
|
|
2615
3027
|
export declare const enum DrawingType {
|
|
@@ -2617,6 +3029,10 @@ export declare const enum DrawingType {
|
|
|
2617
3029
|
CLICK_PER_CLICK = 1
|
|
2618
3030
|
}
|
|
2619
3031
|
|
|
3032
|
+
export declare interface DrawingType_2 {
|
|
3033
|
+
value: Enumify_2<typeof CORE_DRAWING_TYPE>;
|
|
3034
|
+
}
|
|
3035
|
+
|
|
2620
3036
|
/**
|
|
2621
3037
|
* Description of fields:
|
|
2622
3038
|
- type: 'ambient'/'rectarea'/'spot'/'directional'
|
|
@@ -2637,8 +3053,8 @@ export declare interface DynamicLight {
|
|
|
2637
3053
|
name?: string;
|
|
2638
3054
|
intensity?: number;
|
|
2639
3055
|
color?: string;
|
|
2640
|
-
position?:
|
|
2641
|
-
target?:
|
|
3056
|
+
position?: Vector3_2;
|
|
3057
|
+
target?: Vector3_2;
|
|
2642
3058
|
castShadow?: boolean;
|
|
2643
3059
|
angle?: number;
|
|
2644
3060
|
penumbra?: number;
|
|
@@ -2660,7 +3076,11 @@ export declare interface EdgeDeflection {
|
|
|
2660
3076
|
}
|
|
2661
3077
|
|
|
2662
3078
|
export declare interface EdgeType {
|
|
2663
|
-
value:
|
|
3079
|
+
value: Enumify_2<typeof CORE_EDGE_TYPE_2>;
|
|
3080
|
+
}
|
|
3081
|
+
|
|
3082
|
+
export declare interface EdgeType_2 {
|
|
3083
|
+
value: Enumify<typeof CORE_EDGE_TYPE>;
|
|
2664
3084
|
}
|
|
2665
3085
|
|
|
2666
3086
|
export declare interface Element_2 {
|
|
@@ -2707,11 +3127,38 @@ export declare class EMSConstant {
|
|
|
2707
3127
|
value: number;
|
|
2708
3128
|
}
|
|
2709
3129
|
|
|
3130
|
+
export declare interface EmscriptenArray<T> {
|
|
3131
|
+
new (): EmscriptenArray<T>;
|
|
3132
|
+
get(index: number): T;
|
|
3133
|
+
push_back(element: T): void;
|
|
3134
|
+
resize(from: number, to: number): void;
|
|
3135
|
+
set(index: number, element: T): T;
|
|
3136
|
+
size(): number;
|
|
3137
|
+
clone(index: number): EmscriptenArray<T>;
|
|
3138
|
+
delete(index: number): void;
|
|
3139
|
+
deleteLater(index: number): void;
|
|
3140
|
+
isAliasOf(index: number): boolean;
|
|
3141
|
+
isDeleted(index: number): boolean;
|
|
3142
|
+
}
|
|
3143
|
+
|
|
2710
3144
|
export declare interface EmscriptenList {
|
|
2711
3145
|
size: () => number;
|
|
2712
3146
|
length: number;
|
|
2713
3147
|
}
|
|
2714
3148
|
|
|
3149
|
+
export declare class EmscriptenList_2<T> {
|
|
3150
|
+
new(): EmscriptenList_2<T>;
|
|
3151
|
+
push_back(element: T): void;
|
|
3152
|
+
size(): number;
|
|
3153
|
+
get(index: number): T;
|
|
3154
|
+
}
|
|
3155
|
+
|
|
3156
|
+
export declare interface EmscriptenSet<T> {
|
|
3157
|
+
new (): EmscriptenSet<T>;
|
|
3158
|
+
insert: (element: T) => void;
|
|
3159
|
+
size: () => number;
|
|
3160
|
+
}
|
|
3161
|
+
|
|
2715
3162
|
export declare type EmscriptenString = any;
|
|
2716
3163
|
|
|
2717
3164
|
export declare class EmsList<T> {
|
|
@@ -2740,9 +3187,15 @@ export declare class EmsSet<T> {
|
|
|
2740
3187
|
size(): number;
|
|
2741
3188
|
}
|
|
2742
3189
|
|
|
3190
|
+
export declare type Enumify<T> = T[keyof T];
|
|
3191
|
+
|
|
3192
|
+
export declare type Enumify_2<T> = T[keyof T];
|
|
3193
|
+
|
|
3194
|
+
export declare type Enumify_3<T> = T[keyof T];
|
|
3195
|
+
|
|
2743
3196
|
export declare abstract class Environment {
|
|
2744
3197
|
protected _scene: Scene | null;
|
|
2745
|
-
protected _bounds:
|
|
3198
|
+
protected _bounds: Vector3_2;
|
|
2746
3199
|
constructor(scene: Scene, oldEnvironment?: Environment);
|
|
2747
3200
|
abstract needsBounds(): boolean;
|
|
2748
3201
|
abstract needsCamera(): boolean;
|
|
@@ -2751,7 +3204,7 @@ export declare abstract class Environment {
|
|
|
2751
3204
|
abstract removeFromScene(): void;
|
|
2752
3205
|
abstract showGUI(sceneParameters: GenericGUIParamFolder): void;
|
|
2753
3206
|
reload(): void;
|
|
2754
|
-
updateBounds(bounds:
|
|
3207
|
+
updateBounds(bounds: Vector3_2, _force?: boolean): void;
|
|
2755
3208
|
cleanUp(): void;
|
|
2756
3209
|
}
|
|
2757
3210
|
|
|
@@ -2888,6 +3341,8 @@ export declare const enum ExportType {
|
|
|
2888
3341
|
HOMAGiX = 2
|
|
2889
3342
|
}
|
|
2890
3343
|
|
|
3344
|
+
export declare const EXTERNAL_ID_PREFIX = "__ext__obj__#";
|
|
3345
|
+
|
|
2891
3346
|
export declare interface ExternalAttributeInformation {
|
|
2892
3347
|
groupId: string;
|
|
2893
3348
|
moduleIds: ExternalModuleInformation[];
|
|
@@ -2895,6 +3350,13 @@ export declare interface ExternalAttributeInformation {
|
|
|
2895
3350
|
value: string;
|
|
2896
3351
|
}
|
|
2897
3352
|
|
|
3353
|
+
export declare interface ExternalAttributeInformation_2 {
|
|
3354
|
+
attributeId: string;
|
|
3355
|
+
groupId: string;
|
|
3356
|
+
moduleIds: ExternalModuleInformationArray;
|
|
3357
|
+
value: string;
|
|
3358
|
+
}
|
|
3359
|
+
|
|
2898
3360
|
export declare type ExternalConfiguration = Partial<RapiConfigurationEnhanced> & Pick<RapiConfigurationEnhanced, keyof Element_2 | 'configurationHash'> & ExternalElement;
|
|
2899
3361
|
|
|
2900
3362
|
export declare interface ExternalDataResponse<T> {
|
|
@@ -2912,6 +3374,12 @@ export declare interface ExternalEmbeddable<T = any> {
|
|
|
2912
3374
|
callbacks: T;
|
|
2913
3375
|
}
|
|
2914
3376
|
|
|
3377
|
+
export declare interface ExternalEnv {
|
|
3378
|
+
assetPath?: string;
|
|
3379
|
+
initData?: InitDataDefinition;
|
|
3380
|
+
locale?: string;
|
|
3381
|
+
}
|
|
3382
|
+
|
|
2915
3383
|
export declare type ExternalGroupData = object | object[] | string | string[];
|
|
2916
3384
|
|
|
2917
3385
|
export declare type ExternalItem = Partial<RapiItem> & Pick<RapiItem, keyof Element_2> & ExternalElement;
|
|
@@ -2927,11 +3395,19 @@ export declare interface ExternalModuleInformation {
|
|
|
2927
3395
|
}
|
|
2928
3396
|
|
|
2929
3397
|
export declare interface ExternalModuleInformation_2 {
|
|
3398
|
+
groupId: string;
|
|
3399
|
+
rootModuleId: string;
|
|
3400
|
+
subModuleId: string;
|
|
3401
|
+
}
|
|
3402
|
+
|
|
3403
|
+
export declare interface ExternalModuleInformation_3 {
|
|
2930
3404
|
groupId: string;
|
|
2931
3405
|
rootModuleId: string;
|
|
2932
3406
|
subModuleId: string | null;
|
|
2933
3407
|
}
|
|
2934
3408
|
|
|
3409
|
+
export declare type ExternalModuleInformationArray = EmscriptenArray<ExternalModuleInformation_2>;
|
|
3410
|
+
|
|
2935
3411
|
export declare type ExternalObject = ExternalItem | ExternalConfiguration;
|
|
2936
3412
|
|
|
2937
3413
|
export declare interface ExternalObjectAPI {
|
|
@@ -3080,9 +3556,14 @@ export declare interface ExternalObjectAPI {
|
|
|
3080
3556
|
*/
|
|
3081
3557
|
getExternalRoomInformation(mode?: PlanRoomGeometryMode): Promise<ExternalRoomInformation>;
|
|
3082
3558
|
/**
|
|
3083
|
-
* "getExternalObjectPlanContext" returns
|
|
3084
|
-
* the master data per library
|
|
3085
|
-
*
|
|
3559
|
+
* "getExternalObjectPlanContext" returns an agent-ready snapshot of the external object state:
|
|
3560
|
+
* the compacted master data per library (root modules and the customer-facing attributes),
|
|
3561
|
+
* the room information of all rooms (contours in 3D, pos: [x, level, -y], with a derived
|
|
3562
|
+
* walls array per room), the articles that can be used (compact catalog with dimensions,
|
|
3563
|
+
* docking vectors and sub-modules), and all groups currently loaded in the plan (as
|
|
3564
|
+
* resubmittable article picks with footprints and free docking vectors).
|
|
3565
|
+
* The result is designed to be passed to an AI agent as it is, without further preparation,
|
|
3566
|
+
* with all geometry in one coordinate system: 3D, right-handed, Y up.
|
|
3086
3567
|
* @param include The sections to include. All sections are returned when omitted or empty.
|
|
3087
3568
|
*/
|
|
3088
3569
|
getExternalObjectPlanContext(include?: HiPlanContextSection[]): Promise<HiPlanContext>;
|
|
@@ -3194,6 +3675,17 @@ export declare interface ExternalObjectGroupLayoutSide {
|
|
|
3194
3675
|
}
|
|
3195
3676
|
|
|
3196
3677
|
export declare interface ExternalObjectLoadConfiguration {
|
|
3678
|
+
applyGlobalChildMode: boolean;
|
|
3679
|
+
applyGroupPosition: boolean;
|
|
3680
|
+
calculationUpdate: boolean;
|
|
3681
|
+
findFreeSpaceInPlan: boolean;
|
|
3682
|
+
isVisible: boolean;
|
|
3683
|
+
lockCallbacks: boolean;
|
|
3684
|
+
respondWithPositionInPlan: boolean;
|
|
3685
|
+
tryToMergeNewGroups: boolean;
|
|
3686
|
+
}
|
|
3687
|
+
|
|
3688
|
+
export declare interface ExternalObjectLoadConfiguration_2 {
|
|
3197
3689
|
applyGlobalChildMode: boolean;
|
|
3198
3690
|
applyGroupPosition: boolean;
|
|
3199
3691
|
findFreeSpaceInPlan: boolean;
|
|
@@ -3317,6 +3809,10 @@ export declare class ExternalReference {
|
|
|
3317
3809
|
clearSelfRef(): void;
|
|
3318
3810
|
}
|
|
3319
3811
|
|
|
3812
|
+
export declare interface ExternalReference_2 {
|
|
3813
|
+
new (): ExternalReference_2;
|
|
3814
|
+
}
|
|
3815
|
+
|
|
3320
3816
|
export declare type ExternalResponseValidator = (type: 'rapi-access', response: Response) => Promise<boolean>;
|
|
3321
3817
|
|
|
3322
3818
|
export declare interface ExternalRoomInformation {
|
|
@@ -3333,7 +3829,22 @@ export declare interface ExternalValidContainerModule {
|
|
|
3333
3829
|
rootId: string;
|
|
3334
3830
|
}
|
|
3335
3831
|
|
|
3336
|
-
export
|
|
3832
|
+
export declare interface ExternalValidContainerModule_2 {
|
|
3833
|
+
containerModuleId: string;
|
|
3834
|
+
parentModuleId: string;
|
|
3835
|
+
rootId: string;
|
|
3836
|
+
}
|
|
3837
|
+
|
|
3838
|
+
export declare type ExtObjId = `${typeof EXTERNAL_ID_PREFIX}${string}`;
|
|
3839
|
+
|
|
3840
|
+
export declare interface ExtrudedRectangle {
|
|
3841
|
+
angle: number;
|
|
3842
|
+
bottomCenter: Vector3;
|
|
3843
|
+
readonly cornerPoints: PointArray_2;
|
|
3844
|
+
readonly eulerRotation: Vector3;
|
|
3845
|
+
readonly referencePoints: RectangleReferencePoints;
|
|
3846
|
+
size: Vector3;
|
|
3847
|
+
}
|
|
3337
3848
|
|
|
3338
3849
|
export declare interface FeatureFlags {
|
|
3339
3850
|
pulsePreview?: boolean;
|
|
@@ -3347,7 +3858,6 @@ export declare interface FeatureFlags {
|
|
|
3347
3858
|
/* Excluded from this release type: drawPreviewMode */
|
|
3348
3859
|
/* Excluded from this release type: forceSaveThumbnails */
|
|
3349
3860
|
/* Excluded from this release type: interiorLights */
|
|
3350
|
-
/* Excluded from this release type: advancedDimensioning */
|
|
3351
3861
|
/* Excluded from this release type: webGpu */
|
|
3352
3862
|
/* Excluded from this release type: advancedHighlighting */
|
|
3353
3863
|
/* Excluded from this release type: fence */
|
|
@@ -3359,9 +3869,8 @@ export declare class FeatureFlagsImplementation implements FeatureFlags {
|
|
|
3359
3869
|
reDock: boolean;
|
|
3360
3870
|
advancedDocking: boolean;
|
|
3361
3871
|
mergeOnInsert: boolean;
|
|
3362
|
-
drawPreviewMode:
|
|
3872
|
+
drawPreviewMode: Enumify<typeof DRAW_PREVIEW_MODES>;
|
|
3363
3873
|
interiorLights: boolean;
|
|
3364
|
-
advancedDimensioning: boolean;
|
|
3365
3874
|
enableSnapping: boolean;
|
|
3366
3875
|
webGpu: boolean;
|
|
3367
3876
|
forceSaveThumbnails: boolean;
|
|
@@ -3398,9 +3907,24 @@ export declare abstract class Floor extends PlanElement {
|
|
|
3398
3907
|
getRandomPointInside(): KernelVector3f;
|
|
3399
3908
|
}
|
|
3400
3909
|
|
|
3401
|
-
export declare interface
|
|
3910
|
+
export declare interface Floor_2 extends PlanElement_2 {
|
|
3911
|
+
new (): Floor_2;
|
|
3912
|
+
getCorners(): PointArray_2;
|
|
3913
|
+
getTriangulationIndices(): SizeTArray_2;
|
|
3914
|
+
getNumberOfTriangles(): number;
|
|
3915
|
+
getRandomPointInside(): Vector3;
|
|
3916
|
+
getLabelPosition(): Vector3;
|
|
3917
|
+
getWallsOfRoom(): RoomWall[];
|
|
3918
|
+
getLabelObject(): string;
|
|
3919
|
+
readonly area: number;
|
|
3920
|
+
readonly material: FloorMaterial_2;
|
|
3921
|
+
readonly parapetHeight: number;
|
|
3922
|
+
readonly floorType: FloorType;
|
|
3923
|
+
}
|
|
3924
|
+
|
|
3925
|
+
export declare interface FloorAreaData<Vector2Type = Vector3_2, Vector3Type = Vector3_2> {
|
|
3402
3926
|
area: number;
|
|
3403
|
-
formattedArea:
|
|
3927
|
+
formattedArea: Nullable<string>;
|
|
3404
3928
|
textPosition3d: Vector3Type;
|
|
3405
3929
|
textPosition2d: Vector2Type;
|
|
3406
3930
|
isTextVisible: boolean;
|
|
@@ -3420,6 +3944,12 @@ export declare class FloorMaterial extends BaseMaterial {
|
|
|
3420
3944
|
rotation(): KernelVector3f;
|
|
3421
3945
|
}
|
|
3422
3946
|
|
|
3947
|
+
export declare interface FloorMaterial_2 extends BaseMaterial_2 {
|
|
3948
|
+
new (): FloorMaterial_2;
|
|
3949
|
+
readonly uvScale: Vector3;
|
|
3950
|
+
readonly rotation: number;
|
|
3951
|
+
}
|
|
3952
|
+
|
|
3423
3953
|
export declare interface FloorPlanEdge {
|
|
3424
3954
|
id: number;
|
|
3425
3955
|
start: KernelVector3f;
|
|
@@ -3440,7 +3970,11 @@ export declare class FloorPlanElementViewModel extends PlanElementViewModel {
|
|
|
3440
3970
|
}
|
|
3441
3971
|
|
|
3442
3972
|
export declare interface FloorType {
|
|
3443
|
-
value:
|
|
3973
|
+
value: Enumify_2<typeof CORE_FLOOR_TYPE>;
|
|
3974
|
+
}
|
|
3975
|
+
|
|
3976
|
+
export declare interface FloorType_2 {
|
|
3977
|
+
value: Enumify<typeof CORE_FLOOR_TYPE_2>;
|
|
3444
3978
|
}
|
|
3445
3979
|
|
|
3446
3980
|
/**
|
|
@@ -3514,13 +4048,13 @@ export declare class GLBViewerSceneManager extends SceneManager implements GLBRe
|
|
|
3514
4048
|
private _standardSceneBackgroundColor;
|
|
3515
4049
|
private _itemsCount;
|
|
3516
4050
|
constructor(creator: string, offset: CanvasOffset);
|
|
3517
|
-
protected createCameraControl(_mode:
|
|
4051
|
+
protected createCameraControl(_mode: Enumify<typeof CAMERA_TYPE>, _offset: CanvasOffset): void;
|
|
3518
4052
|
protected _getInputManager(): InputManager;
|
|
3519
4053
|
loadStaticItem(id: string, callback?: (percent: number) => void): Promise<void>;
|
|
3520
|
-
loadGLB(url: string, automaticallyAdjustCamera?: boolean, scaling?:
|
|
4054
|
+
loadGLB(url: string, automaticallyAdjustCamera?: boolean, scaling?: Vector3_2, callback?: (percent: number) => void): Promise<void>;
|
|
3521
4055
|
preparePerspectiveImage(options?: PrepareImageOptions, providedRenderer?: WebGLRenderer): Promise<Base64Image>;
|
|
3522
4056
|
private _prepareWebGpuPerspectiveImage;
|
|
3523
|
-
adjustCamera(position:
|
|
4057
|
+
adjustCamera(position: Vector3_2, yaw: number, pitch: number, fov: number): void;
|
|
3524
4058
|
onStart(count: number): void;
|
|
3525
4059
|
onElementFinished(itemsFinished: number): void;
|
|
3526
4060
|
onFinished(_zip: any): void;
|
|
@@ -3566,7 +4100,7 @@ export declare interface GlobalAPI {
|
|
|
3566
4100
|
getUnitFormatter(): UnitFormatter;
|
|
3567
4101
|
getStorage(): IdbManager;
|
|
3568
4102
|
setEnvironmentMap(params: EnvMapParams): void;
|
|
3569
|
-
|
|
4103
|
+
/* Excluded from this release type: globalCallbacks */
|
|
3570
4104
|
}
|
|
3571
4105
|
|
|
3572
4106
|
export declare class GlobalCallback extends UiCallback {
|
|
@@ -3593,7 +4127,7 @@ export declare class GlobalCallback extends UiCallback {
|
|
|
3593
4127
|
* @param _json the JSON response
|
|
3594
4128
|
* @returns void
|
|
3595
4129
|
*/
|
|
3596
|
-
onApiJsonReceived: (_url: string, _rapiPath: RAPI_PATHS, _json: any) => Promise<
|
|
4130
|
+
onApiJsonReceived: (_url: string, _rapiPath: RAPI_PATHS, _json: any) => Promise<Nullable<RapiJsonBox> | undefined>;
|
|
3597
4131
|
/**
|
|
3598
4132
|
* is called the scene is ready for rendering it as an image
|
|
3599
4133
|
*/
|
|
@@ -3668,7 +4202,7 @@ export declare interface GlueLogic {
|
|
|
3668
4202
|
duplicateGroup(duplicatedGroup: ExternalObjectGroup): Promise<void>;
|
|
3669
4203
|
adjustGroup(groupId: string): Promise<void>;
|
|
3670
4204
|
swapRootModule(groupId: string, rootModuleId: string, articleId: string): Promise<void>;
|
|
3671
|
-
modifyAttribute(groupId: string, moduleIdObjects:
|
|
4205
|
+
modifyAttribute(groupId: string, moduleIdObjects: ExternalModuleInformation_3[], attributeName: string, value: string): Promise<void>;
|
|
3672
4206
|
updateAttribute(rootModuleId: string, moduleId: string | null, attributeId: string, attributeValue: string | boolean): Promise<void>;
|
|
3673
4207
|
getVerifiedAttributeOptions(moduleId: string, attributeIds?: string | string[]): Promise<Record<string, CheckDropDownResult> | undefined>;
|
|
3674
4208
|
getVerifiedGroupAttributeOptions(groupId: string, attributeIds?: string | string[]): Promise<Record<string, CheckDropDownResult> | undefined>;
|
|
@@ -3704,22 +4238,22 @@ export declare interface HandWrittenPlanInteractionHandler {
|
|
|
3704
4238
|
delete(): void;
|
|
3705
4239
|
init(reference: HandWrittenPlanInteractionHandler, zoomFactor: number, viewSnapDist: number, wallSnapMode: any, objectSnapMode: any, shouldSnap: boolean, drawingType: any): void;
|
|
3706
4240
|
getConfiguratorKernel(): ConfiguratorKernelClass;
|
|
3707
|
-
loadPlanXML(xml: string):
|
|
3708
|
-
createPlanWithObjectFromItem(object: KernelObject, position: KernelVector3, rotationInRad: number):
|
|
3709
|
-
getPlan():
|
|
4241
|
+
loadPlanXML(xml: string): Plan_3;
|
|
4242
|
+
createPlanWithObjectFromItem(object: KernelObject, position: KernelVector3, rotationInRad: number): Plan_3;
|
|
4243
|
+
getPlan(): Plan_3;
|
|
3710
4244
|
moveElementTo(planObject: KernelObject, targetPosition: KernelVector3, dragging: boolean, cameraPosition?: KernelVector3): void;
|
|
3711
4245
|
moveElementToIn2d(planObject: KernelObject, targetPosition: KernelVector3, dragging: boolean): void;
|
|
3712
4246
|
moveElementBy(planObject: KernelObject, distance: KernelVector3, dragging: boolean): void;
|
|
3713
4247
|
duplicatePlanObject(object: PlanObject, count: number, findFreeSpaceInPlan: boolean): PlanObject[];
|
|
3714
4248
|
duplicatePlanObjects(objects: PlanObjectList, count: number, findFreeSpaceInPlan: boolean): PlanObject[];
|
|
3715
|
-
setElementVisibility(element:
|
|
4249
|
+
setElementVisibility(element: PlanElement_3, isVisible: boolean): void;
|
|
3716
4250
|
moveObjectsBy(planObjects: KernelObjectPtrList, distance: KernelVector3): void;
|
|
3717
4251
|
rotateObjectTo(planObject: KernelObject, angleInRad: number): void;
|
|
3718
4252
|
setObjectRotation(planObject: KernelObject, angleInRad: number): void;
|
|
3719
4253
|
addPlanObjects(list: KernelObjectPtrList, findFreeSpaceInPlan: boolean): PlanObject[];
|
|
3720
4254
|
addPlanObjectFromItem(object: KernelObject, position: KernelVector3, type: number, findFreeSpaceInPlan: boolean): PlanObject;
|
|
3721
|
-
addOrUpdateExternalPlanObjects(serializedConfiguration: string | string[], position: KernelVector3, rotationInRad: number, updateConfiguration:
|
|
3722
|
-
createPreviewGeometryForAddOn(objectId: string, objectConfiguration: string, articleId: string, groupDefinitions: string, validContainerModules:
|
|
4255
|
+
addOrUpdateExternalPlanObjects(serializedConfiguration: string | string[], position: KernelVector3, rotationInRad: number, updateConfiguration: ExternalObjectLoadConfiguration_2, mergedGroupIds: string | string[]): PlanObject[];
|
|
4256
|
+
createPreviewGeometryForAddOn(objectId: string, objectConfiguration: string, articleId: string, groupDefinitions: string, validContainerModules: ExternalValidContainerModule_2[]): void;
|
|
3723
4257
|
catalogItemLoaded(catalogItem: KernelCatalogItem): void;
|
|
3724
4258
|
removeElement(planObject: KernelObject): void;
|
|
3725
4259
|
removeObjectWithId(objectId: string): void;
|
|
@@ -3788,14 +4322,14 @@ export declare interface HandWrittenPlanInteractionHandler {
|
|
|
3788
4322
|
setDefaultInteriorWallMaterial(wallMaterial: KernelWallMaterial): void;
|
|
3789
4323
|
getDefaultFloorMaterial(): KernelFloorMaterial;
|
|
3790
4324
|
setDefaultFloorMaterial(floorMaterial: KernelFloorMaterial): void;
|
|
3791
|
-
setElementCustomDataJson(element:
|
|
4325
|
+
setElementCustomDataJson(element: PlanElement_3, customDataJson: string): void;
|
|
3792
4326
|
setWallLeftMaterial(wall: KernelWall, material: KernelWallMaterial): void;
|
|
3793
4327
|
setWallRightMaterial(wall: KernelWall, material: KernelWallMaterial): void;
|
|
3794
4328
|
setFloorMaterial(floor: KernelFloor, material: KernelFloorMaterial): void;
|
|
3795
4329
|
setFloorLabelObject(floor: KernelFloor, serializedLabelObject: string): void;
|
|
3796
|
-
setFloorType(floor: KernelFloor, floorType:
|
|
3797
|
-
setEdgeType(wall: KernelWall, edgeType:
|
|
3798
|
-
getContinuousDrawingManager():
|
|
4330
|
+
setFloorType(floor: KernelFloor, floorType: FloorType_2): void;
|
|
4331
|
+
setEdgeType(wall: KernelWall, edgeType: EdgeType_2): void;
|
|
4332
|
+
getContinuousDrawingManager(): ContinuousDrawingManager_2;
|
|
3799
4333
|
setSnapFeedbackWhileDrawing(enabled: boolean): void;
|
|
3800
4334
|
consistsOfMergedComponents(object: KernelObject): boolean;
|
|
3801
4335
|
setObjectSize(anObject: KernelObject, aNewSize: KernelVector3, anAnchor: Anchor): void;
|
|
@@ -3804,9 +4338,9 @@ export declare interface HandWrittenPlanInteractionHandler {
|
|
|
3804
4338
|
setObjectCustomColor(object: PlanObject, rgbColor: number, useCustomColor: boolean): void;
|
|
3805
4339
|
setObjectCustomLabel(object: PlanObject, label: string): void;
|
|
3806
4340
|
setObjectFixedZ(anObject: KernelObject, shouldFlipZ: boolean): void;
|
|
3807
|
-
setMeasurePoint1(measure:
|
|
3808
|
-
setMeasurePoint2(measure:
|
|
3809
|
-
addMeasure(startPosition: KernelVector3f, endPosition: KernelVector3f):
|
|
4341
|
+
setMeasurePoint1(measure: PlanMeasure_3, point: KernelVector3f, snapToWalls: boolean, snapToObjects: boolean): void;
|
|
4342
|
+
setMeasurePoint2(measure: PlanMeasure_3, point: KernelVector3f, snapToWalls: boolean, snapToObjects: boolean): void;
|
|
4343
|
+
addMeasure(startPosition: KernelVector3f, endPosition: KernelVector3f): PlanMeasure_3;
|
|
3810
4344
|
setDiscardExternalObjectsOnLoad(discard: boolean): void;
|
|
3811
4345
|
isChildObjectModePossible(object: KernelObject): boolean;
|
|
3812
4346
|
isEnabledChildObjectMode(object: KernelObject): boolean;
|
|
@@ -3821,8 +4355,8 @@ export declare interface HandWrittenPlanInteractionHandler {
|
|
|
3821
4355
|
customRaster: number;
|
|
3822
4356
|
enableSnap: boolean;
|
|
3823
4357
|
enableDrawingSnap: boolean;
|
|
3824
|
-
objectToWallSnapMode:
|
|
3825
|
-
objectToObjectSnapMode:
|
|
4358
|
+
objectToWallSnapMode: SnapMode_2;
|
|
4359
|
+
objectToObjectSnapMode: SnapMode_2;
|
|
3826
4360
|
dockWhenSnap: boolean;
|
|
3827
4361
|
unDockOnMove: boolean;
|
|
3828
4362
|
enableTerrain: boolean;
|
|
@@ -3994,7 +4528,7 @@ export declare class HeadlessRoomleSdk {
|
|
|
3994
4528
|
}
|
|
3995
4529
|
|
|
3996
4530
|
export declare interface HelpLineType {
|
|
3997
|
-
value:
|
|
4531
|
+
value: Enumify<typeof CORE_HELP_LINE_TYPE>;
|
|
3998
4532
|
}
|
|
3999
4533
|
|
|
4000
4534
|
export declare type HexColorNumber = number;
|
|
@@ -4029,6 +4563,12 @@ export declare const HI_LOAD_OBJECT_REASON: {
|
|
|
4029
4563
|
readonly UNDO_REDO: "undo_redo";
|
|
4030
4564
|
};
|
|
4031
4565
|
|
|
4566
|
+
export declare const HI_PANEL_ACTION: {
|
|
4567
|
+
readonly HIDE: "hide";
|
|
4568
|
+
readonly SHOW_ATTRIBUTES: "attributes";
|
|
4569
|
+
readonly SHOW_ARTICLES: "articles";
|
|
4570
|
+
};
|
|
4571
|
+
|
|
4032
4572
|
export declare interface HiApiOptions extends HomagIntelligenceSubscription {
|
|
4033
4573
|
om?: HomagIntelligenceSubscription;
|
|
4034
4574
|
baseUrl?: string;
|
|
@@ -4039,6 +4579,91 @@ export declare interface HiApiOptions extends HomagIntelligenceSubscription {
|
|
|
4039
4579
|
|
|
4040
4580
|
export declare type HiAttributeOptionsResult = CheckDropDownResult | CheckDropDownEntry[] | undefined;
|
|
4041
4581
|
|
|
4582
|
+
export declare interface HiCallbacks {
|
|
4583
|
+
/**
|
|
4584
|
+
* Requests the calculation script for the given library ID.
|
|
4585
|
+
* @param libraryId the ID of the library for which the calculation script is requested
|
|
4586
|
+
* @returns the calculation script as a string
|
|
4587
|
+
*/
|
|
4588
|
+
onLoadJavascript: (libraryId: string) => Promise<string>;
|
|
4589
|
+
/**
|
|
4590
|
+
* Requests the master data for the given library ID.
|
|
4591
|
+
* @param libraryId the ID of the library for which the master data is requested
|
|
4592
|
+
* @returns the master data as a Promise
|
|
4593
|
+
*/
|
|
4594
|
+
onLoadMasterData: (libraryId: string) => Promise<MasterData>;
|
|
4595
|
+
/**
|
|
4596
|
+
* Requests the article catalog for the given library ID.
|
|
4597
|
+
* @param libraryId the ID of the library for which the article catalog is requested
|
|
4598
|
+
* @returns the article catalog as a Promise
|
|
4599
|
+
*/
|
|
4600
|
+
onLoadArticleCatalog: (libraryId: string) => Promise<any>;
|
|
4601
|
+
/**
|
|
4602
|
+
* Notifies the host application that a price calculation should be performed.
|
|
4603
|
+
* @param posGroups all groups in the plan
|
|
4604
|
+
*/
|
|
4605
|
+
onPriceCalc?: (posGroups: PosGroup[]) => Promise<void>;
|
|
4606
|
+
/**
|
|
4607
|
+
* Retrieves the current external load data which has to be used to replace the existing groups in the plan.
|
|
4608
|
+
* @returns load data or null if no replacement is needed
|
|
4609
|
+
*/
|
|
4610
|
+
onGetSavedPosGroupData?: () => Promise<PosSaveData | null>;
|
|
4611
|
+
/**
|
|
4612
|
+
* "onCompletelyLoaded" is invoked when the groups in the plan are completely loaded.
|
|
4613
|
+
*/
|
|
4614
|
+
onPosGroupsCompletelyLoaded?: () => void;
|
|
4615
|
+
/**
|
|
4616
|
+
* "onPosGroupAdded" is invoked when a new group was created. (e.g. duplicate object)
|
|
4617
|
+
* @param groupData The new group data JSON.
|
|
4618
|
+
*/
|
|
4619
|
+
onPosGroupAdded?: (posGroups: PosGroup[]) => Promise<void>;
|
|
4620
|
+
/**
|
|
4621
|
+
* "onPosGroupChanged" is invoked when a new group was modified and recalculated. (e.g. split, merge, change, attribute)
|
|
4622
|
+
*
|
|
4623
|
+
* @param groupData The new group data JSON.
|
|
4624
|
+
*/
|
|
4625
|
+
onPosGroupChanged?: (posGroups: PosGroup[]) => Promise<void>;
|
|
4626
|
+
/**
|
|
4627
|
+
* "onPosGroupDeleted" is invoked when a group was delete. (e.g. delete button in scene)
|
|
4628
|
+
* @param groupData The ID of the group which was deleted.
|
|
4629
|
+
*/
|
|
4630
|
+
onPosGroupDeleted?: (posGroupIds: string[]) => Promise<void>;
|
|
4631
|
+
/**
|
|
4632
|
+
* "onShowHidePanel" is invoked when a the content of the side panel should be changed or hidden.
|
|
4633
|
+
* @param panel The panel to show or hide.
|
|
4634
|
+
* @param posGroupId Optional ID of the selected group in case of SHOW_ATTRIBUTES.
|
|
4635
|
+
* @param rootModuleId Optional ID of the selected root module in case of SHOW_ATTRIBUTES.
|
|
4636
|
+
* @param subModuleId Optional ID of the selected sub module in case of SHOW_ATTRIBUTES.
|
|
4637
|
+
*/
|
|
4638
|
+
onShowHidePanel?: (panel: HiPanelActionType, posGroupId?: string | null, rootModuleId?: string | null, subModuleId?: string | null) => void;
|
|
4639
|
+
/**
|
|
4640
|
+
* "onSelectModule" is invoked when a the selected object in the scene was changed.
|
|
4641
|
+
* @param posGroupId ID of the selected group
|
|
4642
|
+
* @param rootModuleId ID of the selected root module
|
|
4643
|
+
* @param subModuleId Optional id of the selected sub module
|
|
4644
|
+
*/
|
|
4645
|
+
onSelectModule?: (posGroupId: string | null, rootModuleId: string | null, subModuleId?: string | null) => void;
|
|
4646
|
+
/**
|
|
4647
|
+
* Request the price for the given order data.
|
|
4648
|
+
* @param orderData order data
|
|
4649
|
+
* @returns price data
|
|
4650
|
+
*/
|
|
4651
|
+
onFetchPrice?: (orderData: HiOrder) => Promise<HiPriceData | null>;
|
|
4652
|
+
/**
|
|
4653
|
+
* "onPlaceOrder" is invoked when the user wants to place an order.
|
|
4654
|
+
* You can use this to send the order data to Order Manager or to a 3rd party service.
|
|
4655
|
+
* @param orderData
|
|
4656
|
+
*/
|
|
4657
|
+
onPlaceOrder?: (orderData: any) => Promise<void>;
|
|
4658
|
+
/**
|
|
4659
|
+
* "onLogMessage" is invoked when the Homag Intelligence library wants to log a message.
|
|
4660
|
+
* You can use this to log messages in your own UI.
|
|
4661
|
+
* @param area
|
|
4662
|
+
* @param message
|
|
4663
|
+
*/
|
|
4664
|
+
onLogMessage?: (area: string, message: string) => void;
|
|
4665
|
+
}
|
|
4666
|
+
|
|
4042
4667
|
export declare type HiContextAction = (typeof HI_CONTEXT_ACTION)[keyof typeof HI_CONTEXT_ACTION];
|
|
4043
4668
|
|
|
4044
4669
|
/**
|
|
@@ -4073,15 +4698,224 @@ export declare interface HiObjectSelectionApi {
|
|
|
4073
4698
|
selectionChanged(selectionMode: SELECTION_MODE, objectType: CallbackObjectType, payload: SelectionPayload, _payloadPromise: Promise<SelectionPayload>, _planElementViewModel: PlanElementViewModel): void;
|
|
4074
4699
|
}
|
|
4075
4700
|
|
|
4701
|
+
export declare interface HiOrder extends HiOrderHeader {
|
|
4702
|
+
items: HiOrderData[];
|
|
4703
|
+
}
|
|
4704
|
+
|
|
4705
|
+
export declare interface HiOrderData {
|
|
4706
|
+
[key: string]: any;
|
|
4707
|
+
additionalData: Array<Record<string, any>>;
|
|
4708
|
+
}
|
|
4709
|
+
|
|
4710
|
+
export declare interface HiOrderHeader {
|
|
4711
|
+
id: string;
|
|
4712
|
+
state: string;
|
|
4713
|
+
orderNumber: string;
|
|
4714
|
+
orderName: string;
|
|
4715
|
+
orderDescription: string;
|
|
4716
|
+
project: string;
|
|
4717
|
+
personInCharge: string;
|
|
4718
|
+
orderDate: string;
|
|
4719
|
+
deliveryDatePlanned: string;
|
|
4720
|
+
addresses: Array<{
|
|
4721
|
+
type: string;
|
|
4722
|
+
street: string;
|
|
4723
|
+
houseNumber: string;
|
|
4724
|
+
postalCode: string;
|
|
4725
|
+
city: string;
|
|
4726
|
+
country: string;
|
|
4727
|
+
}>;
|
|
4728
|
+
customerName: string;
|
|
4729
|
+
customerNumber: string;
|
|
4730
|
+
createdAt: string;
|
|
4731
|
+
changedAt: string;
|
|
4732
|
+
changedBy: string;
|
|
4733
|
+
}
|
|
4734
|
+
|
|
4735
|
+
export declare type HiPanelActionType = (typeof HI_PANEL_ACTION)[keyof typeof HI_PANEL_ACTION];
|
|
4736
|
+
|
|
4737
|
+
export declare interface HiPlanArticle {
|
|
4738
|
+
articleId: string;
|
|
4739
|
+
articleName?: string;
|
|
4740
|
+
desc?: string;
|
|
4741
|
+
imageUrl?: string;
|
|
4742
|
+
category?: string;
|
|
4743
|
+
libraryId: string;
|
|
4744
|
+
catalog: string;
|
|
4745
|
+
cornerArticle: boolean;
|
|
4746
|
+
cornerPoint?: HiPlanPosition3;
|
|
4747
|
+
rootModules: HiPlanArticleRootModule[];
|
|
4748
|
+
}
|
|
4749
|
+
|
|
4750
|
+
export declare interface HiPlanArticleAttributeValue {
|
|
4751
|
+
id: string;
|
|
4752
|
+
name?: string;
|
|
4753
|
+
value?: number | string | boolean;
|
|
4754
|
+
}
|
|
4755
|
+
|
|
4756
|
+
export declare interface HiPlanArticleRootModule {
|
|
4757
|
+
module: {
|
|
4758
|
+
id: string;
|
|
4759
|
+
name?: string;
|
|
4760
|
+
desc?: string;
|
|
4761
|
+
imageUrl?: string;
|
|
4762
|
+
};
|
|
4763
|
+
dimensions: HiPlanArticleAttributeValue[];
|
|
4764
|
+
mainAttributes: HiPlanArticleAttributeValue[];
|
|
4765
|
+
dockingVectors: string[];
|
|
4766
|
+
insertLevels?: PosInsertLevelInfo[];
|
|
4767
|
+
subModules: Array<{
|
|
4768
|
+
id: string;
|
|
4769
|
+
name?: string;
|
|
4770
|
+
desc?: string;
|
|
4771
|
+
imageUrl?: string;
|
|
4772
|
+
}>;
|
|
4773
|
+
}
|
|
4774
|
+
|
|
4775
|
+
export declare interface HiPlanAttribute {
|
|
4776
|
+
id: string;
|
|
4777
|
+
name: string;
|
|
4778
|
+
desc?: string;
|
|
4779
|
+
imageUrl?: string;
|
|
4780
|
+
type: MDType;
|
|
4781
|
+
group?: string;
|
|
4782
|
+
selections?: MDAttributeSelection[];
|
|
4783
|
+
}
|
|
4784
|
+
|
|
4076
4785
|
export declare interface HiPlanContext {
|
|
4077
|
-
masterData?: Record<string,
|
|
4078
|
-
rooms?:
|
|
4079
|
-
articles?:
|
|
4080
|
-
groups?:
|
|
4786
|
+
masterData?: Record<string, HiPlanMasterData>;
|
|
4787
|
+
rooms?: HiPlanRoomInformation;
|
|
4788
|
+
articles?: HiPlanArticle[];
|
|
4789
|
+
groups?: HiPlanGroup[];
|
|
4790
|
+
}
|
|
4791
|
+
|
|
4792
|
+
export declare interface HiPlanContextData {
|
|
4793
|
+
dockedRoots: Array<{
|
|
4794
|
+
ownDockingVector: PosDock | string;
|
|
4795
|
+
dockedRoots: HiPlanDockedRoot[];
|
|
4796
|
+
}>;
|
|
4081
4797
|
}
|
|
4082
4798
|
|
|
4083
4799
|
export declare type HiPlanContextSection = 'masterData' | 'rooms' | 'articles' | 'groups';
|
|
4084
4800
|
|
|
4801
|
+
export declare interface HiPlanContour {
|
|
4802
|
+
level: number;
|
|
4803
|
+
segments: HiPlanContourSegment[];
|
|
4804
|
+
}
|
|
4805
|
+
|
|
4806
|
+
export declare interface HiPlanContourSegment {
|
|
4807
|
+
cmd: string;
|
|
4808
|
+
pos: HiPlanPosition3;
|
|
4809
|
+
angle?: number;
|
|
4810
|
+
type?: string;
|
|
4811
|
+
height?: number;
|
|
4812
|
+
thickness?: number;
|
|
4813
|
+
}
|
|
4814
|
+
|
|
4815
|
+
export declare interface HiPlanDockedRoot {
|
|
4816
|
+
id: string;
|
|
4817
|
+
dockingVector: PosDock | string;
|
|
4818
|
+
mode?: PosDockMode | string;
|
|
4819
|
+
offset?: number[];
|
|
4820
|
+
}
|
|
4821
|
+
|
|
4822
|
+
export declare interface HiPlanFootprint {
|
|
4823
|
+
x: [number, number];
|
|
4824
|
+
z: [number, number];
|
|
4825
|
+
widthMm: number;
|
|
4826
|
+
depthMm: number;
|
|
4827
|
+
}
|
|
4828
|
+
|
|
4829
|
+
export declare interface HiPlanGroup {
|
|
4830
|
+
id: string;
|
|
4831
|
+
libraryId?: string;
|
|
4832
|
+
position: HiPlanGroupPosition;
|
|
4833
|
+
attributes?: PosModuleAttribute[];
|
|
4834
|
+
roots: HiPlanRoot[];
|
|
4835
|
+
logMessages: PosErrorMsg[];
|
|
4836
|
+
}
|
|
4837
|
+
|
|
4838
|
+
export declare interface HiPlanGroupPosition {
|
|
4839
|
+
pos?: number[];
|
|
4840
|
+
rotationY?: number;
|
|
4841
|
+
footprint?: HiPlanFootprint;
|
|
4842
|
+
}
|
|
4843
|
+
|
|
4844
|
+
export declare interface HiPlanMasterData {
|
|
4845
|
+
libraryId: string;
|
|
4846
|
+
modules: HiPlanMasterDataModule[];
|
|
4847
|
+
attributes: HiPlanAttribute[];
|
|
4848
|
+
}
|
|
4849
|
+
|
|
4850
|
+
export declare interface HiPlanMasterDataModule {
|
|
4851
|
+
id: string;
|
|
4852
|
+
name: string;
|
|
4853
|
+
desc?: string;
|
|
4854
|
+
imageUrl?: string;
|
|
4855
|
+
attributes: string[];
|
|
4856
|
+
}
|
|
4857
|
+
|
|
4858
|
+
/**
|
|
4859
|
+
* The plan context is the data an AI agent needs to understand and author a
|
|
4860
|
+
* planning session. `getPlanContext` (glue logic) assembles it and every
|
|
4861
|
+
* section leaves this file in the agent-ready shape: compacted, and in one
|
|
4862
|
+
* coordinate system - 3D, right-handed, Y up, the coordinate system of
|
|
4863
|
+
* `PosGroup`.
|
|
4864
|
+
*/
|
|
4865
|
+
export declare type HiPlanPosition3 = [number, number, number];
|
|
4866
|
+
|
|
4867
|
+
export declare interface HiPlanRoom {
|
|
4868
|
+
levels: HiPlanContour[];
|
|
4869
|
+
walls: HiPlanWall[];
|
|
4870
|
+
}
|
|
4871
|
+
|
|
4872
|
+
export declare interface HiPlanRoomInformation {
|
|
4873
|
+
rooms: HiPlanRoom[];
|
|
4874
|
+
}
|
|
4875
|
+
|
|
4876
|
+
export declare interface HiPlanRoot {
|
|
4877
|
+
id: string;
|
|
4878
|
+
articleId: string;
|
|
4879
|
+
articleName?: string;
|
|
4880
|
+
desc?: string;
|
|
4881
|
+
imageUrl?: string;
|
|
4882
|
+
category?: string;
|
|
4883
|
+
isGenerated?: boolean;
|
|
4884
|
+
attributes: HiPlanRootAttribute[];
|
|
4885
|
+
contextData?: HiPlanContextData;
|
|
4886
|
+
dockingVectors: string[];
|
|
4887
|
+
freeDockingVectors: string[];
|
|
4888
|
+
subModules: Array<{
|
|
4889
|
+
id: string;
|
|
4890
|
+
imageUrl?: string;
|
|
4891
|
+
}>;
|
|
4892
|
+
logMessages?: PosErrorMsg[];
|
|
4893
|
+
}
|
|
4894
|
+
|
|
4895
|
+
export declare interface HiPlanRootAttribute {
|
|
4896
|
+
id: string;
|
|
4897
|
+
value?: number | string | boolean;
|
|
4898
|
+
}
|
|
4899
|
+
|
|
4900
|
+
export declare interface HiPlanWall {
|
|
4901
|
+
index: number;
|
|
4902
|
+
side: HiPlanWallSide;
|
|
4903
|
+
start: HiPlanPosition3;
|
|
4904
|
+
end: HiPlanPosition3;
|
|
4905
|
+
lengthMm: number;
|
|
4906
|
+
type?: string;
|
|
4907
|
+
heightMm?: number;
|
|
4908
|
+
thicknessMm?: number;
|
|
4909
|
+
facingRotationY: number;
|
|
4910
|
+
}
|
|
4911
|
+
|
|
4912
|
+
export declare type HiPlanWallSide = 'left' | 'right' | 'top' | 'bottom';
|
|
4913
|
+
|
|
4914
|
+
export declare interface HiPriceData {
|
|
4915
|
+
[key: string]: any;
|
|
4916
|
+
orderData: HiOrder;
|
|
4917
|
+
}
|
|
4918
|
+
|
|
4085
4919
|
export declare class HiTagCatalogCallbacks implements Context {
|
|
4086
4920
|
_creator_: string;
|
|
4087
4921
|
private _glueLogic;
|
|
@@ -4232,7 +5066,7 @@ export declare class ImageRenderer implements Context {
|
|
|
4232
5066
|
private _getRenderer;
|
|
4233
5067
|
protected _createThreejsImageRenderer(): Promise<WebGLRenderer | WebGPURenderer>;
|
|
4234
5068
|
protected _createRoomleRenderer(imageRenderer: WebGLRenderer | WebGPURenderer): Promise<GenericRoomleRenderer>;
|
|
4235
|
-
switchToPlannerSettings(): Promise<void>;
|
|
5069
|
+
switchToPlannerSettings(renderMode: PlannerRenderMode): Promise<void>;
|
|
4236
5070
|
switchToConfiguratorSettings(): Promise<void>;
|
|
4237
5071
|
updateBounds(bounds: Box3): Promise<void>;
|
|
4238
5072
|
static getCameraTargetForBBox(bbox: Box3, spacing?: number): CameraTarget;
|
|
@@ -4264,7 +5098,7 @@ export declare class InitData implements Context, Omit<InitDataDefinition, 'colo
|
|
|
4264
5098
|
precisionCm?: number;
|
|
4265
5099
|
unit?: string;
|
|
4266
5100
|
unitStringType?: string;
|
|
4267
|
-
measurementSystem?:
|
|
5101
|
+
measurementSystem?: Enumify<typeof MEASUREMENT_SYSTEM_STRING>;
|
|
4268
5102
|
meshSelection: boolean;
|
|
4269
5103
|
stats: boolean;
|
|
4270
5104
|
debug: boolean;
|
|
@@ -4286,7 +5120,10 @@ export declare class InitData implements Context, Omit<InitDataDefinition, 'colo
|
|
|
4286
5120
|
restrictionLevel: number;
|
|
4287
5121
|
hi?: HomagIntelligenceInitData;
|
|
4288
5122
|
disableDefaultLabelStyles: boolean;
|
|
4289
|
-
|
|
5123
|
+
translations?: Record<string, {
|
|
5124
|
+
'room-types'?: Record<string, string>;
|
|
5125
|
+
}>;
|
|
5126
|
+
highlighting: Enumify<typeof ROOMLE_HIGHLIGHTNG>;
|
|
4290
5127
|
initialFloorMaterial?: string;
|
|
4291
5128
|
dls?: string;
|
|
4292
5129
|
ls?: string;
|
|
@@ -4314,7 +5151,7 @@ export declare class InitData implements Context, Omit<InitDataDefinition, 'colo
|
|
|
4314
5151
|
webGpuConfig: WebGpuConfig;
|
|
4315
5152
|
meshRaycasting: boolean;
|
|
4316
5153
|
defaultFloorMaterial?: number | string;
|
|
4317
|
-
mode:
|
|
5154
|
+
mode: Enumify<typeof CAMERA_TYPE>;
|
|
4318
5155
|
edit: boolean;
|
|
4319
5156
|
moc: boolean;
|
|
4320
5157
|
lockPlan: boolean;
|
|
@@ -4478,7 +5315,9 @@ export declare interface InsertItemResult {
|
|
|
4478
5315
|
export declare class IntArray extends EmsArray<number> {
|
|
4479
5316
|
}
|
|
4480
5317
|
|
|
4481
|
-
export declare
|
|
5318
|
+
export declare type IntArray_2 = EmscriptenArray<number>;
|
|
5319
|
+
|
|
5320
|
+
export declare class IntArray_3 extends EmsArray<number> {
|
|
4482
5321
|
}
|
|
4483
5322
|
|
|
4484
5323
|
export declare type InteractionMethodName = Exclude<keyof PlanInteractionManager, keyof UndoRedoHandler>;
|
|
@@ -4494,24 +5333,115 @@ export declare const enum INTERSECTION_MODE {
|
|
|
4494
5333
|
|
|
4495
5334
|
export declare const isExternalObject: (someThing: unknown) => someThing is ExternalObject;
|
|
4496
5335
|
|
|
4497
|
-
export declare const isExtObjId: (id: unknown) => id is
|
|
5336
|
+
export declare const isExtObjId: (id: unknown) => id is ExtObjId;
|
|
4498
5337
|
|
|
4499
5338
|
export declare const isFirefox: () => boolean;
|
|
4500
5339
|
|
|
4501
|
-
export
|
|
5340
|
+
export declare const isIdAComponent: (id: string) => boolean;
|
|
4502
5341
|
|
|
4503
|
-
export
|
|
5342
|
+
export declare const isIdAConfigurationString: (id: string) => boolean;
|
|
4504
5343
|
|
|
4505
|
-
export
|
|
5344
|
+
export declare const isIdAnItem: (id: string) => boolean;
|
|
4506
5345
|
|
|
4507
|
-
export
|
|
5346
|
+
export declare const isIdAPlan: (id: string) => boolean;
|
|
4508
5347
|
|
|
4509
5348
|
export declare const isModelExportOngoing: () => boolean;
|
|
4510
5349
|
|
|
4511
|
-
export
|
|
5350
|
+
export declare const isPlanSnapshotId: (id: string | RapiId) => id is RapiPlanSnapshotId;
|
|
4512
5351
|
|
|
4513
5352
|
export declare const isSafari: () => boolean;
|
|
4514
5353
|
|
|
5354
|
+
export declare interface Kernel {
|
|
5355
|
+
new (): Kernel;
|
|
5356
|
+
setUpdateCallbacksOnlyIfGeometryIsReady(onlyUpdateIfReady: boolean): void;
|
|
5357
|
+
setLevel(level: number): void;
|
|
5358
|
+
useHDGeometry(shouldUse: boolean): void;
|
|
5359
|
+
useEnvironmentGeometry(shouldUse: boolean): void;
|
|
5360
|
+
setDockInsertPreviewBoxParameters(thickness: number, protruding: number, intruding: number, bevelSize: number): void;
|
|
5361
|
+
setLogLevel(level: number): void;
|
|
5362
|
+
loadConfiguration(conversationId: number, serializedConfiguration: string, bounding: Vector3): void;
|
|
5363
|
+
updateConfiguration(conversationId: number, objectOrComponentId: number, serializedConfiguration: string): void;
|
|
5364
|
+
loadFreeFlyingConfiguration(conversationId: number, serializedConfiguration: string): void;
|
|
5365
|
+
loadComponentDefinition(serializedComponent: string): void;
|
|
5366
|
+
requestComponentDockPreview(targetObjectId: number, componentId: string, serializedComponent: string, dragIn: boolean, allowInsertInBetween: boolean): void;
|
|
5367
|
+
requestItemDockPreview(targetObjectId: number, serializedConfiguration: string, dragIn: boolean, allowInsertInBetween: boolean): void;
|
|
5368
|
+
requestExternalObjectDockPreview(targetObjectId: number, articleId: string, dragIn: boolean, allowInsertInBetween: boolean): void;
|
|
5369
|
+
assetsLoaded(assets: AssetResponse_2 | AssetResponse_2[]): void;
|
|
5370
|
+
loadPlainComponent(conversationId: number, componentId: string, serializedComponent: string): void;
|
|
5371
|
+
saveConfiguration(planObjectId: number): void;
|
|
5372
|
+
getComponent(planComponentId: number): Component;
|
|
5373
|
+
getComponentBounds(componentId: number, animationValues: string[]): ComponentBounds;
|
|
5374
|
+
getComponentParameters(planComponentId: number): ParameterArray_2;
|
|
5375
|
+
getPlanComponentAnimations(planComponentId: number): AnimationArray;
|
|
5376
|
+
setComponentParameter(planComponentId: number, key: string, value: string): void;
|
|
5377
|
+
getCommonPlanComponentParameters(somePlanComponentIds: LongArray): ParametersAndParameterGroups;
|
|
5378
|
+
setPlanComponentsParameter(somePlanComponentIds: LongArray, key: string, value: string): void;
|
|
5379
|
+
dockComponent(id: number, dockId: number, parentId: number, parentDockId: number, position?: Vector3): void;
|
|
5380
|
+
dockComponentWithPosition(id: number, dockId: number, parentId: number, parentDockId: number, position: Vector3): void;
|
|
5381
|
+
determinePlanComponentsThatWillBeDeleted(planComponentId: number, tryDockChildrenToParent: boolean): LongArray;
|
|
5382
|
+
deleteComponent(planComponentId: number, redockChildrenToParent: boolean): void;
|
|
5383
|
+
deleteMultipleComponents(somePlanComponentIds: LongArray): void;
|
|
5384
|
+
prepareForIncrementalUpdate(): void;
|
|
5385
|
+
doNextIncrementalUpdate(): void;
|
|
5386
|
+
getPartList(planComponentId: number): PartList;
|
|
5387
|
+
getPlanObjectPartList(planObjectId: number): PartList;
|
|
5388
|
+
getFullPartList(): PartList;
|
|
5389
|
+
isConfigurationValid(planObjectOrComponentId: number): boolean;
|
|
5390
|
+
retrieveConfigurationId(planObjectOrComponentId: number): UniqueIdAndHash;
|
|
5391
|
+
getHashOfSerializedConfiguration(serializedConfiguration: string): string;
|
|
5392
|
+
getSerializedConfiguration(planObjectOrComponentId: number): string;
|
|
5393
|
+
createNewSerializedConfiguration(planObjectOrComponentId: number): string;
|
|
5394
|
+
clearScene(): void;
|
|
5395
|
+
clearAll(): void;
|
|
5396
|
+
reset(): void;
|
|
5397
|
+
getEnvironmentVariables(): void;
|
|
5398
|
+
getEnvironmentVariable(key: string): void;
|
|
5399
|
+
setEnvironmentVariable(key: string, value: string): void;
|
|
5400
|
+
getPlannedObjects(): void;
|
|
5401
|
+
getPlanObjectParameters(planObjectId: number): ParameterArray_2;
|
|
5402
|
+
getCommonPlanObjectParameters(planObjectIds: LongArray): ParameterArray_2;
|
|
5403
|
+
getPlanObjectAnimations(planObjectId: number): AnimationArray;
|
|
5404
|
+
getPlanViews(planObjectId: number): ConfigurationPlanViewArray;
|
|
5405
|
+
setPlanObjectParameter(planObjectId: number, key: string, value: string): void;
|
|
5406
|
+
setPlanObjectsParameter(somePlanObjectIds: LongArray, key: string, value: string): void;
|
|
5407
|
+
deletePlanObject(planObjectId: number): void;
|
|
5408
|
+
isExternalPlanObject(objectOrPlanComponentId: number): boolean;
|
|
5409
|
+
getComponentOrModuleInformation(objectOrPlanComponentId: number): ObjectInformation;
|
|
5410
|
+
getExternalObjectAttribute(objectOrPlanComponentId: number, attributeId: string, value: string): ExternalAttributeInformation_2;
|
|
5411
|
+
getPlanObject(planObjectId: number): PlanObject_3;
|
|
5412
|
+
getPlanObjectFromPlanComponent(planComponentId: number): PlanObject_3;
|
|
5413
|
+
getRootPlanComponentIdFromObjectId(planObjectId: number): number;
|
|
5414
|
+
getGlobalParameterValue(objectOrComponentId: number, name: string): string;
|
|
5415
|
+
getRuntimeIdOfRootComponent(objectOrComponentId: number): number;
|
|
5416
|
+
getRuntimeIdsOfChildComponents(objectOrComponentId: number): LongArray;
|
|
5417
|
+
getComponentParameterValue(objectOrComponentId: number, name: string): string;
|
|
5418
|
+
getComponentId(objectOrPlanComponentId: number): string;
|
|
5419
|
+
getCurrencySymbol(planComponentId: number): string;
|
|
5420
|
+
getPrice(planComponentId: number): number;
|
|
5421
|
+
addPriceList(priceListId: string): void;
|
|
5422
|
+
resetPriceListIds(): void;
|
|
5423
|
+
requestPlanObjectConstruction(planComponentId: number): void;
|
|
5424
|
+
requestMergedPlanObjectConstruction(planComponentId: number): void;
|
|
5425
|
+
requestPlanComponentConstruction(planComponentId: number): boolean;
|
|
5426
|
+
requestDeltaPlanComponentConstruction(planComponentId: number): boolean;
|
|
5427
|
+
requestPlanComponentConstructionRecursive(planComponentId: number): void;
|
|
5428
|
+
requestPreviewGeometry(dockingObjectOrComponentId: number, targetObjectRuntimeId: number, allowInsertInBetween: boolean): void;
|
|
5429
|
+
cancelDocking(planComponentOrPlanObjectId: number, undoDrag: boolean): void;
|
|
5430
|
+
setActiveGroupInView(activeGroup: string): void;
|
|
5431
|
+
setActiveGroupInViewForPlanObject(activeGroup: string, planObjectOrComponentId: number): void;
|
|
5432
|
+
getPlanObjectPossibleChildren(planObjectId: number): PossibleChildArray_2;
|
|
5433
|
+
getChildrenOfPlanObject(planObjectId: number, onlyPossibleChildren: boolean, onlyVisibleChildren: boolean): PossibleChildArray_2;
|
|
5434
|
+
getPlanComponentPossibleChildren(planComponentId: number): PossibleChildArray_2;
|
|
5435
|
+
getChildrenOfPlanComponent(planComponentId: number, onlyPossibleChildren: boolean, onlyVisibleChildren: boolean): PossibleChildArray_2;
|
|
5436
|
+
syncPlanObjectToView(conversationId: number, planObjectId: number): void;
|
|
5437
|
+
getAddOnSpotsForPlanObject(planObjectId: number): AddOnSpotArray_2;
|
|
5438
|
+
setExternalMeshInvalid(assetType: AssetType_2, idOrUrl: string, quality: number): void;
|
|
5439
|
+
setAssetInvalid(assetType: AssetType_2, idOrUrl: string, quality: number): void;
|
|
5440
|
+
loadExternalAttributeDefinition(serializedDefinition: string): void;
|
|
5441
|
+
setExternalObjectConstructionProperties(serializedProperties: string): void;
|
|
5442
|
+
registerDebugClient(debugClient: DebugClient_2): void;
|
|
5443
|
+
}
|
|
5444
|
+
|
|
4515
5445
|
export declare const KERNEL_MESSAGE_TYPE: {
|
|
4516
5446
|
readonly EXCEPTION: "exception";
|
|
4517
5447
|
readonly ERROR: "error";
|
|
@@ -4562,9 +5492,9 @@ export declare interface KernelAttic extends KernelObject {
|
|
|
4562
5492
|
getFrom(): NodePlanObject;
|
|
4563
5493
|
getTo(): NodePlanObject;
|
|
4564
5494
|
getAssociatedWall(): KernelWall;
|
|
4565
|
-
get2dPolygon():
|
|
4566
|
-
getRidgePoints():
|
|
4567
|
-
getPointsWithHeight(height: number):
|
|
5495
|
+
get2dPolygon(): PointArray_3;
|
|
5496
|
+
getRidgePoints(): PointArray_3;
|
|
5497
|
+
getPointsWithHeight(height: number): PointArray_3;
|
|
4568
5498
|
readonly side: WallSide;
|
|
4569
5499
|
readonly kneeHeight: number;
|
|
4570
5500
|
readonly width: number;
|
|
@@ -4632,7 +5562,7 @@ export declare interface KernelComponentDocking {
|
|
|
4632
5562
|
}
|
|
4633
5563
|
|
|
4634
5564
|
export declare interface KernelComponentType {
|
|
4635
|
-
value:
|
|
5565
|
+
value: Enumify<typeof CORE_PLAN_COMPONENT_TYPE>;
|
|
4636
5566
|
}
|
|
4637
5567
|
|
|
4638
5568
|
export declare interface KernelConfiguration {
|
|
@@ -4697,7 +5627,7 @@ export declare interface KernelFloor extends KernelObject {
|
|
|
4697
5627
|
area: number;
|
|
4698
5628
|
material: KernelFloorMaterial;
|
|
4699
5629
|
readonly parapetHeight: number;
|
|
4700
|
-
readonly floorType:
|
|
5630
|
+
readonly floorType: FloorType_2;
|
|
4701
5631
|
getCenter: () => KernelVector3;
|
|
4702
5632
|
getRandomPointInside: () => KernelVector3;
|
|
4703
5633
|
getLabelPosition: () => KernelVector3;
|
|
@@ -4740,7 +5670,7 @@ export declare interface KernelLightSourceAttributes {
|
|
|
4740
5670
|
}
|
|
4741
5671
|
|
|
4742
5672
|
export declare interface KernelLightSourceType {
|
|
4743
|
-
value:
|
|
5673
|
+
value: Enumify<typeof LIGHT_SOURCE_TYPE>;
|
|
4744
5674
|
}
|
|
4745
5675
|
|
|
4746
5676
|
export declare interface KernelMatrix4 {
|
|
@@ -4888,7 +5818,7 @@ export declare interface KernelPartListPrice {
|
|
|
4888
5818
|
}
|
|
4889
5819
|
|
|
4890
5820
|
export declare interface KernelPermissionToDelete {
|
|
4891
|
-
value:
|
|
5821
|
+
value: Enumify<typeof CORE_PERMISSION_TO_DELETE>;
|
|
4892
5822
|
}
|
|
4893
5823
|
|
|
4894
5824
|
export declare interface KernelPlanObject extends KernelPlanObjectBase {
|
|
@@ -5011,7 +5941,7 @@ export declare class KernelViewModel {
|
|
|
5011
5941
|
}
|
|
5012
5942
|
|
|
5013
5943
|
export declare interface KernelViewType {
|
|
5014
|
-
value:
|
|
5944
|
+
value: Enumify<typeof PARAMETER_VIEW_TYPE>;
|
|
5015
5945
|
}
|
|
5016
5946
|
|
|
5017
5947
|
export declare interface KernelWall extends KernelObject {
|
|
@@ -5027,7 +5957,7 @@ export declare interface KernelWall extends KernelObject {
|
|
|
5027
5957
|
readonly wallType: KernelEnum;
|
|
5028
5958
|
readonly leftNormal: KernelVector3;
|
|
5029
5959
|
readonly rightNormal: KernelVector3;
|
|
5030
|
-
readonly edgeType:
|
|
5960
|
+
readonly edgeType: EdgeType_2;
|
|
5031
5961
|
getAngle: () => number;
|
|
5032
5962
|
}
|
|
5033
5963
|
|
|
@@ -5044,7 +5974,7 @@ export declare interface KeyboardInputEvent {
|
|
|
5044
5974
|
}
|
|
5045
5975
|
|
|
5046
5976
|
export declare interface LeftOrRightWallSide {
|
|
5047
|
-
value:
|
|
5977
|
+
value: Enumify<Pick<typeof WALL_SIDES, 'LEFT' | 'RIGHT'>>;
|
|
5048
5978
|
}
|
|
5049
5979
|
|
|
5050
5980
|
export declare interface LibraryData {
|
|
@@ -5125,6 +6055,15 @@ export declare interface LightSourceConfiguration {
|
|
|
5125
6055
|
maximumNumberOfLightSources: number;
|
|
5126
6056
|
}
|
|
5127
6057
|
|
|
6058
|
+
export declare interface Line {
|
|
6059
|
+
angle: number;
|
|
6060
|
+
endPoint: Vector3;
|
|
6061
|
+
length: number;
|
|
6062
|
+
startPoint: Vector3;
|
|
6063
|
+
}
|
|
6064
|
+
|
|
6065
|
+
export declare type LineArray = EmscriptenArray<Line>;
|
|
6066
|
+
|
|
5128
6067
|
export declare interface LinksCollection {
|
|
5129
6068
|
[key: string]: string;
|
|
5130
6069
|
}
|
|
@@ -5168,7 +6107,9 @@ export declare interface LogMessageScope {
|
|
|
5168
6107
|
attrId?: string;
|
|
5169
6108
|
}
|
|
5170
6109
|
|
|
5171
|
-
export declare
|
|
6110
|
+
export declare type LongArray = EmscriptenArray<number>;
|
|
6111
|
+
|
|
6112
|
+
export declare class LongArray_2 extends EmsArray<number> {
|
|
5172
6113
|
}
|
|
5173
6114
|
|
|
5174
6115
|
export declare const enum MAIL_TYPE {
|
|
@@ -5229,6 +6170,10 @@ export declare const enum MaterialSourceType {
|
|
|
5229
6170
|
RgbValue = 3
|
|
5230
6171
|
}
|
|
5231
6172
|
|
|
6173
|
+
export declare interface MaterialSourceType_2 {
|
|
6174
|
+
value: Enumify_2<typeof CORE_MATERIAL_SOURCE_TYPE>;
|
|
6175
|
+
}
|
|
6176
|
+
|
|
5232
6177
|
export declare class MaterialViewer extends Main {
|
|
5233
6178
|
private _viewer;
|
|
5234
6179
|
protected setupGlobals(): void;
|
|
@@ -5240,10 +6185,21 @@ export declare class MaterialViewer extends Main {
|
|
|
5240
6185
|
protected getContextName(): string;
|
|
5241
6186
|
}
|
|
5242
6187
|
|
|
6188
|
+
export declare interface Matrix4 {
|
|
6189
|
+
m: number[];
|
|
6190
|
+
}
|
|
6191
|
+
|
|
5243
6192
|
export declare type MaybePromise<T> = (() => T) | (() => Promise<T>);
|
|
5244
6193
|
|
|
6194
|
+
/**
|
|
6195
|
+
* MD5 hex digest of a string, e.g. the hashed password RapiAccess.signinUser expects
|
|
6196
|
+
*/
|
|
6197
|
+
export declare const md5Hash: (value: string) => string;
|
|
6198
|
+
|
|
5245
6199
|
export declare type MDAttributeInfo = MDBoolAttributeInfo | MDTextAttributeInfo | MDIntegerAttributeInfo | MDRealAttributeInfo | MDDimAttributeInfo;
|
|
5246
6200
|
|
|
6201
|
+
export declare type MDAttributeSelection = MDBoolAttributeSelection | MDTextAttributeSelection | MDIntegerAttributeSelection | MDRealAttributeSelection | MDDimAttributeSelection;
|
|
6202
|
+
|
|
5247
6203
|
export declare interface MDBoolAttributeInfo extends BaseMDAttributeInfo {
|
|
5248
6204
|
selections?: MDBoolAttributeSelection[];
|
|
5249
6205
|
type: MDType.Bool;
|
|
@@ -5323,7 +6279,7 @@ export declare const MEASUREMENT_SYSTEM_STRING: {
|
|
|
5323
6279
|
METRIC: string;
|
|
5324
6280
|
};
|
|
5325
6281
|
|
|
5326
|
-
export declare interface MeasurementBase<Vector2Type =
|
|
6282
|
+
export declare interface MeasurementBase<Vector2Type = Vector3_2 | Position2, Vector3Type = Vector3_2 | Position3> {
|
|
5327
6283
|
/** start position of the dimension in 3D **/
|
|
5328
6284
|
fromPosition3d: Vector3Type;
|
|
5329
6285
|
/** end position of the dimension in 3D **/
|
|
@@ -5348,7 +6304,7 @@ export declare interface MeasurementBase<Vector2Type = Vector3 | Position2, Vect
|
|
|
5348
6304
|
dashed?: boolean;
|
|
5349
6305
|
}
|
|
5350
6306
|
|
|
5351
|
-
export declare type MeasurementLineDimension = DimensionDefinition<
|
|
6307
|
+
export declare type MeasurementLineDimension = DimensionDefinition<Vector3_2, Vector3_2>;
|
|
5352
6308
|
|
|
5353
6309
|
export declare type MeasurementLineDimensionTransferable = DimensionDefinition<Position2, Position3>;
|
|
5354
6310
|
|
|
@@ -5497,6 +6453,13 @@ export declare abstract class Node_2 extends PlanElement {
|
|
|
5497
6453
|
getMaxWallHeight(): number;
|
|
5498
6454
|
}
|
|
5499
6455
|
|
|
6456
|
+
export declare interface Node_3 extends PlanElement_2 {
|
|
6457
|
+
new (): Node_3;
|
|
6458
|
+
getNumberOfConnectedWalls(): number;
|
|
6459
|
+
getMaxWallHeight(): number;
|
|
6460
|
+
readonly nodeType: NodeType_2;
|
|
6461
|
+
}
|
|
6462
|
+
|
|
5500
6463
|
export declare interface NodeDimensionTransferable {
|
|
5501
6464
|
id: number;
|
|
5502
6465
|
position2d: Position2;
|
|
@@ -5512,7 +6475,7 @@ export declare class NodePlanElementViewModel extends PlanElementViewModel {
|
|
|
5512
6475
|
update(): void;
|
|
5513
6476
|
setFenceEnabled(enabled: boolean): void;
|
|
5514
6477
|
setTopView(enabled: boolean): void;
|
|
5515
|
-
getSize():
|
|
6478
|
+
getSize(): Vector3_2;
|
|
5516
6479
|
show(): void;
|
|
5517
6480
|
hide(): void;
|
|
5518
6481
|
protected getSelectionRingColor(): number;
|
|
@@ -5538,10 +6501,14 @@ export declare interface NodePlanObject extends PlanObject {
|
|
|
5538
6501
|
}
|
|
5539
6502
|
|
|
5540
6503
|
export declare interface NodeType {
|
|
5541
|
-
value:
|
|
6504
|
+
value: Enumify<typeof CORE_NODE_TYPE>;
|
|
6505
|
+
}
|
|
6506
|
+
|
|
6507
|
+
export declare interface NodeType_2 {
|
|
6508
|
+
value: Enumify_2<typeof CORE_NODE_TYPE_2>;
|
|
5542
6509
|
}
|
|
5543
6510
|
|
|
5544
|
-
export
|
|
6511
|
+
export declare type Nullable<T> = T | null;
|
|
5545
6512
|
|
|
5546
6513
|
export declare interface Object3DRoomleEventMap extends Object3DEventMap {
|
|
5547
6514
|
[OBJECT_EVENT.CLICK]: {
|
|
@@ -5552,7 +6519,7 @@ export declare interface Object3DRoomleEventMap extends Object3DEventMap {
|
|
|
5552
6519
|
};
|
|
5553
6520
|
[OBJECT_EVENT.DRAG]: {
|
|
5554
6521
|
attachment: {
|
|
5555
|
-
position:
|
|
6522
|
+
position: Vector3_2;
|
|
5556
6523
|
};
|
|
5557
6524
|
};
|
|
5558
6525
|
[OBJECT_EVENT.DRAG_END]: {
|
|
@@ -5591,15 +6558,28 @@ export declare const enum OBJECT_EVENT {
|
|
|
5591
6558
|
ROTATE = "rotate"
|
|
5592
6559
|
}
|
|
5593
6560
|
|
|
6561
|
+
export declare interface ObjectBounds {
|
|
6562
|
+
boundingBox: Box;
|
|
6563
|
+
rectangleBox: ExtrudedRectangle;
|
|
6564
|
+
}
|
|
6565
|
+
|
|
6566
|
+
export declare type ObjectBoundsArray = EmscriptenArray<ObjectBounds>;
|
|
6567
|
+
|
|
5594
6568
|
export declare interface ObjectCategory {
|
|
5595
|
-
value:
|
|
6569
|
+
value: Enumify<typeof CORE_OBJECT_CATEGORY>;
|
|
5596
6570
|
}
|
|
5597
6571
|
|
|
5598
6572
|
export declare interface ObjectConfigurationType {
|
|
5599
|
-
value:
|
|
6573
|
+
value: Enumify<typeof CONFIGURATION_TYPE>;
|
|
5600
6574
|
}
|
|
5601
6575
|
|
|
5602
6576
|
export declare interface ObjectFrontRotation {
|
|
6577
|
+
lookAtSide: WallSide_2;
|
|
6578
|
+
rotation: number;
|
|
6579
|
+
rotationRoundTo90deg: number;
|
|
6580
|
+
}
|
|
6581
|
+
|
|
6582
|
+
export declare interface ObjectFrontRotation_2 {
|
|
5603
6583
|
lookAtSide: WallSide;
|
|
5604
6584
|
rotation: number;
|
|
5605
6585
|
rotationRoundTo90deg: number;
|
|
@@ -5609,9 +6589,29 @@ export declare abstract class ObjectGroup extends PlanElement {
|
|
|
5609
6589
|
getObjects(): PlanObjectPtr;
|
|
5610
6590
|
}
|
|
5611
6591
|
|
|
6592
|
+
export declare interface ObjectGroup_2 extends PlanElement_2 {
|
|
6593
|
+
new (): ObjectGroup_2;
|
|
6594
|
+
getGroupId(): number;
|
|
6595
|
+
getObjects(): PlanObjectPtrList_2;
|
|
6596
|
+
}
|
|
6597
|
+
|
|
5612
6598
|
export declare interface ObjectGroupPtr {
|
|
5613
6599
|
}
|
|
5614
6600
|
|
|
6601
|
+
export declare interface ObjectInformation {
|
|
6602
|
+
componentId: string;
|
|
6603
|
+
configurationRuntimeId: number;
|
|
6604
|
+
entityRuntimeId: number;
|
|
6605
|
+
externalModule: ExternalModuleInformation_2;
|
|
6606
|
+
isAGeneratedModule: boolean;
|
|
6607
|
+
name: string;
|
|
6608
|
+
permissionToDelete: PermissionToDelete;
|
|
6609
|
+
permissionToDeleteInIsolation: PermissionToDelete;
|
|
6610
|
+
runtimeId: number;
|
|
6611
|
+
source: string;
|
|
6612
|
+
type: PlanComponentType;
|
|
6613
|
+
}
|
|
6614
|
+
|
|
5615
6615
|
export declare interface ObjectMeasurements {
|
|
5616
6616
|
rectMeasurements: ObjectWallDimension[];
|
|
5617
6617
|
objectMeasurements: ObjectWallDimension[];
|
|
@@ -5641,13 +6641,21 @@ export declare interface ObjectToWallLine {
|
|
|
5641
6641
|
export declare class ObjectToWallLineArray extends EmsArray<ObjectToWallLine> {
|
|
5642
6642
|
}
|
|
5643
6643
|
|
|
5644
|
-
export declare
|
|
6644
|
+
export declare interface ObjectTypeCategory {
|
|
6645
|
+
value: Enumify_2<typeof CORE_OBJECT_TYPE_CATEGORY>;
|
|
6646
|
+
}
|
|
6647
|
+
|
|
6648
|
+
export declare type ObjectWallDimension = DimensionDefinition<Vector3_2, Vector3_2>;
|
|
5645
6649
|
|
|
5646
6650
|
export declare interface OffsetCamera {
|
|
5647
6651
|
offset: CanvasOffset;
|
|
5648
6652
|
resetOffset(): void;
|
|
5649
6653
|
}
|
|
5650
6654
|
|
|
6655
|
+
export declare interface OpeningDirection {
|
|
6656
|
+
value: Enumify_2<typeof CORE_OPENING_DIRECTION>;
|
|
6657
|
+
}
|
|
6658
|
+
|
|
5651
6659
|
export declare interface OrthographicOffsetCamera extends OrthographicCamera, OffsetCamera {
|
|
5652
6660
|
}
|
|
5653
6661
|
|
|
@@ -5661,6 +6669,26 @@ export declare interface OutlineCustomParameters {
|
|
|
5661
6669
|
outlineHiddenEdgeColor: ColorRepresentation;
|
|
5662
6670
|
}
|
|
5663
6671
|
|
|
6672
|
+
export declare interface Parameter {
|
|
6673
|
+
enabled: boolean;
|
|
6674
|
+
group: string;
|
|
6675
|
+
highlighted: boolean;
|
|
6676
|
+
key: string;
|
|
6677
|
+
label: string;
|
|
6678
|
+
objectIds: IntArray_2;
|
|
6679
|
+
sort: number;
|
|
6680
|
+
source: string;
|
|
6681
|
+
type: ParameterTypeString;
|
|
6682
|
+
unitType: UnitTypeString;
|
|
6683
|
+
validGroups: string[];
|
|
6684
|
+
validRange: Range_2;
|
|
6685
|
+
validValues: ParameterValue[];
|
|
6686
|
+
value: string;
|
|
6687
|
+
valuesAreEqual: boolean;
|
|
6688
|
+
viewType: ViewType;
|
|
6689
|
+
visibleInPlanner: boolean;
|
|
6690
|
+
}
|
|
6691
|
+
|
|
5664
6692
|
export declare const enum PARAMETER_KERNEL_TYPE {
|
|
5665
6693
|
UNKNOWN = "",
|
|
5666
6694
|
INTEGER = "Integer",
|
|
@@ -5700,7 +6728,16 @@ export declare const PARAMETER_VIEW_TYPE: {
|
|
|
5700
6728
|
export declare class ParameterArray extends EmsArray<KernelParameter> {
|
|
5701
6729
|
}
|
|
5702
6730
|
|
|
5703
|
-
export declare
|
|
6731
|
+
export declare type ParameterArray_2 = EmscriptenArray<Parameter>;
|
|
6732
|
+
|
|
6733
|
+
export declare class ParameterArray_3 extends EmsArray<KernelParameter> {
|
|
6734
|
+
}
|
|
6735
|
+
|
|
6736
|
+
export declare interface ParameterGroup {
|
|
6737
|
+
collapsed: boolean;
|
|
6738
|
+
key: string;
|
|
6739
|
+
label: string;
|
|
6740
|
+
sort: number;
|
|
5704
6741
|
}
|
|
5705
6742
|
|
|
5706
6743
|
export declare class ParameterGroupArray extends EmsArray<KernelParameterGroup> {
|
|
@@ -5709,6 +6746,20 @@ export declare class ParameterGroupArray extends EmsArray<KernelParameterGroup>
|
|
|
5709
6746
|
export declare class ParameterGroupArray_2 extends EmsArray<KernelParameterGroup> {
|
|
5710
6747
|
}
|
|
5711
6748
|
|
|
6749
|
+
export declare interface ParametersAndParameterGroups {
|
|
6750
|
+
animations: Animation_2[];
|
|
6751
|
+
parameterGroups: ParameterGroup[];
|
|
6752
|
+
parameters: Parameter[];
|
|
6753
|
+
}
|
|
6754
|
+
|
|
6755
|
+
export declare type ParameterTypeString = Enumify_3<typeof CORE_PARAMETER_TYPE_STRING>;
|
|
6756
|
+
|
|
6757
|
+
export declare interface ParameterValue {
|
|
6758
|
+
label: string;
|
|
6759
|
+
thumbnail: string;
|
|
6760
|
+
value: string;
|
|
6761
|
+
}
|
|
6762
|
+
|
|
5712
6763
|
export declare class ParameterValueArray extends EmsArray<KernelParameterValue> {
|
|
5713
6764
|
}
|
|
5714
6765
|
|
|
@@ -5726,12 +6777,49 @@ export declare interface ParamterKeyValue {
|
|
|
5726
6777
|
parameterValue: string;
|
|
5727
6778
|
}
|
|
5728
6779
|
|
|
6780
|
+
export declare interface Part {
|
|
6781
|
+
articleNr: string;
|
|
6782
|
+
componentId: string;
|
|
6783
|
+
componentRuntimeIds: number[];
|
|
6784
|
+
count: number;
|
|
6785
|
+
currencySymbol: string;
|
|
6786
|
+
hasGeometry: boolean;
|
|
6787
|
+
isModule: boolean;
|
|
6788
|
+
label: string;
|
|
6789
|
+
labelIsCalculated: boolean;
|
|
6790
|
+
packageSize: number;
|
|
6791
|
+
parameters: PartListParameter[];
|
|
6792
|
+
permissionToDelete: PermissionToDelete;
|
|
6793
|
+
permissionToDeleteInIsolation: PermissionToDelete;
|
|
6794
|
+
price: number;
|
|
6795
|
+
retailerPrice: number;
|
|
6796
|
+
subpartId: number;
|
|
6797
|
+
valid: boolean;
|
|
6798
|
+
}
|
|
6799
|
+
|
|
5729
6800
|
export declare class PartArray extends EmsArray<KernelPart> {
|
|
5730
6801
|
}
|
|
5731
6802
|
|
|
5732
6803
|
export declare class PartArray_2 extends EmsArray<KernelPart> {
|
|
5733
6804
|
}
|
|
5734
6805
|
|
|
6806
|
+
export declare interface PartList {
|
|
6807
|
+
fullList: Part[];
|
|
6808
|
+
originPart: Part;
|
|
6809
|
+
perMainComponent: PartList[];
|
|
6810
|
+
}
|
|
6811
|
+
|
|
6812
|
+
export declare interface PartListParameter {
|
|
6813
|
+
key: string;
|
|
6814
|
+
label: string;
|
|
6815
|
+
sort: number;
|
|
6816
|
+
type: string;
|
|
6817
|
+
unitType: string;
|
|
6818
|
+
value: string;
|
|
6819
|
+
valueLabel: string;
|
|
6820
|
+
valueThumbnail: string;
|
|
6821
|
+
}
|
|
6822
|
+
|
|
5735
6823
|
export declare class PartListParameterArray extends EmsArray<KernelPartListParameter> {
|
|
5736
6824
|
}
|
|
5737
6825
|
|
|
@@ -5763,6 +6851,10 @@ export declare interface PathTracerSettings {
|
|
|
5763
6851
|
denoise?: boolean;
|
|
5764
6852
|
}
|
|
5765
6853
|
|
|
6854
|
+
export declare interface PermissionToDelete {
|
|
6855
|
+
value: Enumify_3<typeof CORE_PERMISSION_TO_DELETE_2>;
|
|
6856
|
+
}
|
|
6857
|
+
|
|
5766
6858
|
export declare interface PerspectiveImageExportOptions extends ImageExportOptions, RotatableImageExportOptions {
|
|
5767
6859
|
showDimensions?: boolean;
|
|
5768
6860
|
}
|
|
@@ -5790,7 +6882,32 @@ export declare abstract class Plan extends AbstractModelWrapper {
|
|
|
5790
6882
|
syncToView(): void;
|
|
5791
6883
|
}
|
|
5792
6884
|
|
|
5793
|
-
export declare interface Plan_2 extends
|
|
6885
|
+
export declare interface Plan_2 extends AbstractModel_2 {
|
|
6886
|
+
new (): Plan_2;
|
|
6887
|
+
increaseLockLevels(): void;
|
|
6888
|
+
getPlanXML(includeRuntimeId: boolean, version: number): string;
|
|
6889
|
+
getPlanXMLWithNormalizedLockLevels(includeRuntimeId: boolean, version: number): string;
|
|
6890
|
+
createPlanXmlWithSingleObject(object: PlanObject_2, includeRuntimeId: boolean, version: number): string;
|
|
6891
|
+
createPlanXmlWithObjects(objectIds: string | string[], includeRuntimeId: boolean, version: number): string;
|
|
6892
|
+
getRotationForFrontView(objectIds: number | number[]): number;
|
|
6893
|
+
getBounds(): Box;
|
|
6894
|
+
getPlanObjects(): PlanObject_2[];
|
|
6895
|
+
getWalls(): Wall_2[];
|
|
6896
|
+
getWallCount(): number;
|
|
6897
|
+
getAttics(): Attic[];
|
|
6898
|
+
getFloors(): Floor_2[];
|
|
6899
|
+
getImageCount(): number;
|
|
6900
|
+
isEmpty(): boolean;
|
|
6901
|
+
getTotalFloorArea(): number;
|
|
6902
|
+
syncPlanToView(): void;
|
|
6903
|
+
defaultParapetHeight: number;
|
|
6904
|
+
defaultWallColor: number;
|
|
6905
|
+
defaultWallHeight: number;
|
|
6906
|
+
defaultWallThickness: number;
|
|
6907
|
+
vectorWallThickness: number;
|
|
6908
|
+
}
|
|
6909
|
+
|
|
6910
|
+
export declare interface Plan_3 extends KernelObject {
|
|
5794
6911
|
defaultParapetHeight: number;
|
|
5795
6912
|
defaultWallHeight: number;
|
|
5796
6913
|
defaultWallThickness: number;
|
|
@@ -5819,6 +6936,10 @@ export declare const PLAN_ROOM_GEOMETRY_MODE: {
|
|
|
5819
6936
|
readonly PLAN: "plan";
|
|
5820
6937
|
};
|
|
5821
6938
|
|
|
6939
|
+
export declare interface PlanComponentType {
|
|
6940
|
+
value: Enumify_3<typeof CORE_PLAN_COMPONENT_TYPE_2>;
|
|
6941
|
+
}
|
|
6942
|
+
|
|
5822
6943
|
export declare abstract class PlanElement extends AbstractModelWrapper {
|
|
5823
6944
|
isLocked: boolean;
|
|
5824
6945
|
isValid: boolean;
|
|
@@ -5826,7 +6947,22 @@ export declare abstract class PlanElement extends AbstractModelWrapper {
|
|
|
5826
6947
|
getCenter(): KernelVector3f;
|
|
5827
6948
|
}
|
|
5828
6949
|
|
|
5829
|
-
export declare interface PlanElement_2 extends
|
|
6950
|
+
export declare interface PlanElement_2 extends AbstractModel_2 {
|
|
6951
|
+
new (): PlanElement_2;
|
|
6952
|
+
getType(): PlanElementType_2;
|
|
6953
|
+
getCenter(): Vector3;
|
|
6954
|
+
getRootComponentCenter(): Vector3;
|
|
6955
|
+
getMeshCenter(): Vector3;
|
|
6956
|
+
getMeshOffsetRelativeToObject(): Vector3;
|
|
6957
|
+
getCustomDataJson(): string;
|
|
6958
|
+
isDuplicable(): boolean;
|
|
6959
|
+
isDeletableInIsolation(): boolean;
|
|
6960
|
+
isLocked(): boolean;
|
|
6961
|
+
isValid(): boolean;
|
|
6962
|
+
readonly hidden: boolean;
|
|
6963
|
+
}
|
|
6964
|
+
|
|
6965
|
+
export declare interface PlanElement_3 extends KernelObject {
|
|
5830
6966
|
getType(): any;
|
|
5831
6967
|
getCenter(): KernelVector3;
|
|
5832
6968
|
getMeshCenter(): KernelVector3;
|
|
@@ -5849,6 +6985,10 @@ export declare const enum PlanElementType {
|
|
|
5849
6985
|
CEILING = 7
|
|
5850
6986
|
}
|
|
5851
6987
|
|
|
6988
|
+
export declare interface PlanElementType_2 {
|
|
6989
|
+
value: Enumify_2<typeof CORE_PLAN_ELEMENT_TYPE>;
|
|
6990
|
+
}
|
|
6991
|
+
|
|
5852
6992
|
export declare class PlanElementViewModel extends KernelViewModel {
|
|
5853
6993
|
protected _container: Object3D;
|
|
5854
6994
|
protected _boundingBox: RoomleEventedMesh;
|
|
@@ -5860,7 +7000,7 @@ export declare class PlanElementViewModel extends KernelViewModel {
|
|
|
5860
7000
|
private _containerVisible;
|
|
5861
7001
|
private _hiddenByCameraFacing;
|
|
5862
7002
|
constructor(planObject: PlanObject);
|
|
5863
|
-
getSize():
|
|
7003
|
+
getSize(): Vector3_2;
|
|
5864
7004
|
setHiddenByCameraFacing(hidden: boolean): void;
|
|
5865
7005
|
setContainerVisibility(isVisible: boolean): void;
|
|
5866
7006
|
protected isContainerVisible(): boolean;
|
|
@@ -5868,7 +7008,7 @@ export declare class PlanElementViewModel extends KernelViewModel {
|
|
|
5868
7008
|
isHiddenByCameraFacing(): boolean;
|
|
5869
7009
|
update(): void;
|
|
5870
7010
|
protected _updateBoundingBox(): void;
|
|
5871
|
-
getPosition():
|
|
7011
|
+
getPosition(): Vector3_2;
|
|
5872
7012
|
getRotation(): number;
|
|
5873
7013
|
getBounds(): Box3;
|
|
5874
7014
|
getMeasurementBounds(): Box3[];
|
|
@@ -5887,7 +7027,7 @@ export declare class PlanElementViewModel extends KernelViewModel {
|
|
|
5887
7027
|
remove(): void;
|
|
5888
7028
|
hidePreviewBox(): void;
|
|
5889
7029
|
protected _generateBoundingBox(): RoomleEventedMesh;
|
|
5890
|
-
protected _setPositionOfBoundingBox(size:
|
|
7030
|
+
protected _setPositionOfBoundingBox(size: Vector3_2, mesh: RoomleEventedMesh): void;
|
|
5891
7031
|
get isSelected(): boolean;
|
|
5892
7032
|
select(): void;
|
|
5893
7033
|
deselect(): void;
|
|
@@ -5907,8 +7047,163 @@ export declare abstract class PlanImage extends PlanElement {
|
|
|
5907
7047
|
center: KernelVector3f;
|
|
5908
7048
|
}
|
|
5909
7049
|
|
|
7050
|
+
export declare interface PlanImage_2 extends PlanElement_2 {
|
|
7051
|
+
new (): PlanImage_2;
|
|
7052
|
+
readonly url: string;
|
|
7053
|
+
readonly size: Vector3;
|
|
7054
|
+
readonly rotation: Vector3;
|
|
7055
|
+
readonly center: Vector3;
|
|
7056
|
+
}
|
|
7057
|
+
|
|
5910
7058
|
export declare type PlanInteractionHandler = Omit<PlanInteractionHandler_2, keyof HandWrittenPlanInteractionHandler> & HandWrittenPlanInteractionHandler;
|
|
5911
7059
|
|
|
7060
|
+
export declare interface PlanInteractionHandler_2 {
|
|
7061
|
+
new (): PlanInteractionHandler_2;
|
|
7062
|
+
init(reference: PlanInteractionHandler_2, zoomFactor: number, viewSnapDist: number, wallSnapMode: SnapMode, objectSnapMode: SnapMode, shouldSnap: boolean, drawingType: DrawingType_2): void;
|
|
7063
|
+
loadPlanXML(planXml: string): Plan_2;
|
|
7064
|
+
createPlanWithObjectFromItem(item: CatalogItem_2, position: Vector3, rotationInRad: number): Plan_2;
|
|
7065
|
+
setDefaultParapetHeight(parapetHeight: number, applyToAll: boolean): void;
|
|
7066
|
+
setRoomParapetHeight(floor: Floor_2, parapetHeight: number): void;
|
|
7067
|
+
setDefaultWallColor(wallColor: number, applyToAll: boolean): void;
|
|
7068
|
+
setDefaultWallHeight(wallHeight: number, applyToAll: boolean): void;
|
|
7069
|
+
setDefaultWallThickness(wallThickness: number, applyToAll: boolean): void;
|
|
7070
|
+
getDefaultExteriorWallMaterial(): WallMaterial_2;
|
|
7071
|
+
setDefaultExteriorWallMaterial(wallMaterial: WallMaterial_2): void;
|
|
7072
|
+
getDefaultInteriorWallMaterial(): WallMaterial_2;
|
|
7073
|
+
setDefaultInteriorWallMaterial(wallMaterial: WallMaterial_2): void;
|
|
7074
|
+
getDefaultFloorMaterial(): FloorMaterial_2;
|
|
7075
|
+
setDefaultFloorMaterial(floorMaterial: FloorMaterial_2): void;
|
|
7076
|
+
moveElementBy(element: PlanElement_2, offset: Vector3, dragging: boolean): void;
|
|
7077
|
+
moveElementTo(element: PlanElement_2, position: Vector3, dragging: boolean, cameraPosition?: Vector3): void;
|
|
7078
|
+
moveElementToIn2d(element: PlanElement_2, position: Vector3, dragging: boolean): void;
|
|
7079
|
+
setDiscardExternalObjectsOnLoad(discard: boolean): void;
|
|
7080
|
+
moveObjectsBy(objects: PlanObjectPtrList_2, offset: Vector3): void;
|
|
7081
|
+
removeChildObjectAtPosition(element: PlanElement_2, position: Vector3): boolean;
|
|
7082
|
+
lockElement(element: PlanElement_2): void;
|
|
7083
|
+
unlockElement(element: PlanElement_2): void;
|
|
7084
|
+
consistsOfMergedComponents(object: PlanObject_2): boolean;
|
|
7085
|
+
isChildObjectModePossible(object: PlanObject_2): boolean;
|
|
7086
|
+
getChildObjectMode(object: PlanObject_2): number;
|
|
7087
|
+
setChildObjectMode(object: PlanObject_2, mode: number, switchChildModeOffForAllOtherObjects: boolean): PlanObject_2;
|
|
7088
|
+
setChildObjectModeOfExternalObject(objectId: string, mode: number, switchChildModeOffForAllOtherObjects: boolean): PlanObject_2;
|
|
7089
|
+
setChildObjectModeForAllPlanObjects(mode: number): void;
|
|
7090
|
+
isEnabledChildObjectMode(object: PlanObject_2): boolean;
|
|
7091
|
+
enableChildObjects(object: PlanObject_2, switchChildModeOffForAllOtherObjects: boolean): PlanObject_2;
|
|
7092
|
+
disableChildObjects(object: PlanObject_2): PlanObject_2;
|
|
7093
|
+
disableChildObjectsOfAllPlanObjects(): void;
|
|
7094
|
+
enableChildObjectsOfExternalObject(objectId: string, switchChildModeOffForAllOtherObjects: boolean): PlanObject_2;
|
|
7095
|
+
disableChildObjectsOfExternalObject(objectId: string): PlanObject_2;
|
|
7096
|
+
rotateObjectTo(object: PlanObject_2, targetAngleInRad: number): void;
|
|
7097
|
+
changePitchAngleTo(object: PlanObject_2, targetAngleInRad: number): void;
|
|
7098
|
+
changeRollAngleTo(object: PlanObject_2, targetAngleInRad: number): void;
|
|
7099
|
+
rotateObjectBy(object: PlanObject_2, deltaAngleInRad: number): void;
|
|
7100
|
+
rotateObjectsBy(objects: PlanObjectPtrList_2, deltaAngleInRad: number, pivot: Vector3): void;
|
|
7101
|
+
rotateGroupBy(group: ObjectGroup_2, angleInRad: number, pivot: Vector3): void;
|
|
7102
|
+
setObjectRotation(object: PlanObject_2, targetAngleInRad: number): void;
|
|
7103
|
+
setObjectFlipX(object: PlanObject_2, shouldFlipX: boolean): void;
|
|
7104
|
+
setObjectFlipY(object: PlanObject_2, shouldFlipY: boolean): void;
|
|
7105
|
+
setObjectFixedZ(object: PlanObject_2, shouldFlipZ: boolean): void;
|
|
7106
|
+
setObjectCustomColor(object: PlanObject_2, rgbColor: number, useCustomColor: boolean): void;
|
|
7107
|
+
setObjectCustomLabel(object: PlanObject_2, label: string): void;
|
|
7108
|
+
setElementCustomDataJson(element: PlanElement_2, customDataJson: string): void;
|
|
7109
|
+
setObjectSize(object: PlanObject_2, newSize: Vector3, anchor: ResizingAnchor_2): void;
|
|
7110
|
+
deleteObjectsInGroup(group: ObjectGroup_2): void;
|
|
7111
|
+
replaceObject(objectToBeReplaced: PlanElement_2, replacement: PlanElement_2): void;
|
|
7112
|
+
duplicateGroup(group: ObjectGroup_2, count: number, findFreeSpaceInPlan: boolean): ObjectGroup_2[];
|
|
7113
|
+
mergeObjects(objects: PlanObjectPtrList_2): void;
|
|
7114
|
+
groupObjects(objects: PlanObjectPtrList_2): ObjectGroup_2;
|
|
7115
|
+
ungroup(group: ObjectGroup_2): void;
|
|
7116
|
+
duplicatePlanObjects(objects: PlanObjectPtrList_2, count: number, findFreeSpaceInPlan: boolean): PlanObject_2[];
|
|
7117
|
+
setElementVisibility(element: PlanElement_2, isVisible: boolean): void;
|
|
7118
|
+
setLengthOfEdge2D(wall: Wall_2, newLength: number, side: WallSide_2, extensionType: WallExtensionType_2, alsoMoveOrthogonalWalls: boolean): void;
|
|
7119
|
+
setLengthOfSlopingEdge(wall: Wall_2, newSlopingLength: number, side: WallSide_2, extensionType: WallExtensionType_2, alsoMoveOrthogonalWalls: boolean): void;
|
|
7120
|
+
setNodeType(node: Node_3, nodeType: NodeType_2): void;
|
|
7121
|
+
setWallThickness(wall: Wall_2, thickness: number): void;
|
|
7122
|
+
setWallHeight(wall: Wall_2, height: number): void;
|
|
7123
|
+
setWallColor(wall: Wall_2, color: number): void;
|
|
7124
|
+
setWallLeftMaterial(wall: Wall_2, material: WallMaterial_2): void;
|
|
7125
|
+
setWallRightMaterial(wall: Wall_2, material: WallMaterial_2): void;
|
|
7126
|
+
splitWall(wall: Wall_2, splitPoint: Vector3): void;
|
|
7127
|
+
setAtticSide(attic: Attic, side: WallSide_2): void;
|
|
7128
|
+
setAtticKneeHeight(attic: Attic, kneeHeight: number): void;
|
|
7129
|
+
setAtticWidth(attic: Attic, width: number): void;
|
|
7130
|
+
setFloorMaterial(floor: Floor_2, material: FloorMaterial_2): void;
|
|
7131
|
+
setFloorMaterialRotation(floor: Floor_2, rotationInRad: number): void;
|
|
7132
|
+
setFloorMaterialUvScale(floor: Floor_2, uvScale: Vector3): void;
|
|
7133
|
+
setFloorLabelObject(floor: Floor_2, serializedLabelObject: string): void;
|
|
7134
|
+
setFloorType(floor: Floor_2, floorType: FloorType): void;
|
|
7135
|
+
setEdgeType(wall: Wall_2, edgeType: EdgeType): void;
|
|
7136
|
+
setPlanTexterText(text: PlanText_2, texterText: string): void;
|
|
7137
|
+
setPlanTexterSize(text: PlanText_2, newSize: Vector3): void;
|
|
7138
|
+
setMeasurePoint1(measure: PlanMeasure_2, point: Vector3, snapToWalls: boolean, snapToObjects: boolean): void;
|
|
7139
|
+
setMeasurePoint2(measure: PlanMeasure_2, point: Vector3, snapToWalls: boolean, snapToObjects: boolean): void;
|
|
7140
|
+
setPlanImageRotation(image: PlanImage_2, newRotation: Vector3): void;
|
|
7141
|
+
setPlanImageSize(image: PlanImage_2, newSize: Vector3): void;
|
|
7142
|
+
removeElement(element: PlanElement_2): void;
|
|
7143
|
+
removeObjectWithId(objectId: string): void;
|
|
7144
|
+
duplicatePlanObject(object: PlanObject_2, count: number, findFreeSpaceInPlan: boolean): PlanObject_2[];
|
|
7145
|
+
addWall(from: Node_3, to: Node_3): Wall_2;
|
|
7146
|
+
addAttic(wall: Wall_2, kneeHeight: number, width: number, side: WallSide_2 | null | undefined): Attic;
|
|
7147
|
+
addNode(position: Vector3): Node_3;
|
|
7148
|
+
addText(text: string, position: Vector3): PlanText_2;
|
|
7149
|
+
addPlanObject(itemId: string, type: string, size: Vector3, position: Vector3, rotationInRad: number, findFreeSpaceInPlan: boolean): PlanObject_2;
|
|
7150
|
+
addPlanObjects(catalogItems: CatalogItemPtrList_2, findFreeSpaceInPlan: boolean): PlanObject_2[];
|
|
7151
|
+
addPlanObjectFromItem(item: CatalogItem_2, position: Vector3, rotationInRad: number, findFreeSpaceInPlan: boolean): PlanObject_2;
|
|
7152
|
+
addOrUpdateExternalPlanObjects(groups: string | string[], position: Vector3, rotationInRad: number, updateConfiguration: ExternalObjectLoadConfiguration, mergedGroupIds: string | string[]): PlanObject_2[];
|
|
7153
|
+
createPreviewGeometryForAddOn(objectId: string, objectConfiguration: string, articleId: string, groupDefinitions: string, validContainerModules: ExternalValidContainerModule[]): void;
|
|
7154
|
+
catalogItemLoaded(catalogItem: CatalogItem_2): void;
|
|
7155
|
+
addMeasure(startPosition: Vector3, endPosition: Vector3): PlanMeasure_2;
|
|
7156
|
+
addImage(url: string, center: Vector3, size: Vector3, rotation: Vector3): PlanImage_2;
|
|
7157
|
+
setPlanObjectMesh(object: PlanObject_2, mesh: any): void;
|
|
7158
|
+
getPlan(): Plan_2;
|
|
7159
|
+
setPlan(plan: Plan_2): void;
|
|
7160
|
+
clearPlan(): void;
|
|
7161
|
+
setViewSnapDist(distance: number): void;
|
|
7162
|
+
setViewSnapHeightLevelDistance(distance: number): void;
|
|
7163
|
+
setViewSnapEdgeEndPointDistance(distance: number): void;
|
|
7164
|
+
setZoomFactor(distance: number): void;
|
|
7165
|
+
setRotationSnapAngle(angleInRadians: number): void;
|
|
7166
|
+
endInteraction(): void;
|
|
7167
|
+
clearHistory(): void;
|
|
7168
|
+
startInteraction(): void;
|
|
7169
|
+
resumeInteraction(): void;
|
|
7170
|
+
setSnapFeedbackWhileDrawing(shouldSnapWhileDrawing: boolean): void;
|
|
7171
|
+
setSnapToClusterWhileContinuousDrawing(shouldSnapWhileDrawing: boolean): void;
|
|
7172
|
+
setParallelWallToleranceInDegrees(tolerance: number): void;
|
|
7173
|
+
isVectorPreviewModeEnabled(): boolean;
|
|
7174
|
+
getDrawingMode(): DrawingMode_2;
|
|
7175
|
+
isCreateUnclosedSpaceEnabled(): boolean;
|
|
7176
|
+
beginDrawing(position: Vector3, drawingMode: DrawingMode_2, createUnclosedSpace: boolean): void;
|
|
7177
|
+
currentDrawingPosition(position: Vector3): void;
|
|
7178
|
+
forceNode(position: Vector3): void;
|
|
7179
|
+
endDrawing(position: Vector3): void;
|
|
7180
|
+
cancelDrawing(): void;
|
|
7181
|
+
setDrawingType(newDrawingType: DrawingType_2): void;
|
|
7182
|
+
getContinuousDrawingManager(): ContinuousDrawingManager;
|
|
7183
|
+
deactivateAllSnappingActivity(): void;
|
|
7184
|
+
reactivateAllSnappingActivity(): void;
|
|
7185
|
+
getConfiguratorKernel(): ConfiguratorKernel;
|
|
7186
|
+
loadPlanObjectConfigurations(): void;
|
|
7187
|
+
undo(): void;
|
|
7188
|
+
redo(): void;
|
|
7189
|
+
isRedoPossible(): boolean;
|
|
7190
|
+
isUndoPossible(): boolean;
|
|
7191
|
+
getRelativeHistoryPosition(): number;
|
|
7192
|
+
generateTCExport(planObjectItemIds: string[]): string;
|
|
7193
|
+
unit: string;
|
|
7194
|
+
objectToWallSnapMode: SnapMode;
|
|
7195
|
+
objectToObjectSnapMode: SnapMode;
|
|
7196
|
+
enableSnap: boolean;
|
|
7197
|
+
enableRaster: boolean;
|
|
7198
|
+
customRaster: number;
|
|
7199
|
+
moveWallsOrthogonal: boolean;
|
|
7200
|
+
enableDrawingSnap: boolean;
|
|
7201
|
+
dockWhenSnap: boolean;
|
|
7202
|
+
unDockOnMove: boolean;
|
|
7203
|
+
automaticallyIntersectWithWalls: boolean;
|
|
7204
|
+
enableTerrain: boolean;
|
|
7205
|
+
}
|
|
7206
|
+
|
|
5912
7207
|
export declare class PlanInteractionHandlerExtension extends UndoRedoHandler {
|
|
5913
7208
|
addOrUpdateExternalPlanObjects(serializedConfiguration: string | string[], position: KernelVector3, rotationInRad: number, updateConfiguration: any, mergedGroupIds: string | string[]): PlanObject[];
|
|
5914
7209
|
applyKernelParameterChange<T>(callback: () => T, parameterKey: string, elementId?: string | number): T;
|
|
@@ -5939,7 +7234,13 @@ export declare abstract class PlanMeasure extends PlanElement {
|
|
|
5939
7234
|
getPoint2(): KernelVector3f;
|
|
5940
7235
|
}
|
|
5941
7236
|
|
|
5942
|
-
export declare interface PlanMeasure_2 extends
|
|
7237
|
+
export declare interface PlanMeasure_2 extends PlanElement_2 {
|
|
7238
|
+
new (): PlanMeasure_2;
|
|
7239
|
+
getPoint1(): Vector3;
|
|
7240
|
+
getPoint2(): Vector3;
|
|
7241
|
+
}
|
|
7242
|
+
|
|
7243
|
+
export declare interface PlanMeasure_3 extends PlanObject {
|
|
5943
7244
|
getPoint1(): KernelVector3f;
|
|
5944
7245
|
getPoint2(): KernelVector3f;
|
|
5945
7246
|
}
|
|
@@ -5958,21 +7259,21 @@ export declare abstract class PlanModelViewHelper {
|
|
|
5958
7259
|
}
|
|
5959
7260
|
|
|
5960
7261
|
export declare interface PlanModelViewHelper_2 {
|
|
5961
|
-
getPlanOverview(plan:
|
|
5962
|
-
getConstructionOverview(plan:
|
|
5963
|
-
getPlanObject(plan:
|
|
5964
|
-
isChildObjectRootComponent(plan:
|
|
5965
|
-
isAnimationRootComponent(plan:
|
|
5966
|
-
getRootPlanObjectId(plan:
|
|
5967
|
-
getObjectComponent(plan:
|
|
5968
|
-
getExternalObjectComponent(plan:
|
|
5969
|
-
requestMesh3d(element:
|
|
5970
|
-
getExternalObjectGroups(plan:
|
|
5971
|
-
getExternalRoomInformation(plan:
|
|
7262
|
+
getPlanOverview(plan: Plan_3): PlanOverview;
|
|
7263
|
+
getConstructionOverview(plan: Plan_3): ConstructionOverview;
|
|
7264
|
+
getPlanObject(plan: Plan_3, aRuntimeId: number): KernelPlanObject;
|
|
7265
|
+
isChildObjectRootComponent(plan: Plan_3, componentRuntimeId: number): boolean;
|
|
7266
|
+
isAnimationRootComponent(plan: Plan_3, componentRuntimeId: number): boolean;
|
|
7267
|
+
getRootPlanObjectId(plan: Plan_3, aRuntimeId: number): number;
|
|
7268
|
+
getObjectComponent(plan: Plan_3, typeOfId: TypeOfCoreId, anId: number): KernelPlanObjectComponent;
|
|
7269
|
+
getExternalObjectComponent(plan: Plan_3, groupId: string, moduleId: string): KernelPlanObjectComponent;
|
|
7270
|
+
requestMesh3d(element: PlanElement_3): void;
|
|
7271
|
+
getExternalObjectGroups(plan: Plan_3): KernelObjectConfigurationArray;
|
|
7272
|
+
getExternalRoomInformation(plan: Plan_3, mode: PlanRoomGeometryMode_2): RoomInformation;
|
|
5972
7273
|
getGroupedObjects(anObject: PlanObject): KernelPlanObject[];
|
|
5973
|
-
calculateLightSourceDistribution(plan:
|
|
7274
|
+
calculateLightSourceDistribution(plan: Plan_3, lightSourceConfiguration: LightSourceConfiguration): RoomLightSourceDistributionArray;
|
|
5974
7275
|
getObjectSnapInformation(anObject: PlanObject, debugHelpLines: boolean): ObjectSnapInformation;
|
|
5975
|
-
getPlanViews(plan:
|
|
7276
|
+
getPlanViews(plan: Plan_3): PlanView[];
|
|
5976
7277
|
}
|
|
5977
7278
|
|
|
5978
7279
|
export declare class Planner<P extends readonly PluginName[] = readonly []> extends Main {
|
|
@@ -6064,7 +7365,7 @@ export declare interface PlannerInitData {
|
|
|
6064
7365
|
* usage: mode=2D
|
|
6065
7366
|
* options: 2D, 3D, FP
|
|
6066
7367
|
*/
|
|
6067
|
-
mode?:
|
|
7368
|
+
mode?: Enumify<typeof CAMERA_TYPE>;
|
|
6068
7369
|
/* Excluded from this release type: edit */
|
|
6069
7370
|
/**
|
|
6070
7371
|
* @description If set to true it will treat the planner as a multi object configurator (moc).
|
|
@@ -6142,50 +7443,50 @@ export declare class PlannerKernelAccess extends ConfiguratorKernelAccess {
|
|
|
6142
7443
|
requestPlanObjectDimensions(): void;
|
|
6143
7444
|
cleanUpCallbacks(): void;
|
|
6144
7445
|
registerCallbacks(): void;
|
|
6145
|
-
planElementRemoved(element:
|
|
6146
|
-
handlerSwitchedPlans(fromPlan:
|
|
7446
|
+
planElementRemoved(element: PlanElement_3): void;
|
|
7447
|
+
handlerSwitchedPlans(fromPlan: Plan_3, toPlan: Plan_3): void;
|
|
6147
7448
|
planBoundsChanged(): void;
|
|
6148
7449
|
planCleared(): void;
|
|
6149
|
-
planCompletelyLoaded(plan:
|
|
6150
|
-
planElement3dMeshChanged(_plan:
|
|
7450
|
+
planCompletelyLoaded(plan: Plan_3): void;
|
|
7451
|
+
planElement3dMeshChanged(_plan: Plan_3, element: PlanElement_3): void;
|
|
6151
7452
|
private _onStaticItemAdded;
|
|
6152
7453
|
private _onConfigurableItemAdded;
|
|
6153
7454
|
private _onConfigurableConstructionItemAdded;
|
|
6154
|
-
planElementAdded(plan:
|
|
6155
|
-
planElementChanged(plan:
|
|
7455
|
+
planElementAdded(plan: Plan_3, element: PlanElement_3): Promise<void>;
|
|
7456
|
+
planElementChanged(plan: Plan_3, element: PlanElement_3): void;
|
|
6156
7457
|
planHistoryStateChanged(): void;
|
|
6157
|
-
planObjectConfigurationCreated(_plan:
|
|
6158
|
-
externalObjectConfigurationChanged(plan:
|
|
6159
|
-
externalObjectConfigurationLoaded(plan:
|
|
6160
|
-
externalObjectConfigurationDeleted(plan:
|
|
6161
|
-
externalObjectComponentDeleted(plan:
|
|
6162
|
-
externalObjectConfigurationDuplicated(plan:
|
|
6163
|
-
externalObjectPositionChanged(plan:
|
|
6164
|
-
externalObjectPlanChanged(plan:
|
|
6165
|
-
externalObjectConfigurationsMerged(plan:
|
|
6166
|
-
externalObjectComponentSplitOff(plan:
|
|
6167
|
-
externalObjectRequestAddOnContainers(plan:
|
|
6168
|
-
externalObjectAddSubArticle(plan:
|
|
6169
|
-
externalObjectMoveSubArticle(plan:
|
|
6170
|
-
externalObjectRemoveSubModule(plan:
|
|
6171
|
-
planObjectConfigurationLoaded(plan:
|
|
6172
|
-
planObjectConfigurationChanged(plan:
|
|
7458
|
+
planObjectConfigurationCreated(_plan: Plan_3, _element: PlanObject): void;
|
|
7459
|
+
externalObjectConfigurationChanged(plan: Plan_3, planObject: PlanObject, configuration: string): void;
|
|
7460
|
+
externalObjectConfigurationLoaded(plan: Plan_3, planObject: PlanObject, configuration: string): void;
|
|
7461
|
+
externalObjectConfigurationDeleted(plan: Plan_3, planObject: PlanObject, uniqueId: string): void;
|
|
7462
|
+
externalObjectComponentDeleted(plan: Plan_3, planObject: PlanObject, remainingGroupOrGroups: ExternalObjectGroup | ExternalObjectGroup[], deletedRootModuleId: string): void;
|
|
7463
|
+
externalObjectConfigurationDuplicated(plan: Plan_3, planObject: PlanObject, duplicatedGroup: ExternalObjectGroup): void;
|
|
7464
|
+
externalObjectPositionChanged(plan: Plan_3, planObject: PlanObject, movedGroup: ExternalObjectGroup): void;
|
|
7465
|
+
externalObjectPlanChanged(plan: Plan_3, planObject: PlanObject, movedGroup: ExternalObjectGroup): void;
|
|
7466
|
+
externalObjectConfigurationsMerged(plan: Plan_3, planObject: PlanObject, mergedGroup: ExternalObjectGroup, idsOfGroupsMerged: string | string[], targetRootModuleId: string, mergedWithDragging: boolean): void;
|
|
7467
|
+
externalObjectComponentSplitOff(plan: Plan_3, planObject: PlanObject, splitGroups: ExternalObjectGroup[]): void;
|
|
7468
|
+
externalObjectRequestAddOnContainers(plan: Plan_3, planObject: PlanObject, groupId: string, subArticleId: string): void;
|
|
7469
|
+
externalObjectAddSubArticle(plan: Plan_3, planObject: PlanObject, subArticleId: string, rootModuleId: string, parentModuleId: string, insertPosition?: number[]): void;
|
|
7470
|
+
externalObjectMoveSubArticle(plan: Plan_3, planObject: PlanObject, subArticleId: string, subModuleId: string, rootModuleId: string, parentModuleId: string, insertPosition?: number[]): void;
|
|
7471
|
+
externalObjectRemoveSubModule(plan: Plan_3, planObject: PlanObject, groupId: string, subModuleId: string): void;
|
|
7472
|
+
planObjectConfigurationLoaded(plan: Plan_3, element: PlanElement_3, success: boolean): Promise<void>;
|
|
7473
|
+
planObjectConfigurationChanged(plan: Plan_3, object: PlanObject): void;
|
|
6173
7474
|
requestCatalogItem(catalogItemId: string): void;
|
|
6174
7475
|
startedDrawing(): void;
|
|
6175
7476
|
stoppedDrawing(): void;
|
|
6176
7477
|
updateMesh2d(): void;
|
|
6177
7478
|
beginConstruction(): void;
|
|
6178
|
-
addMesh(planElement:
|
|
7479
|
+
addMesh(planElement: PlanElement_3, material: any, vertices: Float32Array, indices: Int32Array, uvCoords: Float32Array, normals: Float32Array): void;
|
|
6179
7480
|
endConstruction(): void;
|
|
6180
|
-
beginPlanConstruction(plan:
|
|
6181
|
-
addPlanMesh(plan:
|
|
6182
|
-
endPlanConstruction(plan:
|
|
6183
|
-
createPlanFromObject(rapiElement: RapiItem | RapiConfiguration, position?: Position3, rotation?: number):
|
|
7481
|
+
beginPlanConstruction(plan: Plan_3): void;
|
|
7482
|
+
addPlanMesh(plan: Plan_3, material: any, vertices: Float32Array, indices: Int32Array, uvCoords: Float32Array, normals: Float32Array, type: KernelEnum): void;
|
|
7483
|
+
endPlanConstruction(plan: Plan_3): void;
|
|
7484
|
+
createPlanFromObject(rapiElement: RapiItem | RapiConfiguration, position?: Position3, rotation?: number): Plan_3;
|
|
6184
7485
|
addPlanObjectFromItem(rapiElement: RapiItem | RapiConfiguration, newUndoRedoStep: boolean, position?: Position3, rotation?: number, keepInteractionOpen?: boolean): Promise<RuntimeId>;
|
|
6185
7486
|
private _performAddPlanObjectFromItem;
|
|
6186
7487
|
coupleReferences(jsObject: any, coreReference: KernelObject): void;
|
|
6187
7488
|
private _decoupleReferences;
|
|
6188
|
-
isConstructionPlanElement(planElement:
|
|
7489
|
+
isConstructionPlanElement(planElement: PlanElement_3): boolean;
|
|
6189
7490
|
planObjectSelectionChanged(configurationRuntimeId: number, elementRuntimeId: number): void;
|
|
6190
7491
|
protected _componentSelectionChanged(_planObject: PlanObjectKernel, component: KernelComponent): void;
|
|
6191
7492
|
protected _externalObjectParameterChanged(objectOrComponentId: number, parameterKey: string, value: string): void;
|
|
@@ -6205,7 +7506,7 @@ export declare class PlannerKernelAccess extends ConfiguratorKernelAccess {
|
|
|
6205
7506
|
configureExternalObjectApi(externalObjectSettings?: ExternalObjectApiConfiguration): Promise<void>;
|
|
6206
7507
|
setComponentParameter(componentId: number, interactionKey: string, newValue: any): void;
|
|
6207
7508
|
protected _getAnimationLevelForObject(runtimeId: number, _animation: KernelAnimation): AnimationLevelType;
|
|
6208
|
-
getObjectComponent(runtimeId: number, typeOfId:
|
|
7509
|
+
getObjectComponent(runtimeId: number, typeOfId: Enumify<typeof CORE_TYPE_OF_CORE_ID>): KernelPlanObjectComponent | null;
|
|
6209
7510
|
isChildObjectRootComponent(roomleComponent: RoomleComponent): boolean;
|
|
6210
7511
|
isAnimationRootComponent(roomleComponent: RoomleComponent): boolean;
|
|
6211
7512
|
changePlanObjectParameter(runtimeId: number, parameterKey: string, type: string, value: string, resolve: () => void, reject: () => void): void;
|
|
@@ -6214,18 +7515,18 @@ export declare class PlannerKernelAccess extends ConfiguratorKernelAccess {
|
|
|
6214
7515
|
}
|
|
6215
7516
|
|
|
6216
7517
|
export declare interface PlannerKernelCallbackI {
|
|
6217
|
-
handlerSwitchedPlans(fromPlan:
|
|
6218
|
-
planCompletelyLoaded(plan:
|
|
6219
|
-
beginPlanConstruction(plan:
|
|
6220
|
-
addMesh(planElement:
|
|
6221
|
-
addPlanMesh(plan:
|
|
6222
|
-
endPlanConstruction(plan:
|
|
7518
|
+
handlerSwitchedPlans(fromPlan: Plan_3, toPlan: Plan_3): void;
|
|
7519
|
+
planCompletelyLoaded(plan: Plan_3): void;
|
|
7520
|
+
beginPlanConstruction(plan: Plan_3): void;
|
|
7521
|
+
addMesh(planElement: PlanElement_3, material: any, vertices: Float32Array, indices: Int32Array, uvCoords: Float32Array, normals: Float32Array): void;
|
|
7522
|
+
addPlanMesh(plan: Plan_3, material: any, vertices: Float32Array, indices: Int32Array, uvCoords: Float32Array, normals: Float32Array, type: KernelEnum): void;
|
|
7523
|
+
endPlanConstruction(plan: Plan_3): void;
|
|
6223
7524
|
addPlanObjectToScene(planElementViewModel: PlanObjectViewModel | null): void;
|
|
6224
7525
|
removePlanObjectFromScene(planElementViewModel: PlanObjectViewModel | undefined): void;
|
|
6225
|
-
planElementChanged(plan:
|
|
6226
|
-
planElementRemoved(element:
|
|
6227
|
-
planObjectConfigurationLoaded(plan:
|
|
6228
|
-
planObjectConfigurationChanged(plan:
|
|
7526
|
+
planElementChanged(plan: Plan_3, planObject: PlanElementViewModel): void;
|
|
7527
|
+
planElementRemoved(element: PlanElement_3): void;
|
|
7528
|
+
planObjectConfigurationLoaded(plan: Plan_3, element: PlanElement_3, success: boolean): void;
|
|
7529
|
+
planObjectConfigurationChanged(plan: Plan_3, element: PlanElementViewModel): void;
|
|
6229
7530
|
planBoundsChanged(): void;
|
|
6230
7531
|
planHistoryStateChanged(): void;
|
|
6231
7532
|
planCleared(): void;
|
|
@@ -6283,7 +7584,7 @@ export declare interface PlannerKernelContainer {
|
|
|
6283
7584
|
unregisterPlannerCallback: (callbacksObject: any) => void;
|
|
6284
7585
|
StringArray: StringArray;
|
|
6285
7586
|
Vector2fArray: Vector2fArray;
|
|
6286
|
-
LongArray:
|
|
7587
|
+
LongArray: LongArray_2;
|
|
6287
7588
|
DockPairPreviewArray: DockPairPreviewArray_2;
|
|
6288
7589
|
ComponentArray: ComponentArray_2;
|
|
6289
7590
|
Type: Type_2;
|
|
@@ -6291,16 +7592,16 @@ export declare interface PlannerKernelContainer {
|
|
|
6291
7592
|
VariableArray: VariableArray_2;
|
|
6292
7593
|
RangeArray: RangeArray_2;
|
|
6293
7594
|
ParameterValueArray: ParameterValueArray_2;
|
|
6294
|
-
ParameterArray:
|
|
7595
|
+
ParameterArray: ParameterArray_3;
|
|
6295
7596
|
ParameterGroupArray: ParameterGroupArray_2;
|
|
6296
7597
|
PartListParameterArray: PartListParameterArray_2;
|
|
6297
7598
|
ConfigurationArray: ConfigurationArray_2;
|
|
6298
7599
|
PartArray: PartArray_2;
|
|
6299
|
-
PossibleChildArray:
|
|
6300
|
-
AddOnSpotArray:
|
|
7600
|
+
PossibleChildArray: PossibleChildArray_3;
|
|
7601
|
+
AddOnSpotArray: AddOnSpotArray_3;
|
|
6301
7602
|
PlanObjectList: PlanObjectList;
|
|
6302
7603
|
ParamKeyValuePairArray: ParamKeyValuePairArray_2;
|
|
6303
|
-
IntArray:
|
|
7604
|
+
IntArray: IntArray_3;
|
|
6304
7605
|
Kernel: ConfiguratorKernelClass;
|
|
6305
7606
|
Unit: Unit_2;
|
|
6306
7607
|
UnitStringType: UnitStringType_2;
|
|
@@ -6484,7 +7785,7 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
|
|
|
6484
7785
|
private _hide2dMeasurements;
|
|
6485
7786
|
private _is2dMeasurementsOverlayDirty;
|
|
6486
7787
|
private _debugSpheres;
|
|
6487
|
-
constructor(creator: string, offset: CanvasOffset, plannerCallback: RoomlePlannerCallback, mode:
|
|
7788
|
+
constructor(creator: string, offset: CanvasOffset, plannerCallback: RoomlePlannerCallback, mode: Enumify<typeof CAMERA_TYPE>);
|
|
6488
7789
|
isDragging(): boolean;
|
|
6489
7790
|
protected _initializeMeshGeneratorSettings(): void;
|
|
6490
7791
|
setHomagIntelligence(homagIntelligence: HomagIntelligence | null): void;
|
|
@@ -6527,7 +7828,7 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
|
|
|
6527
7828
|
private _resetCameraFacingVisibility;
|
|
6528
7829
|
private _forceWallsAndCeiling;
|
|
6529
7830
|
protected _getInputManager(): InputManager;
|
|
6530
|
-
protected createCameraControl(mode:
|
|
7831
|
+
protected createCameraControl(mode: Enumify<typeof CAMERA_TYPE>, _offset: CanvasOffset): void;
|
|
6531
7832
|
startViewing(): void;
|
|
6532
7833
|
startConfiguring(): void;
|
|
6533
7834
|
private _is3DView;
|
|
@@ -6541,10 +7842,10 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
|
|
|
6541
7842
|
requestCatalogItem(catalogItemId: string): void;
|
|
6542
7843
|
private _staticItemsLoaded;
|
|
6543
7844
|
preload(id: string): void;
|
|
6544
|
-
planXMLLoaded(plan:
|
|
7845
|
+
planXMLLoaded(plan: Plan_3): void;
|
|
6545
7846
|
private _activateCeilingLight;
|
|
6546
|
-
planCompletelyLoaded(_plan:
|
|
6547
|
-
handlerSwitchedPlans(fromPlan:
|
|
7847
|
+
planCompletelyLoaded(_plan: Plan_3): void;
|
|
7848
|
+
handlerSwitchedPlans(fromPlan: Plan_3, toPlan: Plan_3): void;
|
|
6548
7849
|
/**
|
|
6549
7850
|
* Re-applies the persisted lamp on/off state after a plan finishes loading.
|
|
6550
7851
|
* Reads the `lampOff` flag from each element's `customDataJson` (which the
|
|
@@ -6552,13 +7853,13 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
|
|
|
6552
7853
|
*/
|
|
6553
7854
|
private _restoreLampStates;
|
|
6554
7855
|
private _itemsLoaded;
|
|
6555
|
-
beginPlanConstruction(_plan:
|
|
6556
|
-
addPlanMesh(_plan:
|
|
6557
|
-
endPlanConstruction(_plan:
|
|
7856
|
+
beginPlanConstruction(_plan: Plan_3): void;
|
|
7857
|
+
addPlanMesh(_plan: Plan_3, _material: any, _vertices: Float32Array, _indices: Int32Array, _uvCoords: Float32Array, _normals: Float32Array, _type: KernelEnum): void;
|
|
7858
|
+
endPlanConstruction(_plan: Plan_3): void;
|
|
6558
7859
|
addPlanObjectToScene(planViewModel: PlanObjectViewModel | null): Promise<void>;
|
|
6559
7860
|
private _recycleLights;
|
|
6560
7861
|
removePlanObjectFromScene(planViewModel: PlanElementViewModel | undefined): void;
|
|
6561
|
-
planElementChanged(plan:
|
|
7862
|
+
planElementChanged(plan: Plan_3, planElementViewModel: PlanElementViewModel): void;
|
|
6562
7863
|
exportGLB(options?: ModelExportOptions): Promise<void>;
|
|
6563
7864
|
exportUSDZ(options?: ModelExportOptions): Promise<void>;
|
|
6564
7865
|
importGLB(url: string): void;
|
|
@@ -6588,7 +7889,7 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
|
|
|
6588
7889
|
redo(): Promise<void>;
|
|
6589
7890
|
private _reshowDimensionsAfterUndoRedo;
|
|
6590
7891
|
protected _updateConfigurationFromHistory(configurationString: string): Promise<void>;
|
|
6591
|
-
setMode(mode:
|
|
7892
|
+
setMode(mode: Enumify<typeof CAMERA_TYPE>): void;
|
|
6592
7893
|
private _clearHighlighting;
|
|
6593
7894
|
updateHighlightingOfPlanElements(): void;
|
|
6594
7895
|
planObjectUpdated(planObject: PlanObjectKernel, geometryChanged: boolean, pendingDocking: boolean, automaticCalculationUpdate: boolean): void;
|
|
@@ -6596,9 +7897,9 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
|
|
|
6596
7897
|
highlightPlanElementsById(runtimeIds: number[] | null): void;
|
|
6597
7898
|
highlightPlanElementById(runtimeId: number | null): void;
|
|
6598
7899
|
destroy(): void;
|
|
6599
|
-
planObjectConfigurationLoaded(plan:
|
|
6600
|
-
planObjectConfigurationChanged(_plan:
|
|
6601
|
-
addMesh(_planElement:
|
|
7900
|
+
planObjectConfigurationLoaded(plan: Plan_3, element: PlanElement_3, success: boolean): void;
|
|
7901
|
+
planObjectConfigurationChanged(_plan: Plan_3, element: PlanElementViewModel): Promise<void>;
|
|
7902
|
+
addMesh(_planElement: PlanElement_3, _material: any, _vertices: Float32Array, _indices: Int32Array, _uvCoords: Float32Array, _normals: Float32Array): void;
|
|
6602
7903
|
updateCameraOnDrawWalls(): void;
|
|
6603
7904
|
getBounds(): Box3;
|
|
6604
7905
|
getGeometryBounds(): Box3 | null;
|
|
@@ -6611,7 +7912,7 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
|
|
|
6611
7912
|
rotatePlanElements(ids: RuntimeId[], rotateBy: number): void;
|
|
6612
7913
|
rotatePlanElementSelection(rotateBy: number): void;
|
|
6613
7914
|
planBoundsChanged(): void;
|
|
6614
|
-
planElementRemoved(element:
|
|
7915
|
+
planElementRemoved(element: PlanElement_3): void;
|
|
6615
7916
|
private _onPlanChanged;
|
|
6616
7917
|
prepareTopImage(options?: PrepareImageOptions, isolationMode?: boolean): Promise<Base64Image>;
|
|
6617
7918
|
preparePerspectiveImageOf(runtimeId: RuntimeId, options?: PrepareImageOptions): Promise<Base64Image>;
|
|
@@ -6638,8 +7939,8 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
|
|
|
6638
7939
|
getPositionForDragEvent(dragEvent: DragEvent | TouchEvent | {
|
|
6639
7940
|
clientX: number;
|
|
6640
7941
|
clientY: number;
|
|
6641
|
-
}):
|
|
6642
|
-
getPositionForLastPointer():
|
|
7942
|
+
}): Vector3_2 | null;
|
|
7943
|
+
getPositionForLastPointer(): Vector3_2 | null;
|
|
6643
7944
|
isPointerUp(): boolean;
|
|
6644
7945
|
getPlannerSceneEventHandler(): PlannerSceneEventHandler;
|
|
6645
7946
|
disablePlannerEvents(): void;
|
|
@@ -6726,7 +8027,7 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
|
|
|
6726
8027
|
enableEvents(): void;
|
|
6727
8028
|
resetCameraPositionToStart(): void;
|
|
6728
8029
|
moveCamera(cameraParameter: CameraParameter): Promise<void>;
|
|
6729
|
-
protected _setInteriorOrExteriorWallMaterial(type:
|
|
8030
|
+
protected _setInteriorOrExteriorWallMaterial(type: Enumify<typeof SET_WALL_MATERIAL_TYPE>, material: BatchPaintMaterial): void;
|
|
6730
8031
|
changeInteriorWallsMaterial(material: BatchPaintMaterial): void;
|
|
6731
8032
|
changeExteriorWallsMaterial(material: BatchPaintMaterial): void;
|
|
6732
8033
|
changeFloorsMaterial(floors: KernelFloor[], material: BatchPaintMaterial): void;
|
|
@@ -6756,7 +8057,7 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
|
|
|
6756
8057
|
switchConfiguratorObject(clickedComponentId: number): Promise<void>;
|
|
6757
8058
|
selectObjectComponent(planObjectComponent: KernelPlanObjectComponent, switchToConfigurator: boolean, selectComponent: boolean): Promise<void>;
|
|
6758
8059
|
_swapObjectInConfigurator(planObjectComponent: KernelPlanObjectComponent): Promise<void>;
|
|
6759
|
-
getObjectComponent(id: number, typeOfId:
|
|
8060
|
+
getObjectComponent(id: number, typeOfId: Enumify<typeof CORE_TYPE_OF_CORE_ID>): KernelPlanObjectComponent | null;
|
|
6760
8061
|
getExternalObjectComponent(groupOrRootModuleId: string, subModuleId: string): KernelPlanObjectComponent;
|
|
6761
8062
|
getCameraParameters3d(): CameraParameter | null;
|
|
6762
8063
|
private _createCeilingLightGroup;
|
|
@@ -6780,7 +8081,7 @@ export declare interface PlanNode extends KernelObject {
|
|
|
6780
8081
|
getNumberOfConnectedWalls(): number;
|
|
6781
8082
|
}
|
|
6782
8083
|
|
|
6783
|
-
export declare interface PlanObject extends
|
|
8084
|
+
export declare interface PlanObject extends PlanElement_3 {
|
|
6784
8085
|
size: KernelVector3;
|
|
6785
8086
|
rotation: number;
|
|
6786
8087
|
customLabel: string;
|
|
@@ -6803,11 +8104,63 @@ export declare interface PlanObject extends PlanElement_2 {
|
|
|
6803
8104
|
isConstructionObjectProduct(): boolean;
|
|
6804
8105
|
getWallDistances(): ObjectToWallLineArray;
|
|
6805
8106
|
getRectangle(): Rectangle;
|
|
6806
|
-
getRotationToPreferredFront():
|
|
8107
|
+
getRotationToPreferredFront(): ObjectFrontRotation_2;
|
|
6807
8108
|
isRootComponentOfChildObject(componentRuntimeId: number): boolean;
|
|
6808
8109
|
getReplacementConstructionId(): number;
|
|
6809
8110
|
}
|
|
6810
8111
|
|
|
8112
|
+
export declare interface PlanObject_2 extends PlanElement_2 {
|
|
8113
|
+
new (): PlanObject_2;
|
|
8114
|
+
getCatalogItemId(): string;
|
|
8115
|
+
getOpenConversationId(): number;
|
|
8116
|
+
getConfigurationRuntimeId(): number;
|
|
8117
|
+
getReplacementConstructionId(): number;
|
|
8118
|
+
getObjectType(): string;
|
|
8119
|
+
getObjectCategory(): ObjectTypeCategory;
|
|
8120
|
+
hasConfiguration(): boolean;
|
|
8121
|
+
isAdjustable(): boolean;
|
|
8122
|
+
isExternalObject(): boolean;
|
|
8123
|
+
isConstructionObjectProduct(): boolean;
|
|
8124
|
+
retrieveConfigurationId(): UniqueIdAndHash;
|
|
8125
|
+
getConfiguration(): string;
|
|
8126
|
+
isConfigurationLoaded(): boolean;
|
|
8127
|
+
getRectangle(): ExtrudedRectangle;
|
|
8128
|
+
getWallDistances(): LineArray;
|
|
8129
|
+
getRotationToPreferredFront(): ObjectFrontRotation;
|
|
8130
|
+
isRootComponentOfChildObject(componentRuntimeId: number): boolean;
|
|
8131
|
+
readonly customLabel: string;
|
|
8132
|
+
readonly roll: number;
|
|
8133
|
+
readonly pitch: number;
|
|
8134
|
+
readonly entityYaw: number;
|
|
8135
|
+
readonly rotation: number;
|
|
8136
|
+
readonly rgbColor: number;
|
|
8137
|
+
readonly useCustomColor: boolean;
|
|
8138
|
+
readonly level: number;
|
|
8139
|
+
readonly flipX: boolean;
|
|
8140
|
+
readonly flipXEnabled: boolean;
|
|
8141
|
+
readonly flipY: boolean;
|
|
8142
|
+
readonly flipYEnabled: boolean;
|
|
8143
|
+
readonly fixedZ: boolean;
|
|
8144
|
+
size: Vector3;
|
|
8145
|
+
readonly boxForMeasurement: Box;
|
|
8146
|
+
readonly measurementBounds: AssembledObjectBounds;
|
|
8147
|
+
}
|
|
8148
|
+
|
|
8149
|
+
export declare interface PlanObject_3 {
|
|
8150
|
+
animations: Animation_2[];
|
|
8151
|
+
boxForMeasurement: Box;
|
|
8152
|
+
dimensioningAxes: DimensioningAxis_2[];
|
|
8153
|
+
dimensionings: Dimensioning_2[];
|
|
8154
|
+
externalId: string;
|
|
8155
|
+
externalObject: boolean;
|
|
8156
|
+
geometryBounds: Box;
|
|
8157
|
+
geometryBoundsWithEnvironment: Box;
|
|
8158
|
+
id: number;
|
|
8159
|
+
parameterGroups: ParameterGroup[];
|
|
8160
|
+
parameters: Parameter[];
|
|
8161
|
+
rootPlanComponentId: number;
|
|
8162
|
+
}
|
|
8163
|
+
|
|
6811
8164
|
export declare interface PlanObjectKernel {
|
|
6812
8165
|
geometryBounds: KernelCube;
|
|
6813
8166
|
boxForMeasurement: KernelCube;
|
|
@@ -6851,6 +8204,8 @@ export declare abstract class PlanObjectPtr extends AbstractModelWrapper {
|
|
|
6851
8204
|
export declare class PlanObjectPtrList extends EmsList<PlanObjectPtr> {
|
|
6852
8205
|
}
|
|
6853
8206
|
|
|
8207
|
+
export declare type PlanObjectPtrList_2 = EmscriptenList_2<PlanObject_2>;
|
|
8208
|
+
|
|
6854
8209
|
export declare class PlanObjectPtrVector extends EmsArray<PlanObjectPtr> {
|
|
6855
8210
|
}
|
|
6856
8211
|
|
|
@@ -6871,8 +8226,8 @@ export declare class PlanObjectViewModel extends PlanElementViewModel {
|
|
|
6871
8226
|
isInitDone(): Promise<void>;
|
|
6872
8227
|
clear(): void;
|
|
6873
8228
|
getPlanObject(): PlanObject;
|
|
6874
|
-
getSize():
|
|
6875
|
-
getObjectMeasurements(zoomFactor: number, clientWidth: number, clientHeight: number, otherObjects?: NeighboringObjectMeasurementInfo[]):
|
|
8229
|
+
getSize(): Vector3_2;
|
|
8230
|
+
getObjectMeasurements(zoomFactor: number, clientWidth: number, clientHeight: number, otherObjects?: NeighboringObjectMeasurementInfo[]): Nullable<ObjectMeasurements>;
|
|
6876
8231
|
update(): void;
|
|
6877
8232
|
}
|
|
6878
8233
|
|
|
@@ -6880,7 +8235,7 @@ export declare interface PlanOverview {
|
|
|
6880
8235
|
area: number;
|
|
6881
8236
|
bounds: KernelCube;
|
|
6882
8237
|
objects: KernelPlanObjectList;
|
|
6883
|
-
outsideWalls:
|
|
8238
|
+
outsideWalls: PlanElement_3[];
|
|
6884
8239
|
rooms: PlanOverviewRoom[];
|
|
6885
8240
|
}
|
|
6886
8241
|
|
|
@@ -6894,13 +8249,18 @@ export declare interface PlanOverviewRoom {
|
|
|
6894
8249
|
export declare type PlanRoomGeometryMode = (typeof PLAN_ROOM_GEOMETRY_MODE)[keyof typeof PLAN_ROOM_GEOMETRY_MODE];
|
|
6895
8250
|
|
|
6896
8251
|
export declare interface PlanRoomGeometryMode_2 {
|
|
6897
|
-
value:
|
|
8252
|
+
value: Enumify<typeof CORE_PLAN_ROOM_GEOMETRY_MODE>;
|
|
6898
8253
|
}
|
|
6899
8254
|
|
|
6900
8255
|
export declare abstract class PlanText extends PlanElement {
|
|
6901
8256
|
getText(): string;
|
|
6902
8257
|
}
|
|
6903
8258
|
|
|
8259
|
+
export declare interface PlanText_2 extends PlanElement_2 {
|
|
8260
|
+
new (): PlanText_2;
|
|
8261
|
+
getText(): string;
|
|
8262
|
+
}
|
|
8263
|
+
|
|
6904
8264
|
export declare interface PlanView extends KernelPlanViewStyle {
|
|
6905
8265
|
id: number;
|
|
6906
8266
|
viewType: PlanViewType;
|
|
@@ -6945,9 +8305,9 @@ export declare class PlanViewModel extends ConfiguratorViewModel implements Plan
|
|
|
6945
8305
|
startedDrawing(): void;
|
|
6946
8306
|
stoppedDrawing(): void;
|
|
6947
8307
|
planBoundsChanged(): void;
|
|
6948
|
-
setReference(plan:
|
|
8308
|
+
setReference(plan: Plan_3): void;
|
|
6949
8309
|
clearReference(): void;
|
|
6950
|
-
getCorePlan():
|
|
8310
|
+
getCorePlan(): Plan_3;
|
|
6951
8311
|
addPlanElementViewModel(planElementViewModel: PlanElementViewModel): void;
|
|
6952
8312
|
private _handleConfiguratorPlanObjectViewModel;
|
|
6953
8313
|
private _linkPlanObjectViewModelAndComponent;
|
|
@@ -7036,19 +8396,19 @@ export declare class PlanViewModel extends ConfiguratorViewModel implements Plan
|
|
|
7036
8396
|
protected _setMaterial(mesh: Mesh, material: any, _type?: KernelEnum, materialAttributes?: Record<string, string>): void;
|
|
7037
8397
|
Editor3dComponentCreated(componentDocking: KernelComponentDocking): void;
|
|
7038
8398
|
addPlanObjectToScene(_planViewModel: PlanObjectViewModel | null): void;
|
|
7039
|
-
handlerSwitchedPlans(_fromPlan:
|
|
7040
|
-
planCompletelyLoaded(_plan:
|
|
7041
|
-
beginPlanConstruction(_plan:
|
|
7042
|
-
addPlanMesh(_plan:
|
|
7043
|
-
endPlanConstruction(_plan:
|
|
7044
|
-
planElementChanged(_plan:
|
|
7045
|
-
planObjectConfigurationLoaded(_plan:
|
|
8399
|
+
handlerSwitchedPlans(_fromPlan: Plan_3, _toPlan: Plan_3): void;
|
|
8400
|
+
planCompletelyLoaded(_plan: Plan_3): void;
|
|
8401
|
+
beginPlanConstruction(_plan: Plan_3): void;
|
|
8402
|
+
addPlanMesh(_plan: Plan_3, _material: any, _vertices: Float32Array, _indices: Int32Array, _uvCoords: Float32Array, _normals: Float32Array, _type: KernelEnum): void;
|
|
8403
|
+
endPlanConstruction(_plan: Plan_3): void;
|
|
8404
|
+
planElementChanged(_plan: Plan_3, _planObject: PlanElementViewModel): void;
|
|
8405
|
+
planObjectConfigurationLoaded(_plan: Plan_3, planElement: PlanElement_3, success: boolean): void;
|
|
7046
8406
|
recomputeConfigurableBoundingBoxes(): void;
|
|
7047
|
-
planObjectConfigurationChanged(_plan:
|
|
7048
|
-
addMesh(planElement:
|
|
8407
|
+
planObjectConfigurationChanged(_plan: Plan_3, _element: PlanElementViewModel): void;
|
|
8408
|
+
addMesh(planElement: PlanElement_3, material: any, vertices: Float32Array, indices: Int32Array, uvCoords: Float32Array, normals: Float32Array): void;
|
|
7049
8409
|
removePlanObjectFromScene(planElementViewModel: PlanElementViewModel | undefined): void;
|
|
7050
8410
|
private _isConstructionType;
|
|
7051
|
-
planElementRemoved(element:
|
|
8411
|
+
planElementRemoved(element: PlanElement_3): void;
|
|
7052
8412
|
private _removeObject;
|
|
7053
8413
|
protected getMeshGenerator(): MeshGenerator;
|
|
7054
8414
|
componentConfigurationUpdated(runtimeComponentId: number, geometryChanged: boolean): void;
|
|
@@ -7060,8 +8420,8 @@ export declare class PlanViewModel extends ConfiguratorViewModel implements Plan
|
|
|
7060
8420
|
showAll(): void;
|
|
7061
8421
|
planHistoryStateChanged(): void;
|
|
7062
8422
|
setNodeVisibility(visible: boolean): void;
|
|
7063
|
-
setCameraType(cameraType:
|
|
7064
|
-
get cameraType():
|
|
8423
|
+
setCameraType(cameraType: Enumify<typeof CAMERA_TYPE>): Promise<void>;
|
|
8424
|
+
get cameraType(): Enumify<typeof CAMERA_TYPE>;
|
|
7065
8425
|
setNodeZoom(zoom: number): void;
|
|
7066
8426
|
planCleared(): void;
|
|
7067
8427
|
requestCatalogItem(_catalogItemId: string): void;
|
|
@@ -7072,7 +8432,11 @@ export declare class PlanViewModel extends ConfiguratorViewModel implements Plan
|
|
|
7072
8432
|
}
|
|
7073
8433
|
|
|
7074
8434
|
export declare interface PlanViewType {
|
|
7075
|
-
value:
|
|
8435
|
+
value: Enumify<typeof CORE_PLAN_VIEW_TYPE>;
|
|
8436
|
+
}
|
|
8437
|
+
|
|
8438
|
+
export declare interface PlanViewType_2 {
|
|
8439
|
+
value: Enumify_3<typeof CORE_PLAN_VIEW_TYPE_2>;
|
|
7076
8440
|
}
|
|
7077
8441
|
|
|
7078
8442
|
export declare interface PluginConfigMap {
|
|
@@ -7090,21 +8454,23 @@ export declare class PluginSystem implements Context, ScenePluginHooks {
|
|
|
7090
8454
|
private _cameraPosition;
|
|
7091
8455
|
private _plugins;
|
|
7092
8456
|
constructor(creator: string);
|
|
7093
|
-
init(scene: Scene, uiScene: Scene, cameraPosition:
|
|
8457
|
+
init(scene: Scene, uiScene: Scene, cameraPosition: Vector3_2): Promise<void>;
|
|
7094
8458
|
addPlugin(plugin: ScenePlugin): void;
|
|
7095
8459
|
updateBounds(bounds: Box3): void;
|
|
7096
8460
|
clearScene(scene: Scene, uiScene: Scene): void;
|
|
7097
8461
|
getActivePlugins(): ScenePlugin[];
|
|
7098
8462
|
getPlugin<T extends ScenePlugin>(type: any): T | null;
|
|
7099
|
-
moveCameraEnd(position:
|
|
7100
|
-
moveCameraStart(position:
|
|
8463
|
+
moveCameraEnd(position: Vector3_2): void;
|
|
8464
|
+
moveCameraStart(position: Vector3_2): void;
|
|
7101
8465
|
needsUiScene(): boolean;
|
|
7102
8466
|
}
|
|
7103
8467
|
|
|
7104
8468
|
export declare class PointArray extends EmsArray<KernelVector3f> {
|
|
7105
8469
|
}
|
|
7106
8470
|
|
|
7107
|
-
export declare
|
|
8471
|
+
export declare type PointArray_2 = EmscriptenArray<Vector3>;
|
|
8472
|
+
|
|
8473
|
+
export declare class PointArray_3 extends EmsArray<KernelVector3f> {
|
|
7108
8474
|
}
|
|
7109
8475
|
|
|
7110
8476
|
export declare interface PointerInputEvent {
|
|
@@ -7362,10 +8728,20 @@ export declare interface PosSaveData {
|
|
|
7362
8728
|
rooms?: PosContour[];
|
|
7363
8729
|
}
|
|
7364
8730
|
|
|
8731
|
+
export declare interface PossibleChild {
|
|
8732
|
+
componentId: string;
|
|
8733
|
+
group: string;
|
|
8734
|
+
isDefault: boolean;
|
|
8735
|
+
itemId: string;
|
|
8736
|
+
possible: boolean;
|
|
8737
|
+
}
|
|
8738
|
+
|
|
7365
8739
|
export declare class PossibleChildArray extends EmsArray<KernelPossibleChild> {
|
|
7366
8740
|
}
|
|
7367
8741
|
|
|
7368
|
-
export declare
|
|
8742
|
+
export declare type PossibleChildArray_2 = EmscriptenArray<PossibleChild>;
|
|
8743
|
+
|
|
8744
|
+
export declare class PossibleChildArray_3 extends EmsArray<KernelPossibleChild> {
|
|
7369
8745
|
}
|
|
7370
8746
|
|
|
7371
8747
|
export declare interface PossibleChildPreviewElement {
|
|
@@ -7416,19 +8792,19 @@ export declare interface PreviewComponent extends RoomleComponent {
|
|
|
7416
8792
|
stringId: string;
|
|
7417
8793
|
receivedPointAssociation: boolean;
|
|
7418
8794
|
dockInsertAnimation?: DragInsertAnimation;
|
|
7419
|
-
clickPosition?:
|
|
8795
|
+
clickPosition?: Vector3_2;
|
|
7420
8796
|
clonePreview(cloneId: string): PreviewComponent;
|
|
7421
8797
|
preparePreview(): void;
|
|
7422
8798
|
startPulsating(): void;
|
|
7423
|
-
updateClickPosition(intersectionPoint:
|
|
8799
|
+
updateClickPosition(intersectionPoint: Vector3_2): void;
|
|
7424
8800
|
}
|
|
7425
8801
|
|
|
7426
8802
|
export declare interface PreviewLineComponent extends PreviewComponent {
|
|
7427
|
-
lineFrom:
|
|
7428
|
-
lineTo:
|
|
8803
|
+
lineFrom: Vector3_2;
|
|
8804
|
+
lineTo: Vector3_2;
|
|
7429
8805
|
lineSegments: PreviewLineSegment[];
|
|
7430
|
-
positionFrom:
|
|
7431
|
-
positionTo:
|
|
8806
|
+
positionFrom: Vector3_2;
|
|
8807
|
+
positionTo: Vector3_2;
|
|
7432
8808
|
roomleLineFrom: KernelVector3;
|
|
7433
8809
|
roomleLineTo: KernelVector3;
|
|
7434
8810
|
roomlePositionFrom: KernelVector3;
|
|
@@ -7437,8 +8813,8 @@ export declare interface PreviewLineComponent extends PreviewComponent {
|
|
|
7437
8813
|
lineMesh: Mesh;
|
|
7438
8814
|
boundingLineMesh: RoomleEventedMesh;
|
|
7439
8815
|
clonePreviewLine(cloneId: string): PreviewLineComponent;
|
|
7440
|
-
getPositionForIntersectionPoint(intersectionPoint:
|
|
7441
|
-
updatePreviewPosition(intersectionPoint:
|
|
8816
|
+
getPositionForIntersectionPoint(intersectionPoint: Vector3_2): Vector3_2;
|
|
8817
|
+
updatePreviewPosition(intersectionPoint: Vector3_2): void;
|
|
7442
8818
|
hideSelectionLine(): void;
|
|
7443
8819
|
}
|
|
7444
8820
|
|
|
@@ -7481,6 +8857,13 @@ export declare class PromiseQueue<T> {
|
|
|
7481
8857
|
get length(): number;
|
|
7482
8858
|
}
|
|
7483
8859
|
|
|
8860
|
+
export declare interface Range_2 {
|
|
8861
|
+
step: number;
|
|
8862
|
+
type: string;
|
|
8863
|
+
valueFrom: number;
|
|
8864
|
+
valueTo: number;
|
|
8865
|
+
}
|
|
8866
|
+
|
|
7484
8867
|
export declare class RangeArray extends EmsArray<KernelRange> {
|
|
7485
8868
|
}
|
|
7486
8869
|
|
|
@@ -8212,7 +9595,7 @@ export declare class RaycastHelper extends EventDispatcher<Record<RAYCAST_EVENT,
|
|
|
8212
9595
|
private _onRotate;
|
|
8213
9596
|
private _positionPlanes;
|
|
8214
9597
|
private _calculateOffset;
|
|
8215
|
-
update(bounds:
|
|
9598
|
+
update(bounds: Vector3_2 | null, rootComponentPosition: Vector3_2 | null, backgroundScene: Scene | null): void;
|
|
8216
9599
|
clear(): void;
|
|
8217
9600
|
enableDragIn(mesh: RoomleEventedMesh): void;
|
|
8218
9601
|
setRootComponentId(rootComponentId: number): void;
|
|
@@ -8222,18 +9605,30 @@ export declare class RaycastHelper extends EventDispatcher<Record<RAYCAST_EVENT,
|
|
|
8222
9605
|
intersectMouseOnScene(event: Pick<PointerInputEvent, 'positionRelative'>): KernelVector3 | null;
|
|
8223
9606
|
enableOnWallSnapping(): void;
|
|
8224
9607
|
disableOnWallSnapping(): void;
|
|
8225
|
-
getCameraPosition():
|
|
9608
|
+
getCameraPosition(): Vector3_2;
|
|
8226
9609
|
}
|
|
8227
9610
|
|
|
8228
9611
|
export declare interface Rectangle {
|
|
8229
9612
|
angle: number;
|
|
8230
9613
|
center: KernelVector3f;
|
|
8231
|
-
cornerPoints:
|
|
8232
|
-
referencePoints:
|
|
9614
|
+
cornerPoints: PointArray_3;
|
|
9615
|
+
referencePoints: RectangleReferencePoints_2;
|
|
8233
9616
|
size: KernelVector3f;
|
|
8234
9617
|
}
|
|
8235
9618
|
|
|
8236
9619
|
export declare interface RectangleReferencePoints {
|
|
9620
|
+
bottom: Vector3;
|
|
9621
|
+
bottomLeft: Vector3;
|
|
9622
|
+
bottomRight: Vector3;
|
|
9623
|
+
center: Vector3;
|
|
9624
|
+
left: Vector3;
|
|
9625
|
+
right: Vector3;
|
|
9626
|
+
top: Vector3;
|
|
9627
|
+
topLeft: Vector3;
|
|
9628
|
+
topRight: Vector3;
|
|
9629
|
+
}
|
|
9630
|
+
|
|
9631
|
+
export declare interface RectangleReferencePoints_2 {
|
|
8237
9632
|
bottom: KernelVector3;
|
|
8238
9633
|
bottomLeft: KernelVector3;
|
|
8239
9634
|
bottomRight: KernelVector3;
|
|
@@ -8245,7 +9640,7 @@ export declare interface RectangleReferencePoints {
|
|
|
8245
9640
|
topRight: KernelVector3;
|
|
8246
9641
|
}
|
|
8247
9642
|
|
|
8248
|
-
export declare const removeExtObjIdPrefix: (id:
|
|
9643
|
+
export declare const removeExtObjIdPrefix: (id: ExtObjId) => string;
|
|
8249
9644
|
|
|
8250
9645
|
export declare type RenderOptions = Partial<typeof DEFAULT_RENDER_OPTIONS>;
|
|
8251
9646
|
|
|
@@ -8261,6 +9656,10 @@ export declare const enum ResizingAnchor {
|
|
|
8261
9656
|
Right = 8
|
|
8262
9657
|
}
|
|
8263
9658
|
|
|
9659
|
+
export declare interface ResizingAnchor_2 {
|
|
9660
|
+
value: Enumify_2<typeof CORE_RESIZING_ANCHOR>;
|
|
9661
|
+
}
|
|
9662
|
+
|
|
8264
9663
|
export declare class RoomDesignerApi implements RoomDesignerRequests {
|
|
8265
9664
|
private _roomlePlanner;
|
|
8266
9665
|
constructor(roomlePlanner: RoomlePlannerType);
|
|
@@ -8430,6 +9829,7 @@ export declare class RoomleConfigurator<P extends readonly PluginName[] = readon
|
|
|
8430
9829
|
*/
|
|
8431
9830
|
download2DPlanViews(): Promise<void>;
|
|
8432
9831
|
exportCanvasScreenshot(quality?: number): Promise<string>;
|
|
9832
|
+
exportCameraScreenshot(quality?: number): Promise<string>;
|
|
8433
9833
|
initSceneManager(sceneManager?: ConfiguratorSceneManager): void;
|
|
8434
9834
|
getScene(): Scene;
|
|
8435
9835
|
getSceneManager(): ConfiguratorSceneManager;
|
|
@@ -9697,6 +11097,7 @@ export declare class RoomlePlanner<P extends readonly PluginName[] = readonly []
|
|
|
9697
11097
|
swapObject(old: number | PlanElementViewModel | null, idOfNew: RapiId): Promise<number>;
|
|
9698
11098
|
exportImageFromCamera(filename?: string, shouldWaitForAssets?: boolean): Promise<void>;
|
|
9699
11099
|
exportCanvasScreenshot(quality?: number): Promise<string>;
|
|
11100
|
+
exportCameraScreenshot(quality?: number): Promise<string>;
|
|
9700
11101
|
/**
|
|
9701
11102
|
* Move the current selected element in the 3D space
|
|
9702
11103
|
* @param selectedElement this is the current selected plan object
|
|
@@ -9925,7 +11326,7 @@ export declare type RoomlePlannerType = RoomlePlanner | RoomlePlannerWithExtObjs
|
|
|
9925
11326
|
export declare class RoomlePlannerUiCallback extends UiCallback implements ExternalObjectUiCallback {
|
|
9926
11327
|
constructor(creator: string);
|
|
9927
11328
|
onItemsLoaded: () => void;
|
|
9928
|
-
onCameraChanged: (type:
|
|
11329
|
+
onCameraChanged: (type: Enumify<typeof CAMERA_TYPE>) => void;
|
|
9929
11330
|
onCameraIdle: () => void;
|
|
9930
11331
|
onTotalFloorAreaChanged: (totalFloorArea: number) => void;
|
|
9931
11332
|
onPlanInteractionManagerCreated: (planInteractionManager: PlanInteractionManager) => void;
|
|
@@ -9963,7 +11364,7 @@ export declare class RoomlePlannerUiCallback extends UiCallback implements Exter
|
|
|
9963
11364
|
* When an element in the plan has been added, removed or changed
|
|
9964
11365
|
* null if changed, added or removed object is not a item or configuration, such as a wall or construction element
|
|
9965
11366
|
*/
|
|
9966
|
-
onPlanElementChanged: (changeType:
|
|
11367
|
+
onPlanElementChanged: (changeType: Enumify<typeof PLAN_ELEMENT_CHANGE_TYPES>, changedObject: UiPlanObject) => void;
|
|
9967
11368
|
/**
|
|
9968
11369
|
* When the plan has been completely loaded
|
|
9969
11370
|
*/
|
|
@@ -10100,7 +11501,7 @@ export declare abstract class RoomleRenderer<RendererType extends WebGLRenderer
|
|
|
10100
11501
|
renderer: RendererType;
|
|
10101
11502
|
protected isConfiguratorMode: boolean;
|
|
10102
11503
|
protected isCameraMoving: boolean;
|
|
10103
|
-
protected cameraType:
|
|
11504
|
+
protected cameraType: Enumify<typeof CAMERA_TYPE>;
|
|
10104
11505
|
protected shadowNeedsUpdate: boolean;
|
|
10105
11506
|
protected boundingBox: Box3;
|
|
10106
11507
|
protected boundingBoxNeedsUpdate: boolean;
|
|
@@ -10109,7 +11510,7 @@ export declare abstract class RoomleRenderer<RendererType extends WebGLRenderer
|
|
|
10109
11510
|
dispose(): void;
|
|
10110
11511
|
setSize(width: number, height: number): void;
|
|
10111
11512
|
getSize(target: Vector2): Vector2;
|
|
10112
|
-
setCameraType(cameraType:
|
|
11513
|
+
setCameraType(cameraType: Enumify<typeof CAMERA_TYPE>): void;
|
|
10113
11514
|
movingCameraStarts(): void;
|
|
10114
11515
|
movingCameraStops(): void;
|
|
10115
11516
|
forceShadowUpdates(_updateBakedGroundShadow: boolean): void;
|
|
@@ -10212,7 +11613,7 @@ export declare class RoomleWebGPURenderer extends RoomleRenderer<WebGPURenderer>
|
|
|
10212
11613
|
clearCache(): void;
|
|
10213
11614
|
disableUiInteractionMode(): void;
|
|
10214
11615
|
enableUiInteractionMode(): void;
|
|
10215
|
-
setCameraType(cameraType:
|
|
11616
|
+
setCameraType(cameraType: Enumify<typeof CAMERA_TYPE>): void;
|
|
10216
11617
|
switchToConfigurator(): void;
|
|
10217
11618
|
switchToPlanner(renderMode: PlannerRenderMode): void;
|
|
10218
11619
|
highlightObjects(selectedMeshes: Object3D_2[]): void;
|
|
@@ -10242,13 +11643,18 @@ export declare class RoomleWebGPURenderer extends RoomleRenderer<WebGPURenderer>
|
|
|
10242
11643
|
export declare interface RoomLightSourceDistribution {
|
|
10243
11644
|
ceilingId: number;
|
|
10244
11645
|
floorId: number;
|
|
10245
|
-
positionsInPlan:
|
|
10246
|
-
positionsRelativeToFloor:
|
|
11646
|
+
positionsInPlan: PointArray_3;
|
|
11647
|
+
positionsRelativeToFloor: PointArray_3;
|
|
10247
11648
|
}
|
|
10248
11649
|
|
|
10249
11650
|
export declare class RoomLightSourceDistributionArray extends EmsArray<RoomLightSourceDistribution> {
|
|
10250
11651
|
}
|
|
10251
11652
|
|
|
11653
|
+
export declare interface RoomWall {
|
|
11654
|
+
roomSide: WallSide_2;
|
|
11655
|
+
wall: Wall_2;
|
|
11656
|
+
}
|
|
11657
|
+
|
|
10252
11658
|
export declare interface RotatableImageExportOptions {
|
|
10253
11659
|
rotationY?: number;
|
|
10254
11660
|
cameraPosition?: {
|
|
@@ -10396,7 +11802,7 @@ export declare abstract class SceneManager implements Context, LifeCycleCallback
|
|
|
10396
11802
|
protected _isInteriorLightActive: boolean;
|
|
10397
11803
|
protected _perspectiveOffsetCamera: PerspectiveOffsetCamera | null;
|
|
10398
11804
|
protected _orthographicOffsetCamera: OrthographicOffsetCamera | null;
|
|
10399
|
-
protected abstract createCameraControl(mode:
|
|
11805
|
+
protected abstract createCameraControl(mode: Enumify<typeof CAMERA_TYPE>, offset: CanvasOffset): void;
|
|
10400
11806
|
protected abstract _getInputManager(): InputManager;
|
|
10401
11807
|
get cameraBehaviour(): CameraBehaviour;
|
|
10402
11808
|
protected _scheduleRenderLoopFunction(renderLoopFunction: () => void): void;
|
|
@@ -10410,7 +11816,7 @@ export declare abstract class SceneManager implements Context, LifeCycleCallback
|
|
|
10410
11816
|
abstract getGeometryBounds(): Box3 | null;
|
|
10411
11817
|
protected onBeforeRender(): void;
|
|
10412
11818
|
protected _onAfterRender: () => void;
|
|
10413
|
-
protected constructor(creator: string, offset: CanvasOffset, canvasID: string, mode:
|
|
11819
|
+
protected constructor(creator: string, offset: CanvasOffset, canvasID: string, mode: Enumify<typeof CAMERA_TYPE>);
|
|
10414
11820
|
addEventListener(_listener: LifeCycleCallbacks): void;
|
|
10415
11821
|
removeEventListener(_listener: LifeCycleCallbacks): void;
|
|
10416
11822
|
get lightCache(): LightCache | null;
|
|
@@ -10453,8 +11859,8 @@ export declare abstract class SceneManager implements Context, LifeCycleCallback
|
|
|
10453
11859
|
cleanUp(): void;
|
|
10454
11860
|
clearScene(): void;
|
|
10455
11861
|
enableHD(source?: DynamicLightSettingSource): void;
|
|
10456
|
-
protected _loadGLTF(gltfJSON: string, position?:
|
|
10457
|
-
protected _loadGLB(url: string, position?:
|
|
11862
|
+
protected _loadGLTF(gltfJSON: string, position?: Vector3_2, rotation?: number, size?: Vector3_2, scale?: Vector3_2, color?: number, callback?: (percent: number) => void): Promise<Object3D>;
|
|
11863
|
+
protected _loadGLB(url: string, position?: Vector3_2, rotation?: number, size?: Vector3_2, scale?: Vector3_2, color?: number, colorable?: boolean, callback?: (percent: number) => void): Promise<Object3D>;
|
|
10458
11864
|
showGUI(): Promise<void>;
|
|
10459
11865
|
protected initializeWebGLGUI(): void;
|
|
10460
11866
|
protected initializeWebGPUGUI(roomleWebGPURenderer: RoomleWebGPURenderer): void;
|
|
@@ -10484,6 +11890,12 @@ export declare abstract class SceneManager implements Context, LifeCycleCallback
|
|
|
10484
11890
|
protected _waitForAssets(): Promise<void>;
|
|
10485
11891
|
exportCanvasScreenshot(quality?: number): Promise<string>;
|
|
10486
11892
|
exportImageFromCamera(filename: string, shouldWaitForAssets?: boolean): Promise<void>;
|
|
11893
|
+
/**
|
|
11894
|
+
* Like exportCanvasScreenshot, but cropped to the part of the canvas the
|
|
11895
|
+
* camera renders into (see setCameraOffset), so UI overlays are left out
|
|
11896
|
+
*/
|
|
11897
|
+
exportCameraScreenshot(quality?: number): Promise<string>;
|
|
11898
|
+
private _cropToCameraOffset;
|
|
10487
11899
|
private getCanvasScreenshotWithDimensions;
|
|
10488
11900
|
changeEnvironmentMapIntensity(intensity: number): void;
|
|
10489
11901
|
changeEnvironmentMapRotation(rotation: number): void;
|
|
@@ -10508,8 +11920,8 @@ export declare interface ScenePlugin extends ScenePluginHooks, Context {
|
|
|
10508
11920
|
export declare interface ScenePluginHooks {
|
|
10509
11921
|
updateBounds(bounds: Box3): void;
|
|
10510
11922
|
clearScene(scene: Scene, uiScene: Scene): void;
|
|
10511
|
-
moveCameraEnd(position:
|
|
10512
|
-
moveCameraStart(position:
|
|
11923
|
+
moveCameraEnd(position: Vector3_2): void;
|
|
11924
|
+
moveCameraStart(position: Vector3_2): void;
|
|
10513
11925
|
needsUiScene(): boolean;
|
|
10514
11926
|
}
|
|
10515
11927
|
|
|
@@ -10594,6 +12006,8 @@ export declare class SinglePromiseFactory implements Context {
|
|
|
10594
12006
|
export declare class SizeTArray extends EmsArray<number> {
|
|
10595
12007
|
}
|
|
10596
12008
|
|
|
12009
|
+
export declare type SizeTArray_2 = EmscriptenArray<number>;
|
|
12010
|
+
|
|
10597
12011
|
export declare const SKY_EVENT: {
|
|
10598
12012
|
readonly ENTERED_PLANNER: "sky:entered-planner";
|
|
10599
12013
|
readonly ENTERED_CONFIGURATOR: "sky:entered-configurator";
|
|
@@ -10614,7 +12028,11 @@ export declare class SkyStateTracker extends EventDispatcher<SkyFeatureEventMap>
|
|
|
10614
12028
|
notifyEnteredConfigurator(): void;
|
|
10615
12029
|
}
|
|
10616
12030
|
|
|
10617
|
-
export declare
|
|
12031
|
+
export declare interface SnapMode {
|
|
12032
|
+
value: Enumify_2<typeof CORE_SNAP_MODE>;
|
|
12033
|
+
}
|
|
12034
|
+
|
|
12035
|
+
export declare const enum SnapMode_2 {
|
|
10618
12036
|
OFF = 0,
|
|
10619
12037
|
ON_COLLISION = 1,
|
|
10620
12038
|
ON_COLLISION_ROTATE_WITHIN_DISTANCE = 2,
|
|
@@ -10622,7 +12040,7 @@ export declare const enum SnapMode {
|
|
|
10622
12040
|
}
|
|
10623
12041
|
|
|
10624
12042
|
export declare interface SnapState {
|
|
10625
|
-
value:
|
|
12043
|
+
value: Enumify<typeof CORE_SNAP_STATE>;
|
|
10626
12044
|
}
|
|
10627
12045
|
|
|
10628
12046
|
export declare interface StaticComponent extends RoomleComponent {
|
|
@@ -10898,7 +12316,7 @@ export declare const enum Type_2 {
|
|
|
10898
12316
|
}
|
|
10899
12317
|
|
|
10900
12318
|
export declare interface TypeOfCoreId {
|
|
10901
|
-
value:
|
|
12319
|
+
value: Enumify<typeof CORE_TYPE_OF_CORE_ID>;
|
|
10902
12320
|
}
|
|
10903
12321
|
|
|
10904
12322
|
export declare class UiCallback implements Context {
|
|
@@ -10996,8 +12414,8 @@ export declare class UndoRedoHandler {
|
|
|
10996
12414
|
private reset;
|
|
10997
12415
|
undo(): void;
|
|
10998
12416
|
redo(): void;
|
|
10999
|
-
loadPlanXML(xml: string):
|
|
11000
|
-
createPlanWithObjectFromItem(object: KernelObject, position: KernelVector3, rotationInRad: number):
|
|
12417
|
+
loadPlanXML(xml: string): Plan_3;
|
|
12418
|
+
createPlanWithObjectFromItem(object: KernelObject, position: KernelVector3, rotationInRad: number): Plan_3;
|
|
11001
12419
|
endDrawing(point: {
|
|
11002
12420
|
x: number;
|
|
11003
12421
|
y: number;
|
|
@@ -11038,6 +12456,12 @@ export declare class UndoRedoHandler {
|
|
|
11038
12456
|
onCoreLoad(reason: HiLoadObjectReason): void;
|
|
11039
12457
|
}
|
|
11040
12458
|
|
|
12459
|
+
export declare interface UniqueIdAndHash {
|
|
12460
|
+
hash: string;
|
|
12461
|
+
libraryId: string;
|
|
12462
|
+
uniqueId: string;
|
|
12463
|
+
}
|
|
12464
|
+
|
|
11041
12465
|
export declare const enum Unit {
|
|
11042
12466
|
InchFeet = 0,
|
|
11043
12467
|
MM = 1,
|
|
@@ -11155,6 +12579,8 @@ export declare const enum UnitType_2 {
|
|
|
11155
12579
|
COUNT = 3
|
|
11156
12580
|
}
|
|
11157
12581
|
|
|
12582
|
+
export declare type UnitTypeString = Enumify_3<typeof CORE_UNIT_TYPE_STRING>;
|
|
12583
|
+
|
|
11158
12584
|
export declare type UseIdbStore = <T>(txMode: IDBTransactionMode, callback: (store: IDBObjectStore) => T | PromiseLike<T>) => Promise<T>;
|
|
11159
12585
|
|
|
11160
12586
|
export declare interface UserAction {
|
|
@@ -11188,6 +12614,16 @@ export declare interface VariantsList {
|
|
|
11188
12614
|
export declare class Vector2fArray extends EmsArray<KernelVector2f> {
|
|
11189
12615
|
}
|
|
11190
12616
|
|
|
12617
|
+
export declare interface Vector3 {
|
|
12618
|
+
x: number;
|
|
12619
|
+
y: number;
|
|
12620
|
+
z: number;
|
|
12621
|
+
}
|
|
12622
|
+
|
|
12623
|
+
export declare interface ViewType {
|
|
12624
|
+
value: Enumify_3<typeof CORE_VIEW_TYPE>;
|
|
12625
|
+
}
|
|
12626
|
+
|
|
11191
12627
|
export declare class Wall extends PlanObjectPtr {
|
|
11192
12628
|
readonly thickness: number;
|
|
11193
12629
|
readonly height: number;
|
|
@@ -11205,7 +12641,7 @@ export declare class Wall extends PlanObjectPtr {
|
|
|
11205
12641
|
getLength(): number;
|
|
11206
12642
|
getSlopingLength(): number;
|
|
11207
12643
|
getPreferredSide(): {
|
|
11208
|
-
value:
|
|
12644
|
+
value: Enumify<typeof WALL_SIDES>;
|
|
11209
12645
|
};
|
|
11210
12646
|
getAttachedObjects(): PlanObjectObjectSet;
|
|
11211
12647
|
getCenter(): KernelVector3f;
|
|
@@ -11213,6 +12649,36 @@ export declare class Wall extends PlanObjectPtr {
|
|
|
11213
12649
|
getPointWithHeight(aHeight: number): KernelVector3f;
|
|
11214
12650
|
}
|
|
11215
12651
|
|
|
12652
|
+
export declare interface Wall_2 extends PlanElement_2 {
|
|
12653
|
+
new (): Wall_2;
|
|
12654
|
+
getFrom(): Node_3;
|
|
12655
|
+
getTo(): Node_3;
|
|
12656
|
+
getAttachedAttics(): AtticArray;
|
|
12657
|
+
getCornerFromLeft(): Vector3;
|
|
12658
|
+
getCornerFromRight(): Vector3;
|
|
12659
|
+
getCornerToLeft(): Vector3;
|
|
12660
|
+
getCornerToRight(): Vector3;
|
|
12661
|
+
getAngle(): number;
|
|
12662
|
+
getLength(side: WallSide_2): number;
|
|
12663
|
+
getSlopingLength(): number;
|
|
12664
|
+
getPreferredSide(): WallSide_2;
|
|
12665
|
+
getAttachedObjects(): ConstructionObjectSet_2;
|
|
12666
|
+
getAttachedObjectsExtRefArray(): SizeTArray_2;
|
|
12667
|
+
getCenter(): Vector3;
|
|
12668
|
+
getHeightAt(aPoint: Vector3): number;
|
|
12669
|
+
getPointWithHeight(aHeight: number): Vector3;
|
|
12670
|
+
readonly meshThickness: number;
|
|
12671
|
+
readonly isVectorWall: boolean;
|
|
12672
|
+
readonly thickness: number;
|
|
12673
|
+
readonly height: number;
|
|
12674
|
+
readonly leftMaterial: WallMaterial_2;
|
|
12675
|
+
readonly rightMaterial: WallMaterial_2;
|
|
12676
|
+
readonly wallType: WallType;
|
|
12677
|
+
readonly leftNormal: Vector3;
|
|
12678
|
+
readonly rightNormal: Vector3;
|
|
12679
|
+
readonly edgeType: EdgeType;
|
|
12680
|
+
}
|
|
12681
|
+
|
|
11216
12682
|
export declare const WALL_SIDES: {
|
|
11217
12683
|
readonly LEFT: 0;
|
|
11218
12684
|
readonly RIGHT: 1;
|
|
@@ -11235,7 +12701,7 @@ export declare interface WallDefinition {
|
|
|
11235
12701
|
};
|
|
11236
12702
|
}
|
|
11237
12703
|
|
|
11238
|
-
export declare type WallDimension = DimensionDefinition<
|
|
12704
|
+
export declare type WallDimension = DimensionDefinition<Vector3_2, Vector3_2> & {
|
|
11239
12705
|
label?: string;
|
|
11240
12706
|
measurementKind?: WallMeasurementKind;
|
|
11241
12707
|
slopingMeasurement?: WallMeasurementVariant;
|
|
@@ -11253,9 +12719,17 @@ export declare interface WallExtensionType {
|
|
|
11253
12719
|
ExtendBoth: EMSConstant;
|
|
11254
12720
|
}
|
|
11255
12721
|
|
|
12722
|
+
export declare interface WallExtensionType_2 {
|
|
12723
|
+
value: Enumify_2<typeof CORE_WALL_EXTENSION_TYPE>;
|
|
12724
|
+
}
|
|
12725
|
+
|
|
11256
12726
|
export declare class WallMaterial extends BaseMaterial {
|
|
11257
12727
|
}
|
|
11258
12728
|
|
|
12729
|
+
export declare interface WallMaterial_2 extends BaseMaterial_2 {
|
|
12730
|
+
new (): WallMaterial_2;
|
|
12731
|
+
}
|
|
12732
|
+
|
|
11259
12733
|
export declare type WallMeasurementKind = 'edge2d' | 'sloping';
|
|
11260
12734
|
|
|
11261
12735
|
export declare interface WallMeasurementVariant {
|
|
@@ -11333,7 +12807,15 @@ export declare interface WallPlanObject extends PlanObject {
|
|
|
11333
12807
|
}
|
|
11334
12808
|
|
|
11335
12809
|
export declare interface WallSide {
|
|
11336
|
-
value:
|
|
12810
|
+
value: Enumify<typeof WALL_SIDES>;
|
|
12811
|
+
}
|
|
12812
|
+
|
|
12813
|
+
export declare interface WallSide_2 {
|
|
12814
|
+
value: Enumify_2<typeof CORE_WALL_SIDE>;
|
|
12815
|
+
}
|
|
12816
|
+
|
|
12817
|
+
export declare interface WallType {
|
|
12818
|
+
value: Enumify_2<typeof CORE_WALL_TYPE>;
|
|
11337
12819
|
}
|
|
11338
12820
|
|
|
11339
12821
|
export declare const WEBGPU_TONE_MAPPINGS: {
|
|
@@ -11626,7 +13108,7 @@ export declare interface WebGpuSSGIConfigDefinition {
|
|
|
11626
13108
|
aoDenoiseRadius?: number;
|
|
11627
13109
|
}
|
|
11628
13110
|
|
|
11629
|
-
export declare type WebGpuToneMapping =
|
|
13111
|
+
export declare type WebGpuToneMapping = Enumify<typeof WEBGPU_TONE_MAPPINGS>;
|
|
11630
13112
|
|
|
11631
13113
|
export declare class WebGpuTopLightConfig implements WebGpuTopLightConfigDefinition {
|
|
11632
13114
|
intensity: number;
|
|
@@ -11654,6 +13136,16 @@ export declare interface WebGpuTopLightConfigDefinition {
|
|
|
11654
13136
|
shadowRadius?: number;
|
|
11655
13137
|
}
|
|
11656
13138
|
|
|
13139
|
+
export declare const enum WORKER_MESSAGE {
|
|
13140
|
+
PREFIX = 0,
|
|
13141
|
+
INIT = 1,
|
|
13142
|
+
ERROR = 2,
|
|
13143
|
+
ASSET_LOADED = 3,
|
|
13144
|
+
INIT_DONE = 4,
|
|
13145
|
+
LOAD_ASSET = 5,
|
|
13146
|
+
SW_CLAIMED_CONTROL = 6
|
|
13147
|
+
}
|
|
13148
|
+
|
|
11657
13149
|
export declare class ZoomChangeEvent {
|
|
11658
13150
|
minZoom: boolean;
|
|
11659
13151
|
maxZoom: boolean;
|
|
@@ -11663,18 +13155,10 @@ export declare class ZoomChangeEvent {
|
|
|
11663
13155
|
export { }
|
|
11664
13156
|
|
|
11665
13157
|
declare global {
|
|
11666
|
-
// @ts-ignore -- just for testing
|
|
11667
|
-
const THREE: typeof __THREE; // eslint-disable-line
|
|
11668
|
-
// @ts-ignore -- just for testing
|
|
11669
|
-
const dat: typeof __dat; // eslint-disable-line
|
|
11670
|
-
// @ts-ignore -- just for testing
|
|
11671
|
-
const WebAssembly: any; // eslint-disable-line
|
|
11672
13158
|
interface Window {
|
|
11673
13159
|
KernelCallback?: { isReady: () => void } | null;
|
|
11674
|
-
__RML_WEBGL_GUI__: GUI; // eslint-disable-line
|
|
11675
13160
|
__RML__DEBUG__?: Debug;
|
|
11676
13161
|
__RML__ENV__?: ExternalEnv;
|
|
11677
|
-
_rsl: { [key: string]: ThreeShader };
|
|
11678
13162
|
THREE?: any;
|
|
11679
13163
|
}
|
|
11680
13164
|
}
|