@roomle/web-sdk 5.1.0-alpha.7 → 5.1.0-alpha.8
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-CNS40jV7.mjs} +2 -2
- package/lib/{api-D1GP5SkG.mjs.map → api-CNS40jV7.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-OTJQGohe.mjs → common-utils-Cn03WfRo.mjs} +1 -1
- package/lib/{common-utils-OTJQGohe.mjs.map → common-utils-Cn03WfRo.mjs.map} +1 -1
- package/lib/{component-raycast-helper-CnpnRaFg.mjs → component-raycast-helper-CTx3r9Si.mjs} +4 -4
- package/lib/{component-raycast-helper-CnpnRaFg.mjs.map → component-raycast-helper-CTx3r9Si.mjs.map} +1 -1
- package/lib/configurator-DsD-u9YC.mjs +2 -0
- package/lib/{configurator-C0_PGKso.mjs → configurator-eoTp9VBB.mjs} +4 -4
- package/lib/{configurator-C0_PGKso.mjs.map → configurator-eoTp9VBB.mjs.map} +1 -1
- package/lib/{continuous-drawing-helper-CTfGRTfH.mjs → continuous-drawing-helper-BPe83b9-.mjs} +2 -2
- package/lib/{continuous-drawing-helper-CTfGRTfH.mjs.map → continuous-drawing-helper-BPe83b9-.mjs.map} +1 -1
- package/lib/{dat.gui.module-CSOnFjd0.mjs → dat.gui.module-B2PXSbre.mjs} +1 -1
- package/lib/{dat.gui.module-CSOnFjd0.mjs.map → dat.gui.module-B2PXSbre.mjs.map} +1 -1
- package/lib/{decorate-Bl-JF_YY.mjs → decorate-CjaqqbUP.mjs} +1 -1
- package/lib/{decorate-Bl-JF_YY.mjs.map → decorate-CjaqqbUP.mjs.map} +1 -1
- package/lib/{dimensioning-helper-DSlkLDmx.mjs → dimensioning-helper-WQTVJpxQ.mjs} +4 -4
- package/lib/{dimensioning-helper-DSlkLDmx.mjs.map → dimensioning-helper-WQTVJpxQ.mjs.map} +1 -1
- package/lib/dimensioning-helper-v3HsrygN.mjs +2 -0
- package/lib/{dist-BZTF7IJN.mjs → dist-Blgk0vU0.mjs} +1 -1
- package/lib/{dist-BZTF7IJN.mjs.map → dist-Blgk0vU0.mjs.map} +1 -1
- package/lib/{fflate.module-Cx1QFI2-.mjs → fflate.module-DTkA0kF8.mjs} +1 -1
- package/lib/{fflate.module-Cx1QFI2-.mjs.map → fflate.module-DTkA0kF8.mjs.map} +1 -1
- package/lib/{glb-viewer-BkdQVlpk.mjs → glb-viewer-BMN5bmtQ.mjs} +6 -6
- package/lib/{glb-viewer-BkdQVlpk.mjs.map → glb-viewer-BMN5bmtQ.mjs.map} +1 -1
- package/lib/glb-viewer-yvDgqhGa.mjs +2 -0
- package/lib/{highlight-coordinator-DU6oFunq.mjs → highlight-coordinator-VvPNsuCv.mjs} +10 -10
- package/lib/{highlight-coordinator-DU6oFunq.mjs.map → highlight-coordinator-VvPNsuCv.mjs.map} +1 -1
- package/lib/{homag-intelligence-DwPlHiPP.mjs → homag-intelligence-BaZMJh4H.mjs} +3 -3
- package/lib/{homag-intelligence-DwPlHiPP.mjs.map → homag-intelligence-BaZMJh4H.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-CSuMX4o4.mjs} +3 -3
- package/lib/{imos-ix-poc-export-helper-BGN97m8W.mjs.map → imos-ix-poc-export-helper-CSuMX4o4.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-0urPSGjB.mjs} +6 -6
- package/lib/{material-viewer-Bgq9-EYG.mjs.map → material-viewer-0urPSGjB.mjs.map} +1 -1
- package/lib/{packages-DAyvqO4U.mjs → packages-HyyuVpoW.mjs} +5 -5
- package/lib/{packages-DAyvqO4U.mjs.map → packages-HyyuVpoW.mjs.map} +1 -1
- package/lib/{planner-DSB66hxa.mjs → planner-BAAunRfK.mjs} +3 -3
- package/lib/{planner-DSB66hxa.mjs.map → planner-BAAunRfK.mjs.map} +1 -1
- package/lib/planner-C05yEzOU.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 +1766 -297
- package/lib/roomle-headless.js +16 -16
- 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-gECTnB0n.mjs} +4196 -3750
- package/lib/roomle-sdk-gECTnB0n.mjs.map +1 -0
- package/lib/roomle-sdk.d.ts +1746 -277
- package/lib/roomle-sdk.js +8 -8
- package/lib/{roomle-webgpu-renderer-BSvxbopA.mjs → roomle-webgpu-renderer-dKboJY9a.mjs} +7 -7
- package/lib/{roomle-webgpu-renderer-BSvxbopA.mjs.map → roomle-webgpu-renderer-dKboJY9a.mjs.map} +1 -1
- package/lib/{scene-renderer--DzrpIl_.mjs → scene-renderer-CoPV8z_q.mjs} +362 -345
- package/lib/scene-renderer-CoPV8z_q.mjs.map +1 -0
- package/lib/{script-loader-BwGk350m.mjs → script-loader-LvvacdJd.mjs} +3 -3
- package/lib/{script-loader-BwGk350m.mjs.map → script-loader-LvvacdJd.mjs.map} +1 -1
- package/lib/{shading-settings-6v-7O_Sz.mjs → shading-settings-dogROhBy.mjs} +2 -2
- package/lib/{shading-settings-6v-7O_Sz.mjs.map → shading-settings-dogROhBy.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-CESAA1or.mjs} +3 -3
- package/lib/{stats-helper-DYjPPDnz.mjs.map → stats-helper-CESAA1or.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-Dpa_VhZx.mjs} +243 -100
- package/lib/threejs-utils-Dpa_VhZx.mjs.map +1 -0
- package/lib/{tools-core-QpvVIiHK.mjs → tools-core-BwoUD8EO.mjs} +3 -3
- package/lib/{tools-core-QpvVIiHK.mjs.map → tools-core-BwoUD8EO.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/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-sdk.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,32 +17,33 @@ 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
|
}
|
|
@@ -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
213
|
value: Enumify<typeof CORE_ASSET_TYPE>;
|
|
185
214
|
}
|
|
186
215
|
|
|
216
|
+
export declare interface AssetType_2 {
|
|
217
|
+
value: Enumify_3<typeof CORE_ASSET_TYPE_2>;
|
|
218
|
+
}
|
|
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";
|
|
@@ -2426,9 +2806,9 @@ export declare const DEFAULT_RENDER_OPTIONS: {
|
|
|
2426
2806
|
useCurrentPerspective: boolean;
|
|
2427
2807
|
};
|
|
2428
2808
|
|
|
2429
|
-
export declare type DefaultEnvironmentSceneType =
|
|
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;
|
|
@@ -2576,7 +2982,7 @@ export declare class DraggableNode extends Object3D {
|
|
|
2576
2982
|
private _outerRingRadius;
|
|
2577
2983
|
constructor(name: string, sphereSize?: number);
|
|
2578
2984
|
private _initNodeMesh;
|
|
2579
|
-
getSize():
|
|
2985
|
+
getSize(): Vector3_2;
|
|
2580
2986
|
hoverOn(): void;
|
|
2581
2987
|
hoverOff(): void;
|
|
2582
2988
|
setSphereColor(color: number): void;
|
|
@@ -2612,11 +3018,19 @@ export declare interface DrawingMode {
|
|
|
2612
3018
|
value: Enumify<typeof CORE_DRAWING_MODE>;
|
|
2613
3019
|
}
|
|
2614
3020
|
|
|
3021
|
+
export declare interface DrawingMode_2 {
|
|
3022
|
+
value: Enumify_2<typeof CORE_DRAWING_MODE_2>;
|
|
3023
|
+
}
|
|
3024
|
+
|
|
2615
3025
|
export declare const enum DrawingType {
|
|
2616
3026
|
CONTINOUS = 0,
|
|
2617
3027
|
CLICK_PER_CLICK = 1
|
|
2618
3028
|
}
|
|
2619
3029
|
|
|
3030
|
+
export declare interface DrawingType_2 {
|
|
3031
|
+
value: Enumify_2<typeof CORE_DRAWING_TYPE>;
|
|
3032
|
+
}
|
|
3033
|
+
|
|
2620
3034
|
/**
|
|
2621
3035
|
* Description of fields:
|
|
2622
3036
|
- type: 'ambient'/'rectarea'/'spot'/'directional'
|
|
@@ -2637,8 +3051,8 @@ export declare interface DynamicLight {
|
|
|
2637
3051
|
name?: string;
|
|
2638
3052
|
intensity?: number;
|
|
2639
3053
|
color?: string;
|
|
2640
|
-
position?:
|
|
2641
|
-
target?:
|
|
3054
|
+
position?: Vector3_2;
|
|
3055
|
+
target?: Vector3_2;
|
|
2642
3056
|
castShadow?: boolean;
|
|
2643
3057
|
angle?: number;
|
|
2644
3058
|
penumbra?: number;
|
|
@@ -2660,6 +3074,10 @@ export declare interface EdgeDeflection {
|
|
|
2660
3074
|
}
|
|
2661
3075
|
|
|
2662
3076
|
export declare interface EdgeType {
|
|
3077
|
+
value: Enumify_2<typeof CORE_EDGE_TYPE_2>;
|
|
3078
|
+
}
|
|
3079
|
+
|
|
3080
|
+
export declare interface EdgeType_2 {
|
|
2663
3081
|
value: Enumify<typeof CORE_EDGE_TYPE>;
|
|
2664
3082
|
}
|
|
2665
3083
|
|
|
@@ -2707,11 +3125,38 @@ export declare class EMSConstant {
|
|
|
2707
3125
|
value: number;
|
|
2708
3126
|
}
|
|
2709
3127
|
|
|
3128
|
+
export declare interface EmscriptenArray<T> {
|
|
3129
|
+
new (): EmscriptenArray<T>;
|
|
3130
|
+
get(index: number): T;
|
|
3131
|
+
push_back(element: T): void;
|
|
3132
|
+
resize(from: number, to: number): void;
|
|
3133
|
+
set(index: number, element: T): T;
|
|
3134
|
+
size(): number;
|
|
3135
|
+
clone(index: number): EmscriptenArray<T>;
|
|
3136
|
+
delete(index: number): void;
|
|
3137
|
+
deleteLater(index: number): void;
|
|
3138
|
+
isAliasOf(index: number): boolean;
|
|
3139
|
+
isDeleted(index: number): boolean;
|
|
3140
|
+
}
|
|
3141
|
+
|
|
2710
3142
|
export declare interface EmscriptenList {
|
|
2711
3143
|
size: () => number;
|
|
2712
3144
|
length: number;
|
|
2713
3145
|
}
|
|
2714
3146
|
|
|
3147
|
+
export declare class EmscriptenList_2<T> {
|
|
3148
|
+
new(): EmscriptenList_2<T>;
|
|
3149
|
+
push_back(element: T): void;
|
|
3150
|
+
size(): number;
|
|
3151
|
+
get(index: number): T;
|
|
3152
|
+
}
|
|
3153
|
+
|
|
3154
|
+
export declare interface EmscriptenSet<T> {
|
|
3155
|
+
new (): EmscriptenSet<T>;
|
|
3156
|
+
insert: (element: T) => void;
|
|
3157
|
+
size: () => number;
|
|
3158
|
+
}
|
|
3159
|
+
|
|
2715
3160
|
export declare type EmscriptenString = any;
|
|
2716
3161
|
|
|
2717
3162
|
export declare class EmsList<T> {
|
|
@@ -2740,9 +3185,15 @@ export declare class EmsSet<T> {
|
|
|
2740
3185
|
size(): number;
|
|
2741
3186
|
}
|
|
2742
3187
|
|
|
3188
|
+
export declare type Enumify<T> = T[keyof T];
|
|
3189
|
+
|
|
3190
|
+
export declare type Enumify_2<T> = T[keyof T];
|
|
3191
|
+
|
|
3192
|
+
export declare type Enumify_3<T> = T[keyof T];
|
|
3193
|
+
|
|
2743
3194
|
export declare abstract class Environment {
|
|
2744
3195
|
protected _scene: Scene | null;
|
|
2745
|
-
protected _bounds:
|
|
3196
|
+
protected _bounds: Vector3_2;
|
|
2746
3197
|
constructor(scene: Scene, oldEnvironment?: Environment);
|
|
2747
3198
|
abstract needsBounds(): boolean;
|
|
2748
3199
|
abstract needsCamera(): boolean;
|
|
@@ -2751,7 +3202,7 @@ export declare abstract class Environment {
|
|
|
2751
3202
|
abstract removeFromScene(): void;
|
|
2752
3203
|
abstract showGUI(sceneParameters: GenericGUIParamFolder): void;
|
|
2753
3204
|
reload(): void;
|
|
2754
|
-
updateBounds(bounds:
|
|
3205
|
+
updateBounds(bounds: Vector3_2, _force?: boolean): void;
|
|
2755
3206
|
cleanUp(): void;
|
|
2756
3207
|
}
|
|
2757
3208
|
|
|
@@ -2879,6 +3330,8 @@ export declare const enum ExportType {
|
|
|
2879
3330
|
HOMAGiX = 2
|
|
2880
3331
|
}
|
|
2881
3332
|
|
|
3333
|
+
export declare const EXTERNAL_ID_PREFIX = "__ext__obj__#";
|
|
3334
|
+
|
|
2882
3335
|
export declare interface ExternalAttributeInformation {
|
|
2883
3336
|
groupId: string;
|
|
2884
3337
|
moduleIds: ExternalModuleInformation[];
|
|
@@ -2886,6 +3339,13 @@ export declare interface ExternalAttributeInformation {
|
|
|
2886
3339
|
value: string;
|
|
2887
3340
|
}
|
|
2888
3341
|
|
|
3342
|
+
export declare interface ExternalAttributeInformation_2 {
|
|
3343
|
+
attributeId: string;
|
|
3344
|
+
groupId: string;
|
|
3345
|
+
moduleIds: ExternalModuleInformationArray;
|
|
3346
|
+
value: string;
|
|
3347
|
+
}
|
|
3348
|
+
|
|
2889
3349
|
export declare type ExternalConfiguration = Partial<RapiConfigurationEnhanced> & Pick<RapiConfigurationEnhanced, keyof Element_2 | 'configurationHash'> & ExternalElement;
|
|
2890
3350
|
|
|
2891
3351
|
export declare interface ExternalDataResponse<T> {
|
|
@@ -2903,6 +3363,12 @@ export declare interface ExternalEmbeddable<T = any> {
|
|
|
2903
3363
|
callbacks: T;
|
|
2904
3364
|
}
|
|
2905
3365
|
|
|
3366
|
+
export declare interface ExternalEnv {
|
|
3367
|
+
assetPath?: string;
|
|
3368
|
+
initData?: InitDataDefinition;
|
|
3369
|
+
locale?: string;
|
|
3370
|
+
}
|
|
3371
|
+
|
|
2906
3372
|
export declare type ExternalGroupData = object | object[] | string | string[];
|
|
2907
3373
|
|
|
2908
3374
|
export declare type ExternalItem = Partial<RapiItem> & Pick<RapiItem, keyof Element_2> & ExternalElement;
|
|
@@ -2918,11 +3384,19 @@ export declare interface ExternalModuleInformation {
|
|
|
2918
3384
|
}
|
|
2919
3385
|
|
|
2920
3386
|
export declare interface ExternalModuleInformation_2 {
|
|
3387
|
+
groupId: string;
|
|
3388
|
+
rootModuleId: string;
|
|
3389
|
+
subModuleId: string;
|
|
3390
|
+
}
|
|
3391
|
+
|
|
3392
|
+
export declare interface ExternalModuleInformation_3 {
|
|
2921
3393
|
groupId: string;
|
|
2922
3394
|
rootModuleId: string;
|
|
2923
3395
|
subModuleId: string | null;
|
|
2924
3396
|
}
|
|
2925
3397
|
|
|
3398
|
+
export declare type ExternalModuleInformationArray = EmscriptenArray<ExternalModuleInformation_2>;
|
|
3399
|
+
|
|
2926
3400
|
export declare type ExternalObject = ExternalItem | ExternalConfiguration;
|
|
2927
3401
|
|
|
2928
3402
|
export declare interface ExternalObjectAPI {
|
|
@@ -3071,9 +3545,14 @@ export declare interface ExternalObjectAPI {
|
|
|
3071
3545
|
*/
|
|
3072
3546
|
getExternalRoomInformation(mode?: PlanRoomGeometryMode): Promise<ExternalRoomInformation>;
|
|
3073
3547
|
/**
|
|
3074
|
-
* "getExternalObjectPlanContext" returns
|
|
3075
|
-
* the master data per library
|
|
3076
|
-
*
|
|
3548
|
+
* "getExternalObjectPlanContext" returns an agent-ready snapshot of the external object state:
|
|
3549
|
+
* the compacted master data per library (root modules and the customer-facing attributes),
|
|
3550
|
+
* the room information of all rooms (contours in 3D, pos: [x, level, -y], with a derived
|
|
3551
|
+
* walls array per room), the articles that can be used (compact catalog with dimensions,
|
|
3552
|
+
* docking vectors and sub-modules), and all groups currently loaded in the plan (as
|
|
3553
|
+
* resubmittable article picks with footprints and free docking vectors).
|
|
3554
|
+
* The result is designed to be passed to an AI agent as it is, without further preparation,
|
|
3555
|
+
* with all geometry in one coordinate system: 3D, right-handed, Y up.
|
|
3077
3556
|
* @param include The sections to include. All sections are returned when omitted or empty.
|
|
3078
3557
|
*/
|
|
3079
3558
|
getExternalObjectPlanContext(include?: HiPlanContextSection[]): Promise<HiPlanContext>;
|
|
@@ -3185,6 +3664,17 @@ export declare interface ExternalObjectGroupLayoutSide {
|
|
|
3185
3664
|
}
|
|
3186
3665
|
|
|
3187
3666
|
export declare interface ExternalObjectLoadConfiguration {
|
|
3667
|
+
applyGlobalChildMode: boolean;
|
|
3668
|
+
applyGroupPosition: boolean;
|
|
3669
|
+
calculationUpdate: boolean;
|
|
3670
|
+
findFreeSpaceInPlan: boolean;
|
|
3671
|
+
isVisible: boolean;
|
|
3672
|
+
lockCallbacks: boolean;
|
|
3673
|
+
respondWithPositionInPlan: boolean;
|
|
3674
|
+
tryToMergeNewGroups: boolean;
|
|
3675
|
+
}
|
|
3676
|
+
|
|
3677
|
+
export declare interface ExternalObjectLoadConfiguration_2 {
|
|
3188
3678
|
applyGlobalChildMode: boolean;
|
|
3189
3679
|
applyGroupPosition: boolean;
|
|
3190
3680
|
findFreeSpaceInPlan: boolean;
|
|
@@ -3308,6 +3798,10 @@ export declare class ExternalReference {
|
|
|
3308
3798
|
clearSelfRef(): void;
|
|
3309
3799
|
}
|
|
3310
3800
|
|
|
3801
|
+
export declare interface ExternalReference_2 {
|
|
3802
|
+
new (): ExternalReference_2;
|
|
3803
|
+
}
|
|
3804
|
+
|
|
3311
3805
|
export declare type ExternalResponseValidator = (type: 'rapi-access', response: Response) => Promise<boolean>;
|
|
3312
3806
|
|
|
3313
3807
|
export declare interface ExternalRoomInformation {
|
|
@@ -3324,7 +3818,22 @@ export declare interface ExternalValidContainerModule {
|
|
|
3324
3818
|
rootId: string;
|
|
3325
3819
|
}
|
|
3326
3820
|
|
|
3327
|
-
export
|
|
3821
|
+
export declare interface ExternalValidContainerModule_2 {
|
|
3822
|
+
containerModuleId: string;
|
|
3823
|
+
parentModuleId: string;
|
|
3824
|
+
rootId: string;
|
|
3825
|
+
}
|
|
3826
|
+
|
|
3827
|
+
export declare type ExtObjId = `${typeof EXTERNAL_ID_PREFIX}${string}`;
|
|
3828
|
+
|
|
3829
|
+
export declare interface ExtrudedRectangle {
|
|
3830
|
+
angle: number;
|
|
3831
|
+
bottomCenter: Vector3;
|
|
3832
|
+
readonly cornerPoints: PointArray_2;
|
|
3833
|
+
readonly eulerRotation: Vector3;
|
|
3834
|
+
readonly referencePoints: RectangleReferencePoints;
|
|
3835
|
+
size: Vector3;
|
|
3836
|
+
}
|
|
3328
3837
|
|
|
3329
3838
|
export declare interface FeatureFlags {
|
|
3330
3839
|
pulsePreview?: boolean;
|
|
@@ -3338,7 +3847,6 @@ export declare interface FeatureFlags {
|
|
|
3338
3847
|
/* Excluded from this release type: drawPreviewMode */
|
|
3339
3848
|
/* Excluded from this release type: forceSaveThumbnails */
|
|
3340
3849
|
/* Excluded from this release type: interiorLights */
|
|
3341
|
-
/* Excluded from this release type: advancedDimensioning */
|
|
3342
3850
|
/* Excluded from this release type: webGpu */
|
|
3343
3851
|
/* Excluded from this release type: advancedHighlighting */
|
|
3344
3852
|
/* Excluded from this release type: fence */
|
|
@@ -3350,9 +3858,8 @@ export declare class FeatureFlagsImplementation implements FeatureFlags {
|
|
|
3350
3858
|
reDock: boolean;
|
|
3351
3859
|
advancedDocking: boolean;
|
|
3352
3860
|
mergeOnInsert: boolean;
|
|
3353
|
-
drawPreviewMode:
|
|
3861
|
+
drawPreviewMode: Enumify<typeof DRAW_PREVIEW_MODES>;
|
|
3354
3862
|
interiorLights: boolean;
|
|
3355
|
-
advancedDimensioning: boolean;
|
|
3356
3863
|
enableSnapping: boolean;
|
|
3357
3864
|
webGpu: boolean;
|
|
3358
3865
|
forceSaveThumbnails: boolean;
|
|
@@ -3389,9 +3896,24 @@ export declare abstract class Floor extends PlanElement {
|
|
|
3389
3896
|
getRandomPointInside(): KernelVector3f;
|
|
3390
3897
|
}
|
|
3391
3898
|
|
|
3392
|
-
export declare interface
|
|
3899
|
+
export declare interface Floor_2 extends PlanElement_2 {
|
|
3900
|
+
new (): Floor_2;
|
|
3901
|
+
getCorners(): PointArray_2;
|
|
3902
|
+
getTriangulationIndices(): SizeTArray_2;
|
|
3903
|
+
getNumberOfTriangles(): number;
|
|
3904
|
+
getRandomPointInside(): Vector3;
|
|
3905
|
+
getLabelPosition(): Vector3;
|
|
3906
|
+
getWallsOfRoom(): RoomWall[];
|
|
3907
|
+
getLabelObject(): string;
|
|
3908
|
+
readonly area: number;
|
|
3909
|
+
readonly material: FloorMaterial_2;
|
|
3910
|
+
readonly parapetHeight: number;
|
|
3911
|
+
readonly floorType: FloorType;
|
|
3912
|
+
}
|
|
3913
|
+
|
|
3914
|
+
export declare interface FloorAreaData<Vector2Type = Vector3_2, Vector3Type = Vector3_2> {
|
|
3393
3915
|
area: number;
|
|
3394
|
-
formattedArea:
|
|
3916
|
+
formattedArea: Nullable<string>;
|
|
3395
3917
|
textPosition3d: Vector3Type;
|
|
3396
3918
|
textPosition2d: Vector2Type;
|
|
3397
3919
|
isTextVisible: boolean;
|
|
@@ -3411,6 +3933,12 @@ export declare class FloorMaterial extends BaseMaterial {
|
|
|
3411
3933
|
rotation(): KernelVector3f;
|
|
3412
3934
|
}
|
|
3413
3935
|
|
|
3936
|
+
export declare interface FloorMaterial_2 extends BaseMaterial_2 {
|
|
3937
|
+
new (): FloorMaterial_2;
|
|
3938
|
+
readonly uvScale: Vector3;
|
|
3939
|
+
readonly rotation: number;
|
|
3940
|
+
}
|
|
3941
|
+
|
|
3414
3942
|
export declare interface FloorPlanEdge {
|
|
3415
3943
|
id: number;
|
|
3416
3944
|
start: KernelVector3f;
|
|
@@ -3431,7 +3959,11 @@ export declare class FloorPlanElementViewModel extends PlanElementViewModel {
|
|
|
3431
3959
|
}
|
|
3432
3960
|
|
|
3433
3961
|
export declare interface FloorType {
|
|
3434
|
-
value:
|
|
3962
|
+
value: Enumify_2<typeof CORE_FLOOR_TYPE>;
|
|
3963
|
+
}
|
|
3964
|
+
|
|
3965
|
+
export declare interface FloorType_2 {
|
|
3966
|
+
value: Enumify<typeof CORE_FLOOR_TYPE_2>;
|
|
3435
3967
|
}
|
|
3436
3968
|
|
|
3437
3969
|
/**
|
|
@@ -3503,13 +4035,13 @@ export declare class GLBViewerSceneManager extends SceneManager implements GLBRe
|
|
|
3503
4035
|
private _standardSceneBackgroundColor;
|
|
3504
4036
|
private _itemsCount;
|
|
3505
4037
|
constructor(creator: string, offset: CanvasOffset);
|
|
3506
|
-
protected createCameraControl(_mode:
|
|
4038
|
+
protected createCameraControl(_mode: Enumify<typeof CAMERA_TYPE>, _offset: CanvasOffset): void;
|
|
3507
4039
|
protected _getInputManager(): InputManager;
|
|
3508
4040
|
loadStaticItem(id: string, callback?: (percent: number) => void): Promise<void>;
|
|
3509
|
-
loadGLB(url: string, automaticallyAdjustCamera?: boolean, scaling?:
|
|
4041
|
+
loadGLB(url: string, automaticallyAdjustCamera?: boolean, scaling?: Vector3_2, callback?: (percent: number) => void): Promise<void>;
|
|
3510
4042
|
preparePerspectiveImage(options?: PrepareImageOptions, providedRenderer?: WebGLRenderer): Promise<Base64Image>;
|
|
3511
4043
|
private _prepareWebGpuPerspectiveImage;
|
|
3512
|
-
adjustCamera(position:
|
|
4044
|
+
adjustCamera(position: Vector3_2, yaw: number, pitch: number, fov: number): void;
|
|
3513
4045
|
onStart(count: number): void;
|
|
3514
4046
|
onElementFinished(itemsFinished: number): void;
|
|
3515
4047
|
onFinished(_zip: any): void;
|
|
@@ -3555,7 +4087,7 @@ export declare interface GlobalAPI {
|
|
|
3555
4087
|
getUnitFormatter(): UnitFormatter;
|
|
3556
4088
|
getStorage(): IdbManager;
|
|
3557
4089
|
setEnvironmentMap(params: EnvMapParams): void;
|
|
3558
|
-
|
|
4090
|
+
/* Excluded from this release type: globalCallbacks */
|
|
3559
4091
|
}
|
|
3560
4092
|
|
|
3561
4093
|
export declare class GlobalCallback extends UiCallback {
|
|
@@ -3582,7 +4114,7 @@ export declare class GlobalCallback extends UiCallback {
|
|
|
3582
4114
|
* @param _json the JSON response
|
|
3583
4115
|
* @returns void
|
|
3584
4116
|
*/
|
|
3585
|
-
onApiJsonReceived: (_url: string, _rapiPath: RAPI_PATHS, _json: any) => Promise<
|
|
4117
|
+
onApiJsonReceived: (_url: string, _rapiPath: RAPI_PATHS, _json: any) => Promise<Nullable<RapiJsonBox> | undefined>;
|
|
3586
4118
|
/**
|
|
3587
4119
|
* is called the scene is ready for rendering it as an image
|
|
3588
4120
|
*/
|
|
@@ -3657,7 +4189,7 @@ export declare interface GlueLogic {
|
|
|
3657
4189
|
duplicateGroup(duplicatedGroup: ExternalObjectGroup): Promise<void>;
|
|
3658
4190
|
adjustGroup(groupId: string): Promise<void>;
|
|
3659
4191
|
swapRootModule(groupId: string, rootModuleId: string, articleId: string): Promise<void>;
|
|
3660
|
-
modifyAttribute(groupId: string, moduleIdObjects:
|
|
4192
|
+
modifyAttribute(groupId: string, moduleIdObjects: ExternalModuleInformation_3[], attributeName: string, value: string): Promise<void>;
|
|
3661
4193
|
updateAttribute(rootModuleId: string, moduleId: string | null, attributeId: string, attributeValue: string | boolean): Promise<void>;
|
|
3662
4194
|
getVerifiedAttributeOptions(moduleId: string, attributeIds?: string | string[]): Promise<Record<string, CheckDropDownResult> | undefined>;
|
|
3663
4195
|
getVerifiedGroupAttributeOptions(groupId: string, attributeIds?: string | string[]): Promise<Record<string, CheckDropDownResult> | undefined>;
|
|
@@ -3693,22 +4225,22 @@ export declare interface HandWrittenPlanInteractionHandler {
|
|
|
3693
4225
|
delete(): void;
|
|
3694
4226
|
init(reference: HandWrittenPlanInteractionHandler, zoomFactor: number, viewSnapDist: number, wallSnapMode: any, objectSnapMode: any, shouldSnap: boolean, drawingType: any): void;
|
|
3695
4227
|
getConfiguratorKernel(): ConfiguratorKernelClass;
|
|
3696
|
-
loadPlanXML(xml: string):
|
|
3697
|
-
createPlanWithObjectFromItem(object: KernelObject, position: KernelVector3, rotationInRad: number):
|
|
3698
|
-
getPlan():
|
|
4228
|
+
loadPlanXML(xml: string): Plan_3;
|
|
4229
|
+
createPlanWithObjectFromItem(object: KernelObject, position: KernelVector3, rotationInRad: number): Plan_3;
|
|
4230
|
+
getPlan(): Plan_3;
|
|
3699
4231
|
moveElementTo(planObject: KernelObject, targetPosition: KernelVector3, dragging: boolean, cameraPosition?: KernelVector3): void;
|
|
3700
4232
|
moveElementToIn2d(planObject: KernelObject, targetPosition: KernelVector3, dragging: boolean): void;
|
|
3701
4233
|
moveElementBy(planObject: KernelObject, distance: KernelVector3, dragging: boolean): void;
|
|
3702
4234
|
duplicatePlanObject(object: PlanObject, count: number, findFreeSpaceInPlan: boolean): PlanObject[];
|
|
3703
4235
|
duplicatePlanObjects(objects: PlanObjectList, count: number, findFreeSpaceInPlan: boolean): PlanObject[];
|
|
3704
|
-
setElementVisibility(element:
|
|
4236
|
+
setElementVisibility(element: PlanElement_3, isVisible: boolean): void;
|
|
3705
4237
|
moveObjectsBy(planObjects: KernelObjectPtrList, distance: KernelVector3): void;
|
|
3706
4238
|
rotateObjectTo(planObject: KernelObject, angleInRad: number): void;
|
|
3707
4239
|
setObjectRotation(planObject: KernelObject, angleInRad: number): void;
|
|
3708
4240
|
addPlanObjects(list: KernelObjectPtrList, findFreeSpaceInPlan: boolean): PlanObject[];
|
|
3709
4241
|
addPlanObjectFromItem(object: KernelObject, position: KernelVector3, type: number, findFreeSpaceInPlan: boolean): PlanObject;
|
|
3710
|
-
addOrUpdateExternalPlanObjects(serializedConfiguration: string | string[], position: KernelVector3, rotationInRad: number, updateConfiguration:
|
|
3711
|
-
createPreviewGeometryForAddOn(objectId: string, objectConfiguration: string, articleId: string, groupDefinitions: string, validContainerModules:
|
|
4242
|
+
addOrUpdateExternalPlanObjects(serializedConfiguration: string | string[], position: KernelVector3, rotationInRad: number, updateConfiguration: ExternalObjectLoadConfiguration_2, mergedGroupIds: string | string[]): PlanObject[];
|
|
4243
|
+
createPreviewGeometryForAddOn(objectId: string, objectConfiguration: string, articleId: string, groupDefinitions: string, validContainerModules: ExternalValidContainerModule_2[]): void;
|
|
3712
4244
|
catalogItemLoaded(catalogItem: KernelCatalogItem): void;
|
|
3713
4245
|
removeElement(planObject: KernelObject): void;
|
|
3714
4246
|
removeObjectWithId(objectId: string): void;
|
|
@@ -3777,14 +4309,14 @@ export declare interface HandWrittenPlanInteractionHandler {
|
|
|
3777
4309
|
setDefaultInteriorWallMaterial(wallMaterial: KernelWallMaterial): void;
|
|
3778
4310
|
getDefaultFloorMaterial(): KernelFloorMaterial;
|
|
3779
4311
|
setDefaultFloorMaterial(floorMaterial: KernelFloorMaterial): void;
|
|
3780
|
-
setElementCustomDataJson(element:
|
|
4312
|
+
setElementCustomDataJson(element: PlanElement_3, customDataJson: string): void;
|
|
3781
4313
|
setWallLeftMaterial(wall: KernelWall, material: KernelWallMaterial): void;
|
|
3782
4314
|
setWallRightMaterial(wall: KernelWall, material: KernelWallMaterial): void;
|
|
3783
4315
|
setFloorMaterial(floor: KernelFloor, material: KernelFloorMaterial): void;
|
|
3784
4316
|
setFloorLabelObject(floor: KernelFloor, serializedLabelObject: string): void;
|
|
3785
|
-
setFloorType(floor: KernelFloor, floorType:
|
|
3786
|
-
setEdgeType(wall: KernelWall, edgeType:
|
|
3787
|
-
getContinuousDrawingManager():
|
|
4317
|
+
setFloorType(floor: KernelFloor, floorType: FloorType_2): void;
|
|
4318
|
+
setEdgeType(wall: KernelWall, edgeType: EdgeType_2): void;
|
|
4319
|
+
getContinuousDrawingManager(): ContinuousDrawingManager_2;
|
|
3788
4320
|
setSnapFeedbackWhileDrawing(enabled: boolean): void;
|
|
3789
4321
|
consistsOfMergedComponents(object: KernelObject): boolean;
|
|
3790
4322
|
setObjectSize(anObject: KernelObject, aNewSize: KernelVector3, anAnchor: Anchor): void;
|
|
@@ -3793,9 +4325,9 @@ export declare interface HandWrittenPlanInteractionHandler {
|
|
|
3793
4325
|
setObjectCustomColor(object: PlanObject, rgbColor: number, useCustomColor: boolean): void;
|
|
3794
4326
|
setObjectCustomLabel(object: PlanObject, label: string): void;
|
|
3795
4327
|
setObjectFixedZ(anObject: KernelObject, shouldFlipZ: boolean): void;
|
|
3796
|
-
setMeasurePoint1(measure:
|
|
3797
|
-
setMeasurePoint2(measure:
|
|
3798
|
-
addMeasure(startPosition: KernelVector3f, endPosition: KernelVector3f):
|
|
4328
|
+
setMeasurePoint1(measure: PlanMeasure_3, point: KernelVector3f, snapToWalls: boolean, snapToObjects: boolean): void;
|
|
4329
|
+
setMeasurePoint2(measure: PlanMeasure_3, point: KernelVector3f, snapToWalls: boolean, snapToObjects: boolean): void;
|
|
4330
|
+
addMeasure(startPosition: KernelVector3f, endPosition: KernelVector3f): PlanMeasure_3;
|
|
3799
4331
|
setDiscardExternalObjectsOnLoad(discard: boolean): void;
|
|
3800
4332
|
isChildObjectModePossible(object: KernelObject): boolean;
|
|
3801
4333
|
isEnabledChildObjectMode(object: KernelObject): boolean;
|
|
@@ -3810,8 +4342,8 @@ export declare interface HandWrittenPlanInteractionHandler {
|
|
|
3810
4342
|
customRaster: number;
|
|
3811
4343
|
enableSnap: boolean;
|
|
3812
4344
|
enableDrawingSnap: boolean;
|
|
3813
|
-
objectToWallSnapMode:
|
|
3814
|
-
objectToObjectSnapMode:
|
|
4345
|
+
objectToWallSnapMode: SnapMode_2;
|
|
4346
|
+
objectToObjectSnapMode: SnapMode_2;
|
|
3815
4347
|
dockWhenSnap: boolean;
|
|
3816
4348
|
unDockOnMove: boolean;
|
|
3817
4349
|
enableTerrain: boolean;
|
|
@@ -3866,6 +4398,12 @@ export declare const HI_LOAD_OBJECT_REASON: {
|
|
|
3866
4398
|
readonly UNDO_REDO: "undo_redo";
|
|
3867
4399
|
};
|
|
3868
4400
|
|
|
4401
|
+
export declare const HI_PANEL_ACTION: {
|
|
4402
|
+
readonly HIDE: "hide";
|
|
4403
|
+
readonly SHOW_ATTRIBUTES: "attributes";
|
|
4404
|
+
readonly SHOW_ARTICLES: "articles";
|
|
4405
|
+
};
|
|
4406
|
+
|
|
3869
4407
|
export declare interface HiApiOptions extends HomagIntelligenceSubscription {
|
|
3870
4408
|
om?: HomagIntelligenceSubscription;
|
|
3871
4409
|
baseUrl?: string;
|
|
@@ -3876,6 +4414,91 @@ export declare interface HiApiOptions extends HomagIntelligenceSubscription {
|
|
|
3876
4414
|
|
|
3877
4415
|
export declare type HiAttributeOptionsResult = CheckDropDownResult | CheckDropDownEntry[] | undefined;
|
|
3878
4416
|
|
|
4417
|
+
export declare interface HiCallbacks {
|
|
4418
|
+
/**
|
|
4419
|
+
* Requests the calculation script for the given library ID.
|
|
4420
|
+
* @param libraryId the ID of the library for which the calculation script is requested
|
|
4421
|
+
* @returns the calculation script as a string
|
|
4422
|
+
*/
|
|
4423
|
+
onLoadJavascript: (libraryId: string) => Promise<string>;
|
|
4424
|
+
/**
|
|
4425
|
+
* Requests the master data for the given library ID.
|
|
4426
|
+
* @param libraryId the ID of the library for which the master data is requested
|
|
4427
|
+
* @returns the master data as a Promise
|
|
4428
|
+
*/
|
|
4429
|
+
onLoadMasterData: (libraryId: string) => Promise<MasterData>;
|
|
4430
|
+
/**
|
|
4431
|
+
* Requests the article catalog for the given library ID.
|
|
4432
|
+
* @param libraryId the ID of the library for which the article catalog is requested
|
|
4433
|
+
* @returns the article catalog as a Promise
|
|
4434
|
+
*/
|
|
4435
|
+
onLoadArticleCatalog: (libraryId: string) => Promise<any>;
|
|
4436
|
+
/**
|
|
4437
|
+
* Notifies the host application that a price calculation should be performed.
|
|
4438
|
+
* @param posGroups all groups in the plan
|
|
4439
|
+
*/
|
|
4440
|
+
onPriceCalc?: (posGroups: PosGroup[]) => Promise<void>;
|
|
4441
|
+
/**
|
|
4442
|
+
* Retrieves the current external load data which has to be used to replace the existing groups in the plan.
|
|
4443
|
+
* @returns load data or null if no replacement is needed
|
|
4444
|
+
*/
|
|
4445
|
+
onGetSavedPosGroupData?: () => Promise<PosSaveData | null>;
|
|
4446
|
+
/**
|
|
4447
|
+
* "onCompletelyLoaded" is invoked when the groups in the plan are completely loaded.
|
|
4448
|
+
*/
|
|
4449
|
+
onPosGroupsCompletelyLoaded?: () => void;
|
|
4450
|
+
/**
|
|
4451
|
+
* "onPosGroupAdded" is invoked when a new group was created. (e.g. duplicate object)
|
|
4452
|
+
* @param groupData The new group data JSON.
|
|
4453
|
+
*/
|
|
4454
|
+
onPosGroupAdded?: (posGroups: PosGroup[]) => Promise<void>;
|
|
4455
|
+
/**
|
|
4456
|
+
* "onPosGroupChanged" is invoked when a new group was modified and recalculated. (e.g. split, merge, change, attribute)
|
|
4457
|
+
*
|
|
4458
|
+
* @param groupData The new group data JSON.
|
|
4459
|
+
*/
|
|
4460
|
+
onPosGroupChanged?: (posGroups: PosGroup[]) => Promise<void>;
|
|
4461
|
+
/**
|
|
4462
|
+
* "onPosGroupDeleted" is invoked when a group was delete. (e.g. delete button in scene)
|
|
4463
|
+
* @param groupData The ID of the group which was deleted.
|
|
4464
|
+
*/
|
|
4465
|
+
onPosGroupDeleted?: (posGroupIds: string[]) => Promise<void>;
|
|
4466
|
+
/**
|
|
4467
|
+
* "onShowHidePanel" is invoked when a the content of the side panel should be changed or hidden.
|
|
4468
|
+
* @param panel The panel to show or hide.
|
|
4469
|
+
* @param posGroupId Optional ID of the selected group in case of SHOW_ATTRIBUTES.
|
|
4470
|
+
* @param rootModuleId Optional ID of the selected root module in case of SHOW_ATTRIBUTES.
|
|
4471
|
+
* @param subModuleId Optional ID of the selected sub module in case of SHOW_ATTRIBUTES.
|
|
4472
|
+
*/
|
|
4473
|
+
onShowHidePanel?: (panel: HiPanelActionType, posGroupId?: string | null, rootModuleId?: string | null, subModuleId?: string | null) => void;
|
|
4474
|
+
/**
|
|
4475
|
+
* "onSelectModule" is invoked when a the selected object in the scene was changed.
|
|
4476
|
+
* @param posGroupId ID of the selected group
|
|
4477
|
+
* @param rootModuleId ID of the selected root module
|
|
4478
|
+
* @param subModuleId Optional id of the selected sub module
|
|
4479
|
+
*/
|
|
4480
|
+
onSelectModule?: (posGroupId: string | null, rootModuleId: string | null, subModuleId?: string | null) => void;
|
|
4481
|
+
/**
|
|
4482
|
+
* Request the price for the given order data.
|
|
4483
|
+
* @param orderData order data
|
|
4484
|
+
* @returns price data
|
|
4485
|
+
*/
|
|
4486
|
+
onFetchPrice?: (orderData: HiOrder) => Promise<HiPriceData | null>;
|
|
4487
|
+
/**
|
|
4488
|
+
* "onPlaceOrder" is invoked when the user wants to place an order.
|
|
4489
|
+
* You can use this to send the order data to Order Manager or to a 3rd party service.
|
|
4490
|
+
* @param orderData
|
|
4491
|
+
*/
|
|
4492
|
+
onPlaceOrder?: (orderData: any) => Promise<void>;
|
|
4493
|
+
/**
|
|
4494
|
+
* "onLogMessage" is invoked when the Homag Intelligence library wants to log a message.
|
|
4495
|
+
* You can use this to log messages in your own UI.
|
|
4496
|
+
* @param area
|
|
4497
|
+
* @param message
|
|
4498
|
+
*/
|
|
4499
|
+
onLogMessage?: (area: string, message: string) => void;
|
|
4500
|
+
}
|
|
4501
|
+
|
|
3879
4502
|
export declare type HiContextAction = (typeof HI_CONTEXT_ACTION)[keyof typeof HI_CONTEXT_ACTION];
|
|
3880
4503
|
|
|
3881
4504
|
/**
|
|
@@ -3910,15 +4533,224 @@ export declare interface HiObjectSelectionApi {
|
|
|
3910
4533
|
selectionChanged(selectionMode: SELECTION_MODE, objectType: CallbackObjectType, payload: SelectionPayload, _payloadPromise: Promise<SelectionPayload>, _planElementViewModel: PlanElementViewModel): void;
|
|
3911
4534
|
}
|
|
3912
4535
|
|
|
4536
|
+
export declare interface HiOrder extends HiOrderHeader {
|
|
4537
|
+
items: HiOrderData[];
|
|
4538
|
+
}
|
|
4539
|
+
|
|
4540
|
+
export declare interface HiOrderData {
|
|
4541
|
+
[key: string]: any;
|
|
4542
|
+
additionalData: Array<Record<string, any>>;
|
|
4543
|
+
}
|
|
4544
|
+
|
|
4545
|
+
export declare interface HiOrderHeader {
|
|
4546
|
+
id: string;
|
|
4547
|
+
state: string;
|
|
4548
|
+
orderNumber: string;
|
|
4549
|
+
orderName: string;
|
|
4550
|
+
orderDescription: string;
|
|
4551
|
+
project: string;
|
|
4552
|
+
personInCharge: string;
|
|
4553
|
+
orderDate: string;
|
|
4554
|
+
deliveryDatePlanned: string;
|
|
4555
|
+
addresses: Array<{
|
|
4556
|
+
type: string;
|
|
4557
|
+
street: string;
|
|
4558
|
+
houseNumber: string;
|
|
4559
|
+
postalCode: string;
|
|
4560
|
+
city: string;
|
|
4561
|
+
country: string;
|
|
4562
|
+
}>;
|
|
4563
|
+
customerName: string;
|
|
4564
|
+
customerNumber: string;
|
|
4565
|
+
createdAt: string;
|
|
4566
|
+
changedAt: string;
|
|
4567
|
+
changedBy: string;
|
|
4568
|
+
}
|
|
4569
|
+
|
|
4570
|
+
export declare type HiPanelActionType = (typeof HI_PANEL_ACTION)[keyof typeof HI_PANEL_ACTION];
|
|
4571
|
+
|
|
4572
|
+
export declare interface HiPlanArticle {
|
|
4573
|
+
articleId: string;
|
|
4574
|
+
articleName?: string;
|
|
4575
|
+
desc?: string;
|
|
4576
|
+
imageUrl?: string;
|
|
4577
|
+
category?: string;
|
|
4578
|
+
libraryId: string;
|
|
4579
|
+
catalog: string;
|
|
4580
|
+
cornerArticle: boolean;
|
|
4581
|
+
cornerPoint?: HiPlanPosition3;
|
|
4582
|
+
rootModules: HiPlanArticleRootModule[];
|
|
4583
|
+
}
|
|
4584
|
+
|
|
4585
|
+
export declare interface HiPlanArticleAttributeValue {
|
|
4586
|
+
id: string;
|
|
4587
|
+
name?: string;
|
|
4588
|
+
value?: number | string | boolean;
|
|
4589
|
+
}
|
|
4590
|
+
|
|
4591
|
+
export declare interface HiPlanArticleRootModule {
|
|
4592
|
+
module: {
|
|
4593
|
+
id: string;
|
|
4594
|
+
name?: string;
|
|
4595
|
+
desc?: string;
|
|
4596
|
+
imageUrl?: string;
|
|
4597
|
+
};
|
|
4598
|
+
dimensions: HiPlanArticleAttributeValue[];
|
|
4599
|
+
mainAttributes: HiPlanArticleAttributeValue[];
|
|
4600
|
+
dockingVectors: string[];
|
|
4601
|
+
insertLevels?: PosInsertLevelInfo[];
|
|
4602
|
+
subModules: Array<{
|
|
4603
|
+
id: string;
|
|
4604
|
+
name?: string;
|
|
4605
|
+
desc?: string;
|
|
4606
|
+
imageUrl?: string;
|
|
4607
|
+
}>;
|
|
4608
|
+
}
|
|
4609
|
+
|
|
4610
|
+
export declare interface HiPlanAttribute {
|
|
4611
|
+
id: string;
|
|
4612
|
+
name: string;
|
|
4613
|
+
desc?: string;
|
|
4614
|
+
imageUrl?: string;
|
|
4615
|
+
type: MDType;
|
|
4616
|
+
group?: string;
|
|
4617
|
+
selections?: MDAttributeSelection[];
|
|
4618
|
+
}
|
|
4619
|
+
|
|
3913
4620
|
export declare interface HiPlanContext {
|
|
3914
|
-
masterData?: Record<string,
|
|
3915
|
-
rooms?:
|
|
3916
|
-
articles?:
|
|
3917
|
-
groups?:
|
|
4621
|
+
masterData?: Record<string, HiPlanMasterData>;
|
|
4622
|
+
rooms?: HiPlanRoomInformation;
|
|
4623
|
+
articles?: HiPlanArticle[];
|
|
4624
|
+
groups?: HiPlanGroup[];
|
|
4625
|
+
}
|
|
4626
|
+
|
|
4627
|
+
export declare interface HiPlanContextData {
|
|
4628
|
+
dockedRoots: Array<{
|
|
4629
|
+
ownDockingVector: PosDock | string;
|
|
4630
|
+
dockedRoots: HiPlanDockedRoot[];
|
|
4631
|
+
}>;
|
|
3918
4632
|
}
|
|
3919
4633
|
|
|
3920
4634
|
export declare type HiPlanContextSection = 'masterData' | 'rooms' | 'articles' | 'groups';
|
|
3921
4635
|
|
|
4636
|
+
export declare interface HiPlanContour {
|
|
4637
|
+
level: number;
|
|
4638
|
+
segments: HiPlanContourSegment[];
|
|
4639
|
+
}
|
|
4640
|
+
|
|
4641
|
+
export declare interface HiPlanContourSegment {
|
|
4642
|
+
cmd: string;
|
|
4643
|
+
pos: HiPlanPosition3;
|
|
4644
|
+
angle?: number;
|
|
4645
|
+
type?: string;
|
|
4646
|
+
height?: number;
|
|
4647
|
+
thickness?: number;
|
|
4648
|
+
}
|
|
4649
|
+
|
|
4650
|
+
export declare interface HiPlanDockedRoot {
|
|
4651
|
+
id: string;
|
|
4652
|
+
dockingVector: PosDock | string;
|
|
4653
|
+
mode?: PosDockMode | string;
|
|
4654
|
+
offset?: number[];
|
|
4655
|
+
}
|
|
4656
|
+
|
|
4657
|
+
export declare interface HiPlanFootprint {
|
|
4658
|
+
x: [number, number];
|
|
4659
|
+
z: [number, number];
|
|
4660
|
+
widthMm: number;
|
|
4661
|
+
depthMm: number;
|
|
4662
|
+
}
|
|
4663
|
+
|
|
4664
|
+
export declare interface HiPlanGroup {
|
|
4665
|
+
id: string;
|
|
4666
|
+
libraryId?: string;
|
|
4667
|
+
position: HiPlanGroupPosition;
|
|
4668
|
+
attributes?: PosModuleAttribute[];
|
|
4669
|
+
roots: HiPlanRoot[];
|
|
4670
|
+
logMessages: PosErrorMsg[];
|
|
4671
|
+
}
|
|
4672
|
+
|
|
4673
|
+
export declare interface HiPlanGroupPosition {
|
|
4674
|
+
pos?: number[];
|
|
4675
|
+
rotationY?: number;
|
|
4676
|
+
footprint?: HiPlanFootprint;
|
|
4677
|
+
}
|
|
4678
|
+
|
|
4679
|
+
export declare interface HiPlanMasterData {
|
|
4680
|
+
libraryId: string;
|
|
4681
|
+
modules: HiPlanMasterDataModule[];
|
|
4682
|
+
attributes: HiPlanAttribute[];
|
|
4683
|
+
}
|
|
4684
|
+
|
|
4685
|
+
export declare interface HiPlanMasterDataModule {
|
|
4686
|
+
id: string;
|
|
4687
|
+
name: string;
|
|
4688
|
+
desc?: string;
|
|
4689
|
+
imageUrl?: string;
|
|
4690
|
+
attributes: string[];
|
|
4691
|
+
}
|
|
4692
|
+
|
|
4693
|
+
/**
|
|
4694
|
+
* The plan context is the data an AI agent needs to understand and author a
|
|
4695
|
+
* planning session. `getPlanContext` (glue logic) assembles it and every
|
|
4696
|
+
* section leaves this file in the agent-ready shape: compacted, and in one
|
|
4697
|
+
* coordinate system - 3D, right-handed, Y up, the coordinate system of
|
|
4698
|
+
* `PosGroup`.
|
|
4699
|
+
*/
|
|
4700
|
+
export declare type HiPlanPosition3 = [number, number, number];
|
|
4701
|
+
|
|
4702
|
+
export declare interface HiPlanRoom {
|
|
4703
|
+
levels: HiPlanContour[];
|
|
4704
|
+
walls: HiPlanWall[];
|
|
4705
|
+
}
|
|
4706
|
+
|
|
4707
|
+
export declare interface HiPlanRoomInformation {
|
|
4708
|
+
rooms: HiPlanRoom[];
|
|
4709
|
+
}
|
|
4710
|
+
|
|
4711
|
+
export declare interface HiPlanRoot {
|
|
4712
|
+
id: string;
|
|
4713
|
+
articleId: string;
|
|
4714
|
+
articleName?: string;
|
|
4715
|
+
desc?: string;
|
|
4716
|
+
imageUrl?: string;
|
|
4717
|
+
category?: string;
|
|
4718
|
+
isGenerated?: boolean;
|
|
4719
|
+
attributes: HiPlanRootAttribute[];
|
|
4720
|
+
contextData?: HiPlanContextData;
|
|
4721
|
+
dockingVectors: string[];
|
|
4722
|
+
freeDockingVectors: string[];
|
|
4723
|
+
subModules: Array<{
|
|
4724
|
+
id: string;
|
|
4725
|
+
imageUrl?: string;
|
|
4726
|
+
}>;
|
|
4727
|
+
logMessages?: PosErrorMsg[];
|
|
4728
|
+
}
|
|
4729
|
+
|
|
4730
|
+
export declare interface HiPlanRootAttribute {
|
|
4731
|
+
id: string;
|
|
4732
|
+
value?: number | string | boolean;
|
|
4733
|
+
}
|
|
4734
|
+
|
|
4735
|
+
export declare interface HiPlanWall {
|
|
4736
|
+
index: number;
|
|
4737
|
+
side: HiPlanWallSide;
|
|
4738
|
+
start: HiPlanPosition3;
|
|
4739
|
+
end: HiPlanPosition3;
|
|
4740
|
+
lengthMm: number;
|
|
4741
|
+
type?: string;
|
|
4742
|
+
heightMm?: number;
|
|
4743
|
+
thicknessMm?: number;
|
|
4744
|
+
facingRotationY: number;
|
|
4745
|
+
}
|
|
4746
|
+
|
|
4747
|
+
export declare type HiPlanWallSide = 'left' | 'right' | 'top' | 'bottom';
|
|
4748
|
+
|
|
4749
|
+
export declare interface HiPriceData {
|
|
4750
|
+
[key: string]: any;
|
|
4751
|
+
orderData: HiOrder;
|
|
4752
|
+
}
|
|
4753
|
+
|
|
3922
4754
|
export declare class HiTagCatalogCallbacks implements Context {
|
|
3923
4755
|
_creator_: string;
|
|
3924
4756
|
private _glueLogic;
|
|
@@ -4091,7 +4923,7 @@ export declare class InitData implements Context, Omit<InitDataDefinition, 'colo
|
|
|
4091
4923
|
precisionCm?: number;
|
|
4092
4924
|
unit?: string;
|
|
4093
4925
|
unitStringType?: string;
|
|
4094
|
-
measurementSystem?:
|
|
4926
|
+
measurementSystem?: Enumify<typeof MEASUREMENT_SYSTEM_STRING>;
|
|
4095
4927
|
meshSelection: boolean;
|
|
4096
4928
|
stats: boolean;
|
|
4097
4929
|
debug: boolean;
|
|
@@ -4113,7 +4945,10 @@ export declare class InitData implements Context, Omit<InitDataDefinition, 'colo
|
|
|
4113
4945
|
restrictionLevel: number;
|
|
4114
4946
|
hi?: HomagIntelligenceInitData;
|
|
4115
4947
|
disableDefaultLabelStyles: boolean;
|
|
4116
|
-
|
|
4948
|
+
translations?: Record<string, {
|
|
4949
|
+
'room-types'?: Record<string, string>;
|
|
4950
|
+
}>;
|
|
4951
|
+
highlighting: Enumify<typeof ROOMLE_HIGHLIGHTNG>;
|
|
4117
4952
|
initialFloorMaterial?: string;
|
|
4118
4953
|
dls?: string;
|
|
4119
4954
|
ls?: string;
|
|
@@ -4141,7 +4976,7 @@ export declare class InitData implements Context, Omit<InitDataDefinition, 'colo
|
|
|
4141
4976
|
webGpuConfig: WebGpuConfig;
|
|
4142
4977
|
meshRaycasting: boolean;
|
|
4143
4978
|
defaultFloorMaterial?: number | string;
|
|
4144
|
-
mode:
|
|
4979
|
+
mode: Enumify<typeof CAMERA_TYPE>;
|
|
4145
4980
|
edit: boolean;
|
|
4146
4981
|
moc: boolean;
|
|
4147
4982
|
lockPlan: boolean;
|
|
@@ -4305,7 +5140,9 @@ export declare interface InsertItemResult {
|
|
|
4305
5140
|
export declare class IntArray extends EmsArray<number> {
|
|
4306
5141
|
}
|
|
4307
5142
|
|
|
4308
|
-
export declare
|
|
5143
|
+
export declare type IntArray_2 = EmscriptenArray<number>;
|
|
5144
|
+
|
|
5145
|
+
export declare class IntArray_3 extends EmsArray<number> {
|
|
4309
5146
|
}
|
|
4310
5147
|
|
|
4311
5148
|
export declare type InteractionMethodName = Exclude<keyof PlanInteractionManager, keyof UndoRedoHandler>;
|
|
@@ -4319,24 +5156,115 @@ export declare const enum INTERSECTION_MODE {
|
|
|
4319
5156
|
CONFIGURATOR = 1
|
|
4320
5157
|
}
|
|
4321
5158
|
|
|
4322
|
-
export declare const isExternalObject: (someThing: unknown) => someThing is ExternalObject;
|
|
4323
|
-
|
|
4324
|
-
export declare const isExtObjId: (id: unknown) => id is
|
|
4325
|
-
|
|
4326
|
-
export declare const isFirefox: () => boolean;
|
|
4327
|
-
|
|
4328
|
-
export
|
|
4329
|
-
|
|
4330
|
-
export
|
|
4331
|
-
|
|
4332
|
-
export
|
|
4333
|
-
|
|
4334
|
-
export
|
|
4335
|
-
|
|
4336
|
-
export
|
|
4337
|
-
|
|
4338
|
-
export declare const isSafari: () => boolean;
|
|
4339
|
-
|
|
5159
|
+
export declare const isExternalObject: (someThing: unknown) => someThing is ExternalObject;
|
|
5160
|
+
|
|
5161
|
+
export declare const isExtObjId: (id: unknown) => id is ExtObjId;
|
|
5162
|
+
|
|
5163
|
+
export declare const isFirefox: () => boolean;
|
|
5164
|
+
|
|
5165
|
+
export declare const isIdAComponent: (id: string) => boolean;
|
|
5166
|
+
|
|
5167
|
+
export declare const isIdAConfigurationString: (id: string) => boolean;
|
|
5168
|
+
|
|
5169
|
+
export declare const isIdAnItem: (id: string) => boolean;
|
|
5170
|
+
|
|
5171
|
+
export declare const isIdAPlan: (id: string) => boolean;
|
|
5172
|
+
|
|
5173
|
+
export declare const isPlanSnapshotId: (id: string | RapiId) => id is RapiPlanSnapshotId;
|
|
5174
|
+
|
|
5175
|
+
export declare const isSafari: () => boolean;
|
|
5176
|
+
|
|
5177
|
+
export declare interface Kernel {
|
|
5178
|
+
new (): Kernel;
|
|
5179
|
+
setUpdateCallbacksOnlyIfGeometryIsReady(onlyUpdateIfReady: boolean): void;
|
|
5180
|
+
setLevel(level: number): void;
|
|
5181
|
+
useHDGeometry(shouldUse: boolean): void;
|
|
5182
|
+
useEnvironmentGeometry(shouldUse: boolean): void;
|
|
5183
|
+
setDockInsertPreviewBoxParameters(thickness: number, protruding: number, intruding: number, bevelSize: number): void;
|
|
5184
|
+
setLogLevel(level: number): void;
|
|
5185
|
+
loadConfiguration(conversationId: number, serializedConfiguration: string, bounding: Vector3): void;
|
|
5186
|
+
updateConfiguration(conversationId: number, objectOrComponentId: number, serializedConfiguration: string): void;
|
|
5187
|
+
loadFreeFlyingConfiguration(conversationId: number, serializedConfiguration: string): void;
|
|
5188
|
+
loadComponentDefinition(serializedComponent: string): void;
|
|
5189
|
+
requestComponentDockPreview(targetObjectId: number, componentId: string, serializedComponent: string, dragIn: boolean, allowInsertInBetween: boolean): void;
|
|
5190
|
+
requestItemDockPreview(targetObjectId: number, serializedConfiguration: string, dragIn: boolean, allowInsertInBetween: boolean): void;
|
|
5191
|
+
requestExternalObjectDockPreview(targetObjectId: number, articleId: string, dragIn: boolean, allowInsertInBetween: boolean): void;
|
|
5192
|
+
assetsLoaded(assets: AssetResponse_2 | AssetResponse_2[]): void;
|
|
5193
|
+
loadPlainComponent(conversationId: number, componentId: string, serializedComponent: string): void;
|
|
5194
|
+
saveConfiguration(planObjectId: number): void;
|
|
5195
|
+
getComponent(planComponentId: number): Component;
|
|
5196
|
+
getComponentBounds(componentId: number, animationValues: string[]): ComponentBounds;
|
|
5197
|
+
getComponentParameters(planComponentId: number): ParameterArray_2;
|
|
5198
|
+
getPlanComponentAnimations(planComponentId: number): AnimationArray;
|
|
5199
|
+
setComponentParameter(planComponentId: number, key: string, value: string): void;
|
|
5200
|
+
getCommonPlanComponentParameters(somePlanComponentIds: LongArray): ParametersAndParameterGroups;
|
|
5201
|
+
setPlanComponentsParameter(somePlanComponentIds: LongArray, key: string, value: string): void;
|
|
5202
|
+
dockComponent(id: number, dockId: number, parentId: number, parentDockId: number, position?: Vector3): void;
|
|
5203
|
+
dockComponentWithPosition(id: number, dockId: number, parentId: number, parentDockId: number, position: Vector3): void;
|
|
5204
|
+
determinePlanComponentsThatWillBeDeleted(planComponentId: number, tryDockChildrenToParent: boolean): LongArray;
|
|
5205
|
+
deleteComponent(planComponentId: number, redockChildrenToParent: boolean): void;
|
|
5206
|
+
deleteMultipleComponents(somePlanComponentIds: LongArray): void;
|
|
5207
|
+
prepareForIncrementalUpdate(): void;
|
|
5208
|
+
doNextIncrementalUpdate(): void;
|
|
5209
|
+
getPartList(planComponentId: number): PartList;
|
|
5210
|
+
getPlanObjectPartList(planObjectId: number): PartList;
|
|
5211
|
+
getFullPartList(): PartList;
|
|
5212
|
+
isConfigurationValid(planObjectOrComponentId: number): boolean;
|
|
5213
|
+
retrieveConfigurationId(planObjectOrComponentId: number): UniqueIdAndHash;
|
|
5214
|
+
getHashOfSerializedConfiguration(serializedConfiguration: string): string;
|
|
5215
|
+
getSerializedConfiguration(planObjectOrComponentId: number): string;
|
|
5216
|
+
createNewSerializedConfiguration(planObjectOrComponentId: number): string;
|
|
5217
|
+
clearScene(): void;
|
|
5218
|
+
clearAll(): void;
|
|
5219
|
+
reset(): void;
|
|
5220
|
+
getEnvironmentVariables(): void;
|
|
5221
|
+
getEnvironmentVariable(key: string): void;
|
|
5222
|
+
setEnvironmentVariable(key: string, value: string): void;
|
|
5223
|
+
getPlannedObjects(): void;
|
|
5224
|
+
getPlanObjectParameters(planObjectId: number): ParameterArray_2;
|
|
5225
|
+
getCommonPlanObjectParameters(planObjectIds: LongArray): ParameterArray_2;
|
|
5226
|
+
getPlanObjectAnimations(planObjectId: number): AnimationArray;
|
|
5227
|
+
getPlanViews(planObjectId: number): ConfigurationPlanViewArray;
|
|
5228
|
+
setPlanObjectParameter(planObjectId: number, key: string, value: string): void;
|
|
5229
|
+
setPlanObjectsParameter(somePlanObjectIds: LongArray, key: string, value: string): void;
|
|
5230
|
+
deletePlanObject(planObjectId: number): void;
|
|
5231
|
+
isExternalPlanObject(objectOrPlanComponentId: number): boolean;
|
|
5232
|
+
getComponentOrModuleInformation(objectOrPlanComponentId: number): ObjectInformation;
|
|
5233
|
+
getExternalObjectAttribute(objectOrPlanComponentId: number, attributeId: string, value: string): ExternalAttributeInformation_2;
|
|
5234
|
+
getPlanObject(planObjectId: number): PlanObject_3;
|
|
5235
|
+
getPlanObjectFromPlanComponent(planComponentId: number): PlanObject_3;
|
|
5236
|
+
getRootPlanComponentIdFromObjectId(planObjectId: number): number;
|
|
5237
|
+
getGlobalParameterValue(objectOrComponentId: number, name: string): string;
|
|
5238
|
+
getRuntimeIdOfRootComponent(objectOrComponentId: number): number;
|
|
5239
|
+
getRuntimeIdsOfChildComponents(objectOrComponentId: number): LongArray;
|
|
5240
|
+
getComponentParameterValue(objectOrComponentId: number, name: string): string;
|
|
5241
|
+
getComponentId(objectOrPlanComponentId: number): string;
|
|
5242
|
+
getCurrencySymbol(planComponentId: number): string;
|
|
5243
|
+
getPrice(planComponentId: number): number;
|
|
5244
|
+
addPriceList(priceListId: string): void;
|
|
5245
|
+
resetPriceListIds(): void;
|
|
5246
|
+
requestPlanObjectConstruction(planComponentId: number): void;
|
|
5247
|
+
requestMergedPlanObjectConstruction(planComponentId: number): void;
|
|
5248
|
+
requestPlanComponentConstruction(planComponentId: number): boolean;
|
|
5249
|
+
requestDeltaPlanComponentConstruction(planComponentId: number): boolean;
|
|
5250
|
+
requestPlanComponentConstructionRecursive(planComponentId: number): void;
|
|
5251
|
+
requestPreviewGeometry(dockingObjectOrComponentId: number, targetObjectRuntimeId: number, allowInsertInBetween: boolean): void;
|
|
5252
|
+
cancelDocking(planComponentOrPlanObjectId: number, undoDrag: boolean): void;
|
|
5253
|
+
setActiveGroupInView(activeGroup: string): void;
|
|
5254
|
+
setActiveGroupInViewForPlanObject(activeGroup: string, planObjectOrComponentId: number): void;
|
|
5255
|
+
getPlanObjectPossibleChildren(planObjectId: number): PossibleChildArray_2;
|
|
5256
|
+
getChildrenOfPlanObject(planObjectId: number, onlyPossibleChildren: boolean, onlyVisibleChildren: boolean): PossibleChildArray_2;
|
|
5257
|
+
getPlanComponentPossibleChildren(planComponentId: number): PossibleChildArray_2;
|
|
5258
|
+
getChildrenOfPlanComponent(planComponentId: number, onlyPossibleChildren: boolean, onlyVisibleChildren: boolean): PossibleChildArray_2;
|
|
5259
|
+
syncPlanObjectToView(conversationId: number, planObjectId: number): void;
|
|
5260
|
+
getAddOnSpotsForPlanObject(planObjectId: number): AddOnSpotArray_2;
|
|
5261
|
+
setExternalMeshInvalid(assetType: AssetType_2, idOrUrl: string, quality: number): void;
|
|
5262
|
+
setAssetInvalid(assetType: AssetType_2, idOrUrl: string, quality: number): void;
|
|
5263
|
+
loadExternalAttributeDefinition(serializedDefinition: string): void;
|
|
5264
|
+
setExternalObjectConstructionProperties(serializedProperties: string): void;
|
|
5265
|
+
registerDebugClient(debugClient: DebugClient_2): void;
|
|
5266
|
+
}
|
|
5267
|
+
|
|
4340
5268
|
export declare const KERNEL_MESSAGE_TYPE: {
|
|
4341
5269
|
readonly EXCEPTION: "exception";
|
|
4342
5270
|
readonly ERROR: "error";
|
|
@@ -4387,9 +5315,9 @@ export declare interface KernelAttic extends KernelObject {
|
|
|
4387
5315
|
getFrom(): NodePlanObject;
|
|
4388
5316
|
getTo(): NodePlanObject;
|
|
4389
5317
|
getAssociatedWall(): KernelWall;
|
|
4390
|
-
get2dPolygon():
|
|
4391
|
-
getRidgePoints():
|
|
4392
|
-
getPointsWithHeight(height: number):
|
|
5318
|
+
get2dPolygon(): PointArray_3;
|
|
5319
|
+
getRidgePoints(): PointArray_3;
|
|
5320
|
+
getPointsWithHeight(height: number): PointArray_3;
|
|
4393
5321
|
readonly side: WallSide;
|
|
4394
5322
|
readonly kneeHeight: number;
|
|
4395
5323
|
readonly width: number;
|
|
@@ -4522,7 +5450,7 @@ export declare interface KernelFloor extends KernelObject {
|
|
|
4522
5450
|
area: number;
|
|
4523
5451
|
material: KernelFloorMaterial;
|
|
4524
5452
|
readonly parapetHeight: number;
|
|
4525
|
-
readonly floorType:
|
|
5453
|
+
readonly floorType: FloorType_2;
|
|
4526
5454
|
getCenter: () => KernelVector3;
|
|
4527
5455
|
getRandomPointInside: () => KernelVector3;
|
|
4528
5456
|
getLabelPosition: () => KernelVector3;
|
|
@@ -4852,7 +5780,7 @@ export declare interface KernelWall extends KernelObject {
|
|
|
4852
5780
|
readonly wallType: KernelEnum;
|
|
4853
5781
|
readonly leftNormal: KernelVector3;
|
|
4854
5782
|
readonly rightNormal: KernelVector3;
|
|
4855
|
-
readonly edgeType:
|
|
5783
|
+
readonly edgeType: EdgeType_2;
|
|
4856
5784
|
getAngle: () => number;
|
|
4857
5785
|
}
|
|
4858
5786
|
|
|
@@ -4950,6 +5878,15 @@ export declare interface LightSourceConfiguration {
|
|
|
4950
5878
|
maximumNumberOfLightSources: number;
|
|
4951
5879
|
}
|
|
4952
5880
|
|
|
5881
|
+
export declare interface Line {
|
|
5882
|
+
angle: number;
|
|
5883
|
+
endPoint: Vector3;
|
|
5884
|
+
length: number;
|
|
5885
|
+
startPoint: Vector3;
|
|
5886
|
+
}
|
|
5887
|
+
|
|
5888
|
+
export declare type LineArray = EmscriptenArray<Line>;
|
|
5889
|
+
|
|
4953
5890
|
export declare interface LinksCollection {
|
|
4954
5891
|
[key: string]: string;
|
|
4955
5892
|
}
|
|
@@ -4993,7 +5930,9 @@ export declare interface LogMessageScope {
|
|
|
4993
5930
|
attrId?: string;
|
|
4994
5931
|
}
|
|
4995
5932
|
|
|
4996
|
-
export declare
|
|
5933
|
+
export declare type LongArray = EmscriptenArray<number>;
|
|
5934
|
+
|
|
5935
|
+
export declare class LongArray_2 extends EmsArray<number> {
|
|
4997
5936
|
}
|
|
4998
5937
|
|
|
4999
5938
|
export declare const enum MAIL_TYPE {
|
|
@@ -5054,6 +5993,10 @@ export declare const enum MaterialSourceType {
|
|
|
5054
5993
|
RgbValue = 3
|
|
5055
5994
|
}
|
|
5056
5995
|
|
|
5996
|
+
export declare interface MaterialSourceType_2 {
|
|
5997
|
+
value: Enumify_2<typeof CORE_MATERIAL_SOURCE_TYPE>;
|
|
5998
|
+
}
|
|
5999
|
+
|
|
5057
6000
|
export declare class MaterialViewer extends Main {
|
|
5058
6001
|
private _viewer;
|
|
5059
6002
|
protected setupGlobals(): void;
|
|
@@ -5065,10 +6008,16 @@ export declare class MaterialViewer extends Main {
|
|
|
5065
6008
|
protected getContextName(): string;
|
|
5066
6009
|
}
|
|
5067
6010
|
|
|
6011
|
+
export declare interface Matrix4 {
|
|
6012
|
+
m: number[];
|
|
6013
|
+
}
|
|
6014
|
+
|
|
5068
6015
|
export declare type MaybePromise<T> = (() => T) | (() => Promise<T>);
|
|
5069
6016
|
|
|
5070
6017
|
export declare type MDAttributeInfo = MDBoolAttributeInfo | MDTextAttributeInfo | MDIntegerAttributeInfo | MDRealAttributeInfo | MDDimAttributeInfo;
|
|
5071
6018
|
|
|
6019
|
+
export declare type MDAttributeSelection = MDBoolAttributeSelection | MDTextAttributeSelection | MDIntegerAttributeSelection | MDRealAttributeSelection | MDDimAttributeSelection;
|
|
6020
|
+
|
|
5072
6021
|
export declare interface MDBoolAttributeInfo extends BaseMDAttributeInfo {
|
|
5073
6022
|
selections?: MDBoolAttributeSelection[];
|
|
5074
6023
|
type: MDType.Bool;
|
|
@@ -5148,7 +6097,7 @@ export declare const MEASUREMENT_SYSTEM_STRING: {
|
|
|
5148
6097
|
METRIC: string;
|
|
5149
6098
|
};
|
|
5150
6099
|
|
|
5151
|
-
export declare interface MeasurementBase<Vector2Type =
|
|
6100
|
+
export declare interface MeasurementBase<Vector2Type = Vector3_2 | Position2, Vector3Type = Vector3_2 | Position3> {
|
|
5152
6101
|
/** start position of the dimension in 3D **/
|
|
5153
6102
|
fromPosition3d: Vector3Type;
|
|
5154
6103
|
/** end position of the dimension in 3D **/
|
|
@@ -5173,7 +6122,7 @@ export declare interface MeasurementBase<Vector2Type = Vector3 | Position2, Vect
|
|
|
5173
6122
|
dashed?: boolean;
|
|
5174
6123
|
}
|
|
5175
6124
|
|
|
5176
|
-
export declare type MeasurementLineDimension = DimensionDefinition<
|
|
6125
|
+
export declare type MeasurementLineDimension = DimensionDefinition<Vector3_2, Vector3_2>;
|
|
5177
6126
|
|
|
5178
6127
|
export declare type MeasurementLineDimensionTransferable = DimensionDefinition<Position2, Position3>;
|
|
5179
6128
|
|
|
@@ -5322,6 +6271,13 @@ export declare abstract class Node_2 extends PlanElement {
|
|
|
5322
6271
|
getMaxWallHeight(): number;
|
|
5323
6272
|
}
|
|
5324
6273
|
|
|
6274
|
+
export declare interface Node_3 extends PlanElement_2 {
|
|
6275
|
+
new (): Node_3;
|
|
6276
|
+
getNumberOfConnectedWalls(): number;
|
|
6277
|
+
getMaxWallHeight(): number;
|
|
6278
|
+
readonly nodeType: NodeType_2;
|
|
6279
|
+
}
|
|
6280
|
+
|
|
5325
6281
|
export declare interface NodeDimensionTransferable {
|
|
5326
6282
|
id: number;
|
|
5327
6283
|
position2d: Position2;
|
|
@@ -5337,7 +6293,7 @@ export declare class NodePlanElementViewModel extends PlanElementViewModel {
|
|
|
5337
6293
|
update(): void;
|
|
5338
6294
|
setFenceEnabled(enabled: boolean): void;
|
|
5339
6295
|
setTopView(enabled: boolean): void;
|
|
5340
|
-
getSize():
|
|
6296
|
+
getSize(): Vector3_2;
|
|
5341
6297
|
show(): void;
|
|
5342
6298
|
hide(): void;
|
|
5343
6299
|
protected getSelectionRingColor(): number;
|
|
@@ -5366,7 +6322,11 @@ export declare interface NodeType {
|
|
|
5366
6322
|
value: Enumify<typeof CORE_NODE_TYPE>;
|
|
5367
6323
|
}
|
|
5368
6324
|
|
|
5369
|
-
export
|
|
6325
|
+
export declare interface NodeType_2 {
|
|
6326
|
+
value: Enumify_2<typeof CORE_NODE_TYPE_2>;
|
|
6327
|
+
}
|
|
6328
|
+
|
|
6329
|
+
export declare type Nullable<T> = T | null;
|
|
5370
6330
|
|
|
5371
6331
|
export declare interface Object3DRoomleEventMap extends Object3DEventMap {
|
|
5372
6332
|
[OBJECT_EVENT.CLICK]: {
|
|
@@ -5377,7 +6337,7 @@ export declare interface Object3DRoomleEventMap extends Object3DEventMap {
|
|
|
5377
6337
|
};
|
|
5378
6338
|
[OBJECT_EVENT.DRAG]: {
|
|
5379
6339
|
attachment: {
|
|
5380
|
-
position:
|
|
6340
|
+
position: Vector3_2;
|
|
5381
6341
|
};
|
|
5382
6342
|
};
|
|
5383
6343
|
[OBJECT_EVENT.DRAG_END]: {
|
|
@@ -5416,6 +6376,13 @@ export declare const enum OBJECT_EVENT {
|
|
|
5416
6376
|
ROTATE = "rotate"
|
|
5417
6377
|
}
|
|
5418
6378
|
|
|
6379
|
+
export declare interface ObjectBounds {
|
|
6380
|
+
boundingBox: Box;
|
|
6381
|
+
rectangleBox: ExtrudedRectangle;
|
|
6382
|
+
}
|
|
6383
|
+
|
|
6384
|
+
export declare type ObjectBoundsArray = EmscriptenArray<ObjectBounds>;
|
|
6385
|
+
|
|
5419
6386
|
export declare interface ObjectCategory {
|
|
5420
6387
|
value: Enumify<typeof CORE_OBJECT_CATEGORY>;
|
|
5421
6388
|
}
|
|
@@ -5425,6 +6392,12 @@ export declare interface ObjectConfigurationType {
|
|
|
5425
6392
|
}
|
|
5426
6393
|
|
|
5427
6394
|
export declare interface ObjectFrontRotation {
|
|
6395
|
+
lookAtSide: WallSide_2;
|
|
6396
|
+
rotation: number;
|
|
6397
|
+
rotationRoundTo90deg: number;
|
|
6398
|
+
}
|
|
6399
|
+
|
|
6400
|
+
export declare interface ObjectFrontRotation_2 {
|
|
5428
6401
|
lookAtSide: WallSide;
|
|
5429
6402
|
rotation: number;
|
|
5430
6403
|
rotationRoundTo90deg: number;
|
|
@@ -5434,9 +6407,29 @@ export declare abstract class ObjectGroup extends PlanElement {
|
|
|
5434
6407
|
getObjects(): PlanObjectPtr;
|
|
5435
6408
|
}
|
|
5436
6409
|
|
|
6410
|
+
export declare interface ObjectGroup_2 extends PlanElement_2 {
|
|
6411
|
+
new (): ObjectGroup_2;
|
|
6412
|
+
getGroupId(): number;
|
|
6413
|
+
getObjects(): PlanObjectPtrList_2;
|
|
6414
|
+
}
|
|
6415
|
+
|
|
5437
6416
|
export declare interface ObjectGroupPtr {
|
|
5438
6417
|
}
|
|
5439
6418
|
|
|
6419
|
+
export declare interface ObjectInformation {
|
|
6420
|
+
componentId: string;
|
|
6421
|
+
configurationRuntimeId: number;
|
|
6422
|
+
entityRuntimeId: number;
|
|
6423
|
+
externalModule: ExternalModuleInformation_2;
|
|
6424
|
+
isAGeneratedModule: boolean;
|
|
6425
|
+
name: string;
|
|
6426
|
+
permissionToDelete: PermissionToDelete;
|
|
6427
|
+
permissionToDeleteInIsolation: PermissionToDelete;
|
|
6428
|
+
runtimeId: number;
|
|
6429
|
+
source: string;
|
|
6430
|
+
type: PlanComponentType;
|
|
6431
|
+
}
|
|
6432
|
+
|
|
5440
6433
|
export declare interface ObjectMeasurements {
|
|
5441
6434
|
rectMeasurements: ObjectWallDimension[];
|
|
5442
6435
|
objectMeasurements: ObjectWallDimension[];
|
|
@@ -5466,13 +6459,21 @@ export declare interface ObjectToWallLine {
|
|
|
5466
6459
|
export declare class ObjectToWallLineArray extends EmsArray<ObjectToWallLine> {
|
|
5467
6460
|
}
|
|
5468
6461
|
|
|
5469
|
-
export declare
|
|
6462
|
+
export declare interface ObjectTypeCategory {
|
|
6463
|
+
value: Enumify_2<typeof CORE_OBJECT_TYPE_CATEGORY>;
|
|
6464
|
+
}
|
|
6465
|
+
|
|
6466
|
+
export declare type ObjectWallDimension = DimensionDefinition<Vector3_2, Vector3_2>;
|
|
5470
6467
|
|
|
5471
6468
|
export declare interface OffsetCamera {
|
|
5472
6469
|
offset: CanvasOffset;
|
|
5473
6470
|
resetOffset(): void;
|
|
5474
6471
|
}
|
|
5475
6472
|
|
|
6473
|
+
export declare interface OpeningDirection {
|
|
6474
|
+
value: Enumify_2<typeof CORE_OPENING_DIRECTION>;
|
|
6475
|
+
}
|
|
6476
|
+
|
|
5476
6477
|
export declare interface OrthographicOffsetCamera extends OrthographicCamera, OffsetCamera {
|
|
5477
6478
|
}
|
|
5478
6479
|
|
|
@@ -5486,6 +6487,26 @@ export declare interface OutlineCustomParameters {
|
|
|
5486
6487
|
outlineHiddenEdgeColor: ColorRepresentation;
|
|
5487
6488
|
}
|
|
5488
6489
|
|
|
6490
|
+
export declare interface Parameter {
|
|
6491
|
+
enabled: boolean;
|
|
6492
|
+
group: string;
|
|
6493
|
+
highlighted: boolean;
|
|
6494
|
+
key: string;
|
|
6495
|
+
label: string;
|
|
6496
|
+
objectIds: IntArray_2;
|
|
6497
|
+
sort: number;
|
|
6498
|
+
source: string;
|
|
6499
|
+
type: ParameterTypeString;
|
|
6500
|
+
unitType: UnitTypeString;
|
|
6501
|
+
validGroups: string[];
|
|
6502
|
+
validRange: Range_2;
|
|
6503
|
+
validValues: ParameterValue[];
|
|
6504
|
+
value: string;
|
|
6505
|
+
valuesAreEqual: boolean;
|
|
6506
|
+
viewType: ViewType;
|
|
6507
|
+
visibleInPlanner: boolean;
|
|
6508
|
+
}
|
|
6509
|
+
|
|
5489
6510
|
export declare const enum PARAMETER_KERNEL_TYPE {
|
|
5490
6511
|
UNKNOWN = "",
|
|
5491
6512
|
INTEGER = "Integer",
|
|
@@ -5525,7 +6546,16 @@ export declare const PARAMETER_VIEW_TYPE: {
|
|
|
5525
6546
|
export declare class ParameterArray extends EmsArray<KernelParameter> {
|
|
5526
6547
|
}
|
|
5527
6548
|
|
|
5528
|
-
export declare
|
|
6549
|
+
export declare type ParameterArray_2 = EmscriptenArray<Parameter>;
|
|
6550
|
+
|
|
6551
|
+
export declare class ParameterArray_3 extends EmsArray<KernelParameter> {
|
|
6552
|
+
}
|
|
6553
|
+
|
|
6554
|
+
export declare interface ParameterGroup {
|
|
6555
|
+
collapsed: boolean;
|
|
6556
|
+
key: string;
|
|
6557
|
+
label: string;
|
|
6558
|
+
sort: number;
|
|
5529
6559
|
}
|
|
5530
6560
|
|
|
5531
6561
|
export declare class ParameterGroupArray extends EmsArray<KernelParameterGroup> {
|
|
@@ -5534,6 +6564,20 @@ export declare class ParameterGroupArray extends EmsArray<KernelParameterGroup>
|
|
|
5534
6564
|
export declare class ParameterGroupArray_2 extends EmsArray<KernelParameterGroup> {
|
|
5535
6565
|
}
|
|
5536
6566
|
|
|
6567
|
+
export declare interface ParametersAndParameterGroups {
|
|
6568
|
+
animations: Animation_2[];
|
|
6569
|
+
parameterGroups: ParameterGroup[];
|
|
6570
|
+
parameters: Parameter[];
|
|
6571
|
+
}
|
|
6572
|
+
|
|
6573
|
+
export declare type ParameterTypeString = Enumify_3<typeof CORE_PARAMETER_TYPE_STRING>;
|
|
6574
|
+
|
|
6575
|
+
export declare interface ParameterValue {
|
|
6576
|
+
label: string;
|
|
6577
|
+
thumbnail: string;
|
|
6578
|
+
value: string;
|
|
6579
|
+
}
|
|
6580
|
+
|
|
5537
6581
|
export declare class ParameterValueArray extends EmsArray<KernelParameterValue> {
|
|
5538
6582
|
}
|
|
5539
6583
|
|
|
@@ -5551,18 +6595,59 @@ export declare interface ParamterKeyValue {
|
|
|
5551
6595
|
parameterValue: string;
|
|
5552
6596
|
}
|
|
5553
6597
|
|
|
6598
|
+
export declare interface Part {
|
|
6599
|
+
articleNr: string;
|
|
6600
|
+
componentId: string;
|
|
6601
|
+
componentRuntimeIds: number[];
|
|
6602
|
+
count: number;
|
|
6603
|
+
currencySymbol: string;
|
|
6604
|
+
hasGeometry: boolean;
|
|
6605
|
+
isModule: boolean;
|
|
6606
|
+
label: string;
|
|
6607
|
+
labelIsCalculated: boolean;
|
|
6608
|
+
packageSize: number;
|
|
6609
|
+
parameters: PartListParameter[];
|
|
6610
|
+
permissionToDelete: PermissionToDelete;
|
|
6611
|
+
permissionToDeleteInIsolation: PermissionToDelete;
|
|
6612
|
+
price: number;
|
|
6613
|
+
retailerPrice: number;
|
|
6614
|
+
subpartId: number;
|
|
6615
|
+
valid: boolean;
|
|
6616
|
+
}
|
|
6617
|
+
|
|
5554
6618
|
export declare class PartArray extends EmsArray<KernelPart> {
|
|
5555
6619
|
}
|
|
5556
6620
|
|
|
5557
6621
|
export declare class PartArray_2 extends EmsArray<KernelPart> {
|
|
5558
6622
|
}
|
|
5559
6623
|
|
|
6624
|
+
export declare interface PartList {
|
|
6625
|
+
fullList: Part[];
|
|
6626
|
+
originPart: Part;
|
|
6627
|
+
perMainComponent: PartList[];
|
|
6628
|
+
}
|
|
6629
|
+
|
|
6630
|
+
export declare interface PartListParameter {
|
|
6631
|
+
key: string;
|
|
6632
|
+
label: string;
|
|
6633
|
+
sort: number;
|
|
6634
|
+
type: string;
|
|
6635
|
+
unitType: string;
|
|
6636
|
+
value: string;
|
|
6637
|
+
valueLabel: string;
|
|
6638
|
+
valueThumbnail: string;
|
|
6639
|
+
}
|
|
6640
|
+
|
|
5560
6641
|
export declare class PartListParameterArray extends EmsArray<KernelPartListParameter> {
|
|
5561
6642
|
}
|
|
5562
6643
|
|
|
5563
6644
|
export declare class PartListParameterArray_2 extends EmsArray<KernelPartListParameter> {
|
|
5564
6645
|
}
|
|
5565
6646
|
|
|
6647
|
+
export declare interface PermissionToDelete {
|
|
6648
|
+
value: Enumify_3<typeof CORE_PERMISSION_TO_DELETE_2>;
|
|
6649
|
+
}
|
|
6650
|
+
|
|
5566
6651
|
export declare interface PerspectiveOffsetCamera extends PerspectiveCamera, OffsetCamera {
|
|
5567
6652
|
}
|
|
5568
6653
|
|
|
@@ -5586,7 +6671,32 @@ export declare abstract class Plan extends AbstractModelWrapper {
|
|
|
5586
6671
|
syncToView(): void;
|
|
5587
6672
|
}
|
|
5588
6673
|
|
|
5589
|
-
export declare interface Plan_2 extends
|
|
6674
|
+
export declare interface Plan_2 extends AbstractModel_2 {
|
|
6675
|
+
new (): Plan_2;
|
|
6676
|
+
increaseLockLevels(): void;
|
|
6677
|
+
getPlanXML(includeRuntimeId: boolean, version: number): string;
|
|
6678
|
+
getPlanXMLWithNormalizedLockLevels(includeRuntimeId: boolean, version: number): string;
|
|
6679
|
+
createPlanXmlWithSingleObject(object: PlanObject_2, includeRuntimeId: boolean, version: number): string;
|
|
6680
|
+
createPlanXmlWithObjects(objectIds: string | string[], includeRuntimeId: boolean, version: number): string;
|
|
6681
|
+
getRotationForFrontView(objectIds: number | number[]): number;
|
|
6682
|
+
getBounds(): Box;
|
|
6683
|
+
getPlanObjects(): PlanObject_2[];
|
|
6684
|
+
getWalls(): Wall_2[];
|
|
6685
|
+
getWallCount(): number;
|
|
6686
|
+
getAttics(): Attic[];
|
|
6687
|
+
getFloors(): Floor_2[];
|
|
6688
|
+
getImageCount(): number;
|
|
6689
|
+
isEmpty(): boolean;
|
|
6690
|
+
getTotalFloorArea(): number;
|
|
6691
|
+
syncPlanToView(): void;
|
|
6692
|
+
defaultParapetHeight: number;
|
|
6693
|
+
defaultWallColor: number;
|
|
6694
|
+
defaultWallHeight: number;
|
|
6695
|
+
defaultWallThickness: number;
|
|
6696
|
+
vectorWallThickness: number;
|
|
6697
|
+
}
|
|
6698
|
+
|
|
6699
|
+
export declare interface Plan_3 extends KernelObject {
|
|
5590
6700
|
defaultParapetHeight: number;
|
|
5591
6701
|
defaultWallHeight: number;
|
|
5592
6702
|
defaultWallThickness: number;
|
|
@@ -5615,6 +6725,10 @@ export declare const PLAN_ROOM_GEOMETRY_MODE: {
|
|
|
5615
6725
|
readonly PLAN: "plan";
|
|
5616
6726
|
};
|
|
5617
6727
|
|
|
6728
|
+
export declare interface PlanComponentType {
|
|
6729
|
+
value: Enumify_3<typeof CORE_PLAN_COMPONENT_TYPE_2>;
|
|
6730
|
+
}
|
|
6731
|
+
|
|
5618
6732
|
export declare abstract class PlanElement extends AbstractModelWrapper {
|
|
5619
6733
|
isLocked: boolean;
|
|
5620
6734
|
isValid: boolean;
|
|
@@ -5622,7 +6736,22 @@ export declare abstract class PlanElement extends AbstractModelWrapper {
|
|
|
5622
6736
|
getCenter(): KernelVector3f;
|
|
5623
6737
|
}
|
|
5624
6738
|
|
|
5625
|
-
export declare interface PlanElement_2 extends
|
|
6739
|
+
export declare interface PlanElement_2 extends AbstractModel_2 {
|
|
6740
|
+
new (): PlanElement_2;
|
|
6741
|
+
getType(): PlanElementType_2;
|
|
6742
|
+
getCenter(): Vector3;
|
|
6743
|
+
getRootComponentCenter(): Vector3;
|
|
6744
|
+
getMeshCenter(): Vector3;
|
|
6745
|
+
getMeshOffsetRelativeToObject(): Vector3;
|
|
6746
|
+
getCustomDataJson(): string;
|
|
6747
|
+
isDuplicable(): boolean;
|
|
6748
|
+
isDeletableInIsolation(): boolean;
|
|
6749
|
+
isLocked(): boolean;
|
|
6750
|
+
isValid(): boolean;
|
|
6751
|
+
readonly hidden: boolean;
|
|
6752
|
+
}
|
|
6753
|
+
|
|
6754
|
+
export declare interface PlanElement_3 extends KernelObject {
|
|
5626
6755
|
getType(): any;
|
|
5627
6756
|
getCenter(): KernelVector3;
|
|
5628
6757
|
getMeshCenter(): KernelVector3;
|
|
@@ -5645,6 +6774,10 @@ export declare const enum PlanElementType {
|
|
|
5645
6774
|
CEILING = 7
|
|
5646
6775
|
}
|
|
5647
6776
|
|
|
6777
|
+
export declare interface PlanElementType_2 {
|
|
6778
|
+
value: Enumify_2<typeof CORE_PLAN_ELEMENT_TYPE>;
|
|
6779
|
+
}
|
|
6780
|
+
|
|
5648
6781
|
export declare class PlanElementViewModel extends KernelViewModel {
|
|
5649
6782
|
protected _container: Object3D;
|
|
5650
6783
|
protected _boundingBox: RoomleEventedMesh;
|
|
@@ -5656,7 +6789,7 @@ export declare class PlanElementViewModel extends KernelViewModel {
|
|
|
5656
6789
|
private _containerVisible;
|
|
5657
6790
|
private _hiddenByCameraFacing;
|
|
5658
6791
|
constructor(planObject: PlanObject);
|
|
5659
|
-
getSize():
|
|
6792
|
+
getSize(): Vector3_2;
|
|
5660
6793
|
setHiddenByCameraFacing(hidden: boolean): void;
|
|
5661
6794
|
setContainerVisibility(isVisible: boolean): void;
|
|
5662
6795
|
protected isContainerVisible(): boolean;
|
|
@@ -5664,7 +6797,7 @@ export declare class PlanElementViewModel extends KernelViewModel {
|
|
|
5664
6797
|
isHiddenByCameraFacing(): boolean;
|
|
5665
6798
|
update(): void;
|
|
5666
6799
|
protected _updateBoundingBox(): void;
|
|
5667
|
-
getPosition():
|
|
6800
|
+
getPosition(): Vector3_2;
|
|
5668
6801
|
getRotation(): number;
|
|
5669
6802
|
getBounds(): Box3;
|
|
5670
6803
|
getMeasurementBounds(): Box3[];
|
|
@@ -5683,7 +6816,7 @@ export declare class PlanElementViewModel extends KernelViewModel {
|
|
|
5683
6816
|
remove(): void;
|
|
5684
6817
|
hidePreviewBox(): void;
|
|
5685
6818
|
protected _generateBoundingBox(): RoomleEventedMesh;
|
|
5686
|
-
protected _setPositionOfBoundingBox(size:
|
|
6819
|
+
protected _setPositionOfBoundingBox(size: Vector3_2, mesh: RoomleEventedMesh): void;
|
|
5687
6820
|
get isSelected(): boolean;
|
|
5688
6821
|
select(): void;
|
|
5689
6822
|
deselect(): void;
|
|
@@ -5703,8 +6836,163 @@ export declare abstract class PlanImage extends PlanElement {
|
|
|
5703
6836
|
center: KernelVector3f;
|
|
5704
6837
|
}
|
|
5705
6838
|
|
|
6839
|
+
export declare interface PlanImage_2 extends PlanElement_2 {
|
|
6840
|
+
new (): PlanImage_2;
|
|
6841
|
+
readonly url: string;
|
|
6842
|
+
readonly size: Vector3;
|
|
6843
|
+
readonly rotation: Vector3;
|
|
6844
|
+
readonly center: Vector3;
|
|
6845
|
+
}
|
|
6846
|
+
|
|
5706
6847
|
export declare type PlanInteractionHandler = Omit<PlanInteractionHandler_2, keyof HandWrittenPlanInteractionHandler> & HandWrittenPlanInteractionHandler;
|
|
5707
6848
|
|
|
6849
|
+
export declare interface PlanInteractionHandler_2 {
|
|
6850
|
+
new (): PlanInteractionHandler_2;
|
|
6851
|
+
init(reference: PlanInteractionHandler_2, zoomFactor: number, viewSnapDist: number, wallSnapMode: SnapMode, objectSnapMode: SnapMode, shouldSnap: boolean, drawingType: DrawingType_2): void;
|
|
6852
|
+
loadPlanXML(planXml: string): Plan_2;
|
|
6853
|
+
createPlanWithObjectFromItem(item: CatalogItem_2, position: Vector3, rotationInRad: number): Plan_2;
|
|
6854
|
+
setDefaultParapetHeight(parapetHeight: number, applyToAll: boolean): void;
|
|
6855
|
+
setRoomParapetHeight(floor: Floor_2, parapetHeight: number): void;
|
|
6856
|
+
setDefaultWallColor(wallColor: number, applyToAll: boolean): void;
|
|
6857
|
+
setDefaultWallHeight(wallHeight: number, applyToAll: boolean): void;
|
|
6858
|
+
setDefaultWallThickness(wallThickness: number, applyToAll: boolean): void;
|
|
6859
|
+
getDefaultExteriorWallMaterial(): WallMaterial_2;
|
|
6860
|
+
setDefaultExteriorWallMaterial(wallMaterial: WallMaterial_2): void;
|
|
6861
|
+
getDefaultInteriorWallMaterial(): WallMaterial_2;
|
|
6862
|
+
setDefaultInteriorWallMaterial(wallMaterial: WallMaterial_2): void;
|
|
6863
|
+
getDefaultFloorMaterial(): FloorMaterial_2;
|
|
6864
|
+
setDefaultFloorMaterial(floorMaterial: FloorMaterial_2): void;
|
|
6865
|
+
moveElementBy(element: PlanElement_2, offset: Vector3, dragging: boolean): void;
|
|
6866
|
+
moveElementTo(element: PlanElement_2, position: Vector3, dragging: boolean, cameraPosition?: Vector3): void;
|
|
6867
|
+
moveElementToIn2d(element: PlanElement_2, position: Vector3, dragging: boolean): void;
|
|
6868
|
+
setDiscardExternalObjectsOnLoad(discard: boolean): void;
|
|
6869
|
+
moveObjectsBy(objects: PlanObjectPtrList_2, offset: Vector3): void;
|
|
6870
|
+
removeChildObjectAtPosition(element: PlanElement_2, position: Vector3): boolean;
|
|
6871
|
+
lockElement(element: PlanElement_2): void;
|
|
6872
|
+
unlockElement(element: PlanElement_2): void;
|
|
6873
|
+
consistsOfMergedComponents(object: PlanObject_2): boolean;
|
|
6874
|
+
isChildObjectModePossible(object: PlanObject_2): boolean;
|
|
6875
|
+
getChildObjectMode(object: PlanObject_2): number;
|
|
6876
|
+
setChildObjectMode(object: PlanObject_2, mode: number, switchChildModeOffForAllOtherObjects: boolean): PlanObject_2;
|
|
6877
|
+
setChildObjectModeOfExternalObject(objectId: string, mode: number, switchChildModeOffForAllOtherObjects: boolean): PlanObject_2;
|
|
6878
|
+
setChildObjectModeForAllPlanObjects(mode: number): void;
|
|
6879
|
+
isEnabledChildObjectMode(object: PlanObject_2): boolean;
|
|
6880
|
+
enableChildObjects(object: PlanObject_2, switchChildModeOffForAllOtherObjects: boolean): PlanObject_2;
|
|
6881
|
+
disableChildObjects(object: PlanObject_2): PlanObject_2;
|
|
6882
|
+
disableChildObjectsOfAllPlanObjects(): void;
|
|
6883
|
+
enableChildObjectsOfExternalObject(objectId: string, switchChildModeOffForAllOtherObjects: boolean): PlanObject_2;
|
|
6884
|
+
disableChildObjectsOfExternalObject(objectId: string): PlanObject_2;
|
|
6885
|
+
rotateObjectTo(object: PlanObject_2, targetAngleInRad: number): void;
|
|
6886
|
+
changePitchAngleTo(object: PlanObject_2, targetAngleInRad: number): void;
|
|
6887
|
+
changeRollAngleTo(object: PlanObject_2, targetAngleInRad: number): void;
|
|
6888
|
+
rotateObjectBy(object: PlanObject_2, deltaAngleInRad: number): void;
|
|
6889
|
+
rotateObjectsBy(objects: PlanObjectPtrList_2, deltaAngleInRad: number, pivot: Vector3): void;
|
|
6890
|
+
rotateGroupBy(group: ObjectGroup_2, angleInRad: number, pivot: Vector3): void;
|
|
6891
|
+
setObjectRotation(object: PlanObject_2, targetAngleInRad: number): void;
|
|
6892
|
+
setObjectFlipX(object: PlanObject_2, shouldFlipX: boolean): void;
|
|
6893
|
+
setObjectFlipY(object: PlanObject_2, shouldFlipY: boolean): void;
|
|
6894
|
+
setObjectFixedZ(object: PlanObject_2, shouldFlipZ: boolean): void;
|
|
6895
|
+
setObjectCustomColor(object: PlanObject_2, rgbColor: number, useCustomColor: boolean): void;
|
|
6896
|
+
setObjectCustomLabel(object: PlanObject_2, label: string): void;
|
|
6897
|
+
setElementCustomDataJson(element: PlanElement_2, customDataJson: string): void;
|
|
6898
|
+
setObjectSize(object: PlanObject_2, newSize: Vector3, anchor: ResizingAnchor_2): void;
|
|
6899
|
+
deleteObjectsInGroup(group: ObjectGroup_2): void;
|
|
6900
|
+
replaceObject(objectToBeReplaced: PlanElement_2, replacement: PlanElement_2): void;
|
|
6901
|
+
duplicateGroup(group: ObjectGroup_2, count: number, findFreeSpaceInPlan: boolean): ObjectGroup_2[];
|
|
6902
|
+
mergeObjects(objects: PlanObjectPtrList_2): void;
|
|
6903
|
+
groupObjects(objects: PlanObjectPtrList_2): ObjectGroup_2;
|
|
6904
|
+
ungroup(group: ObjectGroup_2): void;
|
|
6905
|
+
duplicatePlanObjects(objects: PlanObjectPtrList_2, count: number, findFreeSpaceInPlan: boolean): PlanObject_2[];
|
|
6906
|
+
setElementVisibility(element: PlanElement_2, isVisible: boolean): void;
|
|
6907
|
+
setLengthOfEdge2D(wall: Wall_2, newLength: number, side: WallSide_2, extensionType: WallExtensionType_2, alsoMoveOrthogonalWalls: boolean): void;
|
|
6908
|
+
setLengthOfSlopingEdge(wall: Wall_2, newSlopingLength: number, side: WallSide_2, extensionType: WallExtensionType_2, alsoMoveOrthogonalWalls: boolean): void;
|
|
6909
|
+
setNodeType(node: Node_3, nodeType: NodeType_2): void;
|
|
6910
|
+
setWallThickness(wall: Wall_2, thickness: number): void;
|
|
6911
|
+
setWallHeight(wall: Wall_2, height: number): void;
|
|
6912
|
+
setWallColor(wall: Wall_2, color: number): void;
|
|
6913
|
+
setWallLeftMaterial(wall: Wall_2, material: WallMaterial_2): void;
|
|
6914
|
+
setWallRightMaterial(wall: Wall_2, material: WallMaterial_2): void;
|
|
6915
|
+
splitWall(wall: Wall_2, splitPoint: Vector3): void;
|
|
6916
|
+
setAtticSide(attic: Attic, side: WallSide_2): void;
|
|
6917
|
+
setAtticKneeHeight(attic: Attic, kneeHeight: number): void;
|
|
6918
|
+
setAtticWidth(attic: Attic, width: number): void;
|
|
6919
|
+
setFloorMaterial(floor: Floor_2, material: FloorMaterial_2): void;
|
|
6920
|
+
setFloorMaterialRotation(floor: Floor_2, rotationInRad: number): void;
|
|
6921
|
+
setFloorMaterialUvScale(floor: Floor_2, uvScale: Vector3): void;
|
|
6922
|
+
setFloorLabelObject(floor: Floor_2, serializedLabelObject: string): void;
|
|
6923
|
+
setFloorType(floor: Floor_2, floorType: FloorType): void;
|
|
6924
|
+
setEdgeType(wall: Wall_2, edgeType: EdgeType): void;
|
|
6925
|
+
setPlanTexterText(text: PlanText_2, texterText: string): void;
|
|
6926
|
+
setPlanTexterSize(text: PlanText_2, newSize: Vector3): void;
|
|
6927
|
+
setMeasurePoint1(measure: PlanMeasure_2, point: Vector3, snapToWalls: boolean, snapToObjects: boolean): void;
|
|
6928
|
+
setMeasurePoint2(measure: PlanMeasure_2, point: Vector3, snapToWalls: boolean, snapToObjects: boolean): void;
|
|
6929
|
+
setPlanImageRotation(image: PlanImage_2, newRotation: Vector3): void;
|
|
6930
|
+
setPlanImageSize(image: PlanImage_2, newSize: Vector3): void;
|
|
6931
|
+
removeElement(element: PlanElement_2): void;
|
|
6932
|
+
removeObjectWithId(objectId: string): void;
|
|
6933
|
+
duplicatePlanObject(object: PlanObject_2, count: number, findFreeSpaceInPlan: boolean): PlanObject_2[];
|
|
6934
|
+
addWall(from: Node_3, to: Node_3): Wall_2;
|
|
6935
|
+
addAttic(wall: Wall_2, kneeHeight: number, width: number, side: WallSide_2 | null | undefined): Attic;
|
|
6936
|
+
addNode(position: Vector3): Node_3;
|
|
6937
|
+
addText(text: string, position: Vector3): PlanText_2;
|
|
6938
|
+
addPlanObject(itemId: string, type: string, size: Vector3, position: Vector3, rotationInRad: number, findFreeSpaceInPlan: boolean): PlanObject_2;
|
|
6939
|
+
addPlanObjects(catalogItems: CatalogItemPtrList_2, findFreeSpaceInPlan: boolean): PlanObject_2[];
|
|
6940
|
+
addPlanObjectFromItem(item: CatalogItem_2, position: Vector3, rotationInRad: number, findFreeSpaceInPlan: boolean): PlanObject_2;
|
|
6941
|
+
addOrUpdateExternalPlanObjects(groups: string | string[], position: Vector3, rotationInRad: number, updateConfiguration: ExternalObjectLoadConfiguration, mergedGroupIds: string | string[]): PlanObject_2[];
|
|
6942
|
+
createPreviewGeometryForAddOn(objectId: string, objectConfiguration: string, articleId: string, groupDefinitions: string, validContainerModules: ExternalValidContainerModule[]): void;
|
|
6943
|
+
catalogItemLoaded(catalogItem: CatalogItem_2): void;
|
|
6944
|
+
addMeasure(startPosition: Vector3, endPosition: Vector3): PlanMeasure_2;
|
|
6945
|
+
addImage(url: string, center: Vector3, size: Vector3, rotation: Vector3): PlanImage_2;
|
|
6946
|
+
setPlanObjectMesh(object: PlanObject_2, mesh: any): void;
|
|
6947
|
+
getPlan(): Plan_2;
|
|
6948
|
+
setPlan(plan: Plan_2): void;
|
|
6949
|
+
clearPlan(): void;
|
|
6950
|
+
setViewSnapDist(distance: number): void;
|
|
6951
|
+
setViewSnapHeightLevelDistance(distance: number): void;
|
|
6952
|
+
setViewSnapEdgeEndPointDistance(distance: number): void;
|
|
6953
|
+
setZoomFactor(distance: number): void;
|
|
6954
|
+
setRotationSnapAngle(angleInRadians: number): void;
|
|
6955
|
+
endInteraction(): void;
|
|
6956
|
+
clearHistory(): void;
|
|
6957
|
+
startInteraction(): void;
|
|
6958
|
+
resumeInteraction(): void;
|
|
6959
|
+
setSnapFeedbackWhileDrawing(shouldSnapWhileDrawing: boolean): void;
|
|
6960
|
+
setSnapToClusterWhileContinuousDrawing(shouldSnapWhileDrawing: boolean): void;
|
|
6961
|
+
setParallelWallToleranceInDegrees(tolerance: number): void;
|
|
6962
|
+
isVectorPreviewModeEnabled(): boolean;
|
|
6963
|
+
getDrawingMode(): DrawingMode_2;
|
|
6964
|
+
isCreateUnclosedSpaceEnabled(): boolean;
|
|
6965
|
+
beginDrawing(position: Vector3, drawingMode: DrawingMode_2, createUnclosedSpace: boolean): void;
|
|
6966
|
+
currentDrawingPosition(position: Vector3): void;
|
|
6967
|
+
forceNode(position: Vector3): void;
|
|
6968
|
+
endDrawing(position: Vector3): void;
|
|
6969
|
+
cancelDrawing(): void;
|
|
6970
|
+
setDrawingType(newDrawingType: DrawingType_2): void;
|
|
6971
|
+
getContinuousDrawingManager(): ContinuousDrawingManager;
|
|
6972
|
+
deactivateAllSnappingActivity(): void;
|
|
6973
|
+
reactivateAllSnappingActivity(): void;
|
|
6974
|
+
getConfiguratorKernel(): ConfiguratorKernel;
|
|
6975
|
+
loadPlanObjectConfigurations(): void;
|
|
6976
|
+
undo(): void;
|
|
6977
|
+
redo(): void;
|
|
6978
|
+
isRedoPossible(): boolean;
|
|
6979
|
+
isUndoPossible(): boolean;
|
|
6980
|
+
getRelativeHistoryPosition(): number;
|
|
6981
|
+
generateTCExport(planObjectItemIds: string[]): string;
|
|
6982
|
+
unit: string;
|
|
6983
|
+
objectToWallSnapMode: SnapMode;
|
|
6984
|
+
objectToObjectSnapMode: SnapMode;
|
|
6985
|
+
enableSnap: boolean;
|
|
6986
|
+
enableRaster: boolean;
|
|
6987
|
+
customRaster: number;
|
|
6988
|
+
moveWallsOrthogonal: boolean;
|
|
6989
|
+
enableDrawingSnap: boolean;
|
|
6990
|
+
dockWhenSnap: boolean;
|
|
6991
|
+
unDockOnMove: boolean;
|
|
6992
|
+
automaticallyIntersectWithWalls: boolean;
|
|
6993
|
+
enableTerrain: boolean;
|
|
6994
|
+
}
|
|
6995
|
+
|
|
5708
6996
|
export declare class PlanInteractionHandlerExtension extends UndoRedoHandler {
|
|
5709
6997
|
addOrUpdateExternalPlanObjects(serializedConfiguration: string | string[], position: KernelVector3, rotationInRad: number, updateConfiguration: any, mergedGroupIds: string | string[]): PlanObject[];
|
|
5710
6998
|
applyKernelParameterChange<T>(callback: () => T, parameterKey: string, elementId?: string | number): T;
|
|
@@ -5735,7 +7023,13 @@ export declare abstract class PlanMeasure extends PlanElement {
|
|
|
5735
7023
|
getPoint2(): KernelVector3f;
|
|
5736
7024
|
}
|
|
5737
7025
|
|
|
5738
|
-
export declare interface PlanMeasure_2 extends
|
|
7026
|
+
export declare interface PlanMeasure_2 extends PlanElement_2 {
|
|
7027
|
+
new (): PlanMeasure_2;
|
|
7028
|
+
getPoint1(): Vector3;
|
|
7029
|
+
getPoint2(): Vector3;
|
|
7030
|
+
}
|
|
7031
|
+
|
|
7032
|
+
export declare interface PlanMeasure_3 extends PlanObject {
|
|
5739
7033
|
getPoint1(): KernelVector3f;
|
|
5740
7034
|
getPoint2(): KernelVector3f;
|
|
5741
7035
|
}
|
|
@@ -5754,21 +7048,21 @@ export declare abstract class PlanModelViewHelper {
|
|
|
5754
7048
|
}
|
|
5755
7049
|
|
|
5756
7050
|
export declare interface PlanModelViewHelper_2 {
|
|
5757
|
-
getPlanOverview(plan:
|
|
5758
|
-
getConstructionOverview(plan:
|
|
5759
|
-
getPlanObject(plan:
|
|
5760
|
-
isChildObjectRootComponent(plan:
|
|
5761
|
-
isAnimationRootComponent(plan:
|
|
5762
|
-
getRootPlanObjectId(plan:
|
|
5763
|
-
getObjectComponent(plan:
|
|
5764
|
-
getExternalObjectComponent(plan:
|
|
5765
|
-
requestMesh3d(element:
|
|
5766
|
-
getExternalObjectGroups(plan:
|
|
5767
|
-
getExternalRoomInformation(plan:
|
|
7051
|
+
getPlanOverview(plan: Plan_3): PlanOverview;
|
|
7052
|
+
getConstructionOverview(plan: Plan_3): ConstructionOverview;
|
|
7053
|
+
getPlanObject(plan: Plan_3, aRuntimeId: number): KernelPlanObject;
|
|
7054
|
+
isChildObjectRootComponent(plan: Plan_3, componentRuntimeId: number): boolean;
|
|
7055
|
+
isAnimationRootComponent(plan: Plan_3, componentRuntimeId: number): boolean;
|
|
7056
|
+
getRootPlanObjectId(plan: Plan_3, aRuntimeId: number): number;
|
|
7057
|
+
getObjectComponent(plan: Plan_3, typeOfId: TypeOfCoreId, anId: number): KernelPlanObjectComponent;
|
|
7058
|
+
getExternalObjectComponent(plan: Plan_3, groupId: string, moduleId: string): KernelPlanObjectComponent;
|
|
7059
|
+
requestMesh3d(element: PlanElement_3): void;
|
|
7060
|
+
getExternalObjectGroups(plan: Plan_3): KernelObjectConfigurationArray;
|
|
7061
|
+
getExternalRoomInformation(plan: Plan_3, mode: PlanRoomGeometryMode_2): RoomInformation;
|
|
5768
7062
|
getGroupedObjects(anObject: PlanObject): KernelPlanObject[];
|
|
5769
|
-
calculateLightSourceDistribution(plan:
|
|
7063
|
+
calculateLightSourceDistribution(plan: Plan_3, lightSourceConfiguration: LightSourceConfiguration): RoomLightSourceDistributionArray;
|
|
5770
7064
|
getObjectSnapInformation(anObject: PlanObject, debugHelpLines: boolean): ObjectSnapInformation;
|
|
5771
|
-
getPlanViews(plan:
|
|
7065
|
+
getPlanViews(plan: Plan_3): PlanView[];
|
|
5772
7066
|
}
|
|
5773
7067
|
|
|
5774
7068
|
export declare class Planner<P extends readonly PluginName[] = readonly []> extends Main {
|
|
@@ -5860,7 +7154,7 @@ export declare interface PlannerInitData {
|
|
|
5860
7154
|
* usage: mode=2D
|
|
5861
7155
|
* options: 2D, 3D, FP
|
|
5862
7156
|
*/
|
|
5863
|
-
mode?:
|
|
7157
|
+
mode?: Enumify<typeof CAMERA_TYPE>;
|
|
5864
7158
|
/* Excluded from this release type: edit */
|
|
5865
7159
|
/**
|
|
5866
7160
|
* @description If set to true it will treat the planner as a multi object configurator (moc).
|
|
@@ -5938,50 +7232,50 @@ export declare class PlannerKernelAccess extends ConfiguratorKernelAccess {
|
|
|
5938
7232
|
requestPlanObjectDimensions(): void;
|
|
5939
7233
|
cleanUpCallbacks(): void;
|
|
5940
7234
|
registerCallbacks(): void;
|
|
5941
|
-
planElementRemoved(element:
|
|
5942
|
-
handlerSwitchedPlans(fromPlan:
|
|
7235
|
+
planElementRemoved(element: PlanElement_3): void;
|
|
7236
|
+
handlerSwitchedPlans(fromPlan: Plan_3, toPlan: Plan_3): void;
|
|
5943
7237
|
planBoundsChanged(): void;
|
|
5944
7238
|
planCleared(): void;
|
|
5945
|
-
planCompletelyLoaded(plan:
|
|
5946
|
-
planElement3dMeshChanged(_plan:
|
|
7239
|
+
planCompletelyLoaded(plan: Plan_3): void;
|
|
7240
|
+
planElement3dMeshChanged(_plan: Plan_3, element: PlanElement_3): void;
|
|
5947
7241
|
private _onStaticItemAdded;
|
|
5948
7242
|
private _onConfigurableItemAdded;
|
|
5949
7243
|
private _onConfigurableConstructionItemAdded;
|
|
5950
|
-
planElementAdded(plan:
|
|
5951
|
-
planElementChanged(plan:
|
|
7244
|
+
planElementAdded(plan: Plan_3, element: PlanElement_3): Promise<void>;
|
|
7245
|
+
planElementChanged(plan: Plan_3, element: PlanElement_3): void;
|
|
5952
7246
|
planHistoryStateChanged(): void;
|
|
5953
|
-
planObjectConfigurationCreated(_plan:
|
|
5954
|
-
externalObjectConfigurationChanged(plan:
|
|
5955
|
-
externalObjectConfigurationLoaded(plan:
|
|
5956
|
-
externalObjectConfigurationDeleted(plan:
|
|
5957
|
-
externalObjectComponentDeleted(plan:
|
|
5958
|
-
externalObjectConfigurationDuplicated(plan:
|
|
5959
|
-
externalObjectPositionChanged(plan:
|
|
5960
|
-
externalObjectPlanChanged(plan:
|
|
5961
|
-
externalObjectConfigurationsMerged(plan:
|
|
5962
|
-
externalObjectComponentSplitOff(plan:
|
|
5963
|
-
externalObjectRequestAddOnContainers(plan:
|
|
5964
|
-
externalObjectAddSubArticle(plan:
|
|
5965
|
-
externalObjectMoveSubArticle(plan:
|
|
5966
|
-
externalObjectRemoveSubModule(plan:
|
|
5967
|
-
planObjectConfigurationLoaded(plan:
|
|
5968
|
-
planObjectConfigurationChanged(plan:
|
|
7247
|
+
planObjectConfigurationCreated(_plan: Plan_3, _element: PlanObject): void;
|
|
7248
|
+
externalObjectConfigurationChanged(plan: Plan_3, planObject: PlanObject, configuration: string): void;
|
|
7249
|
+
externalObjectConfigurationLoaded(plan: Plan_3, planObject: PlanObject, configuration: string): void;
|
|
7250
|
+
externalObjectConfigurationDeleted(plan: Plan_3, planObject: PlanObject, uniqueId: string): void;
|
|
7251
|
+
externalObjectComponentDeleted(plan: Plan_3, planObject: PlanObject, remainingGroupOrGroups: ExternalObjectGroup | ExternalObjectGroup[], deletedRootModuleId: string): void;
|
|
7252
|
+
externalObjectConfigurationDuplicated(plan: Plan_3, planObject: PlanObject, duplicatedGroup: ExternalObjectGroup): void;
|
|
7253
|
+
externalObjectPositionChanged(plan: Plan_3, planObject: PlanObject, movedGroup: ExternalObjectGroup): void;
|
|
7254
|
+
externalObjectPlanChanged(plan: Plan_3, planObject: PlanObject, movedGroup: ExternalObjectGroup): void;
|
|
7255
|
+
externalObjectConfigurationsMerged(plan: Plan_3, planObject: PlanObject, mergedGroup: ExternalObjectGroup, idsOfGroupsMerged: string | string[], targetRootModuleId: string, mergedWithDragging: boolean): void;
|
|
7256
|
+
externalObjectComponentSplitOff(plan: Plan_3, planObject: PlanObject, splitGroups: ExternalObjectGroup[]): void;
|
|
7257
|
+
externalObjectRequestAddOnContainers(plan: Plan_3, planObject: PlanObject, groupId: string, subArticleId: string): void;
|
|
7258
|
+
externalObjectAddSubArticle(plan: Plan_3, planObject: PlanObject, subArticleId: string, rootModuleId: string, parentModuleId: string, insertPosition?: number[]): void;
|
|
7259
|
+
externalObjectMoveSubArticle(plan: Plan_3, planObject: PlanObject, subArticleId: string, subModuleId: string, rootModuleId: string, parentModuleId: string, insertPosition?: number[]): void;
|
|
7260
|
+
externalObjectRemoveSubModule(plan: Plan_3, planObject: PlanObject, groupId: string, subModuleId: string): void;
|
|
7261
|
+
planObjectConfigurationLoaded(plan: Plan_3, element: PlanElement_3, success: boolean): Promise<void>;
|
|
7262
|
+
planObjectConfigurationChanged(plan: Plan_3, object: PlanObject): void;
|
|
5969
7263
|
requestCatalogItem(catalogItemId: string): void;
|
|
5970
7264
|
startedDrawing(): void;
|
|
5971
7265
|
stoppedDrawing(): void;
|
|
5972
7266
|
updateMesh2d(): void;
|
|
5973
7267
|
beginConstruction(): void;
|
|
5974
|
-
addMesh(planElement:
|
|
7268
|
+
addMesh(planElement: PlanElement_3, material: any, vertices: Float32Array, indices: Int32Array, uvCoords: Float32Array, normals: Float32Array): void;
|
|
5975
7269
|
endConstruction(): void;
|
|
5976
|
-
beginPlanConstruction(plan:
|
|
5977
|
-
addPlanMesh(plan:
|
|
5978
|
-
endPlanConstruction(plan:
|
|
5979
|
-
createPlanFromObject(rapiElement: RapiItem | RapiConfiguration, position?: Position3, rotation?: number):
|
|
7270
|
+
beginPlanConstruction(plan: Plan_3): void;
|
|
7271
|
+
addPlanMesh(plan: Plan_3, material: any, vertices: Float32Array, indices: Int32Array, uvCoords: Float32Array, normals: Float32Array, type: KernelEnum): void;
|
|
7272
|
+
endPlanConstruction(plan: Plan_3): void;
|
|
7273
|
+
createPlanFromObject(rapiElement: RapiItem | RapiConfiguration, position?: Position3, rotation?: number): Plan_3;
|
|
5980
7274
|
addPlanObjectFromItem(rapiElement: RapiItem | RapiConfiguration, newUndoRedoStep: boolean, position?: Position3, rotation?: number, keepInteractionOpen?: boolean): Promise<RuntimeId>;
|
|
5981
7275
|
private _performAddPlanObjectFromItem;
|
|
5982
7276
|
coupleReferences(jsObject: any, coreReference: KernelObject): void;
|
|
5983
7277
|
private _decoupleReferences;
|
|
5984
|
-
isConstructionPlanElement(planElement:
|
|
7278
|
+
isConstructionPlanElement(planElement: PlanElement_3): boolean;
|
|
5985
7279
|
planObjectSelectionChanged(configurationRuntimeId: number, elementRuntimeId: number): void;
|
|
5986
7280
|
protected _componentSelectionChanged(_planObject: PlanObjectKernel, component: KernelComponent): void;
|
|
5987
7281
|
protected _externalObjectParameterChanged(objectOrComponentId: number, parameterKey: string, value: string): void;
|
|
@@ -6001,7 +7295,7 @@ export declare class PlannerKernelAccess extends ConfiguratorKernelAccess {
|
|
|
6001
7295
|
configureExternalObjectApi(externalObjectSettings?: ExternalObjectApiConfiguration): Promise<void>;
|
|
6002
7296
|
setComponentParameter(componentId: number, interactionKey: string, newValue: any): void;
|
|
6003
7297
|
protected _getAnimationLevelForObject(runtimeId: number, _animation: KernelAnimation): AnimationLevelType;
|
|
6004
|
-
getObjectComponent(runtimeId: number, typeOfId:
|
|
7298
|
+
getObjectComponent(runtimeId: number, typeOfId: Enumify<typeof CORE_TYPE_OF_CORE_ID>): KernelPlanObjectComponent | null;
|
|
6005
7299
|
isChildObjectRootComponent(roomleComponent: RoomleComponent): boolean;
|
|
6006
7300
|
isAnimationRootComponent(roomleComponent: RoomleComponent): boolean;
|
|
6007
7301
|
changePlanObjectParameter(runtimeId: number, parameterKey: string, type: string, value: string, resolve: () => void, reject: () => void): void;
|
|
@@ -6010,18 +7304,18 @@ export declare class PlannerKernelAccess extends ConfiguratorKernelAccess {
|
|
|
6010
7304
|
}
|
|
6011
7305
|
|
|
6012
7306
|
export declare interface PlannerKernelCallbackI {
|
|
6013
|
-
handlerSwitchedPlans(fromPlan:
|
|
6014
|
-
planCompletelyLoaded(plan:
|
|
6015
|
-
beginPlanConstruction(plan:
|
|
6016
|
-
addMesh(planElement:
|
|
6017
|
-
addPlanMesh(plan:
|
|
6018
|
-
endPlanConstruction(plan:
|
|
7307
|
+
handlerSwitchedPlans(fromPlan: Plan_3, toPlan: Plan_3): void;
|
|
7308
|
+
planCompletelyLoaded(plan: Plan_3): void;
|
|
7309
|
+
beginPlanConstruction(plan: Plan_3): void;
|
|
7310
|
+
addMesh(planElement: PlanElement_3, material: any, vertices: Float32Array, indices: Int32Array, uvCoords: Float32Array, normals: Float32Array): void;
|
|
7311
|
+
addPlanMesh(plan: Plan_3, material: any, vertices: Float32Array, indices: Int32Array, uvCoords: Float32Array, normals: Float32Array, type: KernelEnum): void;
|
|
7312
|
+
endPlanConstruction(plan: Plan_3): void;
|
|
6019
7313
|
addPlanObjectToScene(planElementViewModel: PlanObjectViewModel | null): void;
|
|
6020
7314
|
removePlanObjectFromScene(planElementViewModel: PlanObjectViewModel | undefined): void;
|
|
6021
|
-
planElementChanged(plan:
|
|
6022
|
-
planElementRemoved(element:
|
|
6023
|
-
planObjectConfigurationLoaded(plan:
|
|
6024
|
-
planObjectConfigurationChanged(plan:
|
|
7315
|
+
planElementChanged(plan: Plan_3, planObject: PlanElementViewModel): void;
|
|
7316
|
+
planElementRemoved(element: PlanElement_3): void;
|
|
7317
|
+
planObjectConfigurationLoaded(plan: Plan_3, element: PlanElement_3, success: boolean): void;
|
|
7318
|
+
planObjectConfigurationChanged(plan: Plan_3, element: PlanElementViewModel): void;
|
|
6025
7319
|
planBoundsChanged(): void;
|
|
6026
7320
|
planHistoryStateChanged(): void;
|
|
6027
7321
|
planCleared(): void;
|
|
@@ -6079,7 +7373,7 @@ export declare interface PlannerKernelContainer {
|
|
|
6079
7373
|
unregisterPlannerCallback: (callbacksObject: any) => void;
|
|
6080
7374
|
StringArray: StringArray;
|
|
6081
7375
|
Vector2fArray: Vector2fArray;
|
|
6082
|
-
LongArray:
|
|
7376
|
+
LongArray: LongArray_2;
|
|
6083
7377
|
DockPairPreviewArray: DockPairPreviewArray_2;
|
|
6084
7378
|
ComponentArray: ComponentArray_2;
|
|
6085
7379
|
Type: Type_2;
|
|
@@ -6087,16 +7381,16 @@ export declare interface PlannerKernelContainer {
|
|
|
6087
7381
|
VariableArray: VariableArray_2;
|
|
6088
7382
|
RangeArray: RangeArray_2;
|
|
6089
7383
|
ParameterValueArray: ParameterValueArray_2;
|
|
6090
|
-
ParameterArray:
|
|
7384
|
+
ParameterArray: ParameterArray_3;
|
|
6091
7385
|
ParameterGroupArray: ParameterGroupArray_2;
|
|
6092
7386
|
PartListParameterArray: PartListParameterArray_2;
|
|
6093
7387
|
ConfigurationArray: ConfigurationArray_2;
|
|
6094
7388
|
PartArray: PartArray_2;
|
|
6095
|
-
PossibleChildArray:
|
|
6096
|
-
AddOnSpotArray:
|
|
7389
|
+
PossibleChildArray: PossibleChildArray_3;
|
|
7390
|
+
AddOnSpotArray: AddOnSpotArray_3;
|
|
6097
7391
|
PlanObjectList: PlanObjectList;
|
|
6098
7392
|
ParamKeyValuePairArray: ParamKeyValuePairArray_2;
|
|
6099
|
-
IntArray:
|
|
7393
|
+
IntArray: IntArray_3;
|
|
6100
7394
|
Kernel: ConfiguratorKernelClass;
|
|
6101
7395
|
Unit: Unit_2;
|
|
6102
7396
|
UnitStringType: UnitStringType_2;
|
|
@@ -6280,7 +7574,7 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
|
|
|
6280
7574
|
private _hide2dMeasurements;
|
|
6281
7575
|
private _is2dMeasurementsOverlayDirty;
|
|
6282
7576
|
private _debugSpheres;
|
|
6283
|
-
constructor(creator: string, offset: CanvasOffset, plannerCallback: RoomlePlannerCallback, mode:
|
|
7577
|
+
constructor(creator: string, offset: CanvasOffset, plannerCallback: RoomlePlannerCallback, mode: Enumify<typeof CAMERA_TYPE>);
|
|
6284
7578
|
isDragging(): boolean;
|
|
6285
7579
|
protected _initializeMeshGeneratorSettings(): void;
|
|
6286
7580
|
setHomagIntelligence(homagIntelligence: HomagIntelligence | null): void;
|
|
@@ -6323,7 +7617,7 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
|
|
|
6323
7617
|
private _resetCameraFacingVisibility;
|
|
6324
7618
|
private _forceWallsAndCeiling;
|
|
6325
7619
|
protected _getInputManager(): InputManager;
|
|
6326
|
-
protected createCameraControl(mode:
|
|
7620
|
+
protected createCameraControl(mode: Enumify<typeof CAMERA_TYPE>, _offset: CanvasOffset): void;
|
|
6327
7621
|
startViewing(): void;
|
|
6328
7622
|
startConfiguring(): void;
|
|
6329
7623
|
private _is3DView;
|
|
@@ -6337,10 +7631,10 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
|
|
|
6337
7631
|
requestCatalogItem(catalogItemId: string): void;
|
|
6338
7632
|
private _staticItemsLoaded;
|
|
6339
7633
|
preload(id: string): void;
|
|
6340
|
-
planXMLLoaded(plan:
|
|
7634
|
+
planXMLLoaded(plan: Plan_3): void;
|
|
6341
7635
|
private _activateCeilingLight;
|
|
6342
|
-
planCompletelyLoaded(_plan:
|
|
6343
|
-
handlerSwitchedPlans(fromPlan:
|
|
7636
|
+
planCompletelyLoaded(_plan: Plan_3): void;
|
|
7637
|
+
handlerSwitchedPlans(fromPlan: Plan_3, toPlan: Plan_3): void;
|
|
6344
7638
|
/**
|
|
6345
7639
|
* Re-applies the persisted lamp on/off state after a plan finishes loading.
|
|
6346
7640
|
* Reads the `lampOff` flag from each element's `customDataJson` (which the
|
|
@@ -6348,13 +7642,13 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
|
|
|
6348
7642
|
*/
|
|
6349
7643
|
private _restoreLampStates;
|
|
6350
7644
|
private _itemsLoaded;
|
|
6351
|
-
beginPlanConstruction(_plan:
|
|
6352
|
-
addPlanMesh(_plan:
|
|
6353
|
-
endPlanConstruction(_plan:
|
|
7645
|
+
beginPlanConstruction(_plan: Plan_3): void;
|
|
7646
|
+
addPlanMesh(_plan: Plan_3, _material: any, _vertices: Float32Array, _indices: Int32Array, _uvCoords: Float32Array, _normals: Float32Array, _type: KernelEnum): void;
|
|
7647
|
+
endPlanConstruction(_plan: Plan_3): void;
|
|
6354
7648
|
addPlanObjectToScene(planViewModel: PlanObjectViewModel | null): Promise<void>;
|
|
6355
7649
|
private _recycleLights;
|
|
6356
7650
|
removePlanObjectFromScene(planViewModel: PlanElementViewModel | undefined): void;
|
|
6357
|
-
planElementChanged(plan:
|
|
7651
|
+
planElementChanged(plan: Plan_3, planElementViewModel: PlanElementViewModel): void;
|
|
6358
7652
|
exportGLB(options?: ModelExportOptions): Promise<void>;
|
|
6359
7653
|
exportUSDZ(options?: ModelExportOptions): Promise<void>;
|
|
6360
7654
|
importGLB(url: string): void;
|
|
@@ -6384,7 +7678,7 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
|
|
|
6384
7678
|
redo(): Promise<void>;
|
|
6385
7679
|
private _reshowDimensionsAfterUndoRedo;
|
|
6386
7680
|
protected _updateConfigurationFromHistory(configurationString: string): Promise<void>;
|
|
6387
|
-
setMode(mode:
|
|
7681
|
+
setMode(mode: Enumify<typeof CAMERA_TYPE>): void;
|
|
6388
7682
|
private _clearHighlighting;
|
|
6389
7683
|
updateHighlightingOfPlanElements(): void;
|
|
6390
7684
|
planObjectUpdated(planObject: PlanObjectKernel, geometryChanged: boolean, pendingDocking: boolean, automaticCalculationUpdate: boolean): void;
|
|
@@ -6392,9 +7686,9 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
|
|
|
6392
7686
|
highlightPlanElementsById(runtimeIds: number[] | null): void;
|
|
6393
7687
|
highlightPlanElementById(runtimeId: number | null): void;
|
|
6394
7688
|
destroy(): void;
|
|
6395
|
-
planObjectConfigurationLoaded(plan:
|
|
6396
|
-
planObjectConfigurationChanged(_plan:
|
|
6397
|
-
addMesh(_planElement:
|
|
7689
|
+
planObjectConfigurationLoaded(plan: Plan_3, element: PlanElement_3, success: boolean): void;
|
|
7690
|
+
planObjectConfigurationChanged(_plan: Plan_3, element: PlanElementViewModel): Promise<void>;
|
|
7691
|
+
addMesh(_planElement: PlanElement_3, _material: any, _vertices: Float32Array, _indices: Int32Array, _uvCoords: Float32Array, _normals: Float32Array): void;
|
|
6398
7692
|
updateCameraOnDrawWalls(): void;
|
|
6399
7693
|
getBounds(): Box3;
|
|
6400
7694
|
getGeometryBounds(): Box3 | null;
|
|
@@ -6407,7 +7701,7 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
|
|
|
6407
7701
|
rotatePlanElements(ids: RuntimeId[], rotateBy: number): void;
|
|
6408
7702
|
rotatePlanElementSelection(rotateBy: number): void;
|
|
6409
7703
|
planBoundsChanged(): void;
|
|
6410
|
-
planElementRemoved(element:
|
|
7704
|
+
planElementRemoved(element: PlanElement_3): void;
|
|
6411
7705
|
private _onPlanChanged;
|
|
6412
7706
|
prepareTopImage(options?: PrepareImageOptions, isolationMode?: boolean): Promise<Base64Image>;
|
|
6413
7707
|
preparePerspectiveImageOf(runtimeId: RuntimeId, options?: PrepareImageOptions): Promise<Base64Image>;
|
|
@@ -6434,8 +7728,8 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
|
|
|
6434
7728
|
getPositionForDragEvent(dragEvent: DragEvent | TouchEvent | {
|
|
6435
7729
|
clientX: number;
|
|
6436
7730
|
clientY: number;
|
|
6437
|
-
}):
|
|
6438
|
-
getPositionForLastPointer():
|
|
7731
|
+
}): Vector3_2 | null;
|
|
7732
|
+
getPositionForLastPointer(): Vector3_2 | null;
|
|
6439
7733
|
isPointerUp(): boolean;
|
|
6440
7734
|
getPlannerSceneEventHandler(): PlannerSceneEventHandler;
|
|
6441
7735
|
disablePlannerEvents(): void;
|
|
@@ -6522,7 +7816,7 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
|
|
|
6522
7816
|
enableEvents(): void;
|
|
6523
7817
|
resetCameraPositionToStart(): void;
|
|
6524
7818
|
moveCamera(cameraParameter: CameraParameter): Promise<void>;
|
|
6525
|
-
protected _setInteriorOrExteriorWallMaterial(type:
|
|
7819
|
+
protected _setInteriorOrExteriorWallMaterial(type: Enumify<typeof SET_WALL_MATERIAL_TYPE>, material: BatchPaintMaterial): void;
|
|
6526
7820
|
changeInteriorWallsMaterial(material: BatchPaintMaterial): void;
|
|
6527
7821
|
changeExteriorWallsMaterial(material: BatchPaintMaterial): void;
|
|
6528
7822
|
changeFloorsMaterial(floors: KernelFloor[], material: BatchPaintMaterial): void;
|
|
@@ -6552,7 +7846,7 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
|
|
|
6552
7846
|
switchConfiguratorObject(clickedComponentId: number): Promise<void>;
|
|
6553
7847
|
selectObjectComponent(planObjectComponent: KernelPlanObjectComponent, switchToConfigurator: boolean, selectComponent: boolean): Promise<void>;
|
|
6554
7848
|
_swapObjectInConfigurator(planObjectComponent: KernelPlanObjectComponent): Promise<void>;
|
|
6555
|
-
getObjectComponent(id: number, typeOfId:
|
|
7849
|
+
getObjectComponent(id: number, typeOfId: Enumify<typeof CORE_TYPE_OF_CORE_ID>): KernelPlanObjectComponent | null;
|
|
6556
7850
|
getExternalObjectComponent(groupOrRootModuleId: string, subModuleId: string): KernelPlanObjectComponent;
|
|
6557
7851
|
getCameraParameters3d(): CameraParameter | null;
|
|
6558
7852
|
private _createCeilingLightGroup;
|
|
@@ -6576,7 +7870,7 @@ export declare interface PlanNode extends KernelObject {
|
|
|
6576
7870
|
getNumberOfConnectedWalls(): number;
|
|
6577
7871
|
}
|
|
6578
7872
|
|
|
6579
|
-
export declare interface PlanObject extends
|
|
7873
|
+
export declare interface PlanObject extends PlanElement_3 {
|
|
6580
7874
|
size: KernelVector3;
|
|
6581
7875
|
rotation: number;
|
|
6582
7876
|
customLabel: string;
|
|
@@ -6599,11 +7893,63 @@ export declare interface PlanObject extends PlanElement_2 {
|
|
|
6599
7893
|
isConstructionObjectProduct(): boolean;
|
|
6600
7894
|
getWallDistances(): ObjectToWallLineArray;
|
|
6601
7895
|
getRectangle(): Rectangle;
|
|
6602
|
-
getRotationToPreferredFront():
|
|
7896
|
+
getRotationToPreferredFront(): ObjectFrontRotation_2;
|
|
6603
7897
|
isRootComponentOfChildObject(componentRuntimeId: number): boolean;
|
|
6604
7898
|
getReplacementConstructionId(): number;
|
|
6605
7899
|
}
|
|
6606
7900
|
|
|
7901
|
+
export declare interface PlanObject_2 extends PlanElement_2 {
|
|
7902
|
+
new (): PlanObject_2;
|
|
7903
|
+
getCatalogItemId(): string;
|
|
7904
|
+
getOpenConversationId(): number;
|
|
7905
|
+
getConfigurationRuntimeId(): number;
|
|
7906
|
+
getReplacementConstructionId(): number;
|
|
7907
|
+
getObjectType(): string;
|
|
7908
|
+
getObjectCategory(): ObjectTypeCategory;
|
|
7909
|
+
hasConfiguration(): boolean;
|
|
7910
|
+
isAdjustable(): boolean;
|
|
7911
|
+
isExternalObject(): boolean;
|
|
7912
|
+
isConstructionObjectProduct(): boolean;
|
|
7913
|
+
retrieveConfigurationId(): UniqueIdAndHash;
|
|
7914
|
+
getConfiguration(): string;
|
|
7915
|
+
isConfigurationLoaded(): boolean;
|
|
7916
|
+
getRectangle(): ExtrudedRectangle;
|
|
7917
|
+
getWallDistances(): LineArray;
|
|
7918
|
+
getRotationToPreferredFront(): ObjectFrontRotation;
|
|
7919
|
+
isRootComponentOfChildObject(componentRuntimeId: number): boolean;
|
|
7920
|
+
readonly customLabel: string;
|
|
7921
|
+
readonly roll: number;
|
|
7922
|
+
readonly pitch: number;
|
|
7923
|
+
readonly entityYaw: number;
|
|
7924
|
+
readonly rotation: number;
|
|
7925
|
+
readonly rgbColor: number;
|
|
7926
|
+
readonly useCustomColor: boolean;
|
|
7927
|
+
readonly level: number;
|
|
7928
|
+
readonly flipX: boolean;
|
|
7929
|
+
readonly flipXEnabled: boolean;
|
|
7930
|
+
readonly flipY: boolean;
|
|
7931
|
+
readonly flipYEnabled: boolean;
|
|
7932
|
+
readonly fixedZ: boolean;
|
|
7933
|
+
size: Vector3;
|
|
7934
|
+
readonly boxForMeasurement: Box;
|
|
7935
|
+
readonly measurementBounds: AssembledObjectBounds;
|
|
7936
|
+
}
|
|
7937
|
+
|
|
7938
|
+
export declare interface PlanObject_3 {
|
|
7939
|
+
animations: Animation_2[];
|
|
7940
|
+
boxForMeasurement: Box;
|
|
7941
|
+
dimensioningAxes: DimensioningAxis_2[];
|
|
7942
|
+
dimensionings: Dimensioning_2[];
|
|
7943
|
+
externalId: string;
|
|
7944
|
+
externalObject: boolean;
|
|
7945
|
+
geometryBounds: Box;
|
|
7946
|
+
geometryBoundsWithEnvironment: Box;
|
|
7947
|
+
id: number;
|
|
7948
|
+
parameterGroups: ParameterGroup[];
|
|
7949
|
+
parameters: Parameter[];
|
|
7950
|
+
rootPlanComponentId: number;
|
|
7951
|
+
}
|
|
7952
|
+
|
|
6607
7953
|
export declare interface PlanObjectKernel {
|
|
6608
7954
|
geometryBounds: KernelCube;
|
|
6609
7955
|
boxForMeasurement: KernelCube;
|
|
@@ -6647,6 +7993,8 @@ export declare abstract class PlanObjectPtr extends AbstractModelWrapper {
|
|
|
6647
7993
|
export declare class PlanObjectPtrList extends EmsList<PlanObjectPtr> {
|
|
6648
7994
|
}
|
|
6649
7995
|
|
|
7996
|
+
export declare type PlanObjectPtrList_2 = EmscriptenList_2<PlanObject_2>;
|
|
7997
|
+
|
|
6650
7998
|
export declare class PlanObjectPtrVector extends EmsArray<PlanObjectPtr> {
|
|
6651
7999
|
}
|
|
6652
8000
|
|
|
@@ -6667,8 +8015,8 @@ export declare class PlanObjectViewModel extends PlanElementViewModel {
|
|
|
6667
8015
|
isInitDone(): Promise<void>;
|
|
6668
8016
|
clear(): void;
|
|
6669
8017
|
getPlanObject(): PlanObject;
|
|
6670
|
-
getSize():
|
|
6671
|
-
getObjectMeasurements(zoomFactor: number, clientWidth: number, clientHeight: number, otherObjects?: NeighboringObjectMeasurementInfo[]):
|
|
8018
|
+
getSize(): Vector3_2;
|
|
8019
|
+
getObjectMeasurements(zoomFactor: number, clientWidth: number, clientHeight: number, otherObjects?: NeighboringObjectMeasurementInfo[]): Nullable<ObjectMeasurements>;
|
|
6672
8020
|
update(): void;
|
|
6673
8021
|
}
|
|
6674
8022
|
|
|
@@ -6676,7 +8024,7 @@ export declare interface PlanOverview {
|
|
|
6676
8024
|
area: number;
|
|
6677
8025
|
bounds: KernelCube;
|
|
6678
8026
|
objects: KernelPlanObjectList;
|
|
6679
|
-
outsideWalls:
|
|
8027
|
+
outsideWalls: PlanElement_3[];
|
|
6680
8028
|
rooms: PlanOverviewRoom[];
|
|
6681
8029
|
}
|
|
6682
8030
|
|
|
@@ -6697,6 +8045,11 @@ export declare abstract class PlanText extends PlanElement {
|
|
|
6697
8045
|
getText(): string;
|
|
6698
8046
|
}
|
|
6699
8047
|
|
|
8048
|
+
export declare interface PlanText_2 extends PlanElement_2 {
|
|
8049
|
+
new (): PlanText_2;
|
|
8050
|
+
getText(): string;
|
|
8051
|
+
}
|
|
8052
|
+
|
|
6700
8053
|
export declare interface PlanView extends KernelPlanViewStyle {
|
|
6701
8054
|
id: number;
|
|
6702
8055
|
viewType: PlanViewType;
|
|
@@ -6741,9 +8094,9 @@ export declare class PlanViewModel extends ConfiguratorViewModel implements Plan
|
|
|
6741
8094
|
startedDrawing(): void;
|
|
6742
8095
|
stoppedDrawing(): void;
|
|
6743
8096
|
planBoundsChanged(): void;
|
|
6744
|
-
setReference(plan:
|
|
8097
|
+
setReference(plan: Plan_3): void;
|
|
6745
8098
|
clearReference(): void;
|
|
6746
|
-
getCorePlan():
|
|
8099
|
+
getCorePlan(): Plan_3;
|
|
6747
8100
|
addPlanElementViewModel(planElementViewModel: PlanElementViewModel): void;
|
|
6748
8101
|
private _handleConfiguratorPlanObjectViewModel;
|
|
6749
8102
|
private _linkPlanObjectViewModelAndComponent;
|
|
@@ -6832,19 +8185,19 @@ export declare class PlanViewModel extends ConfiguratorViewModel implements Plan
|
|
|
6832
8185
|
protected _setMaterial(mesh: Mesh, material: any, _type?: KernelEnum, materialAttributes?: Record<string, string>): void;
|
|
6833
8186
|
Editor3dComponentCreated(componentDocking: KernelComponentDocking): void;
|
|
6834
8187
|
addPlanObjectToScene(_planViewModel: PlanObjectViewModel | null): void;
|
|
6835
|
-
handlerSwitchedPlans(_fromPlan:
|
|
6836
|
-
planCompletelyLoaded(_plan:
|
|
6837
|
-
beginPlanConstruction(_plan:
|
|
6838
|
-
addPlanMesh(_plan:
|
|
6839
|
-
endPlanConstruction(_plan:
|
|
6840
|
-
planElementChanged(_plan:
|
|
6841
|
-
planObjectConfigurationLoaded(_plan:
|
|
8188
|
+
handlerSwitchedPlans(_fromPlan: Plan_3, _toPlan: Plan_3): void;
|
|
8189
|
+
planCompletelyLoaded(_plan: Plan_3): void;
|
|
8190
|
+
beginPlanConstruction(_plan: Plan_3): void;
|
|
8191
|
+
addPlanMesh(_plan: Plan_3, _material: any, _vertices: Float32Array, _indices: Int32Array, _uvCoords: Float32Array, _normals: Float32Array, _type: KernelEnum): void;
|
|
8192
|
+
endPlanConstruction(_plan: Plan_3): void;
|
|
8193
|
+
planElementChanged(_plan: Plan_3, _planObject: PlanElementViewModel): void;
|
|
8194
|
+
planObjectConfigurationLoaded(_plan: Plan_3, planElement: PlanElement_3, success: boolean): void;
|
|
6842
8195
|
recomputeConfigurableBoundingBoxes(): void;
|
|
6843
|
-
planObjectConfigurationChanged(_plan:
|
|
6844
|
-
addMesh(planElement:
|
|
8196
|
+
planObjectConfigurationChanged(_plan: Plan_3, _element: PlanElementViewModel): void;
|
|
8197
|
+
addMesh(planElement: PlanElement_3, material: any, vertices: Float32Array, indices: Int32Array, uvCoords: Float32Array, normals: Float32Array): void;
|
|
6845
8198
|
removePlanObjectFromScene(planElementViewModel: PlanElementViewModel | undefined): void;
|
|
6846
8199
|
private _isConstructionType;
|
|
6847
|
-
planElementRemoved(element:
|
|
8200
|
+
planElementRemoved(element: PlanElement_3): void;
|
|
6848
8201
|
private _removeObject;
|
|
6849
8202
|
protected getMeshGenerator(): MeshGenerator;
|
|
6850
8203
|
componentConfigurationUpdated(runtimeComponentId: number, geometryChanged: boolean): void;
|
|
@@ -6856,8 +8209,8 @@ export declare class PlanViewModel extends ConfiguratorViewModel implements Plan
|
|
|
6856
8209
|
showAll(): void;
|
|
6857
8210
|
planHistoryStateChanged(): void;
|
|
6858
8211
|
setNodeVisibility(visible: boolean): void;
|
|
6859
|
-
setCameraType(cameraType:
|
|
6860
|
-
get cameraType():
|
|
8212
|
+
setCameraType(cameraType: Enumify<typeof CAMERA_TYPE>): Promise<void>;
|
|
8213
|
+
get cameraType(): Enumify<typeof CAMERA_TYPE>;
|
|
6861
8214
|
setNodeZoom(zoom: number): void;
|
|
6862
8215
|
planCleared(): void;
|
|
6863
8216
|
requestCatalogItem(_catalogItemId: string): void;
|
|
@@ -6871,6 +8224,10 @@ export declare interface PlanViewType {
|
|
|
6871
8224
|
value: Enumify<typeof CORE_PLAN_VIEW_TYPE>;
|
|
6872
8225
|
}
|
|
6873
8226
|
|
|
8227
|
+
export declare interface PlanViewType_2 {
|
|
8228
|
+
value: Enumify_3<typeof CORE_PLAN_VIEW_TYPE_2>;
|
|
8229
|
+
}
|
|
8230
|
+
|
|
6874
8231
|
export declare interface PluginConfigMap {
|
|
6875
8232
|
'external-objects': RapiConfigurationEnhanced | ExternalConfiguration;
|
|
6876
8233
|
}
|
|
@@ -6886,21 +8243,23 @@ export declare class PluginSystem implements Context, ScenePluginHooks {
|
|
|
6886
8243
|
private _cameraPosition;
|
|
6887
8244
|
private _plugins;
|
|
6888
8245
|
constructor(creator: string);
|
|
6889
|
-
init(scene: Scene, uiScene: Scene, cameraPosition:
|
|
8246
|
+
init(scene: Scene, uiScene: Scene, cameraPosition: Vector3_2): Promise<void>;
|
|
6890
8247
|
addPlugin(plugin: ScenePlugin): void;
|
|
6891
8248
|
updateBounds(bounds: Box3): void;
|
|
6892
8249
|
clearScene(scene: Scene, uiScene: Scene): void;
|
|
6893
8250
|
getActivePlugins(): ScenePlugin[];
|
|
6894
8251
|
getPlugin<T extends ScenePlugin>(type: any): T | null;
|
|
6895
|
-
moveCameraEnd(position:
|
|
6896
|
-
moveCameraStart(position:
|
|
8252
|
+
moveCameraEnd(position: Vector3_2): void;
|
|
8253
|
+
moveCameraStart(position: Vector3_2): void;
|
|
6897
8254
|
needsUiScene(): boolean;
|
|
6898
8255
|
}
|
|
6899
8256
|
|
|
6900
8257
|
export declare class PointArray extends EmsArray<KernelVector3f> {
|
|
6901
8258
|
}
|
|
6902
8259
|
|
|
6903
|
-
export declare
|
|
8260
|
+
export declare type PointArray_2 = EmscriptenArray<Vector3>;
|
|
8261
|
+
|
|
8262
|
+
export declare class PointArray_3 extends EmsArray<KernelVector3f> {
|
|
6904
8263
|
}
|
|
6905
8264
|
|
|
6906
8265
|
export declare interface PointerInputEvent {
|
|
@@ -7158,10 +8517,20 @@ export declare interface PosSaveData {
|
|
|
7158
8517
|
rooms?: PosContour[];
|
|
7159
8518
|
}
|
|
7160
8519
|
|
|
8520
|
+
export declare interface PossibleChild {
|
|
8521
|
+
componentId: string;
|
|
8522
|
+
group: string;
|
|
8523
|
+
isDefault: boolean;
|
|
8524
|
+
itemId: string;
|
|
8525
|
+
possible: boolean;
|
|
8526
|
+
}
|
|
8527
|
+
|
|
7161
8528
|
export declare class PossibleChildArray extends EmsArray<KernelPossibleChild> {
|
|
7162
8529
|
}
|
|
7163
8530
|
|
|
7164
|
-
export declare
|
|
8531
|
+
export declare type PossibleChildArray_2 = EmscriptenArray<PossibleChild>;
|
|
8532
|
+
|
|
8533
|
+
export declare class PossibleChildArray_3 extends EmsArray<KernelPossibleChild> {
|
|
7165
8534
|
}
|
|
7166
8535
|
|
|
7167
8536
|
export declare interface PossibleChildPreviewElement {
|
|
@@ -7212,19 +8581,19 @@ export declare interface PreviewComponent extends RoomleComponent {
|
|
|
7212
8581
|
stringId: string;
|
|
7213
8582
|
receivedPointAssociation: boolean;
|
|
7214
8583
|
dockInsertAnimation?: DragInsertAnimation;
|
|
7215
|
-
clickPosition?:
|
|
8584
|
+
clickPosition?: Vector3_2;
|
|
7216
8585
|
clonePreview(cloneId: string): PreviewComponent;
|
|
7217
8586
|
preparePreview(): void;
|
|
7218
8587
|
startPulsating(): void;
|
|
7219
|
-
updateClickPosition(intersectionPoint:
|
|
8588
|
+
updateClickPosition(intersectionPoint: Vector3_2): void;
|
|
7220
8589
|
}
|
|
7221
8590
|
|
|
7222
8591
|
export declare interface PreviewLineComponent extends PreviewComponent {
|
|
7223
|
-
lineFrom:
|
|
7224
|
-
lineTo:
|
|
8592
|
+
lineFrom: Vector3_2;
|
|
8593
|
+
lineTo: Vector3_2;
|
|
7225
8594
|
lineSegments: PreviewLineSegment[];
|
|
7226
|
-
positionFrom:
|
|
7227
|
-
positionTo:
|
|
8595
|
+
positionFrom: Vector3_2;
|
|
8596
|
+
positionTo: Vector3_2;
|
|
7228
8597
|
roomleLineFrom: KernelVector3;
|
|
7229
8598
|
roomleLineTo: KernelVector3;
|
|
7230
8599
|
roomlePositionFrom: KernelVector3;
|
|
@@ -7233,8 +8602,8 @@ export declare interface PreviewLineComponent extends PreviewComponent {
|
|
|
7233
8602
|
lineMesh: Mesh;
|
|
7234
8603
|
boundingLineMesh: RoomleEventedMesh;
|
|
7235
8604
|
clonePreviewLine(cloneId: string): PreviewLineComponent;
|
|
7236
|
-
getPositionForIntersectionPoint(intersectionPoint:
|
|
7237
|
-
updatePreviewPosition(intersectionPoint:
|
|
8605
|
+
getPositionForIntersectionPoint(intersectionPoint: Vector3_2): Vector3_2;
|
|
8606
|
+
updatePreviewPosition(intersectionPoint: Vector3_2): void;
|
|
7238
8607
|
hideSelectionLine(): void;
|
|
7239
8608
|
}
|
|
7240
8609
|
|
|
@@ -7277,6 +8646,13 @@ export declare class PromiseQueue<T> {
|
|
|
7277
8646
|
get length(): number;
|
|
7278
8647
|
}
|
|
7279
8648
|
|
|
8649
|
+
export declare interface Range_2 {
|
|
8650
|
+
step: number;
|
|
8651
|
+
type: string;
|
|
8652
|
+
valueFrom: number;
|
|
8653
|
+
valueTo: number;
|
|
8654
|
+
}
|
|
8655
|
+
|
|
7280
8656
|
export declare class RangeArray extends EmsArray<KernelRange> {
|
|
7281
8657
|
}
|
|
7282
8658
|
|
|
@@ -8008,7 +9384,7 @@ export declare class RaycastHelper extends EventDispatcher<Record<RAYCAST_EVENT,
|
|
|
8008
9384
|
private _onRotate;
|
|
8009
9385
|
private _positionPlanes;
|
|
8010
9386
|
private _calculateOffset;
|
|
8011
|
-
update(bounds:
|
|
9387
|
+
update(bounds: Vector3_2 | null, rootComponentPosition: Vector3_2 | null, backgroundScene: Scene | null): void;
|
|
8012
9388
|
clear(): void;
|
|
8013
9389
|
enableDragIn(mesh: RoomleEventedMesh): void;
|
|
8014
9390
|
setRootComponentId(rootComponentId: number): void;
|
|
@@ -8018,18 +9394,30 @@ export declare class RaycastHelper extends EventDispatcher<Record<RAYCAST_EVENT,
|
|
|
8018
9394
|
intersectMouseOnScene(event: Pick<PointerInputEvent, 'positionRelative'>): KernelVector3 | null;
|
|
8019
9395
|
enableOnWallSnapping(): void;
|
|
8020
9396
|
disableOnWallSnapping(): void;
|
|
8021
|
-
getCameraPosition():
|
|
9397
|
+
getCameraPosition(): Vector3_2;
|
|
8022
9398
|
}
|
|
8023
9399
|
|
|
8024
9400
|
export declare interface Rectangle {
|
|
8025
9401
|
angle: number;
|
|
8026
9402
|
center: KernelVector3f;
|
|
8027
|
-
cornerPoints:
|
|
8028
|
-
referencePoints:
|
|
9403
|
+
cornerPoints: PointArray_3;
|
|
9404
|
+
referencePoints: RectangleReferencePoints_2;
|
|
8029
9405
|
size: KernelVector3f;
|
|
8030
9406
|
}
|
|
8031
9407
|
|
|
8032
9408
|
export declare interface RectangleReferencePoints {
|
|
9409
|
+
bottom: Vector3;
|
|
9410
|
+
bottomLeft: Vector3;
|
|
9411
|
+
bottomRight: Vector3;
|
|
9412
|
+
center: Vector3;
|
|
9413
|
+
left: Vector3;
|
|
9414
|
+
right: Vector3;
|
|
9415
|
+
top: Vector3;
|
|
9416
|
+
topLeft: Vector3;
|
|
9417
|
+
topRight: Vector3;
|
|
9418
|
+
}
|
|
9419
|
+
|
|
9420
|
+
export declare interface RectangleReferencePoints_2 {
|
|
8033
9421
|
bottom: KernelVector3;
|
|
8034
9422
|
bottomLeft: KernelVector3;
|
|
8035
9423
|
bottomRight: KernelVector3;
|
|
@@ -8041,7 +9429,7 @@ export declare interface RectangleReferencePoints {
|
|
|
8041
9429
|
topRight: KernelVector3;
|
|
8042
9430
|
}
|
|
8043
9431
|
|
|
8044
|
-
export declare const removeExtObjIdPrefix: (id:
|
|
9432
|
+
export declare const removeExtObjIdPrefix: (id: ExtObjId) => string;
|
|
8045
9433
|
|
|
8046
9434
|
export declare type RenderOptions = Partial<typeof DEFAULT_RENDER_OPTIONS>;
|
|
8047
9435
|
|
|
@@ -8057,6 +9445,10 @@ export declare const enum ResizingAnchor {
|
|
|
8057
9445
|
Right = 8
|
|
8058
9446
|
}
|
|
8059
9447
|
|
|
9448
|
+
export declare interface ResizingAnchor_2 {
|
|
9449
|
+
value: Enumify_2<typeof CORE_RESIZING_ANCHOR>;
|
|
9450
|
+
}
|
|
9451
|
+
|
|
8060
9452
|
export declare class RoomDesignerApi implements RoomDesignerRequests {
|
|
8061
9453
|
private _roomlePlanner;
|
|
8062
9454
|
constructor(roomlePlanner: RoomlePlannerType);
|
|
@@ -9721,7 +11113,7 @@ export declare type RoomlePlannerType = RoomlePlanner | RoomlePlannerWithExtObjs
|
|
|
9721
11113
|
export declare class RoomlePlannerUiCallback extends UiCallback implements ExternalObjectUiCallback {
|
|
9722
11114
|
constructor(creator: string);
|
|
9723
11115
|
onItemsLoaded: () => void;
|
|
9724
|
-
onCameraChanged: (type:
|
|
11116
|
+
onCameraChanged: (type: Enumify<typeof CAMERA_TYPE>) => void;
|
|
9725
11117
|
onCameraIdle: () => void;
|
|
9726
11118
|
onTotalFloorAreaChanged: (totalFloorArea: number) => void;
|
|
9727
11119
|
onPlanInteractionManagerCreated: (planInteractionManager: PlanInteractionManager) => void;
|
|
@@ -9759,7 +11151,7 @@ export declare class RoomlePlannerUiCallback extends UiCallback implements Exter
|
|
|
9759
11151
|
* When an element in the plan has been added, removed or changed
|
|
9760
11152
|
* null if changed, added or removed object is not a item or configuration, such as a wall or construction element
|
|
9761
11153
|
*/
|
|
9762
|
-
onPlanElementChanged: (changeType:
|
|
11154
|
+
onPlanElementChanged: (changeType: Enumify<typeof PLAN_ELEMENT_CHANGE_TYPES>, changedObject: UiPlanObject) => void;
|
|
9763
11155
|
/**
|
|
9764
11156
|
* When the plan has been completely loaded
|
|
9765
11157
|
*/
|
|
@@ -9896,7 +11288,7 @@ export declare abstract class RoomleRenderer<RendererType extends WebGLRenderer
|
|
|
9896
11288
|
renderer: RendererType;
|
|
9897
11289
|
protected isConfiguratorMode: boolean;
|
|
9898
11290
|
protected isCameraMoving: boolean;
|
|
9899
|
-
protected cameraType:
|
|
11291
|
+
protected cameraType: Enumify<typeof CAMERA_TYPE>;
|
|
9900
11292
|
protected shadowNeedsUpdate: boolean;
|
|
9901
11293
|
protected boundingBox: Box3;
|
|
9902
11294
|
protected boundingBoxNeedsUpdate: boolean;
|
|
@@ -9905,7 +11297,7 @@ export declare abstract class RoomleRenderer<RendererType extends WebGLRenderer
|
|
|
9905
11297
|
dispose(): void;
|
|
9906
11298
|
setSize(width: number, height: number): void;
|
|
9907
11299
|
getSize(target: Vector2): Vector2;
|
|
9908
|
-
setCameraType(cameraType:
|
|
11300
|
+
setCameraType(cameraType: Enumify<typeof CAMERA_TYPE>): void;
|
|
9909
11301
|
movingCameraStarts(): void;
|
|
9910
11302
|
movingCameraStops(): void;
|
|
9911
11303
|
forceShadowUpdates(_updateBakedGroundShadow: boolean): void;
|
|
@@ -10008,7 +11400,7 @@ export declare class RoomleWebGPURenderer extends RoomleRenderer<WebGPURenderer>
|
|
|
10008
11400
|
clearCache(): void;
|
|
10009
11401
|
disableUiInteractionMode(): void;
|
|
10010
11402
|
enableUiInteractionMode(): void;
|
|
10011
|
-
setCameraType(cameraType:
|
|
11403
|
+
setCameraType(cameraType: Enumify<typeof CAMERA_TYPE>): void;
|
|
10012
11404
|
switchToConfigurator(): void;
|
|
10013
11405
|
switchToPlanner(renderMode: PlannerRenderMode): void;
|
|
10014
11406
|
highlightObjects(selectedMeshes: Object3D_2[]): void;
|
|
@@ -10038,13 +11430,18 @@ export declare class RoomleWebGPURenderer extends RoomleRenderer<WebGPURenderer>
|
|
|
10038
11430
|
export declare interface RoomLightSourceDistribution {
|
|
10039
11431
|
ceilingId: number;
|
|
10040
11432
|
floorId: number;
|
|
10041
|
-
positionsInPlan:
|
|
10042
|
-
positionsRelativeToFloor:
|
|
11433
|
+
positionsInPlan: PointArray_3;
|
|
11434
|
+
positionsRelativeToFloor: PointArray_3;
|
|
10043
11435
|
}
|
|
10044
11436
|
|
|
10045
11437
|
export declare class RoomLightSourceDistributionArray extends EmsArray<RoomLightSourceDistribution> {
|
|
10046
11438
|
}
|
|
10047
11439
|
|
|
11440
|
+
export declare interface RoomWall {
|
|
11441
|
+
roomSide: WallSide_2;
|
|
11442
|
+
wall: Wall_2;
|
|
11443
|
+
}
|
|
11444
|
+
|
|
10048
11445
|
/**
|
|
10049
11446
|
* Shared API between configurator and planner
|
|
10050
11447
|
*/
|
|
@@ -10179,7 +11576,7 @@ export declare abstract class SceneManager implements Context, LifeCycleCallback
|
|
|
10179
11576
|
protected _isInteriorLightActive: boolean;
|
|
10180
11577
|
protected _perspectiveOffsetCamera: PerspectiveOffsetCamera | null;
|
|
10181
11578
|
protected _orthographicOffsetCamera: OrthographicOffsetCamera | null;
|
|
10182
|
-
protected abstract createCameraControl(mode:
|
|
11579
|
+
protected abstract createCameraControl(mode: Enumify<typeof CAMERA_TYPE>, offset: CanvasOffset): void;
|
|
10183
11580
|
protected abstract _getInputManager(): InputManager;
|
|
10184
11581
|
get cameraBehaviour(): CameraBehaviour;
|
|
10185
11582
|
protected _scheduleRenderLoopFunction(renderLoopFunction: () => void): void;
|
|
@@ -10193,7 +11590,7 @@ export declare abstract class SceneManager implements Context, LifeCycleCallback
|
|
|
10193
11590
|
abstract getGeometryBounds(): Box3 | null;
|
|
10194
11591
|
protected onBeforeRender(): void;
|
|
10195
11592
|
protected _onAfterRender: () => void;
|
|
10196
|
-
protected constructor(creator: string, offset: CanvasOffset, canvasID: string, mode:
|
|
11593
|
+
protected constructor(creator: string, offset: CanvasOffset, canvasID: string, mode: Enumify<typeof CAMERA_TYPE>);
|
|
10197
11594
|
addEventListener(_listener: LifeCycleCallbacks): void;
|
|
10198
11595
|
removeEventListener(_listener: LifeCycleCallbacks): void;
|
|
10199
11596
|
get lightCache(): LightCache | null;
|
|
@@ -10236,8 +11633,8 @@ export declare abstract class SceneManager implements Context, LifeCycleCallback
|
|
|
10236
11633
|
cleanUp(): void;
|
|
10237
11634
|
clearScene(): void;
|
|
10238
11635
|
enableHD(source?: DynamicLightSettingSource): void;
|
|
10239
|
-
protected _loadGLTF(gltfJSON: string, position?:
|
|
10240
|
-
protected _loadGLB(url: string, position?:
|
|
11636
|
+
protected _loadGLTF(gltfJSON: string, position?: Vector3_2, rotation?: number, size?: Vector3_2, scale?: Vector3_2, color?: number, callback?: (percent: number) => void): Promise<Object3D>;
|
|
11637
|
+
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>;
|
|
10241
11638
|
showGUI(): Promise<void>;
|
|
10242
11639
|
protected initializeWebGLGUI(): void;
|
|
10243
11640
|
protected initializeWebGPUGUI(roomleWebGPURenderer: RoomleWebGPURenderer): void;
|
|
@@ -10291,8 +11688,8 @@ export declare interface ScenePlugin extends ScenePluginHooks, Context {
|
|
|
10291
11688
|
export declare interface ScenePluginHooks {
|
|
10292
11689
|
updateBounds(bounds: Box3): void;
|
|
10293
11690
|
clearScene(scene: Scene, uiScene: Scene): void;
|
|
10294
|
-
moveCameraEnd(position:
|
|
10295
|
-
moveCameraStart(position:
|
|
11691
|
+
moveCameraEnd(position: Vector3_2): void;
|
|
11692
|
+
moveCameraStart(position: Vector3_2): void;
|
|
10296
11693
|
needsUiScene(): boolean;
|
|
10297
11694
|
}
|
|
10298
11695
|
|
|
@@ -10301,7 +11698,7 @@ export declare interface SceneSettings {
|
|
|
10301
11698
|
lights: DynamicLight[];
|
|
10302
11699
|
}
|
|
10303
11700
|
|
|
10304
|
-
export declare type SceneShadingType =
|
|
11701
|
+
export declare type SceneShadingType = Enumify<typeof SCENE_SHADING_TYPES>;
|
|
10305
11702
|
|
|
10306
11703
|
export declare interface ScriptData {
|
|
10307
11704
|
name: string;
|
|
@@ -10365,6 +11762,8 @@ export declare class SinglePromiseFactory implements Context {
|
|
|
10365
11762
|
export declare class SizeTArray extends EmsArray<number> {
|
|
10366
11763
|
}
|
|
10367
11764
|
|
|
11765
|
+
export declare type SizeTArray_2 = EmscriptenArray<number>;
|
|
11766
|
+
|
|
10368
11767
|
export declare const SKY_EVENT: {
|
|
10369
11768
|
readonly ENTERED_PLANNER: "sky:entered-planner";
|
|
10370
11769
|
readonly ENTERED_CONFIGURATOR: "sky:entered-configurator";
|
|
@@ -10385,7 +11784,11 @@ export declare class SkyStateTracker extends EventDispatcher<SkyFeatureEventMap>
|
|
|
10385
11784
|
notifyEnteredConfigurator(): void;
|
|
10386
11785
|
}
|
|
10387
11786
|
|
|
10388
|
-
export declare
|
|
11787
|
+
export declare interface SnapMode {
|
|
11788
|
+
value: Enumify_2<typeof CORE_SNAP_MODE>;
|
|
11789
|
+
}
|
|
11790
|
+
|
|
11791
|
+
export declare const enum SnapMode_2 {
|
|
10389
11792
|
OFF = 0,
|
|
10390
11793
|
ON_COLLISION = 1,
|
|
10391
11794
|
ON_COLLISION_ROTATE_WITHIN_DISTANCE = 2,
|
|
@@ -10763,8 +12166,8 @@ export declare class UndoRedoHandler {
|
|
|
10763
12166
|
private reset;
|
|
10764
12167
|
undo(): void;
|
|
10765
12168
|
redo(): void;
|
|
10766
|
-
loadPlanXML(xml: string):
|
|
10767
|
-
createPlanWithObjectFromItem(object: KernelObject, position: KernelVector3, rotationInRad: number):
|
|
12169
|
+
loadPlanXML(xml: string): Plan_3;
|
|
12170
|
+
createPlanWithObjectFromItem(object: KernelObject, position: KernelVector3, rotationInRad: number): Plan_3;
|
|
10768
12171
|
endDrawing(point: {
|
|
10769
12172
|
x: number;
|
|
10770
12173
|
y: number;
|
|
@@ -10805,6 +12208,12 @@ export declare class UndoRedoHandler {
|
|
|
10805
12208
|
onCoreLoad(reason: HiLoadObjectReason): void;
|
|
10806
12209
|
}
|
|
10807
12210
|
|
|
12211
|
+
export declare interface UniqueIdAndHash {
|
|
12212
|
+
hash: string;
|
|
12213
|
+
libraryId: string;
|
|
12214
|
+
uniqueId: string;
|
|
12215
|
+
}
|
|
12216
|
+
|
|
10808
12217
|
export declare const enum Unit {
|
|
10809
12218
|
InchFeet = 0,
|
|
10810
12219
|
MM = 1,
|
|
@@ -10922,6 +12331,8 @@ export declare const enum UnitType_2 {
|
|
|
10922
12331
|
COUNT = 3
|
|
10923
12332
|
}
|
|
10924
12333
|
|
|
12334
|
+
export declare type UnitTypeString = Enumify_3<typeof CORE_UNIT_TYPE_STRING>;
|
|
12335
|
+
|
|
10925
12336
|
export declare type UseIdbStore = <T>(txMode: IDBTransactionMode, callback: (store: IDBObjectStore) => T | PromiseLike<T>) => Promise<T>;
|
|
10926
12337
|
|
|
10927
12338
|
export declare interface UserAction {
|
|
@@ -10955,6 +12366,16 @@ export declare interface VariantsList {
|
|
|
10955
12366
|
export declare class Vector2fArray extends EmsArray<KernelVector2f> {
|
|
10956
12367
|
}
|
|
10957
12368
|
|
|
12369
|
+
export declare interface Vector3 {
|
|
12370
|
+
x: number;
|
|
12371
|
+
y: number;
|
|
12372
|
+
z: number;
|
|
12373
|
+
}
|
|
12374
|
+
|
|
12375
|
+
export declare interface ViewType {
|
|
12376
|
+
value: Enumify_3<typeof CORE_VIEW_TYPE>;
|
|
12377
|
+
}
|
|
12378
|
+
|
|
10958
12379
|
export declare class Wall extends PlanObjectPtr {
|
|
10959
12380
|
readonly thickness: number;
|
|
10960
12381
|
readonly height: number;
|
|
@@ -10980,6 +12401,36 @@ export declare class Wall extends PlanObjectPtr {
|
|
|
10980
12401
|
getPointWithHeight(aHeight: number): KernelVector3f;
|
|
10981
12402
|
}
|
|
10982
12403
|
|
|
12404
|
+
export declare interface Wall_2 extends PlanElement_2 {
|
|
12405
|
+
new (): Wall_2;
|
|
12406
|
+
getFrom(): Node_3;
|
|
12407
|
+
getTo(): Node_3;
|
|
12408
|
+
getAttachedAttics(): AtticArray;
|
|
12409
|
+
getCornerFromLeft(): Vector3;
|
|
12410
|
+
getCornerFromRight(): Vector3;
|
|
12411
|
+
getCornerToLeft(): Vector3;
|
|
12412
|
+
getCornerToRight(): Vector3;
|
|
12413
|
+
getAngle(): number;
|
|
12414
|
+
getLength(side: WallSide_2): number;
|
|
12415
|
+
getSlopingLength(): number;
|
|
12416
|
+
getPreferredSide(): WallSide_2;
|
|
12417
|
+
getAttachedObjects(): ConstructionObjectSet_2;
|
|
12418
|
+
getAttachedObjectsExtRefArray(): SizeTArray_2;
|
|
12419
|
+
getCenter(): Vector3;
|
|
12420
|
+
getHeightAt(aPoint: Vector3): number;
|
|
12421
|
+
getPointWithHeight(aHeight: number): Vector3;
|
|
12422
|
+
readonly meshThickness: number;
|
|
12423
|
+
readonly isVectorWall: boolean;
|
|
12424
|
+
readonly thickness: number;
|
|
12425
|
+
readonly height: number;
|
|
12426
|
+
readonly leftMaterial: WallMaterial_2;
|
|
12427
|
+
readonly rightMaterial: WallMaterial_2;
|
|
12428
|
+
readonly wallType: WallType;
|
|
12429
|
+
readonly leftNormal: Vector3;
|
|
12430
|
+
readonly rightNormal: Vector3;
|
|
12431
|
+
readonly edgeType: EdgeType;
|
|
12432
|
+
}
|
|
12433
|
+
|
|
10983
12434
|
export declare const WALL_SIDES: {
|
|
10984
12435
|
readonly LEFT: 0;
|
|
10985
12436
|
readonly RIGHT: 1;
|
|
@@ -11002,7 +12453,7 @@ export declare interface WallDefinition {
|
|
|
11002
12453
|
};
|
|
11003
12454
|
}
|
|
11004
12455
|
|
|
11005
|
-
export declare type WallDimension = DimensionDefinition<
|
|
12456
|
+
export declare type WallDimension = DimensionDefinition<Vector3_2, Vector3_2> & {
|
|
11006
12457
|
label?: string;
|
|
11007
12458
|
measurementKind?: WallMeasurementKind;
|
|
11008
12459
|
slopingMeasurement?: WallMeasurementVariant;
|
|
@@ -11020,9 +12471,17 @@ export declare interface WallExtensionType {
|
|
|
11020
12471
|
ExtendBoth: EMSConstant;
|
|
11021
12472
|
}
|
|
11022
12473
|
|
|
12474
|
+
export declare interface WallExtensionType_2 {
|
|
12475
|
+
value: Enumify_2<typeof CORE_WALL_EXTENSION_TYPE>;
|
|
12476
|
+
}
|
|
12477
|
+
|
|
11023
12478
|
export declare class WallMaterial extends BaseMaterial {
|
|
11024
12479
|
}
|
|
11025
12480
|
|
|
12481
|
+
export declare interface WallMaterial_2 extends BaseMaterial_2 {
|
|
12482
|
+
new (): WallMaterial_2;
|
|
12483
|
+
}
|
|
12484
|
+
|
|
11026
12485
|
export declare type WallMeasurementKind = 'edge2d' | 'sloping';
|
|
11027
12486
|
|
|
11028
12487
|
export declare interface WallMeasurementVariant {
|
|
@@ -11103,6 +12562,14 @@ export declare interface WallSide {
|
|
|
11103
12562
|
value: Enumify<typeof WALL_SIDES>;
|
|
11104
12563
|
}
|
|
11105
12564
|
|
|
12565
|
+
export declare interface WallSide_2 {
|
|
12566
|
+
value: Enumify_2<typeof CORE_WALL_SIDE>;
|
|
12567
|
+
}
|
|
12568
|
+
|
|
12569
|
+
export declare interface WallType {
|
|
12570
|
+
value: Enumify_2<typeof CORE_WALL_TYPE>;
|
|
12571
|
+
}
|
|
12572
|
+
|
|
11106
12573
|
export declare const WEBGPU_TONE_MAPPINGS: {
|
|
11107
12574
|
readonly NONE: "none";
|
|
11108
12575
|
readonly LINEAR: "linear";
|
|
@@ -11393,7 +12860,7 @@ export declare interface WebGpuSSGIConfigDefinition {
|
|
|
11393
12860
|
aoDenoiseRadius?: number;
|
|
11394
12861
|
}
|
|
11395
12862
|
|
|
11396
|
-
export declare type WebGpuToneMapping =
|
|
12863
|
+
export declare type WebGpuToneMapping = Enumify<typeof WEBGPU_TONE_MAPPINGS>;
|
|
11397
12864
|
|
|
11398
12865
|
export declare class WebGpuTopLightConfig implements WebGpuTopLightConfigDefinition {
|
|
11399
12866
|
intensity: number;
|
|
@@ -11421,6 +12888,16 @@ export declare interface WebGpuTopLightConfigDefinition {
|
|
|
11421
12888
|
shadowRadius?: number;
|
|
11422
12889
|
}
|
|
11423
12890
|
|
|
12891
|
+
export declare const enum WORKER_MESSAGE {
|
|
12892
|
+
PREFIX = 0,
|
|
12893
|
+
INIT = 1,
|
|
12894
|
+
ERROR = 2,
|
|
12895
|
+
ASSET_LOADED = 3,
|
|
12896
|
+
INIT_DONE = 4,
|
|
12897
|
+
LOAD_ASSET = 5,
|
|
12898
|
+
SW_CLAIMED_CONTROL = 6
|
|
12899
|
+
}
|
|
12900
|
+
|
|
11424
12901
|
export declare class ZoomChangeEvent {
|
|
11425
12902
|
minZoom: boolean;
|
|
11426
12903
|
maxZoom: boolean;
|
|
@@ -11430,18 +12907,10 @@ export declare class ZoomChangeEvent {
|
|
|
11430
12907
|
export { }
|
|
11431
12908
|
|
|
11432
12909
|
declare global {
|
|
11433
|
-
// @ts-ignore -- just for testing
|
|
11434
|
-
const THREE: typeof __THREE; // eslint-disable-line
|
|
11435
|
-
// @ts-ignore -- just for testing
|
|
11436
|
-
const dat: typeof __dat; // eslint-disable-line
|
|
11437
|
-
// @ts-ignore -- just for testing
|
|
11438
|
-
const WebAssembly: any; // eslint-disable-line
|
|
11439
12910
|
interface Window {
|
|
11440
12911
|
KernelCallback?: { isReady: () => void } | null;
|
|
11441
|
-
__RML_WEBGL_GUI__: GUI; // eslint-disable-line
|
|
11442
12912
|
__RML__DEBUG__?: Debug;
|
|
11443
12913
|
__RML__ENV__?: ExternalEnv;
|
|
11444
|
-
_rsl: { [key: string]: ThreeShader };
|
|
11445
12914
|
THREE?: any;
|
|
11446
12915
|
}
|
|
11447
12916
|
}
|