@roomle/web-sdk 5.1.0-alpha.7 → 5.1.0-alpha.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/{BufferGeometry-CxlpBjLq.mjs → BufferGeometry-BnAxBdk5.mjs} +2 -2
- package/lib/{BufferGeometry-CxlpBjLq.mjs.map → BufferGeometry-BnAxBdk5.mjs.map} +1 -1
- package/lib/ConfiguratorKernel.wasm +0 -0
- package/lib/{GLTFExporter-DeNw0qAI.mjs → GLTFExporter-nbgAo4jg.mjs} +1 -1
- package/lib/{GLTFExporter-DeNw0qAI.mjs.map → GLTFExporter-nbgAo4jg.mjs.map} +1 -1
- package/lib/{GaussianBlurNode-BR1cKBsX.mjs → GaussianBlurNode-CkEuIVaV.mjs} +3 -3
- package/lib/{GaussianBlurNode-BR1cKBsX.mjs.map → GaussianBlurNode-CkEuIVaV.mjs.map} +1 -1
- package/lib/{Object3D-CALIQdg1.mjs → Object3D-DWcwDaGD.mjs} +1 -1
- package/lib/{Object3D-CALIQdg1.mjs.map → Object3D-DWcwDaGD.mjs.map} +1 -1
- package/lib/{PointLightHelper-C_0CYp7R.mjs → PointLightHelper-B9jI7cpI.mjs} +4 -4
- package/lib/{PointLightHelper-C_0CYp7R.mjs.map → PointLightHelper-B9jI7cpI.mjs.map} +1 -1
- package/lib/RoomleCore.wasm +0 -0
- package/lib/RoomleToolsCore.wasm +0 -0
- package/lib/{SpotLightHelper-UUIHn43T.mjs → SpotLightHelper-DYKh1Ufq.mjs} +3 -3
- package/lib/{SpotLightHelper-UUIHn43T.mjs.map → SpotLightHelper-DYKh1Ufq.mjs.map} +1 -1
- package/lib/{USDZExporter-BBNw7Hey.mjs → USDZExporter-DxfFzy9g.mjs} +2 -2
- package/lib/{USDZExporter-BBNw7Hey.mjs.map → USDZExporter-DxfFzy9g.mjs.map} +1 -1
- package/lib/{Vector4-BOcWTZJI.mjs → Vector4-BaGMLJRJ.mjs} +2 -2
- package/lib/{Vector4-BOcWTZJI.mjs.map → Vector4-BaGMLJRJ.mjs.map} +1 -1
- package/lib/{api-D1GP5SkG.mjs → api-DBo4bqkV.mjs} +2 -2
- package/lib/{api-D1GP5SkG.mjs.map → api-DBo4bqkV.mjs.map} +1 -1
- package/lib/{asset-loader.worker-CzI1oyTY.mjs → asset-loader.worker-CE4O0JU-.mjs} +1 -1
- package/lib/asset-loader.worker-CE4O0JU-.mjs.map +1 -0
- package/lib/{banana-for-scale-Cf41yXTl.mjs → banana-for-scale-DQIiLvlJ.mjs} +3 -3
- package/lib/{banana-for-scale-Cf41yXTl.mjs.map → banana-for-scale-DQIiLvlJ.mjs.map} +1 -1
- package/lib/{budgeteer.sw-D80jTmYa.mjs → budgeteer.sw-yR2xApHT.mjs} +1 -1
- package/lib/budgeteer.sw-yR2xApHT.mjs.map +1 -0
- package/lib/common-utils-CNGLvAo_.mjs +320 -0
- package/lib/common-utils-CNGLvAo_.mjs.map +1 -0
- package/lib/{component-raycast-helper-CnpnRaFg.mjs → component-raycast-helper-razJrkD8.mjs} +4 -4
- package/lib/{component-raycast-helper-CnpnRaFg.mjs.map → component-raycast-helper-razJrkD8.mjs.map} +1 -1
- package/lib/{configurator-C0_PGKso.mjs → configurator-Bfbi3q7X.mjs} +4 -4
- package/lib/{configurator-C0_PGKso.mjs.map → configurator-Bfbi3q7X.mjs.map} +1 -1
- package/lib/configurator-BxIDaIsx.mjs +2 -0
- package/lib/{continuous-drawing-helper-CTfGRTfH.mjs → continuous-drawing-helper-BPe83b9-.mjs} +2 -2
- package/lib/{continuous-drawing-helper-CTfGRTfH.mjs.map → continuous-drawing-helper-BPe83b9-.mjs.map} +1 -1
- package/lib/{dat.gui.module-CSOnFjd0.mjs → dat.gui.module-B2PXSbre.mjs} +1 -1
- package/lib/{dat.gui.module-CSOnFjd0.mjs.map → dat.gui.module-B2PXSbre.mjs.map} +1 -1
- package/lib/{decorate-Bl-JF_YY.mjs → decorate-CjaqqbUP.mjs} +1 -1
- package/lib/{decorate-Bl-JF_YY.mjs.map → decorate-CjaqqbUP.mjs.map} +1 -1
- package/lib/{dimensioning-helper-DSlkLDmx.mjs → dimensioning-helper-WQTVJpxQ.mjs} +4 -4
- package/lib/{dimensioning-helper-DSlkLDmx.mjs.map → dimensioning-helper-WQTVJpxQ.mjs.map} +1 -1
- package/lib/dimensioning-helper-v3HsrygN.mjs +2 -0
- package/lib/{dist-BZTF7IJN.mjs → dist-Blgk0vU0.mjs} +1 -1
- package/lib/{dist-BZTF7IJN.mjs.map → dist-Blgk0vU0.mjs.map} +1 -1
- package/lib/{fflate.module-Cx1QFI2-.mjs → fflate.module-DTkA0kF8.mjs} +1 -1
- package/lib/{fflate.module-Cx1QFI2-.mjs.map → fflate.module-DTkA0kF8.mjs.map} +1 -1
- package/lib/{glb-viewer-BkdQVlpk.mjs → glb-viewer-CP0TDbjo.mjs} +6 -6
- package/lib/{glb-viewer-BkdQVlpk.mjs.map → glb-viewer-CP0TDbjo.mjs.map} +1 -1
- package/lib/glb-viewer-DYkOoOv-.mjs +2 -0
- package/lib/{highlight-coordinator-DU6oFunq.mjs → highlight-coordinator-DwIDs-5n.mjs} +10 -10
- package/lib/{highlight-coordinator-DU6oFunq.mjs.map → highlight-coordinator-DwIDs-5n.mjs.map} +1 -1
- package/lib/{homag-intelligence-DwPlHiPP.mjs → homag-intelligence-1GdmdIBg.mjs} +3 -3
- package/lib/{homag-intelligence-DwPlHiPP.mjs.map → homag-intelligence-1GdmdIBg.mjs.map} +1 -1
- package/lib/{hosek-wilkie-sky-DmTvnxMA.mjs → hosek-wilkie-sky-CZX3Q53j.mjs} +3 -3
- package/lib/{hosek-wilkie-sky-DmTvnxMA.mjs.map → hosek-wilkie-sky-CZX3Q53j.mjs.map} +1 -1
- package/lib/{imos-ix-poc-export-helper-BGN97m8W.mjs → imos-ix-poc-export-helper-DLaYjLvF.mjs} +3 -3
- package/lib/{imos-ix-poc-export-helper-BGN97m8W.mjs.map → imos-ix-poc-export-helper-DLaYjLvF.mjs.map} +1 -1
- package/lib/{kernel-utils-BYKmP0mf.mjs → kernel-utils-BwJOfYWh.mjs} +1 -1
- package/lib/{kernel-utils-BYKmP0mf.mjs.map → kernel-utils-BwJOfYWh.mjs.map} +1 -1
- package/lib/{layer-DRMDGxT7.mjs → layer-PJGxbJOI.mjs} +1 -1
- package/lib/{layer-DRMDGxT7.mjs.map → layer-PJGxbJOI.mjs.map} +1 -1
- package/lib/{material-viewer-Bgq9-EYG.mjs → material-viewer-DJEEvr_2.mjs} +6 -6
- package/lib/{material-viewer-Bgq9-EYG.mjs.map → material-viewer-DJEEvr_2.mjs.map} +1 -1
- package/lib/{packages-DAyvqO4U.mjs → packages-Da2aAUP6.mjs} +6 -5
- package/lib/{packages-DAyvqO4U.mjs.map → packages-Da2aAUP6.mjs.map} +1 -1
- package/lib/{planner-DSB66hxa.mjs → planner-B3gmGQ5h.mjs} +3 -3
- package/lib/{planner-DSB66hxa.mjs.map → planner-B3gmGQ5h.mjs.map} +1 -1
- package/lib/planner-BpzUs9MN.mjs +2 -0
- package/lib/{plugin-system-CPf99Zkf.mjs → plugin-system-BSLY3o0a.mjs} +3 -3
- package/lib/{plugin-system-CPf99Zkf.mjs.map → plugin-system-BSLY3o0a.mjs.map} +1 -1
- package/lib/{roomle-headless-setup-ps3I0vOP.mjs → roomle-headless-setup-DbO_rLjK.mjs} +1 -1
- package/lib/{roomle-headless-setup-ps3I0vOP.mjs.map → roomle-headless-setup-DbO_rLjK.mjs.map} +1 -1
- package/lib/roomle-headless.d.ts +1768 -284
- package/lib/roomle-headless.js +100 -100
- package/lib/roomle-headless.js.map +1 -1
- package/lib/{roomle-renderer-UJINLYxS.mjs → roomle-renderer-nCUrLU_S.mjs} +1 -1
- package/lib/roomle-renderer-nCUrLU_S.mjs.map +1 -0
- package/lib/{roomle-sdk-BObGek-f.mjs → roomle-sdk-B7kJPhbu.mjs} +4250 -3768
- package/lib/roomle-sdk-B7kJPhbu.mjs.map +1 -0
- package/lib/roomle-sdk.d.ts +1762 -278
- package/lib/roomle-sdk.js +9 -8
- package/lib/{roomle-webgpu-renderer-BSvxbopA.mjs → roomle-webgpu-renderer-C26OAfkn.mjs} +299 -299
- package/lib/{roomle-webgpu-renderer-BSvxbopA.mjs.map → roomle-webgpu-renderer-C26OAfkn.mjs.map} +1 -1
- package/lib/{scene-renderer--DzrpIl_.mjs → scene-renderer-CHMngNZI.mjs} +362 -345
- package/lib/scene-renderer-CHMngNZI.mjs.map +1 -0
- package/lib/{script-loader-BwGk350m.mjs → script-loader-Bgt0r8D_.mjs} +3 -3
- package/lib/{script-loader-BwGk350m.mjs.map → script-loader-Bgt0r8D_.mjs.map} +1 -1
- package/lib/{shading-settings-6v-7O_Sz.mjs → shading-settings-DJ4kY2Cn.mjs} +2 -2
- package/lib/{shading-settings-6v-7O_Sz.mjs.map → shading-settings-DJ4kY2Cn.mjs.map} +1 -1
- package/lib/src-D2lqGogG.mjs +2 -0
- package/lib/{src-Dg0wYIom.mjs → src-DRuHdK6i.mjs} +1 -1
- package/lib/{src-Dg0wYIom.mjs.map → src-DRuHdK6i.mjs.map} +1 -1
- package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/package.json +1 -1
- package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/ConfiguratorKernel.wasm +0 -0
- package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/RoomleCore.wasm +0 -0
- package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/RoomleToolsCore.wasm +0 -0
- package/lib/{stats-helper-DYjPPDnz.mjs → stats-helper-CuB9x20N.mjs} +3 -3
- package/lib/{stats-helper-DYjPPDnz.mjs.map → stats-helper-CuB9x20N.mjs.map} +1 -1
- package/lib/{svgo.browser-xZ3L7awG.mjs → svgo.browser-EB1zkPfG.mjs} +1 -1
- package/lib/{svgo.browser-xZ3L7awG.mjs.map → svgo.browser-EB1zkPfG.mjs.map} +1 -1
- package/lib/{three.tsl-DtfvggFX.mjs → three.tsl-CuZzrviK.mjs} +1 -1
- package/lib/{three.tsl-De6A-G56.mjs → three.tsl-kYk-mr3-.mjs} +2 -2
- package/lib/{three.tsl-De6A-G56.mjs.map → three.tsl-kYk-mr3-.mjs.map} +1 -1
- package/lib/{three.webgpu-B1OhMci_.mjs → three.webgpu-D11YJG2U.mjs} +1 -1
- package/lib/{three.webgpu-wPiwbpFM.mjs → three.webgpu-DTO8skiU.mjs} +1 -1
- package/lib/{three.webgpu-wPiwbpFM.mjs.map → three.webgpu-DTO8skiU.mjs.map} +1 -1
- package/lib/{threejs-utils-lVSsgAiQ.mjs → threejs-utils-CrP6G-ow.mjs} +243 -100
- package/lib/threejs-utils-CrP6G-ow.mjs.map +1 -0
- package/lib/{tools-core-QpvVIiHK.mjs → tools-core-Bo2DwzBG.mjs} +3 -3
- package/lib/{tools-core-QpvVIiHK.mjs.map → tools-core-Bo2DwzBG.mjs.map} +1 -1
- package/lib/{webgpu-BxYJfBjz.mjs → webgpu-zcxAHKs3.mjs} +4 -4
- package/lib/{webgpu-BxYJfBjz.mjs.map → webgpu-zcxAHKs3.mjs.map} +1 -1
- package/lib/workers-B-AqdQMe.mjs +6 -0
- package/lib/{workers-B_wmKVL0.mjs.map → workers-B-AqdQMe.mjs.map} +1 -1
- package/package.json +6 -15
- package/lib/asset-loader.worker-CzI1oyTY.mjs.map +0 -1
- package/lib/budgeteer.sw-D80jTmYa.mjs.map +0 -1
- package/lib/common-utils-OTJQGohe.mjs +0 -206
- package/lib/common-utils-OTJQGohe.mjs.map +0 -1
- package/lib/component-dimensioning-yPK46Y5o.mjs +0 -169
- package/lib/component-dimensioning-yPK46Y5o.mjs.map +0 -1
- package/lib/configurator-DkdZwDYB.mjs +0 -2
- package/lib/dimensioning-helper-CQlesi-m.mjs +0 -2
- package/lib/glb-viewer-02ilhcMw.mjs +0 -2
- package/lib/planner-Dpcg_QGP.mjs +0 -2
- package/lib/render-cache-CPppt7Rd.mjs +0 -150
- package/lib/render-cache-CPppt7Rd.mjs.map +0 -1
- package/lib/render-order-a0QAbB7Q.mjs +0 -26
- package/lib/render-order-a0QAbB7Q.mjs.map +0 -1
- package/lib/roomle-renderer-UJINLYxS.mjs.map +0 -1
- package/lib/roomle-sdk-BObGek-f.mjs.map +0 -1
- package/lib/scene-renderer--DzrpIl_.mjs.map +0 -1
- package/lib/src-6KtBPZXp.mjs +0 -2
- package/lib/threejs-utils-lVSsgAiQ.mjs.map +0 -1
- package/lib/workers-B_wmKVL0.mjs +0 -6
package/lib/roomle-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;
|
|
@@ -2567,6 +2973,8 @@ export declare class DomHelper implements LifeCycleCallbacks, Context {
|
|
|
2567
2973
|
destroy(): void;
|
|
2568
2974
|
}
|
|
2569
2975
|
|
|
2976
|
+
export declare const download: (filename: string, content: string) => void;
|
|
2977
|
+
|
|
2570
2978
|
export declare class DraggableNode extends Object3D {
|
|
2571
2979
|
private _sphere;
|
|
2572
2980
|
private _innerRingMesh;
|
|
@@ -2576,7 +2984,7 @@ export declare class DraggableNode extends Object3D {
|
|
|
2576
2984
|
private _outerRingRadius;
|
|
2577
2985
|
constructor(name: string, sphereSize?: number);
|
|
2578
2986
|
private _initNodeMesh;
|
|
2579
|
-
getSize():
|
|
2987
|
+
getSize(): Vector3_2;
|
|
2580
2988
|
hoverOn(): void;
|
|
2581
2989
|
hoverOff(): void;
|
|
2582
2990
|
setSphereColor(color: number): void;
|
|
@@ -2612,11 +3020,19 @@ export declare interface DrawingMode {
|
|
|
2612
3020
|
value: Enumify<typeof CORE_DRAWING_MODE>;
|
|
2613
3021
|
}
|
|
2614
3022
|
|
|
3023
|
+
export declare interface DrawingMode_2 {
|
|
3024
|
+
value: Enumify_2<typeof CORE_DRAWING_MODE_2>;
|
|
3025
|
+
}
|
|
3026
|
+
|
|
2615
3027
|
export declare const enum DrawingType {
|
|
2616
3028
|
CONTINOUS = 0,
|
|
2617
3029
|
CLICK_PER_CLICK = 1
|
|
2618
3030
|
}
|
|
2619
3031
|
|
|
3032
|
+
export declare interface DrawingType_2 {
|
|
3033
|
+
value: Enumify_2<typeof CORE_DRAWING_TYPE>;
|
|
3034
|
+
}
|
|
3035
|
+
|
|
2620
3036
|
/**
|
|
2621
3037
|
* Description of fields:
|
|
2622
3038
|
- type: 'ambient'/'rectarea'/'spot'/'directional'
|
|
@@ -2637,8 +3053,8 @@ export declare interface DynamicLight {
|
|
|
2637
3053
|
name?: string;
|
|
2638
3054
|
intensity?: number;
|
|
2639
3055
|
color?: string;
|
|
2640
|
-
position?:
|
|
2641
|
-
target?:
|
|
3056
|
+
position?: Vector3_2;
|
|
3057
|
+
target?: Vector3_2;
|
|
2642
3058
|
castShadow?: boolean;
|
|
2643
3059
|
angle?: number;
|
|
2644
3060
|
penumbra?: number;
|
|
@@ -2660,6 +3076,10 @@ export declare interface EdgeDeflection {
|
|
|
2660
3076
|
}
|
|
2661
3077
|
|
|
2662
3078
|
export declare interface EdgeType {
|
|
3079
|
+
value: Enumify_2<typeof CORE_EDGE_TYPE_2>;
|
|
3080
|
+
}
|
|
3081
|
+
|
|
3082
|
+
export declare interface EdgeType_2 {
|
|
2663
3083
|
value: Enumify<typeof CORE_EDGE_TYPE>;
|
|
2664
3084
|
}
|
|
2665
3085
|
|
|
@@ -2707,11 +3127,38 @@ export declare class EMSConstant {
|
|
|
2707
3127
|
value: number;
|
|
2708
3128
|
}
|
|
2709
3129
|
|
|
3130
|
+
export declare interface EmscriptenArray<T> {
|
|
3131
|
+
new (): EmscriptenArray<T>;
|
|
3132
|
+
get(index: number): T;
|
|
3133
|
+
push_back(element: T): void;
|
|
3134
|
+
resize(from: number, to: number): void;
|
|
3135
|
+
set(index: number, element: T): T;
|
|
3136
|
+
size(): number;
|
|
3137
|
+
clone(index: number): EmscriptenArray<T>;
|
|
3138
|
+
delete(index: number): void;
|
|
3139
|
+
deleteLater(index: number): void;
|
|
3140
|
+
isAliasOf(index: number): boolean;
|
|
3141
|
+
isDeleted(index: number): boolean;
|
|
3142
|
+
}
|
|
3143
|
+
|
|
2710
3144
|
export declare interface EmscriptenList {
|
|
2711
3145
|
size: () => number;
|
|
2712
3146
|
length: number;
|
|
2713
3147
|
}
|
|
2714
3148
|
|
|
3149
|
+
export declare class EmscriptenList_2<T> {
|
|
3150
|
+
new(): EmscriptenList_2<T>;
|
|
3151
|
+
push_back(element: T): void;
|
|
3152
|
+
size(): number;
|
|
3153
|
+
get(index: number): T;
|
|
3154
|
+
}
|
|
3155
|
+
|
|
3156
|
+
export declare interface EmscriptenSet<T> {
|
|
3157
|
+
new (): EmscriptenSet<T>;
|
|
3158
|
+
insert: (element: T) => void;
|
|
3159
|
+
size: () => number;
|
|
3160
|
+
}
|
|
3161
|
+
|
|
2715
3162
|
export declare type EmscriptenString = any;
|
|
2716
3163
|
|
|
2717
3164
|
export declare class EmsList<T> {
|
|
@@ -2740,9 +3187,15 @@ export declare class EmsSet<T> {
|
|
|
2740
3187
|
size(): number;
|
|
2741
3188
|
}
|
|
2742
3189
|
|
|
3190
|
+
export declare type Enumify<T> = T[keyof T];
|
|
3191
|
+
|
|
3192
|
+
export declare type Enumify_2<T> = T[keyof T];
|
|
3193
|
+
|
|
3194
|
+
export declare type Enumify_3<T> = T[keyof T];
|
|
3195
|
+
|
|
2743
3196
|
export declare abstract class Environment {
|
|
2744
3197
|
protected _scene: Scene | null;
|
|
2745
|
-
protected _bounds:
|
|
3198
|
+
protected _bounds: Vector3_2;
|
|
2746
3199
|
constructor(scene: Scene, oldEnvironment?: Environment);
|
|
2747
3200
|
abstract needsBounds(): boolean;
|
|
2748
3201
|
abstract needsCamera(): boolean;
|
|
@@ -2751,7 +3204,7 @@ export declare abstract class Environment {
|
|
|
2751
3204
|
abstract removeFromScene(): void;
|
|
2752
3205
|
abstract showGUI(sceneParameters: GenericGUIParamFolder): void;
|
|
2753
3206
|
reload(): void;
|
|
2754
|
-
updateBounds(bounds:
|
|
3207
|
+
updateBounds(bounds: Vector3_2, _force?: boolean): void;
|
|
2755
3208
|
cleanUp(): void;
|
|
2756
3209
|
}
|
|
2757
3210
|
|
|
@@ -2879,6 +3332,8 @@ export declare const enum ExportType {
|
|
|
2879
3332
|
HOMAGiX = 2
|
|
2880
3333
|
}
|
|
2881
3334
|
|
|
3335
|
+
export declare const EXTERNAL_ID_PREFIX = "__ext__obj__#";
|
|
3336
|
+
|
|
2882
3337
|
export declare interface ExternalAttributeInformation {
|
|
2883
3338
|
groupId: string;
|
|
2884
3339
|
moduleIds: ExternalModuleInformation[];
|
|
@@ -2886,6 +3341,13 @@ export declare interface ExternalAttributeInformation {
|
|
|
2886
3341
|
value: string;
|
|
2887
3342
|
}
|
|
2888
3343
|
|
|
3344
|
+
export declare interface ExternalAttributeInformation_2 {
|
|
3345
|
+
attributeId: string;
|
|
3346
|
+
groupId: string;
|
|
3347
|
+
moduleIds: ExternalModuleInformationArray;
|
|
3348
|
+
value: string;
|
|
3349
|
+
}
|
|
3350
|
+
|
|
2889
3351
|
export declare type ExternalConfiguration = Partial<RapiConfigurationEnhanced> & Pick<RapiConfigurationEnhanced, keyof Element_2 | 'configurationHash'> & ExternalElement;
|
|
2890
3352
|
|
|
2891
3353
|
export declare interface ExternalDataResponse<T> {
|
|
@@ -2903,6 +3365,12 @@ export declare interface ExternalEmbeddable<T = any> {
|
|
|
2903
3365
|
callbacks: T;
|
|
2904
3366
|
}
|
|
2905
3367
|
|
|
3368
|
+
export declare interface ExternalEnv {
|
|
3369
|
+
assetPath?: string;
|
|
3370
|
+
initData?: InitDataDefinition;
|
|
3371
|
+
locale?: string;
|
|
3372
|
+
}
|
|
3373
|
+
|
|
2906
3374
|
export declare type ExternalGroupData = object | object[] | string | string[];
|
|
2907
3375
|
|
|
2908
3376
|
export declare type ExternalItem = Partial<RapiItem> & Pick<RapiItem, keyof Element_2> & ExternalElement;
|
|
@@ -2918,11 +3386,19 @@ export declare interface ExternalModuleInformation {
|
|
|
2918
3386
|
}
|
|
2919
3387
|
|
|
2920
3388
|
export declare interface ExternalModuleInformation_2 {
|
|
3389
|
+
groupId: string;
|
|
3390
|
+
rootModuleId: string;
|
|
3391
|
+
subModuleId: string;
|
|
3392
|
+
}
|
|
3393
|
+
|
|
3394
|
+
export declare interface ExternalModuleInformation_3 {
|
|
2921
3395
|
groupId: string;
|
|
2922
3396
|
rootModuleId: string;
|
|
2923
3397
|
subModuleId: string | null;
|
|
2924
3398
|
}
|
|
2925
3399
|
|
|
3400
|
+
export declare type ExternalModuleInformationArray = EmscriptenArray<ExternalModuleInformation_2>;
|
|
3401
|
+
|
|
2926
3402
|
export declare type ExternalObject = ExternalItem | ExternalConfiguration;
|
|
2927
3403
|
|
|
2928
3404
|
export declare interface ExternalObjectAPI {
|
|
@@ -3071,9 +3547,14 @@ export declare interface ExternalObjectAPI {
|
|
|
3071
3547
|
*/
|
|
3072
3548
|
getExternalRoomInformation(mode?: PlanRoomGeometryMode): Promise<ExternalRoomInformation>;
|
|
3073
3549
|
/**
|
|
3074
|
-
* "getExternalObjectPlanContext" returns
|
|
3075
|
-
* the master data per library
|
|
3076
|
-
*
|
|
3550
|
+
* "getExternalObjectPlanContext" returns an agent-ready snapshot of the external object state:
|
|
3551
|
+
* the compacted master data per library (root modules and the customer-facing attributes),
|
|
3552
|
+
* the room information of all rooms (contours in 3D, pos: [x, level, -y], with a derived
|
|
3553
|
+
* walls array per room), the articles that can be used (compact catalog with dimensions,
|
|
3554
|
+
* docking vectors and sub-modules), and all groups currently loaded in the plan (as
|
|
3555
|
+
* resubmittable article picks with footprints and free docking vectors).
|
|
3556
|
+
* The result is designed to be passed to an AI agent as it is, without further preparation,
|
|
3557
|
+
* with all geometry in one coordinate system: 3D, right-handed, Y up.
|
|
3077
3558
|
* @param include The sections to include. All sections are returned when omitted or empty.
|
|
3078
3559
|
*/
|
|
3079
3560
|
getExternalObjectPlanContext(include?: HiPlanContextSection[]): Promise<HiPlanContext>;
|
|
@@ -3185,6 +3666,17 @@ export declare interface ExternalObjectGroupLayoutSide {
|
|
|
3185
3666
|
}
|
|
3186
3667
|
|
|
3187
3668
|
export declare interface ExternalObjectLoadConfiguration {
|
|
3669
|
+
applyGlobalChildMode: boolean;
|
|
3670
|
+
applyGroupPosition: boolean;
|
|
3671
|
+
calculationUpdate: boolean;
|
|
3672
|
+
findFreeSpaceInPlan: boolean;
|
|
3673
|
+
isVisible: boolean;
|
|
3674
|
+
lockCallbacks: boolean;
|
|
3675
|
+
respondWithPositionInPlan: boolean;
|
|
3676
|
+
tryToMergeNewGroups: boolean;
|
|
3677
|
+
}
|
|
3678
|
+
|
|
3679
|
+
export declare interface ExternalObjectLoadConfiguration_2 {
|
|
3188
3680
|
applyGlobalChildMode: boolean;
|
|
3189
3681
|
applyGroupPosition: boolean;
|
|
3190
3682
|
findFreeSpaceInPlan: boolean;
|
|
@@ -3308,6 +3800,10 @@ export declare class ExternalReference {
|
|
|
3308
3800
|
clearSelfRef(): void;
|
|
3309
3801
|
}
|
|
3310
3802
|
|
|
3803
|
+
export declare interface ExternalReference_2 {
|
|
3804
|
+
new (): ExternalReference_2;
|
|
3805
|
+
}
|
|
3806
|
+
|
|
3311
3807
|
export declare type ExternalResponseValidator = (type: 'rapi-access', response: Response) => Promise<boolean>;
|
|
3312
3808
|
|
|
3313
3809
|
export declare interface ExternalRoomInformation {
|
|
@@ -3324,7 +3820,22 @@ export declare interface ExternalValidContainerModule {
|
|
|
3324
3820
|
rootId: string;
|
|
3325
3821
|
}
|
|
3326
3822
|
|
|
3327
|
-
export
|
|
3823
|
+
export declare interface ExternalValidContainerModule_2 {
|
|
3824
|
+
containerModuleId: string;
|
|
3825
|
+
parentModuleId: string;
|
|
3826
|
+
rootId: string;
|
|
3827
|
+
}
|
|
3828
|
+
|
|
3829
|
+
export declare type ExtObjId = `${typeof EXTERNAL_ID_PREFIX}${string}`;
|
|
3830
|
+
|
|
3831
|
+
export declare interface ExtrudedRectangle {
|
|
3832
|
+
angle: number;
|
|
3833
|
+
bottomCenter: Vector3;
|
|
3834
|
+
readonly cornerPoints: PointArray_2;
|
|
3835
|
+
readonly eulerRotation: Vector3;
|
|
3836
|
+
readonly referencePoints: RectangleReferencePoints;
|
|
3837
|
+
size: Vector3;
|
|
3838
|
+
}
|
|
3328
3839
|
|
|
3329
3840
|
export declare interface FeatureFlags {
|
|
3330
3841
|
pulsePreview?: boolean;
|
|
@@ -3338,7 +3849,6 @@ export declare interface FeatureFlags {
|
|
|
3338
3849
|
/* Excluded from this release type: drawPreviewMode */
|
|
3339
3850
|
/* Excluded from this release type: forceSaveThumbnails */
|
|
3340
3851
|
/* Excluded from this release type: interiorLights */
|
|
3341
|
-
/* Excluded from this release type: advancedDimensioning */
|
|
3342
3852
|
/* Excluded from this release type: webGpu */
|
|
3343
3853
|
/* Excluded from this release type: advancedHighlighting */
|
|
3344
3854
|
/* Excluded from this release type: fence */
|
|
@@ -3350,9 +3860,8 @@ export declare class FeatureFlagsImplementation implements FeatureFlags {
|
|
|
3350
3860
|
reDock: boolean;
|
|
3351
3861
|
advancedDocking: boolean;
|
|
3352
3862
|
mergeOnInsert: boolean;
|
|
3353
|
-
drawPreviewMode:
|
|
3863
|
+
drawPreviewMode: Enumify<typeof DRAW_PREVIEW_MODES>;
|
|
3354
3864
|
interiorLights: boolean;
|
|
3355
|
-
advancedDimensioning: boolean;
|
|
3356
3865
|
enableSnapping: boolean;
|
|
3357
3866
|
webGpu: boolean;
|
|
3358
3867
|
forceSaveThumbnails: boolean;
|
|
@@ -3389,9 +3898,24 @@ export declare abstract class Floor extends PlanElement {
|
|
|
3389
3898
|
getRandomPointInside(): KernelVector3f;
|
|
3390
3899
|
}
|
|
3391
3900
|
|
|
3392
|
-
export declare interface
|
|
3901
|
+
export declare interface Floor_2 extends PlanElement_2 {
|
|
3902
|
+
new (): Floor_2;
|
|
3903
|
+
getCorners(): PointArray_2;
|
|
3904
|
+
getTriangulationIndices(): SizeTArray_2;
|
|
3905
|
+
getNumberOfTriangles(): number;
|
|
3906
|
+
getRandomPointInside(): Vector3;
|
|
3907
|
+
getLabelPosition(): Vector3;
|
|
3908
|
+
getWallsOfRoom(): RoomWall[];
|
|
3909
|
+
getLabelObject(): string;
|
|
3910
|
+
readonly area: number;
|
|
3911
|
+
readonly material: FloorMaterial_2;
|
|
3912
|
+
readonly parapetHeight: number;
|
|
3913
|
+
readonly floorType: FloorType;
|
|
3914
|
+
}
|
|
3915
|
+
|
|
3916
|
+
export declare interface FloorAreaData<Vector2Type = Vector3_2, Vector3Type = Vector3_2> {
|
|
3393
3917
|
area: number;
|
|
3394
|
-
formattedArea:
|
|
3918
|
+
formattedArea: Nullable<string>;
|
|
3395
3919
|
textPosition3d: Vector3Type;
|
|
3396
3920
|
textPosition2d: Vector2Type;
|
|
3397
3921
|
isTextVisible: boolean;
|
|
@@ -3411,6 +3935,12 @@ export declare class FloorMaterial extends BaseMaterial {
|
|
|
3411
3935
|
rotation(): KernelVector3f;
|
|
3412
3936
|
}
|
|
3413
3937
|
|
|
3938
|
+
export declare interface FloorMaterial_2 extends BaseMaterial_2 {
|
|
3939
|
+
new (): FloorMaterial_2;
|
|
3940
|
+
readonly uvScale: Vector3;
|
|
3941
|
+
readonly rotation: number;
|
|
3942
|
+
}
|
|
3943
|
+
|
|
3414
3944
|
export declare interface FloorPlanEdge {
|
|
3415
3945
|
id: number;
|
|
3416
3946
|
start: KernelVector3f;
|
|
@@ -3431,7 +3961,11 @@ export declare class FloorPlanElementViewModel extends PlanElementViewModel {
|
|
|
3431
3961
|
}
|
|
3432
3962
|
|
|
3433
3963
|
export declare interface FloorType {
|
|
3434
|
-
value:
|
|
3964
|
+
value: Enumify_2<typeof CORE_FLOOR_TYPE>;
|
|
3965
|
+
}
|
|
3966
|
+
|
|
3967
|
+
export declare interface FloorType_2 {
|
|
3968
|
+
value: Enumify<typeof CORE_FLOOR_TYPE_2>;
|
|
3435
3969
|
}
|
|
3436
3970
|
|
|
3437
3971
|
/**
|
|
@@ -3503,13 +4037,13 @@ export declare class GLBViewerSceneManager extends SceneManager implements GLBRe
|
|
|
3503
4037
|
private _standardSceneBackgroundColor;
|
|
3504
4038
|
private _itemsCount;
|
|
3505
4039
|
constructor(creator: string, offset: CanvasOffset);
|
|
3506
|
-
protected createCameraControl(_mode:
|
|
4040
|
+
protected createCameraControl(_mode: Enumify<typeof CAMERA_TYPE>, _offset: CanvasOffset): void;
|
|
3507
4041
|
protected _getInputManager(): InputManager;
|
|
3508
4042
|
loadStaticItem(id: string, callback?: (percent: number) => void): Promise<void>;
|
|
3509
|
-
loadGLB(url: string, automaticallyAdjustCamera?: boolean, scaling?:
|
|
4043
|
+
loadGLB(url: string, automaticallyAdjustCamera?: boolean, scaling?: Vector3_2, callback?: (percent: number) => void): Promise<void>;
|
|
3510
4044
|
preparePerspectiveImage(options?: PrepareImageOptions, providedRenderer?: WebGLRenderer): Promise<Base64Image>;
|
|
3511
4045
|
private _prepareWebGpuPerspectiveImage;
|
|
3512
|
-
adjustCamera(position:
|
|
4046
|
+
adjustCamera(position: Vector3_2, yaw: number, pitch: number, fov: number): void;
|
|
3513
4047
|
onStart(count: number): void;
|
|
3514
4048
|
onElementFinished(itemsFinished: number): void;
|
|
3515
4049
|
onFinished(_zip: any): void;
|
|
@@ -3555,7 +4089,7 @@ export declare interface GlobalAPI {
|
|
|
3555
4089
|
getUnitFormatter(): UnitFormatter;
|
|
3556
4090
|
getStorage(): IdbManager;
|
|
3557
4091
|
setEnvironmentMap(params: EnvMapParams): void;
|
|
3558
|
-
|
|
4092
|
+
/* Excluded from this release type: globalCallbacks */
|
|
3559
4093
|
}
|
|
3560
4094
|
|
|
3561
4095
|
export declare class GlobalCallback extends UiCallback {
|
|
@@ -3582,7 +4116,7 @@ export declare class GlobalCallback extends UiCallback {
|
|
|
3582
4116
|
* @param _json the JSON response
|
|
3583
4117
|
* @returns void
|
|
3584
4118
|
*/
|
|
3585
|
-
onApiJsonReceived: (_url: string, _rapiPath: RAPI_PATHS, _json: any) => Promise<
|
|
4119
|
+
onApiJsonReceived: (_url: string, _rapiPath: RAPI_PATHS, _json: any) => Promise<Nullable<RapiJsonBox> | undefined>;
|
|
3586
4120
|
/**
|
|
3587
4121
|
* is called the scene is ready for rendering it as an image
|
|
3588
4122
|
*/
|
|
@@ -3657,7 +4191,7 @@ export declare interface GlueLogic {
|
|
|
3657
4191
|
duplicateGroup(duplicatedGroup: ExternalObjectGroup): Promise<void>;
|
|
3658
4192
|
adjustGroup(groupId: string): Promise<void>;
|
|
3659
4193
|
swapRootModule(groupId: string, rootModuleId: string, articleId: string): Promise<void>;
|
|
3660
|
-
modifyAttribute(groupId: string, moduleIdObjects:
|
|
4194
|
+
modifyAttribute(groupId: string, moduleIdObjects: ExternalModuleInformation_3[], attributeName: string, value: string): Promise<void>;
|
|
3661
4195
|
updateAttribute(rootModuleId: string, moduleId: string | null, attributeId: string, attributeValue: string | boolean): Promise<void>;
|
|
3662
4196
|
getVerifiedAttributeOptions(moduleId: string, attributeIds?: string | string[]): Promise<Record<string, CheckDropDownResult> | undefined>;
|
|
3663
4197
|
getVerifiedGroupAttributeOptions(groupId: string, attributeIds?: string | string[]): Promise<Record<string, CheckDropDownResult> | undefined>;
|
|
@@ -3693,22 +4227,22 @@ export declare interface HandWrittenPlanInteractionHandler {
|
|
|
3693
4227
|
delete(): void;
|
|
3694
4228
|
init(reference: HandWrittenPlanInteractionHandler, zoomFactor: number, viewSnapDist: number, wallSnapMode: any, objectSnapMode: any, shouldSnap: boolean, drawingType: any): void;
|
|
3695
4229
|
getConfiguratorKernel(): ConfiguratorKernelClass;
|
|
3696
|
-
loadPlanXML(xml: string):
|
|
3697
|
-
createPlanWithObjectFromItem(object: KernelObject, position: KernelVector3, rotationInRad: number):
|
|
3698
|
-
getPlan():
|
|
4230
|
+
loadPlanXML(xml: string): Plan_3;
|
|
4231
|
+
createPlanWithObjectFromItem(object: KernelObject, position: KernelVector3, rotationInRad: number): Plan_3;
|
|
4232
|
+
getPlan(): Plan_3;
|
|
3699
4233
|
moveElementTo(planObject: KernelObject, targetPosition: KernelVector3, dragging: boolean, cameraPosition?: KernelVector3): void;
|
|
3700
4234
|
moveElementToIn2d(planObject: KernelObject, targetPosition: KernelVector3, dragging: boolean): void;
|
|
3701
4235
|
moveElementBy(planObject: KernelObject, distance: KernelVector3, dragging: boolean): void;
|
|
3702
4236
|
duplicatePlanObject(object: PlanObject, count: number, findFreeSpaceInPlan: boolean): PlanObject[];
|
|
3703
4237
|
duplicatePlanObjects(objects: PlanObjectList, count: number, findFreeSpaceInPlan: boolean): PlanObject[];
|
|
3704
|
-
setElementVisibility(element:
|
|
4238
|
+
setElementVisibility(element: PlanElement_3, isVisible: boolean): void;
|
|
3705
4239
|
moveObjectsBy(planObjects: KernelObjectPtrList, distance: KernelVector3): void;
|
|
3706
4240
|
rotateObjectTo(planObject: KernelObject, angleInRad: number): void;
|
|
3707
4241
|
setObjectRotation(planObject: KernelObject, angleInRad: number): void;
|
|
3708
4242
|
addPlanObjects(list: KernelObjectPtrList, findFreeSpaceInPlan: boolean): PlanObject[];
|
|
3709
4243
|
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:
|
|
4244
|
+
addOrUpdateExternalPlanObjects(serializedConfiguration: string | string[], position: KernelVector3, rotationInRad: number, updateConfiguration: ExternalObjectLoadConfiguration_2, mergedGroupIds: string | string[]): PlanObject[];
|
|
4245
|
+
createPreviewGeometryForAddOn(objectId: string, objectConfiguration: string, articleId: string, groupDefinitions: string, validContainerModules: ExternalValidContainerModule_2[]): void;
|
|
3712
4246
|
catalogItemLoaded(catalogItem: KernelCatalogItem): void;
|
|
3713
4247
|
removeElement(planObject: KernelObject): void;
|
|
3714
4248
|
removeObjectWithId(objectId: string): void;
|
|
@@ -3777,14 +4311,14 @@ export declare interface HandWrittenPlanInteractionHandler {
|
|
|
3777
4311
|
setDefaultInteriorWallMaterial(wallMaterial: KernelWallMaterial): void;
|
|
3778
4312
|
getDefaultFloorMaterial(): KernelFloorMaterial;
|
|
3779
4313
|
setDefaultFloorMaterial(floorMaterial: KernelFloorMaterial): void;
|
|
3780
|
-
setElementCustomDataJson(element:
|
|
4314
|
+
setElementCustomDataJson(element: PlanElement_3, customDataJson: string): void;
|
|
3781
4315
|
setWallLeftMaterial(wall: KernelWall, material: KernelWallMaterial): void;
|
|
3782
4316
|
setWallRightMaterial(wall: KernelWall, material: KernelWallMaterial): void;
|
|
3783
4317
|
setFloorMaterial(floor: KernelFloor, material: KernelFloorMaterial): void;
|
|
3784
4318
|
setFloorLabelObject(floor: KernelFloor, serializedLabelObject: string): void;
|
|
3785
|
-
setFloorType(floor: KernelFloor, floorType:
|
|
3786
|
-
setEdgeType(wall: KernelWall, edgeType:
|
|
3787
|
-
getContinuousDrawingManager():
|
|
4319
|
+
setFloorType(floor: KernelFloor, floorType: FloorType_2): void;
|
|
4320
|
+
setEdgeType(wall: KernelWall, edgeType: EdgeType_2): void;
|
|
4321
|
+
getContinuousDrawingManager(): ContinuousDrawingManager_2;
|
|
3788
4322
|
setSnapFeedbackWhileDrawing(enabled: boolean): void;
|
|
3789
4323
|
consistsOfMergedComponents(object: KernelObject): boolean;
|
|
3790
4324
|
setObjectSize(anObject: KernelObject, aNewSize: KernelVector3, anAnchor: Anchor): void;
|
|
@@ -3793,9 +4327,9 @@ export declare interface HandWrittenPlanInteractionHandler {
|
|
|
3793
4327
|
setObjectCustomColor(object: PlanObject, rgbColor: number, useCustomColor: boolean): void;
|
|
3794
4328
|
setObjectCustomLabel(object: PlanObject, label: string): void;
|
|
3795
4329
|
setObjectFixedZ(anObject: KernelObject, shouldFlipZ: boolean): void;
|
|
3796
|
-
setMeasurePoint1(measure:
|
|
3797
|
-
setMeasurePoint2(measure:
|
|
3798
|
-
addMeasure(startPosition: KernelVector3f, endPosition: KernelVector3f):
|
|
4330
|
+
setMeasurePoint1(measure: PlanMeasure_3, point: KernelVector3f, snapToWalls: boolean, snapToObjects: boolean): void;
|
|
4331
|
+
setMeasurePoint2(measure: PlanMeasure_3, point: KernelVector3f, snapToWalls: boolean, snapToObjects: boolean): void;
|
|
4332
|
+
addMeasure(startPosition: KernelVector3f, endPosition: KernelVector3f): PlanMeasure_3;
|
|
3799
4333
|
setDiscardExternalObjectsOnLoad(discard: boolean): void;
|
|
3800
4334
|
isChildObjectModePossible(object: KernelObject): boolean;
|
|
3801
4335
|
isEnabledChildObjectMode(object: KernelObject): boolean;
|
|
@@ -3810,8 +4344,8 @@ export declare interface HandWrittenPlanInteractionHandler {
|
|
|
3810
4344
|
customRaster: number;
|
|
3811
4345
|
enableSnap: boolean;
|
|
3812
4346
|
enableDrawingSnap: boolean;
|
|
3813
|
-
objectToWallSnapMode:
|
|
3814
|
-
objectToObjectSnapMode:
|
|
4347
|
+
objectToWallSnapMode: SnapMode_2;
|
|
4348
|
+
objectToObjectSnapMode: SnapMode_2;
|
|
3815
4349
|
dockWhenSnap: boolean;
|
|
3816
4350
|
unDockOnMove: boolean;
|
|
3817
4351
|
enableTerrain: boolean;
|
|
@@ -3866,6 +4400,12 @@ export declare const HI_LOAD_OBJECT_REASON: {
|
|
|
3866
4400
|
readonly UNDO_REDO: "undo_redo";
|
|
3867
4401
|
};
|
|
3868
4402
|
|
|
4403
|
+
export declare const HI_PANEL_ACTION: {
|
|
4404
|
+
readonly HIDE: "hide";
|
|
4405
|
+
readonly SHOW_ATTRIBUTES: "attributes";
|
|
4406
|
+
readonly SHOW_ARTICLES: "articles";
|
|
4407
|
+
};
|
|
4408
|
+
|
|
3869
4409
|
export declare interface HiApiOptions extends HomagIntelligenceSubscription {
|
|
3870
4410
|
om?: HomagIntelligenceSubscription;
|
|
3871
4411
|
baseUrl?: string;
|
|
@@ -3876,6 +4416,91 @@ export declare interface HiApiOptions extends HomagIntelligenceSubscription {
|
|
|
3876
4416
|
|
|
3877
4417
|
export declare type HiAttributeOptionsResult = CheckDropDownResult | CheckDropDownEntry[] | undefined;
|
|
3878
4418
|
|
|
4419
|
+
export declare interface HiCallbacks {
|
|
4420
|
+
/**
|
|
4421
|
+
* Requests the calculation script for the given library ID.
|
|
4422
|
+
* @param libraryId the ID of the library for which the calculation script is requested
|
|
4423
|
+
* @returns the calculation script as a string
|
|
4424
|
+
*/
|
|
4425
|
+
onLoadJavascript: (libraryId: string) => Promise<string>;
|
|
4426
|
+
/**
|
|
4427
|
+
* Requests the master data for the given library ID.
|
|
4428
|
+
* @param libraryId the ID of the library for which the master data is requested
|
|
4429
|
+
* @returns the master data as a Promise
|
|
4430
|
+
*/
|
|
4431
|
+
onLoadMasterData: (libraryId: string) => Promise<MasterData>;
|
|
4432
|
+
/**
|
|
4433
|
+
* Requests the article catalog for the given library ID.
|
|
4434
|
+
* @param libraryId the ID of the library for which the article catalog is requested
|
|
4435
|
+
* @returns the article catalog as a Promise
|
|
4436
|
+
*/
|
|
4437
|
+
onLoadArticleCatalog: (libraryId: string) => Promise<any>;
|
|
4438
|
+
/**
|
|
4439
|
+
* Notifies the host application that a price calculation should be performed.
|
|
4440
|
+
* @param posGroups all groups in the plan
|
|
4441
|
+
*/
|
|
4442
|
+
onPriceCalc?: (posGroups: PosGroup[]) => Promise<void>;
|
|
4443
|
+
/**
|
|
4444
|
+
* Retrieves the current external load data which has to be used to replace the existing groups in the plan.
|
|
4445
|
+
* @returns load data or null if no replacement is needed
|
|
4446
|
+
*/
|
|
4447
|
+
onGetSavedPosGroupData?: () => Promise<PosSaveData | null>;
|
|
4448
|
+
/**
|
|
4449
|
+
* "onCompletelyLoaded" is invoked when the groups in the plan are completely loaded.
|
|
4450
|
+
*/
|
|
4451
|
+
onPosGroupsCompletelyLoaded?: () => void;
|
|
4452
|
+
/**
|
|
4453
|
+
* "onPosGroupAdded" is invoked when a new group was created. (e.g. duplicate object)
|
|
4454
|
+
* @param groupData The new group data JSON.
|
|
4455
|
+
*/
|
|
4456
|
+
onPosGroupAdded?: (posGroups: PosGroup[]) => Promise<void>;
|
|
4457
|
+
/**
|
|
4458
|
+
* "onPosGroupChanged" is invoked when a new group was modified and recalculated. (e.g. split, merge, change, attribute)
|
|
4459
|
+
*
|
|
4460
|
+
* @param groupData The new group data JSON.
|
|
4461
|
+
*/
|
|
4462
|
+
onPosGroupChanged?: (posGroups: PosGroup[]) => Promise<void>;
|
|
4463
|
+
/**
|
|
4464
|
+
* "onPosGroupDeleted" is invoked when a group was delete. (e.g. delete button in scene)
|
|
4465
|
+
* @param groupData The ID of the group which was deleted.
|
|
4466
|
+
*/
|
|
4467
|
+
onPosGroupDeleted?: (posGroupIds: string[]) => Promise<void>;
|
|
4468
|
+
/**
|
|
4469
|
+
* "onShowHidePanel" is invoked when a the content of the side panel should be changed or hidden.
|
|
4470
|
+
* @param panel The panel to show or hide.
|
|
4471
|
+
* @param posGroupId Optional ID of the selected group in case of SHOW_ATTRIBUTES.
|
|
4472
|
+
* @param rootModuleId Optional ID of the selected root module in case of SHOW_ATTRIBUTES.
|
|
4473
|
+
* @param subModuleId Optional ID of the selected sub module in case of SHOW_ATTRIBUTES.
|
|
4474
|
+
*/
|
|
4475
|
+
onShowHidePanel?: (panel: HiPanelActionType, posGroupId?: string | null, rootModuleId?: string | null, subModuleId?: string | null) => void;
|
|
4476
|
+
/**
|
|
4477
|
+
* "onSelectModule" is invoked when a the selected object in the scene was changed.
|
|
4478
|
+
* @param posGroupId ID of the selected group
|
|
4479
|
+
* @param rootModuleId ID of the selected root module
|
|
4480
|
+
* @param subModuleId Optional id of the selected sub module
|
|
4481
|
+
*/
|
|
4482
|
+
onSelectModule?: (posGroupId: string | null, rootModuleId: string | null, subModuleId?: string | null) => void;
|
|
4483
|
+
/**
|
|
4484
|
+
* Request the price for the given order data.
|
|
4485
|
+
* @param orderData order data
|
|
4486
|
+
* @returns price data
|
|
4487
|
+
*/
|
|
4488
|
+
onFetchPrice?: (orderData: HiOrder) => Promise<HiPriceData | null>;
|
|
4489
|
+
/**
|
|
4490
|
+
* "onPlaceOrder" is invoked when the user wants to place an order.
|
|
4491
|
+
* You can use this to send the order data to Order Manager or to a 3rd party service.
|
|
4492
|
+
* @param orderData
|
|
4493
|
+
*/
|
|
4494
|
+
onPlaceOrder?: (orderData: any) => Promise<void>;
|
|
4495
|
+
/**
|
|
4496
|
+
* "onLogMessage" is invoked when the Homag Intelligence library wants to log a message.
|
|
4497
|
+
* You can use this to log messages in your own UI.
|
|
4498
|
+
* @param area
|
|
4499
|
+
* @param message
|
|
4500
|
+
*/
|
|
4501
|
+
onLogMessage?: (area: string, message: string) => void;
|
|
4502
|
+
}
|
|
4503
|
+
|
|
3879
4504
|
export declare type HiContextAction = (typeof HI_CONTEXT_ACTION)[keyof typeof HI_CONTEXT_ACTION];
|
|
3880
4505
|
|
|
3881
4506
|
/**
|
|
@@ -3910,15 +4535,224 @@ export declare interface HiObjectSelectionApi {
|
|
|
3910
4535
|
selectionChanged(selectionMode: SELECTION_MODE, objectType: CallbackObjectType, payload: SelectionPayload, _payloadPromise: Promise<SelectionPayload>, _planElementViewModel: PlanElementViewModel): void;
|
|
3911
4536
|
}
|
|
3912
4537
|
|
|
4538
|
+
export declare interface HiOrder extends HiOrderHeader {
|
|
4539
|
+
items: HiOrderData[];
|
|
4540
|
+
}
|
|
4541
|
+
|
|
4542
|
+
export declare interface HiOrderData {
|
|
4543
|
+
[key: string]: any;
|
|
4544
|
+
additionalData: Array<Record<string, any>>;
|
|
4545
|
+
}
|
|
4546
|
+
|
|
4547
|
+
export declare interface HiOrderHeader {
|
|
4548
|
+
id: string;
|
|
4549
|
+
state: string;
|
|
4550
|
+
orderNumber: string;
|
|
4551
|
+
orderName: string;
|
|
4552
|
+
orderDescription: string;
|
|
4553
|
+
project: string;
|
|
4554
|
+
personInCharge: string;
|
|
4555
|
+
orderDate: string;
|
|
4556
|
+
deliveryDatePlanned: string;
|
|
4557
|
+
addresses: Array<{
|
|
4558
|
+
type: string;
|
|
4559
|
+
street: string;
|
|
4560
|
+
houseNumber: string;
|
|
4561
|
+
postalCode: string;
|
|
4562
|
+
city: string;
|
|
4563
|
+
country: string;
|
|
4564
|
+
}>;
|
|
4565
|
+
customerName: string;
|
|
4566
|
+
customerNumber: string;
|
|
4567
|
+
createdAt: string;
|
|
4568
|
+
changedAt: string;
|
|
4569
|
+
changedBy: string;
|
|
4570
|
+
}
|
|
4571
|
+
|
|
4572
|
+
export declare type HiPanelActionType = (typeof HI_PANEL_ACTION)[keyof typeof HI_PANEL_ACTION];
|
|
4573
|
+
|
|
4574
|
+
export declare interface HiPlanArticle {
|
|
4575
|
+
articleId: string;
|
|
4576
|
+
articleName?: string;
|
|
4577
|
+
desc?: string;
|
|
4578
|
+
imageUrl?: string;
|
|
4579
|
+
category?: string;
|
|
4580
|
+
libraryId: string;
|
|
4581
|
+
catalog: string;
|
|
4582
|
+
cornerArticle: boolean;
|
|
4583
|
+
cornerPoint?: HiPlanPosition3;
|
|
4584
|
+
rootModules: HiPlanArticleRootModule[];
|
|
4585
|
+
}
|
|
4586
|
+
|
|
4587
|
+
export declare interface HiPlanArticleAttributeValue {
|
|
4588
|
+
id: string;
|
|
4589
|
+
name?: string;
|
|
4590
|
+
value?: number | string | boolean;
|
|
4591
|
+
}
|
|
4592
|
+
|
|
4593
|
+
export declare interface HiPlanArticleRootModule {
|
|
4594
|
+
module: {
|
|
4595
|
+
id: string;
|
|
4596
|
+
name?: string;
|
|
4597
|
+
desc?: string;
|
|
4598
|
+
imageUrl?: string;
|
|
4599
|
+
};
|
|
4600
|
+
dimensions: HiPlanArticleAttributeValue[];
|
|
4601
|
+
mainAttributes: HiPlanArticleAttributeValue[];
|
|
4602
|
+
dockingVectors: string[];
|
|
4603
|
+
insertLevels?: PosInsertLevelInfo[];
|
|
4604
|
+
subModules: Array<{
|
|
4605
|
+
id: string;
|
|
4606
|
+
name?: string;
|
|
4607
|
+
desc?: string;
|
|
4608
|
+
imageUrl?: string;
|
|
4609
|
+
}>;
|
|
4610
|
+
}
|
|
4611
|
+
|
|
4612
|
+
export declare interface HiPlanAttribute {
|
|
4613
|
+
id: string;
|
|
4614
|
+
name: string;
|
|
4615
|
+
desc?: string;
|
|
4616
|
+
imageUrl?: string;
|
|
4617
|
+
type: MDType;
|
|
4618
|
+
group?: string;
|
|
4619
|
+
selections?: MDAttributeSelection[];
|
|
4620
|
+
}
|
|
4621
|
+
|
|
3913
4622
|
export declare interface HiPlanContext {
|
|
3914
|
-
masterData?: Record<string,
|
|
3915
|
-
rooms?:
|
|
3916
|
-
articles?:
|
|
3917
|
-
groups?:
|
|
4623
|
+
masterData?: Record<string, HiPlanMasterData>;
|
|
4624
|
+
rooms?: HiPlanRoomInformation;
|
|
4625
|
+
articles?: HiPlanArticle[];
|
|
4626
|
+
groups?: HiPlanGroup[];
|
|
4627
|
+
}
|
|
4628
|
+
|
|
4629
|
+
export declare interface HiPlanContextData {
|
|
4630
|
+
dockedRoots: Array<{
|
|
4631
|
+
ownDockingVector: PosDock | string;
|
|
4632
|
+
dockedRoots: HiPlanDockedRoot[];
|
|
4633
|
+
}>;
|
|
3918
4634
|
}
|
|
3919
4635
|
|
|
3920
4636
|
export declare type HiPlanContextSection = 'masterData' | 'rooms' | 'articles' | 'groups';
|
|
3921
4637
|
|
|
4638
|
+
export declare interface HiPlanContour {
|
|
4639
|
+
level: number;
|
|
4640
|
+
segments: HiPlanContourSegment[];
|
|
4641
|
+
}
|
|
4642
|
+
|
|
4643
|
+
export declare interface HiPlanContourSegment {
|
|
4644
|
+
cmd: string;
|
|
4645
|
+
pos: HiPlanPosition3;
|
|
4646
|
+
angle?: number;
|
|
4647
|
+
type?: string;
|
|
4648
|
+
height?: number;
|
|
4649
|
+
thickness?: number;
|
|
4650
|
+
}
|
|
4651
|
+
|
|
4652
|
+
export declare interface HiPlanDockedRoot {
|
|
4653
|
+
id: string;
|
|
4654
|
+
dockingVector: PosDock | string;
|
|
4655
|
+
mode?: PosDockMode | string;
|
|
4656
|
+
offset?: number[];
|
|
4657
|
+
}
|
|
4658
|
+
|
|
4659
|
+
export declare interface HiPlanFootprint {
|
|
4660
|
+
x: [number, number];
|
|
4661
|
+
z: [number, number];
|
|
4662
|
+
widthMm: number;
|
|
4663
|
+
depthMm: number;
|
|
4664
|
+
}
|
|
4665
|
+
|
|
4666
|
+
export declare interface HiPlanGroup {
|
|
4667
|
+
id: string;
|
|
4668
|
+
libraryId?: string;
|
|
4669
|
+
position: HiPlanGroupPosition;
|
|
4670
|
+
attributes?: PosModuleAttribute[];
|
|
4671
|
+
roots: HiPlanRoot[];
|
|
4672
|
+
logMessages: PosErrorMsg[];
|
|
4673
|
+
}
|
|
4674
|
+
|
|
4675
|
+
export declare interface HiPlanGroupPosition {
|
|
4676
|
+
pos?: number[];
|
|
4677
|
+
rotationY?: number;
|
|
4678
|
+
footprint?: HiPlanFootprint;
|
|
4679
|
+
}
|
|
4680
|
+
|
|
4681
|
+
export declare interface HiPlanMasterData {
|
|
4682
|
+
libraryId: string;
|
|
4683
|
+
modules: HiPlanMasterDataModule[];
|
|
4684
|
+
attributes: HiPlanAttribute[];
|
|
4685
|
+
}
|
|
4686
|
+
|
|
4687
|
+
export declare interface HiPlanMasterDataModule {
|
|
4688
|
+
id: string;
|
|
4689
|
+
name: string;
|
|
4690
|
+
desc?: string;
|
|
4691
|
+
imageUrl?: string;
|
|
4692
|
+
attributes: string[];
|
|
4693
|
+
}
|
|
4694
|
+
|
|
4695
|
+
/**
|
|
4696
|
+
* The plan context is the data an AI agent needs to understand and author a
|
|
4697
|
+
* planning session. `getPlanContext` (glue logic) assembles it and every
|
|
4698
|
+
* section leaves this file in the agent-ready shape: compacted, and in one
|
|
4699
|
+
* coordinate system - 3D, right-handed, Y up, the coordinate system of
|
|
4700
|
+
* `PosGroup`.
|
|
4701
|
+
*/
|
|
4702
|
+
export declare type HiPlanPosition3 = [number, number, number];
|
|
4703
|
+
|
|
4704
|
+
export declare interface HiPlanRoom {
|
|
4705
|
+
levels: HiPlanContour[];
|
|
4706
|
+
walls: HiPlanWall[];
|
|
4707
|
+
}
|
|
4708
|
+
|
|
4709
|
+
export declare interface HiPlanRoomInformation {
|
|
4710
|
+
rooms: HiPlanRoom[];
|
|
4711
|
+
}
|
|
4712
|
+
|
|
4713
|
+
export declare interface HiPlanRoot {
|
|
4714
|
+
id: string;
|
|
4715
|
+
articleId: string;
|
|
4716
|
+
articleName?: string;
|
|
4717
|
+
desc?: string;
|
|
4718
|
+
imageUrl?: string;
|
|
4719
|
+
category?: string;
|
|
4720
|
+
isGenerated?: boolean;
|
|
4721
|
+
attributes: HiPlanRootAttribute[];
|
|
4722
|
+
contextData?: HiPlanContextData;
|
|
4723
|
+
dockingVectors: string[];
|
|
4724
|
+
freeDockingVectors: string[];
|
|
4725
|
+
subModules: Array<{
|
|
4726
|
+
id: string;
|
|
4727
|
+
imageUrl?: string;
|
|
4728
|
+
}>;
|
|
4729
|
+
logMessages?: PosErrorMsg[];
|
|
4730
|
+
}
|
|
4731
|
+
|
|
4732
|
+
export declare interface HiPlanRootAttribute {
|
|
4733
|
+
id: string;
|
|
4734
|
+
value?: number | string | boolean;
|
|
4735
|
+
}
|
|
4736
|
+
|
|
4737
|
+
export declare interface HiPlanWall {
|
|
4738
|
+
index: number;
|
|
4739
|
+
side: HiPlanWallSide;
|
|
4740
|
+
start: HiPlanPosition3;
|
|
4741
|
+
end: HiPlanPosition3;
|
|
4742
|
+
lengthMm: number;
|
|
4743
|
+
type?: string;
|
|
4744
|
+
heightMm?: number;
|
|
4745
|
+
thicknessMm?: number;
|
|
4746
|
+
facingRotationY: number;
|
|
4747
|
+
}
|
|
4748
|
+
|
|
4749
|
+
export declare type HiPlanWallSide = 'left' | 'right' | 'top' | 'bottom';
|
|
4750
|
+
|
|
4751
|
+
export declare interface HiPriceData {
|
|
4752
|
+
[key: string]: any;
|
|
4753
|
+
orderData: HiOrder;
|
|
4754
|
+
}
|
|
4755
|
+
|
|
3922
4756
|
export declare class HiTagCatalogCallbacks implements Context {
|
|
3923
4757
|
_creator_: string;
|
|
3924
4758
|
private _glueLogic;
|
|
@@ -4059,7 +4893,7 @@ export declare class ImageRenderer implements Context {
|
|
|
4059
4893
|
private _getRenderer;
|
|
4060
4894
|
protected _createThreejsImageRenderer(): Promise<WebGLRenderer | WebGPURenderer>;
|
|
4061
4895
|
protected _createRoomleRenderer(imageRenderer: WebGLRenderer | WebGPURenderer): Promise<GenericRoomleRenderer>;
|
|
4062
|
-
switchToPlannerSettings(): Promise<void>;
|
|
4896
|
+
switchToPlannerSettings(renderMode: PlannerRenderMode): Promise<void>;
|
|
4063
4897
|
switchToConfiguratorSettings(): Promise<void>;
|
|
4064
4898
|
updateBounds(bounds: Box3): Promise<void>;
|
|
4065
4899
|
static getCameraTargetForBBox(bbox: Box3, spacing?: number): CameraTarget;
|
|
@@ -4091,7 +4925,7 @@ export declare class InitData implements Context, Omit<InitDataDefinition, 'colo
|
|
|
4091
4925
|
precisionCm?: number;
|
|
4092
4926
|
unit?: string;
|
|
4093
4927
|
unitStringType?: string;
|
|
4094
|
-
measurementSystem?:
|
|
4928
|
+
measurementSystem?: Enumify<typeof MEASUREMENT_SYSTEM_STRING>;
|
|
4095
4929
|
meshSelection: boolean;
|
|
4096
4930
|
stats: boolean;
|
|
4097
4931
|
debug: boolean;
|
|
@@ -4113,7 +4947,10 @@ export declare class InitData implements Context, Omit<InitDataDefinition, 'colo
|
|
|
4113
4947
|
restrictionLevel: number;
|
|
4114
4948
|
hi?: HomagIntelligenceInitData;
|
|
4115
4949
|
disableDefaultLabelStyles: boolean;
|
|
4116
|
-
|
|
4950
|
+
translations?: Record<string, {
|
|
4951
|
+
'room-types'?: Record<string, string>;
|
|
4952
|
+
}>;
|
|
4953
|
+
highlighting: Enumify<typeof ROOMLE_HIGHLIGHTNG>;
|
|
4117
4954
|
initialFloorMaterial?: string;
|
|
4118
4955
|
dls?: string;
|
|
4119
4956
|
ls?: string;
|
|
@@ -4141,7 +4978,7 @@ export declare class InitData implements Context, Omit<InitDataDefinition, 'colo
|
|
|
4141
4978
|
webGpuConfig: WebGpuConfig;
|
|
4142
4979
|
meshRaycasting: boolean;
|
|
4143
4980
|
defaultFloorMaterial?: number | string;
|
|
4144
|
-
mode:
|
|
4981
|
+
mode: Enumify<typeof CAMERA_TYPE>;
|
|
4145
4982
|
edit: boolean;
|
|
4146
4983
|
moc: boolean;
|
|
4147
4984
|
lockPlan: boolean;
|
|
@@ -4305,7 +5142,9 @@ export declare interface InsertItemResult {
|
|
|
4305
5142
|
export declare class IntArray extends EmsArray<number> {
|
|
4306
5143
|
}
|
|
4307
5144
|
|
|
4308
|
-
export declare
|
|
5145
|
+
export declare type IntArray_2 = EmscriptenArray<number>;
|
|
5146
|
+
|
|
5147
|
+
export declare class IntArray_3 extends EmsArray<number> {
|
|
4309
5148
|
}
|
|
4310
5149
|
|
|
4311
5150
|
export declare type InteractionMethodName = Exclude<keyof PlanInteractionManager, keyof UndoRedoHandler>;
|
|
@@ -4319,24 +5158,115 @@ export declare const enum INTERSECTION_MODE {
|
|
|
4319
5158
|
CONFIGURATOR = 1
|
|
4320
5159
|
}
|
|
4321
5160
|
|
|
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
|
-
|
|
5161
|
+
export declare const isExternalObject: (someThing: unknown) => someThing is ExternalObject;
|
|
5162
|
+
|
|
5163
|
+
export declare const isExtObjId: (id: unknown) => id is ExtObjId;
|
|
5164
|
+
|
|
5165
|
+
export declare const isFirefox: () => boolean;
|
|
5166
|
+
|
|
5167
|
+
export declare const isIdAComponent: (id: string) => boolean;
|
|
5168
|
+
|
|
5169
|
+
export declare const isIdAConfigurationString: (id: string) => boolean;
|
|
5170
|
+
|
|
5171
|
+
export declare const isIdAnItem: (id: string) => boolean;
|
|
5172
|
+
|
|
5173
|
+
export declare const isIdAPlan: (id: string) => boolean;
|
|
5174
|
+
|
|
5175
|
+
export declare const isPlanSnapshotId: (id: string | RapiId) => id is RapiPlanSnapshotId;
|
|
5176
|
+
|
|
5177
|
+
export declare const isSafari: () => boolean;
|
|
5178
|
+
|
|
5179
|
+
export declare interface Kernel {
|
|
5180
|
+
new (): Kernel;
|
|
5181
|
+
setUpdateCallbacksOnlyIfGeometryIsReady(onlyUpdateIfReady: boolean): void;
|
|
5182
|
+
setLevel(level: number): void;
|
|
5183
|
+
useHDGeometry(shouldUse: boolean): void;
|
|
5184
|
+
useEnvironmentGeometry(shouldUse: boolean): void;
|
|
5185
|
+
setDockInsertPreviewBoxParameters(thickness: number, protruding: number, intruding: number, bevelSize: number): void;
|
|
5186
|
+
setLogLevel(level: number): void;
|
|
5187
|
+
loadConfiguration(conversationId: number, serializedConfiguration: string, bounding: Vector3): void;
|
|
5188
|
+
updateConfiguration(conversationId: number, objectOrComponentId: number, serializedConfiguration: string): void;
|
|
5189
|
+
loadFreeFlyingConfiguration(conversationId: number, serializedConfiguration: string): void;
|
|
5190
|
+
loadComponentDefinition(serializedComponent: string): void;
|
|
5191
|
+
requestComponentDockPreview(targetObjectId: number, componentId: string, serializedComponent: string, dragIn: boolean, allowInsertInBetween: boolean): void;
|
|
5192
|
+
requestItemDockPreview(targetObjectId: number, serializedConfiguration: string, dragIn: boolean, allowInsertInBetween: boolean): void;
|
|
5193
|
+
requestExternalObjectDockPreview(targetObjectId: number, articleId: string, dragIn: boolean, allowInsertInBetween: boolean): void;
|
|
5194
|
+
assetsLoaded(assets: AssetResponse_2 | AssetResponse_2[]): void;
|
|
5195
|
+
loadPlainComponent(conversationId: number, componentId: string, serializedComponent: string): void;
|
|
5196
|
+
saveConfiguration(planObjectId: number): void;
|
|
5197
|
+
getComponent(planComponentId: number): Component;
|
|
5198
|
+
getComponentBounds(componentId: number, animationValues: string[]): ComponentBounds;
|
|
5199
|
+
getComponentParameters(planComponentId: number): ParameterArray_2;
|
|
5200
|
+
getPlanComponentAnimations(planComponentId: number): AnimationArray;
|
|
5201
|
+
setComponentParameter(planComponentId: number, key: string, value: string): void;
|
|
5202
|
+
getCommonPlanComponentParameters(somePlanComponentIds: LongArray): ParametersAndParameterGroups;
|
|
5203
|
+
setPlanComponentsParameter(somePlanComponentIds: LongArray, key: string, value: string): void;
|
|
5204
|
+
dockComponent(id: number, dockId: number, parentId: number, parentDockId: number, position?: Vector3): void;
|
|
5205
|
+
dockComponentWithPosition(id: number, dockId: number, parentId: number, parentDockId: number, position: Vector3): void;
|
|
5206
|
+
determinePlanComponentsThatWillBeDeleted(planComponentId: number, tryDockChildrenToParent: boolean): LongArray;
|
|
5207
|
+
deleteComponent(planComponentId: number, redockChildrenToParent: boolean): void;
|
|
5208
|
+
deleteMultipleComponents(somePlanComponentIds: LongArray): void;
|
|
5209
|
+
prepareForIncrementalUpdate(): void;
|
|
5210
|
+
doNextIncrementalUpdate(): void;
|
|
5211
|
+
getPartList(planComponentId: number): PartList;
|
|
5212
|
+
getPlanObjectPartList(planObjectId: number): PartList;
|
|
5213
|
+
getFullPartList(): PartList;
|
|
5214
|
+
isConfigurationValid(planObjectOrComponentId: number): boolean;
|
|
5215
|
+
retrieveConfigurationId(planObjectOrComponentId: number): UniqueIdAndHash;
|
|
5216
|
+
getHashOfSerializedConfiguration(serializedConfiguration: string): string;
|
|
5217
|
+
getSerializedConfiguration(planObjectOrComponentId: number): string;
|
|
5218
|
+
createNewSerializedConfiguration(planObjectOrComponentId: number): string;
|
|
5219
|
+
clearScene(): void;
|
|
5220
|
+
clearAll(): void;
|
|
5221
|
+
reset(): void;
|
|
5222
|
+
getEnvironmentVariables(): void;
|
|
5223
|
+
getEnvironmentVariable(key: string): void;
|
|
5224
|
+
setEnvironmentVariable(key: string, value: string): void;
|
|
5225
|
+
getPlannedObjects(): void;
|
|
5226
|
+
getPlanObjectParameters(planObjectId: number): ParameterArray_2;
|
|
5227
|
+
getCommonPlanObjectParameters(planObjectIds: LongArray): ParameterArray_2;
|
|
5228
|
+
getPlanObjectAnimations(planObjectId: number): AnimationArray;
|
|
5229
|
+
getPlanViews(planObjectId: number): ConfigurationPlanViewArray;
|
|
5230
|
+
setPlanObjectParameter(planObjectId: number, key: string, value: string): void;
|
|
5231
|
+
setPlanObjectsParameter(somePlanObjectIds: LongArray, key: string, value: string): void;
|
|
5232
|
+
deletePlanObject(planObjectId: number): void;
|
|
5233
|
+
isExternalPlanObject(objectOrPlanComponentId: number): boolean;
|
|
5234
|
+
getComponentOrModuleInformation(objectOrPlanComponentId: number): ObjectInformation;
|
|
5235
|
+
getExternalObjectAttribute(objectOrPlanComponentId: number, attributeId: string, value: string): ExternalAttributeInformation_2;
|
|
5236
|
+
getPlanObject(planObjectId: number): PlanObject_3;
|
|
5237
|
+
getPlanObjectFromPlanComponent(planComponentId: number): PlanObject_3;
|
|
5238
|
+
getRootPlanComponentIdFromObjectId(planObjectId: number): number;
|
|
5239
|
+
getGlobalParameterValue(objectOrComponentId: number, name: string): string;
|
|
5240
|
+
getRuntimeIdOfRootComponent(objectOrComponentId: number): number;
|
|
5241
|
+
getRuntimeIdsOfChildComponents(objectOrComponentId: number): LongArray;
|
|
5242
|
+
getComponentParameterValue(objectOrComponentId: number, name: string): string;
|
|
5243
|
+
getComponentId(objectOrPlanComponentId: number): string;
|
|
5244
|
+
getCurrencySymbol(planComponentId: number): string;
|
|
5245
|
+
getPrice(planComponentId: number): number;
|
|
5246
|
+
addPriceList(priceListId: string): void;
|
|
5247
|
+
resetPriceListIds(): void;
|
|
5248
|
+
requestPlanObjectConstruction(planComponentId: number): void;
|
|
5249
|
+
requestMergedPlanObjectConstruction(planComponentId: number): void;
|
|
5250
|
+
requestPlanComponentConstruction(planComponentId: number): boolean;
|
|
5251
|
+
requestDeltaPlanComponentConstruction(planComponentId: number): boolean;
|
|
5252
|
+
requestPlanComponentConstructionRecursive(planComponentId: number): void;
|
|
5253
|
+
requestPreviewGeometry(dockingObjectOrComponentId: number, targetObjectRuntimeId: number, allowInsertInBetween: boolean): void;
|
|
5254
|
+
cancelDocking(planComponentOrPlanObjectId: number, undoDrag: boolean): void;
|
|
5255
|
+
setActiveGroupInView(activeGroup: string): void;
|
|
5256
|
+
setActiveGroupInViewForPlanObject(activeGroup: string, planObjectOrComponentId: number): void;
|
|
5257
|
+
getPlanObjectPossibleChildren(planObjectId: number): PossibleChildArray_2;
|
|
5258
|
+
getChildrenOfPlanObject(planObjectId: number, onlyPossibleChildren: boolean, onlyVisibleChildren: boolean): PossibleChildArray_2;
|
|
5259
|
+
getPlanComponentPossibleChildren(planComponentId: number): PossibleChildArray_2;
|
|
5260
|
+
getChildrenOfPlanComponent(planComponentId: number, onlyPossibleChildren: boolean, onlyVisibleChildren: boolean): PossibleChildArray_2;
|
|
5261
|
+
syncPlanObjectToView(conversationId: number, planObjectId: number): void;
|
|
5262
|
+
getAddOnSpotsForPlanObject(planObjectId: number): AddOnSpotArray_2;
|
|
5263
|
+
setExternalMeshInvalid(assetType: AssetType_2, idOrUrl: string, quality: number): void;
|
|
5264
|
+
setAssetInvalid(assetType: AssetType_2, idOrUrl: string, quality: number): void;
|
|
5265
|
+
loadExternalAttributeDefinition(serializedDefinition: string): void;
|
|
5266
|
+
setExternalObjectConstructionProperties(serializedProperties: string): void;
|
|
5267
|
+
registerDebugClient(debugClient: DebugClient_2): void;
|
|
5268
|
+
}
|
|
5269
|
+
|
|
4340
5270
|
export declare const KERNEL_MESSAGE_TYPE: {
|
|
4341
5271
|
readonly EXCEPTION: "exception";
|
|
4342
5272
|
readonly ERROR: "error";
|
|
@@ -4387,9 +5317,9 @@ export declare interface KernelAttic extends KernelObject {
|
|
|
4387
5317
|
getFrom(): NodePlanObject;
|
|
4388
5318
|
getTo(): NodePlanObject;
|
|
4389
5319
|
getAssociatedWall(): KernelWall;
|
|
4390
|
-
get2dPolygon():
|
|
4391
|
-
getRidgePoints():
|
|
4392
|
-
getPointsWithHeight(height: number):
|
|
5320
|
+
get2dPolygon(): PointArray_3;
|
|
5321
|
+
getRidgePoints(): PointArray_3;
|
|
5322
|
+
getPointsWithHeight(height: number): PointArray_3;
|
|
4393
5323
|
readonly side: WallSide;
|
|
4394
5324
|
readonly kneeHeight: number;
|
|
4395
5325
|
readonly width: number;
|
|
@@ -4522,7 +5452,7 @@ export declare interface KernelFloor extends KernelObject {
|
|
|
4522
5452
|
area: number;
|
|
4523
5453
|
material: KernelFloorMaterial;
|
|
4524
5454
|
readonly parapetHeight: number;
|
|
4525
|
-
readonly floorType:
|
|
5455
|
+
readonly floorType: FloorType_2;
|
|
4526
5456
|
getCenter: () => KernelVector3;
|
|
4527
5457
|
getRandomPointInside: () => KernelVector3;
|
|
4528
5458
|
getLabelPosition: () => KernelVector3;
|
|
@@ -4852,7 +5782,7 @@ export declare interface KernelWall extends KernelObject {
|
|
|
4852
5782
|
readonly wallType: KernelEnum;
|
|
4853
5783
|
readonly leftNormal: KernelVector3;
|
|
4854
5784
|
readonly rightNormal: KernelVector3;
|
|
4855
|
-
readonly edgeType:
|
|
5785
|
+
readonly edgeType: EdgeType_2;
|
|
4856
5786
|
getAngle: () => number;
|
|
4857
5787
|
}
|
|
4858
5788
|
|
|
@@ -4950,6 +5880,15 @@ export declare interface LightSourceConfiguration {
|
|
|
4950
5880
|
maximumNumberOfLightSources: number;
|
|
4951
5881
|
}
|
|
4952
5882
|
|
|
5883
|
+
export declare interface Line {
|
|
5884
|
+
angle: number;
|
|
5885
|
+
endPoint: Vector3;
|
|
5886
|
+
length: number;
|
|
5887
|
+
startPoint: Vector3;
|
|
5888
|
+
}
|
|
5889
|
+
|
|
5890
|
+
export declare type LineArray = EmscriptenArray<Line>;
|
|
5891
|
+
|
|
4953
5892
|
export declare interface LinksCollection {
|
|
4954
5893
|
[key: string]: string;
|
|
4955
5894
|
}
|
|
@@ -4993,7 +5932,9 @@ export declare interface LogMessageScope {
|
|
|
4993
5932
|
attrId?: string;
|
|
4994
5933
|
}
|
|
4995
5934
|
|
|
4996
|
-
export declare
|
|
5935
|
+
export declare type LongArray = EmscriptenArray<number>;
|
|
5936
|
+
|
|
5937
|
+
export declare class LongArray_2 extends EmsArray<number> {
|
|
4997
5938
|
}
|
|
4998
5939
|
|
|
4999
5940
|
export declare const enum MAIL_TYPE {
|
|
@@ -5054,6 +5995,10 @@ export declare const enum MaterialSourceType {
|
|
|
5054
5995
|
RgbValue = 3
|
|
5055
5996
|
}
|
|
5056
5997
|
|
|
5998
|
+
export declare interface MaterialSourceType_2 {
|
|
5999
|
+
value: Enumify_2<typeof CORE_MATERIAL_SOURCE_TYPE>;
|
|
6000
|
+
}
|
|
6001
|
+
|
|
5057
6002
|
export declare class MaterialViewer extends Main {
|
|
5058
6003
|
private _viewer;
|
|
5059
6004
|
protected setupGlobals(): void;
|
|
@@ -5065,10 +6010,21 @@ export declare class MaterialViewer extends Main {
|
|
|
5065
6010
|
protected getContextName(): string;
|
|
5066
6011
|
}
|
|
5067
6012
|
|
|
6013
|
+
export declare interface Matrix4 {
|
|
6014
|
+
m: number[];
|
|
6015
|
+
}
|
|
6016
|
+
|
|
5068
6017
|
export declare type MaybePromise<T> = (() => T) | (() => Promise<T>);
|
|
5069
6018
|
|
|
6019
|
+
/**
|
|
6020
|
+
* MD5 hex digest of a string, e.g. the hashed password RapiAccess.signinUser expects
|
|
6021
|
+
*/
|
|
6022
|
+
export declare const md5Hash: (value: string) => string;
|
|
6023
|
+
|
|
5070
6024
|
export declare type MDAttributeInfo = MDBoolAttributeInfo | MDTextAttributeInfo | MDIntegerAttributeInfo | MDRealAttributeInfo | MDDimAttributeInfo;
|
|
5071
6025
|
|
|
6026
|
+
export declare type MDAttributeSelection = MDBoolAttributeSelection | MDTextAttributeSelection | MDIntegerAttributeSelection | MDRealAttributeSelection | MDDimAttributeSelection;
|
|
6027
|
+
|
|
5072
6028
|
export declare interface MDBoolAttributeInfo extends BaseMDAttributeInfo {
|
|
5073
6029
|
selections?: MDBoolAttributeSelection[];
|
|
5074
6030
|
type: MDType.Bool;
|
|
@@ -5148,7 +6104,7 @@ export declare const MEASUREMENT_SYSTEM_STRING: {
|
|
|
5148
6104
|
METRIC: string;
|
|
5149
6105
|
};
|
|
5150
6106
|
|
|
5151
|
-
export declare interface MeasurementBase<Vector2Type =
|
|
6107
|
+
export declare interface MeasurementBase<Vector2Type = Vector3_2 | Position2, Vector3Type = Vector3_2 | Position3> {
|
|
5152
6108
|
/** start position of the dimension in 3D **/
|
|
5153
6109
|
fromPosition3d: Vector3Type;
|
|
5154
6110
|
/** end position of the dimension in 3D **/
|
|
@@ -5173,7 +6129,7 @@ export declare interface MeasurementBase<Vector2Type = Vector3 | Position2, Vect
|
|
|
5173
6129
|
dashed?: boolean;
|
|
5174
6130
|
}
|
|
5175
6131
|
|
|
5176
|
-
export declare type MeasurementLineDimension = DimensionDefinition<
|
|
6132
|
+
export declare type MeasurementLineDimension = DimensionDefinition<Vector3_2, Vector3_2>;
|
|
5177
6133
|
|
|
5178
6134
|
export declare type MeasurementLineDimensionTransferable = DimensionDefinition<Position2, Position3>;
|
|
5179
6135
|
|
|
@@ -5322,6 +6278,13 @@ export declare abstract class Node_2 extends PlanElement {
|
|
|
5322
6278
|
getMaxWallHeight(): number;
|
|
5323
6279
|
}
|
|
5324
6280
|
|
|
6281
|
+
export declare interface Node_3 extends PlanElement_2 {
|
|
6282
|
+
new (): Node_3;
|
|
6283
|
+
getNumberOfConnectedWalls(): number;
|
|
6284
|
+
getMaxWallHeight(): number;
|
|
6285
|
+
readonly nodeType: NodeType_2;
|
|
6286
|
+
}
|
|
6287
|
+
|
|
5325
6288
|
export declare interface NodeDimensionTransferable {
|
|
5326
6289
|
id: number;
|
|
5327
6290
|
position2d: Position2;
|
|
@@ -5337,7 +6300,7 @@ export declare class NodePlanElementViewModel extends PlanElementViewModel {
|
|
|
5337
6300
|
update(): void;
|
|
5338
6301
|
setFenceEnabled(enabled: boolean): void;
|
|
5339
6302
|
setTopView(enabled: boolean): void;
|
|
5340
|
-
getSize():
|
|
6303
|
+
getSize(): Vector3_2;
|
|
5341
6304
|
show(): void;
|
|
5342
6305
|
hide(): void;
|
|
5343
6306
|
protected getSelectionRingColor(): number;
|
|
@@ -5366,7 +6329,11 @@ export declare interface NodeType {
|
|
|
5366
6329
|
value: Enumify<typeof CORE_NODE_TYPE>;
|
|
5367
6330
|
}
|
|
5368
6331
|
|
|
5369
|
-
export
|
|
6332
|
+
export declare interface NodeType_2 {
|
|
6333
|
+
value: Enumify_2<typeof CORE_NODE_TYPE_2>;
|
|
6334
|
+
}
|
|
6335
|
+
|
|
6336
|
+
export declare type Nullable<T> = T | null;
|
|
5370
6337
|
|
|
5371
6338
|
export declare interface Object3DRoomleEventMap extends Object3DEventMap {
|
|
5372
6339
|
[OBJECT_EVENT.CLICK]: {
|
|
@@ -5377,7 +6344,7 @@ export declare interface Object3DRoomleEventMap extends Object3DEventMap {
|
|
|
5377
6344
|
};
|
|
5378
6345
|
[OBJECT_EVENT.DRAG]: {
|
|
5379
6346
|
attachment: {
|
|
5380
|
-
position:
|
|
6347
|
+
position: Vector3_2;
|
|
5381
6348
|
};
|
|
5382
6349
|
};
|
|
5383
6350
|
[OBJECT_EVENT.DRAG_END]: {
|
|
@@ -5416,6 +6383,13 @@ export declare const enum OBJECT_EVENT {
|
|
|
5416
6383
|
ROTATE = "rotate"
|
|
5417
6384
|
}
|
|
5418
6385
|
|
|
6386
|
+
export declare interface ObjectBounds {
|
|
6387
|
+
boundingBox: Box;
|
|
6388
|
+
rectangleBox: ExtrudedRectangle;
|
|
6389
|
+
}
|
|
6390
|
+
|
|
6391
|
+
export declare type ObjectBoundsArray = EmscriptenArray<ObjectBounds>;
|
|
6392
|
+
|
|
5419
6393
|
export declare interface ObjectCategory {
|
|
5420
6394
|
value: Enumify<typeof CORE_OBJECT_CATEGORY>;
|
|
5421
6395
|
}
|
|
@@ -5425,6 +6399,12 @@ export declare interface ObjectConfigurationType {
|
|
|
5425
6399
|
}
|
|
5426
6400
|
|
|
5427
6401
|
export declare interface ObjectFrontRotation {
|
|
6402
|
+
lookAtSide: WallSide_2;
|
|
6403
|
+
rotation: number;
|
|
6404
|
+
rotationRoundTo90deg: number;
|
|
6405
|
+
}
|
|
6406
|
+
|
|
6407
|
+
export declare interface ObjectFrontRotation_2 {
|
|
5428
6408
|
lookAtSide: WallSide;
|
|
5429
6409
|
rotation: number;
|
|
5430
6410
|
rotationRoundTo90deg: number;
|
|
@@ -5434,9 +6414,29 @@ export declare abstract class ObjectGroup extends PlanElement {
|
|
|
5434
6414
|
getObjects(): PlanObjectPtr;
|
|
5435
6415
|
}
|
|
5436
6416
|
|
|
6417
|
+
export declare interface ObjectGroup_2 extends PlanElement_2 {
|
|
6418
|
+
new (): ObjectGroup_2;
|
|
6419
|
+
getGroupId(): number;
|
|
6420
|
+
getObjects(): PlanObjectPtrList_2;
|
|
6421
|
+
}
|
|
6422
|
+
|
|
5437
6423
|
export declare interface ObjectGroupPtr {
|
|
5438
6424
|
}
|
|
5439
6425
|
|
|
6426
|
+
export declare interface ObjectInformation {
|
|
6427
|
+
componentId: string;
|
|
6428
|
+
configurationRuntimeId: number;
|
|
6429
|
+
entityRuntimeId: number;
|
|
6430
|
+
externalModule: ExternalModuleInformation_2;
|
|
6431
|
+
isAGeneratedModule: boolean;
|
|
6432
|
+
name: string;
|
|
6433
|
+
permissionToDelete: PermissionToDelete;
|
|
6434
|
+
permissionToDeleteInIsolation: PermissionToDelete;
|
|
6435
|
+
runtimeId: number;
|
|
6436
|
+
source: string;
|
|
6437
|
+
type: PlanComponentType;
|
|
6438
|
+
}
|
|
6439
|
+
|
|
5440
6440
|
export declare interface ObjectMeasurements {
|
|
5441
6441
|
rectMeasurements: ObjectWallDimension[];
|
|
5442
6442
|
objectMeasurements: ObjectWallDimension[];
|
|
@@ -5466,13 +6466,21 @@ export declare interface ObjectToWallLine {
|
|
|
5466
6466
|
export declare class ObjectToWallLineArray extends EmsArray<ObjectToWallLine> {
|
|
5467
6467
|
}
|
|
5468
6468
|
|
|
5469
|
-
export declare
|
|
6469
|
+
export declare interface ObjectTypeCategory {
|
|
6470
|
+
value: Enumify_2<typeof CORE_OBJECT_TYPE_CATEGORY>;
|
|
6471
|
+
}
|
|
6472
|
+
|
|
6473
|
+
export declare type ObjectWallDimension = DimensionDefinition<Vector3_2, Vector3_2>;
|
|
5470
6474
|
|
|
5471
6475
|
export declare interface OffsetCamera {
|
|
5472
6476
|
offset: CanvasOffset;
|
|
5473
6477
|
resetOffset(): void;
|
|
5474
6478
|
}
|
|
5475
6479
|
|
|
6480
|
+
export declare interface OpeningDirection {
|
|
6481
|
+
value: Enumify_2<typeof CORE_OPENING_DIRECTION>;
|
|
6482
|
+
}
|
|
6483
|
+
|
|
5476
6484
|
export declare interface OrthographicOffsetCamera extends OrthographicCamera, OffsetCamera {
|
|
5477
6485
|
}
|
|
5478
6486
|
|
|
@@ -5486,6 +6494,26 @@ export declare interface OutlineCustomParameters {
|
|
|
5486
6494
|
outlineHiddenEdgeColor: ColorRepresentation;
|
|
5487
6495
|
}
|
|
5488
6496
|
|
|
6497
|
+
export declare interface Parameter {
|
|
6498
|
+
enabled: boolean;
|
|
6499
|
+
group: string;
|
|
6500
|
+
highlighted: boolean;
|
|
6501
|
+
key: string;
|
|
6502
|
+
label: string;
|
|
6503
|
+
objectIds: IntArray_2;
|
|
6504
|
+
sort: number;
|
|
6505
|
+
source: string;
|
|
6506
|
+
type: ParameterTypeString;
|
|
6507
|
+
unitType: UnitTypeString;
|
|
6508
|
+
validGroups: string[];
|
|
6509
|
+
validRange: Range_2;
|
|
6510
|
+
validValues: ParameterValue[];
|
|
6511
|
+
value: string;
|
|
6512
|
+
valuesAreEqual: boolean;
|
|
6513
|
+
viewType: ViewType;
|
|
6514
|
+
visibleInPlanner: boolean;
|
|
6515
|
+
}
|
|
6516
|
+
|
|
5489
6517
|
export declare const enum PARAMETER_KERNEL_TYPE {
|
|
5490
6518
|
UNKNOWN = "",
|
|
5491
6519
|
INTEGER = "Integer",
|
|
@@ -5525,7 +6553,16 @@ export declare const PARAMETER_VIEW_TYPE: {
|
|
|
5525
6553
|
export declare class ParameterArray extends EmsArray<KernelParameter> {
|
|
5526
6554
|
}
|
|
5527
6555
|
|
|
5528
|
-
export declare
|
|
6556
|
+
export declare type ParameterArray_2 = EmscriptenArray<Parameter>;
|
|
6557
|
+
|
|
6558
|
+
export declare class ParameterArray_3 extends EmsArray<KernelParameter> {
|
|
6559
|
+
}
|
|
6560
|
+
|
|
6561
|
+
export declare interface ParameterGroup {
|
|
6562
|
+
collapsed: boolean;
|
|
6563
|
+
key: string;
|
|
6564
|
+
label: string;
|
|
6565
|
+
sort: number;
|
|
5529
6566
|
}
|
|
5530
6567
|
|
|
5531
6568
|
export declare class ParameterGroupArray extends EmsArray<KernelParameterGroup> {
|
|
@@ -5534,6 +6571,20 @@ export declare class ParameterGroupArray extends EmsArray<KernelParameterGroup>
|
|
|
5534
6571
|
export declare class ParameterGroupArray_2 extends EmsArray<KernelParameterGroup> {
|
|
5535
6572
|
}
|
|
5536
6573
|
|
|
6574
|
+
export declare interface ParametersAndParameterGroups {
|
|
6575
|
+
animations: Animation_2[];
|
|
6576
|
+
parameterGroups: ParameterGroup[];
|
|
6577
|
+
parameters: Parameter[];
|
|
6578
|
+
}
|
|
6579
|
+
|
|
6580
|
+
export declare type ParameterTypeString = Enumify_3<typeof CORE_PARAMETER_TYPE_STRING>;
|
|
6581
|
+
|
|
6582
|
+
export declare interface ParameterValue {
|
|
6583
|
+
label: string;
|
|
6584
|
+
thumbnail: string;
|
|
6585
|
+
value: string;
|
|
6586
|
+
}
|
|
6587
|
+
|
|
5537
6588
|
export declare class ParameterValueArray extends EmsArray<KernelParameterValue> {
|
|
5538
6589
|
}
|
|
5539
6590
|
|
|
@@ -5551,18 +6602,59 @@ export declare interface ParamterKeyValue {
|
|
|
5551
6602
|
parameterValue: string;
|
|
5552
6603
|
}
|
|
5553
6604
|
|
|
6605
|
+
export declare interface Part {
|
|
6606
|
+
articleNr: string;
|
|
6607
|
+
componentId: string;
|
|
6608
|
+
componentRuntimeIds: number[];
|
|
6609
|
+
count: number;
|
|
6610
|
+
currencySymbol: string;
|
|
6611
|
+
hasGeometry: boolean;
|
|
6612
|
+
isModule: boolean;
|
|
6613
|
+
label: string;
|
|
6614
|
+
labelIsCalculated: boolean;
|
|
6615
|
+
packageSize: number;
|
|
6616
|
+
parameters: PartListParameter[];
|
|
6617
|
+
permissionToDelete: PermissionToDelete;
|
|
6618
|
+
permissionToDeleteInIsolation: PermissionToDelete;
|
|
6619
|
+
price: number;
|
|
6620
|
+
retailerPrice: number;
|
|
6621
|
+
subpartId: number;
|
|
6622
|
+
valid: boolean;
|
|
6623
|
+
}
|
|
6624
|
+
|
|
5554
6625
|
export declare class PartArray extends EmsArray<KernelPart> {
|
|
5555
6626
|
}
|
|
5556
6627
|
|
|
5557
6628
|
export declare class PartArray_2 extends EmsArray<KernelPart> {
|
|
5558
6629
|
}
|
|
5559
6630
|
|
|
6631
|
+
export declare interface PartList {
|
|
6632
|
+
fullList: Part[];
|
|
6633
|
+
originPart: Part;
|
|
6634
|
+
perMainComponent: PartList[];
|
|
6635
|
+
}
|
|
6636
|
+
|
|
6637
|
+
export declare interface PartListParameter {
|
|
6638
|
+
key: string;
|
|
6639
|
+
label: string;
|
|
6640
|
+
sort: number;
|
|
6641
|
+
type: string;
|
|
6642
|
+
unitType: string;
|
|
6643
|
+
value: string;
|
|
6644
|
+
valueLabel: string;
|
|
6645
|
+
valueThumbnail: string;
|
|
6646
|
+
}
|
|
6647
|
+
|
|
5560
6648
|
export declare class PartListParameterArray extends EmsArray<KernelPartListParameter> {
|
|
5561
6649
|
}
|
|
5562
6650
|
|
|
5563
6651
|
export declare class PartListParameterArray_2 extends EmsArray<KernelPartListParameter> {
|
|
5564
6652
|
}
|
|
5565
6653
|
|
|
6654
|
+
export declare interface PermissionToDelete {
|
|
6655
|
+
value: Enumify_3<typeof CORE_PERMISSION_TO_DELETE_2>;
|
|
6656
|
+
}
|
|
6657
|
+
|
|
5566
6658
|
export declare interface PerspectiveOffsetCamera extends PerspectiveCamera, OffsetCamera {
|
|
5567
6659
|
}
|
|
5568
6660
|
|
|
@@ -5586,7 +6678,32 @@ export declare abstract class Plan extends AbstractModelWrapper {
|
|
|
5586
6678
|
syncToView(): void;
|
|
5587
6679
|
}
|
|
5588
6680
|
|
|
5589
|
-
export declare interface Plan_2 extends
|
|
6681
|
+
export declare interface Plan_2 extends AbstractModel_2 {
|
|
6682
|
+
new (): Plan_2;
|
|
6683
|
+
increaseLockLevels(): void;
|
|
6684
|
+
getPlanXML(includeRuntimeId: boolean, version: number): string;
|
|
6685
|
+
getPlanXMLWithNormalizedLockLevels(includeRuntimeId: boolean, version: number): string;
|
|
6686
|
+
createPlanXmlWithSingleObject(object: PlanObject_2, includeRuntimeId: boolean, version: number): string;
|
|
6687
|
+
createPlanXmlWithObjects(objectIds: string | string[], includeRuntimeId: boolean, version: number): string;
|
|
6688
|
+
getRotationForFrontView(objectIds: number | number[]): number;
|
|
6689
|
+
getBounds(): Box;
|
|
6690
|
+
getPlanObjects(): PlanObject_2[];
|
|
6691
|
+
getWalls(): Wall_2[];
|
|
6692
|
+
getWallCount(): number;
|
|
6693
|
+
getAttics(): Attic[];
|
|
6694
|
+
getFloors(): Floor_2[];
|
|
6695
|
+
getImageCount(): number;
|
|
6696
|
+
isEmpty(): boolean;
|
|
6697
|
+
getTotalFloorArea(): number;
|
|
6698
|
+
syncPlanToView(): void;
|
|
6699
|
+
defaultParapetHeight: number;
|
|
6700
|
+
defaultWallColor: number;
|
|
6701
|
+
defaultWallHeight: number;
|
|
6702
|
+
defaultWallThickness: number;
|
|
6703
|
+
vectorWallThickness: number;
|
|
6704
|
+
}
|
|
6705
|
+
|
|
6706
|
+
export declare interface Plan_3 extends KernelObject {
|
|
5590
6707
|
defaultParapetHeight: number;
|
|
5591
6708
|
defaultWallHeight: number;
|
|
5592
6709
|
defaultWallThickness: number;
|
|
@@ -5615,6 +6732,10 @@ export declare const PLAN_ROOM_GEOMETRY_MODE: {
|
|
|
5615
6732
|
readonly PLAN: "plan";
|
|
5616
6733
|
};
|
|
5617
6734
|
|
|
6735
|
+
export declare interface PlanComponentType {
|
|
6736
|
+
value: Enumify_3<typeof CORE_PLAN_COMPONENT_TYPE_2>;
|
|
6737
|
+
}
|
|
6738
|
+
|
|
5618
6739
|
export declare abstract class PlanElement extends AbstractModelWrapper {
|
|
5619
6740
|
isLocked: boolean;
|
|
5620
6741
|
isValid: boolean;
|
|
@@ -5622,7 +6743,22 @@ export declare abstract class PlanElement extends AbstractModelWrapper {
|
|
|
5622
6743
|
getCenter(): KernelVector3f;
|
|
5623
6744
|
}
|
|
5624
6745
|
|
|
5625
|
-
export declare interface PlanElement_2 extends
|
|
6746
|
+
export declare interface PlanElement_2 extends AbstractModel_2 {
|
|
6747
|
+
new (): PlanElement_2;
|
|
6748
|
+
getType(): PlanElementType_2;
|
|
6749
|
+
getCenter(): Vector3;
|
|
6750
|
+
getRootComponentCenter(): Vector3;
|
|
6751
|
+
getMeshCenter(): Vector3;
|
|
6752
|
+
getMeshOffsetRelativeToObject(): Vector3;
|
|
6753
|
+
getCustomDataJson(): string;
|
|
6754
|
+
isDuplicable(): boolean;
|
|
6755
|
+
isDeletableInIsolation(): boolean;
|
|
6756
|
+
isLocked(): boolean;
|
|
6757
|
+
isValid(): boolean;
|
|
6758
|
+
readonly hidden: boolean;
|
|
6759
|
+
}
|
|
6760
|
+
|
|
6761
|
+
export declare interface PlanElement_3 extends KernelObject {
|
|
5626
6762
|
getType(): any;
|
|
5627
6763
|
getCenter(): KernelVector3;
|
|
5628
6764
|
getMeshCenter(): KernelVector3;
|
|
@@ -5645,6 +6781,10 @@ export declare const enum PlanElementType {
|
|
|
5645
6781
|
CEILING = 7
|
|
5646
6782
|
}
|
|
5647
6783
|
|
|
6784
|
+
export declare interface PlanElementType_2 {
|
|
6785
|
+
value: Enumify_2<typeof CORE_PLAN_ELEMENT_TYPE>;
|
|
6786
|
+
}
|
|
6787
|
+
|
|
5648
6788
|
export declare class PlanElementViewModel extends KernelViewModel {
|
|
5649
6789
|
protected _container: Object3D;
|
|
5650
6790
|
protected _boundingBox: RoomleEventedMesh;
|
|
@@ -5656,7 +6796,7 @@ export declare class PlanElementViewModel extends KernelViewModel {
|
|
|
5656
6796
|
private _containerVisible;
|
|
5657
6797
|
private _hiddenByCameraFacing;
|
|
5658
6798
|
constructor(planObject: PlanObject);
|
|
5659
|
-
getSize():
|
|
6799
|
+
getSize(): Vector3_2;
|
|
5660
6800
|
setHiddenByCameraFacing(hidden: boolean): void;
|
|
5661
6801
|
setContainerVisibility(isVisible: boolean): void;
|
|
5662
6802
|
protected isContainerVisible(): boolean;
|
|
@@ -5664,7 +6804,7 @@ export declare class PlanElementViewModel extends KernelViewModel {
|
|
|
5664
6804
|
isHiddenByCameraFacing(): boolean;
|
|
5665
6805
|
update(): void;
|
|
5666
6806
|
protected _updateBoundingBox(): void;
|
|
5667
|
-
getPosition():
|
|
6807
|
+
getPosition(): Vector3_2;
|
|
5668
6808
|
getRotation(): number;
|
|
5669
6809
|
getBounds(): Box3;
|
|
5670
6810
|
getMeasurementBounds(): Box3[];
|
|
@@ -5683,7 +6823,7 @@ export declare class PlanElementViewModel extends KernelViewModel {
|
|
|
5683
6823
|
remove(): void;
|
|
5684
6824
|
hidePreviewBox(): void;
|
|
5685
6825
|
protected _generateBoundingBox(): RoomleEventedMesh;
|
|
5686
|
-
protected _setPositionOfBoundingBox(size:
|
|
6826
|
+
protected _setPositionOfBoundingBox(size: Vector3_2, mesh: RoomleEventedMesh): void;
|
|
5687
6827
|
get isSelected(): boolean;
|
|
5688
6828
|
select(): void;
|
|
5689
6829
|
deselect(): void;
|
|
@@ -5703,8 +6843,163 @@ export declare abstract class PlanImage extends PlanElement {
|
|
|
5703
6843
|
center: KernelVector3f;
|
|
5704
6844
|
}
|
|
5705
6845
|
|
|
6846
|
+
export declare interface PlanImage_2 extends PlanElement_2 {
|
|
6847
|
+
new (): PlanImage_2;
|
|
6848
|
+
readonly url: string;
|
|
6849
|
+
readonly size: Vector3;
|
|
6850
|
+
readonly rotation: Vector3;
|
|
6851
|
+
readonly center: Vector3;
|
|
6852
|
+
}
|
|
6853
|
+
|
|
5706
6854
|
export declare type PlanInteractionHandler = Omit<PlanInteractionHandler_2, keyof HandWrittenPlanInteractionHandler> & HandWrittenPlanInteractionHandler;
|
|
5707
6855
|
|
|
6856
|
+
export declare interface PlanInteractionHandler_2 {
|
|
6857
|
+
new (): PlanInteractionHandler_2;
|
|
6858
|
+
init(reference: PlanInteractionHandler_2, zoomFactor: number, viewSnapDist: number, wallSnapMode: SnapMode, objectSnapMode: SnapMode, shouldSnap: boolean, drawingType: DrawingType_2): void;
|
|
6859
|
+
loadPlanXML(planXml: string): Plan_2;
|
|
6860
|
+
createPlanWithObjectFromItem(item: CatalogItem_2, position: Vector3, rotationInRad: number): Plan_2;
|
|
6861
|
+
setDefaultParapetHeight(parapetHeight: number, applyToAll: boolean): void;
|
|
6862
|
+
setRoomParapetHeight(floor: Floor_2, parapetHeight: number): void;
|
|
6863
|
+
setDefaultWallColor(wallColor: number, applyToAll: boolean): void;
|
|
6864
|
+
setDefaultWallHeight(wallHeight: number, applyToAll: boolean): void;
|
|
6865
|
+
setDefaultWallThickness(wallThickness: number, applyToAll: boolean): void;
|
|
6866
|
+
getDefaultExteriorWallMaterial(): WallMaterial_2;
|
|
6867
|
+
setDefaultExteriorWallMaterial(wallMaterial: WallMaterial_2): void;
|
|
6868
|
+
getDefaultInteriorWallMaterial(): WallMaterial_2;
|
|
6869
|
+
setDefaultInteriorWallMaterial(wallMaterial: WallMaterial_2): void;
|
|
6870
|
+
getDefaultFloorMaterial(): FloorMaterial_2;
|
|
6871
|
+
setDefaultFloorMaterial(floorMaterial: FloorMaterial_2): void;
|
|
6872
|
+
moveElementBy(element: PlanElement_2, offset: Vector3, dragging: boolean): void;
|
|
6873
|
+
moveElementTo(element: PlanElement_2, position: Vector3, dragging: boolean, cameraPosition?: Vector3): void;
|
|
6874
|
+
moveElementToIn2d(element: PlanElement_2, position: Vector3, dragging: boolean): void;
|
|
6875
|
+
setDiscardExternalObjectsOnLoad(discard: boolean): void;
|
|
6876
|
+
moveObjectsBy(objects: PlanObjectPtrList_2, offset: Vector3): void;
|
|
6877
|
+
removeChildObjectAtPosition(element: PlanElement_2, position: Vector3): boolean;
|
|
6878
|
+
lockElement(element: PlanElement_2): void;
|
|
6879
|
+
unlockElement(element: PlanElement_2): void;
|
|
6880
|
+
consistsOfMergedComponents(object: PlanObject_2): boolean;
|
|
6881
|
+
isChildObjectModePossible(object: PlanObject_2): boolean;
|
|
6882
|
+
getChildObjectMode(object: PlanObject_2): number;
|
|
6883
|
+
setChildObjectMode(object: PlanObject_2, mode: number, switchChildModeOffForAllOtherObjects: boolean): PlanObject_2;
|
|
6884
|
+
setChildObjectModeOfExternalObject(objectId: string, mode: number, switchChildModeOffForAllOtherObjects: boolean): PlanObject_2;
|
|
6885
|
+
setChildObjectModeForAllPlanObjects(mode: number): void;
|
|
6886
|
+
isEnabledChildObjectMode(object: PlanObject_2): boolean;
|
|
6887
|
+
enableChildObjects(object: PlanObject_2, switchChildModeOffForAllOtherObjects: boolean): PlanObject_2;
|
|
6888
|
+
disableChildObjects(object: PlanObject_2): PlanObject_2;
|
|
6889
|
+
disableChildObjectsOfAllPlanObjects(): void;
|
|
6890
|
+
enableChildObjectsOfExternalObject(objectId: string, switchChildModeOffForAllOtherObjects: boolean): PlanObject_2;
|
|
6891
|
+
disableChildObjectsOfExternalObject(objectId: string): PlanObject_2;
|
|
6892
|
+
rotateObjectTo(object: PlanObject_2, targetAngleInRad: number): void;
|
|
6893
|
+
changePitchAngleTo(object: PlanObject_2, targetAngleInRad: number): void;
|
|
6894
|
+
changeRollAngleTo(object: PlanObject_2, targetAngleInRad: number): void;
|
|
6895
|
+
rotateObjectBy(object: PlanObject_2, deltaAngleInRad: number): void;
|
|
6896
|
+
rotateObjectsBy(objects: PlanObjectPtrList_2, deltaAngleInRad: number, pivot: Vector3): void;
|
|
6897
|
+
rotateGroupBy(group: ObjectGroup_2, angleInRad: number, pivot: Vector3): void;
|
|
6898
|
+
setObjectRotation(object: PlanObject_2, targetAngleInRad: number): void;
|
|
6899
|
+
setObjectFlipX(object: PlanObject_2, shouldFlipX: boolean): void;
|
|
6900
|
+
setObjectFlipY(object: PlanObject_2, shouldFlipY: boolean): void;
|
|
6901
|
+
setObjectFixedZ(object: PlanObject_2, shouldFlipZ: boolean): void;
|
|
6902
|
+
setObjectCustomColor(object: PlanObject_2, rgbColor: number, useCustomColor: boolean): void;
|
|
6903
|
+
setObjectCustomLabel(object: PlanObject_2, label: string): void;
|
|
6904
|
+
setElementCustomDataJson(element: PlanElement_2, customDataJson: string): void;
|
|
6905
|
+
setObjectSize(object: PlanObject_2, newSize: Vector3, anchor: ResizingAnchor_2): void;
|
|
6906
|
+
deleteObjectsInGroup(group: ObjectGroup_2): void;
|
|
6907
|
+
replaceObject(objectToBeReplaced: PlanElement_2, replacement: PlanElement_2): void;
|
|
6908
|
+
duplicateGroup(group: ObjectGroup_2, count: number, findFreeSpaceInPlan: boolean): ObjectGroup_2[];
|
|
6909
|
+
mergeObjects(objects: PlanObjectPtrList_2): void;
|
|
6910
|
+
groupObjects(objects: PlanObjectPtrList_2): ObjectGroup_2;
|
|
6911
|
+
ungroup(group: ObjectGroup_2): void;
|
|
6912
|
+
duplicatePlanObjects(objects: PlanObjectPtrList_2, count: number, findFreeSpaceInPlan: boolean): PlanObject_2[];
|
|
6913
|
+
setElementVisibility(element: PlanElement_2, isVisible: boolean): void;
|
|
6914
|
+
setLengthOfEdge2D(wall: Wall_2, newLength: number, side: WallSide_2, extensionType: WallExtensionType_2, alsoMoveOrthogonalWalls: boolean): void;
|
|
6915
|
+
setLengthOfSlopingEdge(wall: Wall_2, newSlopingLength: number, side: WallSide_2, extensionType: WallExtensionType_2, alsoMoveOrthogonalWalls: boolean): void;
|
|
6916
|
+
setNodeType(node: Node_3, nodeType: NodeType_2): void;
|
|
6917
|
+
setWallThickness(wall: Wall_2, thickness: number): void;
|
|
6918
|
+
setWallHeight(wall: Wall_2, height: number): void;
|
|
6919
|
+
setWallColor(wall: Wall_2, color: number): void;
|
|
6920
|
+
setWallLeftMaterial(wall: Wall_2, material: WallMaterial_2): void;
|
|
6921
|
+
setWallRightMaterial(wall: Wall_2, material: WallMaterial_2): void;
|
|
6922
|
+
splitWall(wall: Wall_2, splitPoint: Vector3): void;
|
|
6923
|
+
setAtticSide(attic: Attic, side: WallSide_2): void;
|
|
6924
|
+
setAtticKneeHeight(attic: Attic, kneeHeight: number): void;
|
|
6925
|
+
setAtticWidth(attic: Attic, width: number): void;
|
|
6926
|
+
setFloorMaterial(floor: Floor_2, material: FloorMaterial_2): void;
|
|
6927
|
+
setFloorMaterialRotation(floor: Floor_2, rotationInRad: number): void;
|
|
6928
|
+
setFloorMaterialUvScale(floor: Floor_2, uvScale: Vector3): void;
|
|
6929
|
+
setFloorLabelObject(floor: Floor_2, serializedLabelObject: string): void;
|
|
6930
|
+
setFloorType(floor: Floor_2, floorType: FloorType): void;
|
|
6931
|
+
setEdgeType(wall: Wall_2, edgeType: EdgeType): void;
|
|
6932
|
+
setPlanTexterText(text: PlanText_2, texterText: string): void;
|
|
6933
|
+
setPlanTexterSize(text: PlanText_2, newSize: Vector3): void;
|
|
6934
|
+
setMeasurePoint1(measure: PlanMeasure_2, point: Vector3, snapToWalls: boolean, snapToObjects: boolean): void;
|
|
6935
|
+
setMeasurePoint2(measure: PlanMeasure_2, point: Vector3, snapToWalls: boolean, snapToObjects: boolean): void;
|
|
6936
|
+
setPlanImageRotation(image: PlanImage_2, newRotation: Vector3): void;
|
|
6937
|
+
setPlanImageSize(image: PlanImage_2, newSize: Vector3): void;
|
|
6938
|
+
removeElement(element: PlanElement_2): void;
|
|
6939
|
+
removeObjectWithId(objectId: string): void;
|
|
6940
|
+
duplicatePlanObject(object: PlanObject_2, count: number, findFreeSpaceInPlan: boolean): PlanObject_2[];
|
|
6941
|
+
addWall(from: Node_3, to: Node_3): Wall_2;
|
|
6942
|
+
addAttic(wall: Wall_2, kneeHeight: number, width: number, side: WallSide_2 | null | undefined): Attic;
|
|
6943
|
+
addNode(position: Vector3): Node_3;
|
|
6944
|
+
addText(text: string, position: Vector3): PlanText_2;
|
|
6945
|
+
addPlanObject(itemId: string, type: string, size: Vector3, position: Vector3, rotationInRad: number, findFreeSpaceInPlan: boolean): PlanObject_2;
|
|
6946
|
+
addPlanObjects(catalogItems: CatalogItemPtrList_2, findFreeSpaceInPlan: boolean): PlanObject_2[];
|
|
6947
|
+
addPlanObjectFromItem(item: CatalogItem_2, position: Vector3, rotationInRad: number, findFreeSpaceInPlan: boolean): PlanObject_2;
|
|
6948
|
+
addOrUpdateExternalPlanObjects(groups: string | string[], position: Vector3, rotationInRad: number, updateConfiguration: ExternalObjectLoadConfiguration, mergedGroupIds: string | string[]): PlanObject_2[];
|
|
6949
|
+
createPreviewGeometryForAddOn(objectId: string, objectConfiguration: string, articleId: string, groupDefinitions: string, validContainerModules: ExternalValidContainerModule[]): void;
|
|
6950
|
+
catalogItemLoaded(catalogItem: CatalogItem_2): void;
|
|
6951
|
+
addMeasure(startPosition: Vector3, endPosition: Vector3): PlanMeasure_2;
|
|
6952
|
+
addImage(url: string, center: Vector3, size: Vector3, rotation: Vector3): PlanImage_2;
|
|
6953
|
+
setPlanObjectMesh(object: PlanObject_2, mesh: any): void;
|
|
6954
|
+
getPlan(): Plan_2;
|
|
6955
|
+
setPlan(plan: Plan_2): void;
|
|
6956
|
+
clearPlan(): void;
|
|
6957
|
+
setViewSnapDist(distance: number): void;
|
|
6958
|
+
setViewSnapHeightLevelDistance(distance: number): void;
|
|
6959
|
+
setViewSnapEdgeEndPointDistance(distance: number): void;
|
|
6960
|
+
setZoomFactor(distance: number): void;
|
|
6961
|
+
setRotationSnapAngle(angleInRadians: number): void;
|
|
6962
|
+
endInteraction(): void;
|
|
6963
|
+
clearHistory(): void;
|
|
6964
|
+
startInteraction(): void;
|
|
6965
|
+
resumeInteraction(): void;
|
|
6966
|
+
setSnapFeedbackWhileDrawing(shouldSnapWhileDrawing: boolean): void;
|
|
6967
|
+
setSnapToClusterWhileContinuousDrawing(shouldSnapWhileDrawing: boolean): void;
|
|
6968
|
+
setParallelWallToleranceInDegrees(tolerance: number): void;
|
|
6969
|
+
isVectorPreviewModeEnabled(): boolean;
|
|
6970
|
+
getDrawingMode(): DrawingMode_2;
|
|
6971
|
+
isCreateUnclosedSpaceEnabled(): boolean;
|
|
6972
|
+
beginDrawing(position: Vector3, drawingMode: DrawingMode_2, createUnclosedSpace: boolean): void;
|
|
6973
|
+
currentDrawingPosition(position: Vector3): void;
|
|
6974
|
+
forceNode(position: Vector3): void;
|
|
6975
|
+
endDrawing(position: Vector3): void;
|
|
6976
|
+
cancelDrawing(): void;
|
|
6977
|
+
setDrawingType(newDrawingType: DrawingType_2): void;
|
|
6978
|
+
getContinuousDrawingManager(): ContinuousDrawingManager;
|
|
6979
|
+
deactivateAllSnappingActivity(): void;
|
|
6980
|
+
reactivateAllSnappingActivity(): void;
|
|
6981
|
+
getConfiguratorKernel(): ConfiguratorKernel;
|
|
6982
|
+
loadPlanObjectConfigurations(): void;
|
|
6983
|
+
undo(): void;
|
|
6984
|
+
redo(): void;
|
|
6985
|
+
isRedoPossible(): boolean;
|
|
6986
|
+
isUndoPossible(): boolean;
|
|
6987
|
+
getRelativeHistoryPosition(): number;
|
|
6988
|
+
generateTCExport(planObjectItemIds: string[]): string;
|
|
6989
|
+
unit: string;
|
|
6990
|
+
objectToWallSnapMode: SnapMode;
|
|
6991
|
+
objectToObjectSnapMode: SnapMode;
|
|
6992
|
+
enableSnap: boolean;
|
|
6993
|
+
enableRaster: boolean;
|
|
6994
|
+
customRaster: number;
|
|
6995
|
+
moveWallsOrthogonal: boolean;
|
|
6996
|
+
enableDrawingSnap: boolean;
|
|
6997
|
+
dockWhenSnap: boolean;
|
|
6998
|
+
unDockOnMove: boolean;
|
|
6999
|
+
automaticallyIntersectWithWalls: boolean;
|
|
7000
|
+
enableTerrain: boolean;
|
|
7001
|
+
}
|
|
7002
|
+
|
|
5708
7003
|
export declare class PlanInteractionHandlerExtension extends UndoRedoHandler {
|
|
5709
7004
|
addOrUpdateExternalPlanObjects(serializedConfiguration: string | string[], position: KernelVector3, rotationInRad: number, updateConfiguration: any, mergedGroupIds: string | string[]): PlanObject[];
|
|
5710
7005
|
applyKernelParameterChange<T>(callback: () => T, parameterKey: string, elementId?: string | number): T;
|
|
@@ -5735,7 +7030,13 @@ export declare abstract class PlanMeasure extends PlanElement {
|
|
|
5735
7030
|
getPoint2(): KernelVector3f;
|
|
5736
7031
|
}
|
|
5737
7032
|
|
|
5738
|
-
export declare interface PlanMeasure_2 extends
|
|
7033
|
+
export declare interface PlanMeasure_2 extends PlanElement_2 {
|
|
7034
|
+
new (): PlanMeasure_2;
|
|
7035
|
+
getPoint1(): Vector3;
|
|
7036
|
+
getPoint2(): Vector3;
|
|
7037
|
+
}
|
|
7038
|
+
|
|
7039
|
+
export declare interface PlanMeasure_3 extends PlanObject {
|
|
5739
7040
|
getPoint1(): KernelVector3f;
|
|
5740
7041
|
getPoint2(): KernelVector3f;
|
|
5741
7042
|
}
|
|
@@ -5754,21 +7055,21 @@ export declare abstract class PlanModelViewHelper {
|
|
|
5754
7055
|
}
|
|
5755
7056
|
|
|
5756
7057
|
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:
|
|
7058
|
+
getPlanOverview(plan: Plan_3): PlanOverview;
|
|
7059
|
+
getConstructionOverview(plan: Plan_3): ConstructionOverview;
|
|
7060
|
+
getPlanObject(plan: Plan_3, aRuntimeId: number): KernelPlanObject;
|
|
7061
|
+
isChildObjectRootComponent(plan: Plan_3, componentRuntimeId: number): boolean;
|
|
7062
|
+
isAnimationRootComponent(plan: Plan_3, componentRuntimeId: number): boolean;
|
|
7063
|
+
getRootPlanObjectId(plan: Plan_3, aRuntimeId: number): number;
|
|
7064
|
+
getObjectComponent(plan: Plan_3, typeOfId: TypeOfCoreId, anId: number): KernelPlanObjectComponent;
|
|
7065
|
+
getExternalObjectComponent(plan: Plan_3, groupId: string, moduleId: string): KernelPlanObjectComponent;
|
|
7066
|
+
requestMesh3d(element: PlanElement_3): void;
|
|
7067
|
+
getExternalObjectGroups(plan: Plan_3): KernelObjectConfigurationArray;
|
|
7068
|
+
getExternalRoomInformation(plan: Plan_3, mode: PlanRoomGeometryMode_2): RoomInformation;
|
|
5768
7069
|
getGroupedObjects(anObject: PlanObject): KernelPlanObject[];
|
|
5769
|
-
calculateLightSourceDistribution(plan:
|
|
7070
|
+
calculateLightSourceDistribution(plan: Plan_3, lightSourceConfiguration: LightSourceConfiguration): RoomLightSourceDistributionArray;
|
|
5770
7071
|
getObjectSnapInformation(anObject: PlanObject, debugHelpLines: boolean): ObjectSnapInformation;
|
|
5771
|
-
getPlanViews(plan:
|
|
7072
|
+
getPlanViews(plan: Plan_3): PlanView[];
|
|
5772
7073
|
}
|
|
5773
7074
|
|
|
5774
7075
|
export declare class Planner<P extends readonly PluginName[] = readonly []> extends Main {
|
|
@@ -5860,7 +7161,7 @@ export declare interface PlannerInitData {
|
|
|
5860
7161
|
* usage: mode=2D
|
|
5861
7162
|
* options: 2D, 3D, FP
|
|
5862
7163
|
*/
|
|
5863
|
-
mode?:
|
|
7164
|
+
mode?: Enumify<typeof CAMERA_TYPE>;
|
|
5864
7165
|
/* Excluded from this release type: edit */
|
|
5865
7166
|
/**
|
|
5866
7167
|
* @description If set to true it will treat the planner as a multi object configurator (moc).
|
|
@@ -5938,50 +7239,50 @@ export declare class PlannerKernelAccess extends ConfiguratorKernelAccess {
|
|
|
5938
7239
|
requestPlanObjectDimensions(): void;
|
|
5939
7240
|
cleanUpCallbacks(): void;
|
|
5940
7241
|
registerCallbacks(): void;
|
|
5941
|
-
planElementRemoved(element:
|
|
5942
|
-
handlerSwitchedPlans(fromPlan:
|
|
7242
|
+
planElementRemoved(element: PlanElement_3): void;
|
|
7243
|
+
handlerSwitchedPlans(fromPlan: Plan_3, toPlan: Plan_3): void;
|
|
5943
7244
|
planBoundsChanged(): void;
|
|
5944
7245
|
planCleared(): void;
|
|
5945
|
-
planCompletelyLoaded(plan:
|
|
5946
|
-
planElement3dMeshChanged(_plan:
|
|
7246
|
+
planCompletelyLoaded(plan: Plan_3): void;
|
|
7247
|
+
planElement3dMeshChanged(_plan: Plan_3, element: PlanElement_3): void;
|
|
5947
7248
|
private _onStaticItemAdded;
|
|
5948
7249
|
private _onConfigurableItemAdded;
|
|
5949
7250
|
private _onConfigurableConstructionItemAdded;
|
|
5950
|
-
planElementAdded(plan:
|
|
5951
|
-
planElementChanged(plan:
|
|
7251
|
+
planElementAdded(plan: Plan_3, element: PlanElement_3): Promise<void>;
|
|
7252
|
+
planElementChanged(plan: Plan_3, element: PlanElement_3): void;
|
|
5952
7253
|
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:
|
|
7254
|
+
planObjectConfigurationCreated(_plan: Plan_3, _element: PlanObject): void;
|
|
7255
|
+
externalObjectConfigurationChanged(plan: Plan_3, planObject: PlanObject, configuration: string): void;
|
|
7256
|
+
externalObjectConfigurationLoaded(plan: Plan_3, planObject: PlanObject, configuration: string): void;
|
|
7257
|
+
externalObjectConfigurationDeleted(plan: Plan_3, planObject: PlanObject, uniqueId: string): void;
|
|
7258
|
+
externalObjectComponentDeleted(plan: Plan_3, planObject: PlanObject, remainingGroupOrGroups: ExternalObjectGroup | ExternalObjectGroup[], deletedRootModuleId: string): void;
|
|
7259
|
+
externalObjectConfigurationDuplicated(plan: Plan_3, planObject: PlanObject, duplicatedGroup: ExternalObjectGroup): void;
|
|
7260
|
+
externalObjectPositionChanged(plan: Plan_3, planObject: PlanObject, movedGroup: ExternalObjectGroup): void;
|
|
7261
|
+
externalObjectPlanChanged(plan: Plan_3, planObject: PlanObject, movedGroup: ExternalObjectGroup): void;
|
|
7262
|
+
externalObjectConfigurationsMerged(plan: Plan_3, planObject: PlanObject, mergedGroup: ExternalObjectGroup, idsOfGroupsMerged: string | string[], targetRootModuleId: string, mergedWithDragging: boolean): void;
|
|
7263
|
+
externalObjectComponentSplitOff(plan: Plan_3, planObject: PlanObject, splitGroups: ExternalObjectGroup[]): void;
|
|
7264
|
+
externalObjectRequestAddOnContainers(plan: Plan_3, planObject: PlanObject, groupId: string, subArticleId: string): void;
|
|
7265
|
+
externalObjectAddSubArticle(plan: Plan_3, planObject: PlanObject, subArticleId: string, rootModuleId: string, parentModuleId: string, insertPosition?: number[]): void;
|
|
7266
|
+
externalObjectMoveSubArticle(plan: Plan_3, planObject: PlanObject, subArticleId: string, subModuleId: string, rootModuleId: string, parentModuleId: string, insertPosition?: number[]): void;
|
|
7267
|
+
externalObjectRemoveSubModule(plan: Plan_3, planObject: PlanObject, groupId: string, subModuleId: string): void;
|
|
7268
|
+
planObjectConfigurationLoaded(plan: Plan_3, element: PlanElement_3, success: boolean): Promise<void>;
|
|
7269
|
+
planObjectConfigurationChanged(plan: Plan_3, object: PlanObject): void;
|
|
5969
7270
|
requestCatalogItem(catalogItemId: string): void;
|
|
5970
7271
|
startedDrawing(): void;
|
|
5971
7272
|
stoppedDrawing(): void;
|
|
5972
7273
|
updateMesh2d(): void;
|
|
5973
7274
|
beginConstruction(): void;
|
|
5974
|
-
addMesh(planElement:
|
|
7275
|
+
addMesh(planElement: PlanElement_3, material: any, vertices: Float32Array, indices: Int32Array, uvCoords: Float32Array, normals: Float32Array): void;
|
|
5975
7276
|
endConstruction(): void;
|
|
5976
|
-
beginPlanConstruction(plan:
|
|
5977
|
-
addPlanMesh(plan:
|
|
5978
|
-
endPlanConstruction(plan:
|
|
5979
|
-
createPlanFromObject(rapiElement: RapiItem | RapiConfiguration, position?: Position3, rotation?: number):
|
|
7277
|
+
beginPlanConstruction(plan: Plan_3): void;
|
|
7278
|
+
addPlanMesh(plan: Plan_3, material: any, vertices: Float32Array, indices: Int32Array, uvCoords: Float32Array, normals: Float32Array, type: KernelEnum): void;
|
|
7279
|
+
endPlanConstruction(plan: Plan_3): void;
|
|
7280
|
+
createPlanFromObject(rapiElement: RapiItem | RapiConfiguration, position?: Position3, rotation?: number): Plan_3;
|
|
5980
7281
|
addPlanObjectFromItem(rapiElement: RapiItem | RapiConfiguration, newUndoRedoStep: boolean, position?: Position3, rotation?: number, keepInteractionOpen?: boolean): Promise<RuntimeId>;
|
|
5981
7282
|
private _performAddPlanObjectFromItem;
|
|
5982
7283
|
coupleReferences(jsObject: any, coreReference: KernelObject): void;
|
|
5983
7284
|
private _decoupleReferences;
|
|
5984
|
-
isConstructionPlanElement(planElement:
|
|
7285
|
+
isConstructionPlanElement(planElement: PlanElement_3): boolean;
|
|
5985
7286
|
planObjectSelectionChanged(configurationRuntimeId: number, elementRuntimeId: number): void;
|
|
5986
7287
|
protected _componentSelectionChanged(_planObject: PlanObjectKernel, component: KernelComponent): void;
|
|
5987
7288
|
protected _externalObjectParameterChanged(objectOrComponentId: number, parameterKey: string, value: string): void;
|
|
@@ -6001,7 +7302,7 @@ export declare class PlannerKernelAccess extends ConfiguratorKernelAccess {
|
|
|
6001
7302
|
configureExternalObjectApi(externalObjectSettings?: ExternalObjectApiConfiguration): Promise<void>;
|
|
6002
7303
|
setComponentParameter(componentId: number, interactionKey: string, newValue: any): void;
|
|
6003
7304
|
protected _getAnimationLevelForObject(runtimeId: number, _animation: KernelAnimation): AnimationLevelType;
|
|
6004
|
-
getObjectComponent(runtimeId: number, typeOfId:
|
|
7305
|
+
getObjectComponent(runtimeId: number, typeOfId: Enumify<typeof CORE_TYPE_OF_CORE_ID>): KernelPlanObjectComponent | null;
|
|
6005
7306
|
isChildObjectRootComponent(roomleComponent: RoomleComponent): boolean;
|
|
6006
7307
|
isAnimationRootComponent(roomleComponent: RoomleComponent): boolean;
|
|
6007
7308
|
changePlanObjectParameter(runtimeId: number, parameterKey: string, type: string, value: string, resolve: () => void, reject: () => void): void;
|
|
@@ -6010,18 +7311,18 @@ export declare class PlannerKernelAccess extends ConfiguratorKernelAccess {
|
|
|
6010
7311
|
}
|
|
6011
7312
|
|
|
6012
7313
|
export declare interface PlannerKernelCallbackI {
|
|
6013
|
-
handlerSwitchedPlans(fromPlan:
|
|
6014
|
-
planCompletelyLoaded(plan:
|
|
6015
|
-
beginPlanConstruction(plan:
|
|
6016
|
-
addMesh(planElement:
|
|
6017
|
-
addPlanMesh(plan:
|
|
6018
|
-
endPlanConstruction(plan:
|
|
7314
|
+
handlerSwitchedPlans(fromPlan: Plan_3, toPlan: Plan_3): void;
|
|
7315
|
+
planCompletelyLoaded(plan: Plan_3): void;
|
|
7316
|
+
beginPlanConstruction(plan: Plan_3): void;
|
|
7317
|
+
addMesh(planElement: PlanElement_3, material: any, vertices: Float32Array, indices: Int32Array, uvCoords: Float32Array, normals: Float32Array): void;
|
|
7318
|
+
addPlanMesh(plan: Plan_3, material: any, vertices: Float32Array, indices: Int32Array, uvCoords: Float32Array, normals: Float32Array, type: KernelEnum): void;
|
|
7319
|
+
endPlanConstruction(plan: Plan_3): void;
|
|
6019
7320
|
addPlanObjectToScene(planElementViewModel: PlanObjectViewModel | null): void;
|
|
6020
7321
|
removePlanObjectFromScene(planElementViewModel: PlanObjectViewModel | undefined): void;
|
|
6021
|
-
planElementChanged(plan:
|
|
6022
|
-
planElementRemoved(element:
|
|
6023
|
-
planObjectConfigurationLoaded(plan:
|
|
6024
|
-
planObjectConfigurationChanged(plan:
|
|
7322
|
+
planElementChanged(plan: Plan_3, planObject: PlanElementViewModel): void;
|
|
7323
|
+
planElementRemoved(element: PlanElement_3): void;
|
|
7324
|
+
planObjectConfigurationLoaded(plan: Plan_3, element: PlanElement_3, success: boolean): void;
|
|
7325
|
+
planObjectConfigurationChanged(plan: Plan_3, element: PlanElementViewModel): void;
|
|
6025
7326
|
planBoundsChanged(): void;
|
|
6026
7327
|
planHistoryStateChanged(): void;
|
|
6027
7328
|
planCleared(): void;
|
|
@@ -6079,7 +7380,7 @@ export declare interface PlannerKernelContainer {
|
|
|
6079
7380
|
unregisterPlannerCallback: (callbacksObject: any) => void;
|
|
6080
7381
|
StringArray: StringArray;
|
|
6081
7382
|
Vector2fArray: Vector2fArray;
|
|
6082
|
-
LongArray:
|
|
7383
|
+
LongArray: LongArray_2;
|
|
6083
7384
|
DockPairPreviewArray: DockPairPreviewArray_2;
|
|
6084
7385
|
ComponentArray: ComponentArray_2;
|
|
6085
7386
|
Type: Type_2;
|
|
@@ -6087,16 +7388,16 @@ export declare interface PlannerKernelContainer {
|
|
|
6087
7388
|
VariableArray: VariableArray_2;
|
|
6088
7389
|
RangeArray: RangeArray_2;
|
|
6089
7390
|
ParameterValueArray: ParameterValueArray_2;
|
|
6090
|
-
ParameterArray:
|
|
7391
|
+
ParameterArray: ParameterArray_3;
|
|
6091
7392
|
ParameterGroupArray: ParameterGroupArray_2;
|
|
6092
7393
|
PartListParameterArray: PartListParameterArray_2;
|
|
6093
7394
|
ConfigurationArray: ConfigurationArray_2;
|
|
6094
7395
|
PartArray: PartArray_2;
|
|
6095
|
-
PossibleChildArray:
|
|
6096
|
-
AddOnSpotArray:
|
|
7396
|
+
PossibleChildArray: PossibleChildArray_3;
|
|
7397
|
+
AddOnSpotArray: AddOnSpotArray_3;
|
|
6097
7398
|
PlanObjectList: PlanObjectList;
|
|
6098
7399
|
ParamKeyValuePairArray: ParamKeyValuePairArray_2;
|
|
6099
|
-
IntArray:
|
|
7400
|
+
IntArray: IntArray_3;
|
|
6100
7401
|
Kernel: ConfiguratorKernelClass;
|
|
6101
7402
|
Unit: Unit_2;
|
|
6102
7403
|
UnitStringType: UnitStringType_2;
|
|
@@ -6280,7 +7581,7 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
|
|
|
6280
7581
|
private _hide2dMeasurements;
|
|
6281
7582
|
private _is2dMeasurementsOverlayDirty;
|
|
6282
7583
|
private _debugSpheres;
|
|
6283
|
-
constructor(creator: string, offset: CanvasOffset, plannerCallback: RoomlePlannerCallback, mode:
|
|
7584
|
+
constructor(creator: string, offset: CanvasOffset, plannerCallback: RoomlePlannerCallback, mode: Enumify<typeof CAMERA_TYPE>);
|
|
6284
7585
|
isDragging(): boolean;
|
|
6285
7586
|
protected _initializeMeshGeneratorSettings(): void;
|
|
6286
7587
|
setHomagIntelligence(homagIntelligence: HomagIntelligence | null): void;
|
|
@@ -6323,7 +7624,7 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
|
|
|
6323
7624
|
private _resetCameraFacingVisibility;
|
|
6324
7625
|
private _forceWallsAndCeiling;
|
|
6325
7626
|
protected _getInputManager(): InputManager;
|
|
6326
|
-
protected createCameraControl(mode:
|
|
7627
|
+
protected createCameraControl(mode: Enumify<typeof CAMERA_TYPE>, _offset: CanvasOffset): void;
|
|
6327
7628
|
startViewing(): void;
|
|
6328
7629
|
startConfiguring(): void;
|
|
6329
7630
|
private _is3DView;
|
|
@@ -6337,10 +7638,10 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
|
|
|
6337
7638
|
requestCatalogItem(catalogItemId: string): void;
|
|
6338
7639
|
private _staticItemsLoaded;
|
|
6339
7640
|
preload(id: string): void;
|
|
6340
|
-
planXMLLoaded(plan:
|
|
7641
|
+
planXMLLoaded(plan: Plan_3): void;
|
|
6341
7642
|
private _activateCeilingLight;
|
|
6342
|
-
planCompletelyLoaded(_plan:
|
|
6343
|
-
handlerSwitchedPlans(fromPlan:
|
|
7643
|
+
planCompletelyLoaded(_plan: Plan_3): void;
|
|
7644
|
+
handlerSwitchedPlans(fromPlan: Plan_3, toPlan: Plan_3): void;
|
|
6344
7645
|
/**
|
|
6345
7646
|
* Re-applies the persisted lamp on/off state after a plan finishes loading.
|
|
6346
7647
|
* Reads the `lampOff` flag from each element's `customDataJson` (which the
|
|
@@ -6348,13 +7649,13 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
|
|
|
6348
7649
|
*/
|
|
6349
7650
|
private _restoreLampStates;
|
|
6350
7651
|
private _itemsLoaded;
|
|
6351
|
-
beginPlanConstruction(_plan:
|
|
6352
|
-
addPlanMesh(_plan:
|
|
6353
|
-
endPlanConstruction(_plan:
|
|
7652
|
+
beginPlanConstruction(_plan: Plan_3): void;
|
|
7653
|
+
addPlanMesh(_plan: Plan_3, _material: any, _vertices: Float32Array, _indices: Int32Array, _uvCoords: Float32Array, _normals: Float32Array, _type: KernelEnum): void;
|
|
7654
|
+
endPlanConstruction(_plan: Plan_3): void;
|
|
6354
7655
|
addPlanObjectToScene(planViewModel: PlanObjectViewModel | null): Promise<void>;
|
|
6355
7656
|
private _recycleLights;
|
|
6356
7657
|
removePlanObjectFromScene(planViewModel: PlanElementViewModel | undefined): void;
|
|
6357
|
-
planElementChanged(plan:
|
|
7658
|
+
planElementChanged(plan: Plan_3, planElementViewModel: PlanElementViewModel): void;
|
|
6358
7659
|
exportGLB(options?: ModelExportOptions): Promise<void>;
|
|
6359
7660
|
exportUSDZ(options?: ModelExportOptions): Promise<void>;
|
|
6360
7661
|
importGLB(url: string): void;
|
|
@@ -6384,7 +7685,7 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
|
|
|
6384
7685
|
redo(): Promise<void>;
|
|
6385
7686
|
private _reshowDimensionsAfterUndoRedo;
|
|
6386
7687
|
protected _updateConfigurationFromHistory(configurationString: string): Promise<void>;
|
|
6387
|
-
setMode(mode:
|
|
7688
|
+
setMode(mode: Enumify<typeof CAMERA_TYPE>): void;
|
|
6388
7689
|
private _clearHighlighting;
|
|
6389
7690
|
updateHighlightingOfPlanElements(): void;
|
|
6390
7691
|
planObjectUpdated(planObject: PlanObjectKernel, geometryChanged: boolean, pendingDocking: boolean, automaticCalculationUpdate: boolean): void;
|
|
@@ -6392,9 +7693,9 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
|
|
|
6392
7693
|
highlightPlanElementsById(runtimeIds: number[] | null): void;
|
|
6393
7694
|
highlightPlanElementById(runtimeId: number | null): void;
|
|
6394
7695
|
destroy(): void;
|
|
6395
|
-
planObjectConfigurationLoaded(plan:
|
|
6396
|
-
planObjectConfigurationChanged(_plan:
|
|
6397
|
-
addMesh(_planElement:
|
|
7696
|
+
planObjectConfigurationLoaded(plan: Plan_3, element: PlanElement_3, success: boolean): void;
|
|
7697
|
+
planObjectConfigurationChanged(_plan: Plan_3, element: PlanElementViewModel): Promise<void>;
|
|
7698
|
+
addMesh(_planElement: PlanElement_3, _material: any, _vertices: Float32Array, _indices: Int32Array, _uvCoords: Float32Array, _normals: Float32Array): void;
|
|
6398
7699
|
updateCameraOnDrawWalls(): void;
|
|
6399
7700
|
getBounds(): Box3;
|
|
6400
7701
|
getGeometryBounds(): Box3 | null;
|
|
@@ -6407,7 +7708,7 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
|
|
|
6407
7708
|
rotatePlanElements(ids: RuntimeId[], rotateBy: number): void;
|
|
6408
7709
|
rotatePlanElementSelection(rotateBy: number): void;
|
|
6409
7710
|
planBoundsChanged(): void;
|
|
6410
|
-
planElementRemoved(element:
|
|
7711
|
+
planElementRemoved(element: PlanElement_3): void;
|
|
6411
7712
|
private _onPlanChanged;
|
|
6412
7713
|
prepareTopImage(options?: PrepareImageOptions, isolationMode?: boolean): Promise<Base64Image>;
|
|
6413
7714
|
preparePerspectiveImageOf(runtimeId: RuntimeId, options?: PrepareImageOptions): Promise<Base64Image>;
|
|
@@ -6434,8 +7735,8 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
|
|
|
6434
7735
|
getPositionForDragEvent(dragEvent: DragEvent | TouchEvent | {
|
|
6435
7736
|
clientX: number;
|
|
6436
7737
|
clientY: number;
|
|
6437
|
-
}):
|
|
6438
|
-
getPositionForLastPointer():
|
|
7738
|
+
}): Vector3_2 | null;
|
|
7739
|
+
getPositionForLastPointer(): Vector3_2 | null;
|
|
6439
7740
|
isPointerUp(): boolean;
|
|
6440
7741
|
getPlannerSceneEventHandler(): PlannerSceneEventHandler;
|
|
6441
7742
|
disablePlannerEvents(): void;
|
|
@@ -6522,7 +7823,7 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
|
|
|
6522
7823
|
enableEvents(): void;
|
|
6523
7824
|
resetCameraPositionToStart(): void;
|
|
6524
7825
|
moveCamera(cameraParameter: CameraParameter): Promise<void>;
|
|
6525
|
-
protected _setInteriorOrExteriorWallMaterial(type:
|
|
7826
|
+
protected _setInteriorOrExteriorWallMaterial(type: Enumify<typeof SET_WALL_MATERIAL_TYPE>, material: BatchPaintMaterial): void;
|
|
6526
7827
|
changeInteriorWallsMaterial(material: BatchPaintMaterial): void;
|
|
6527
7828
|
changeExteriorWallsMaterial(material: BatchPaintMaterial): void;
|
|
6528
7829
|
changeFloorsMaterial(floors: KernelFloor[], material: BatchPaintMaterial): void;
|
|
@@ -6552,7 +7853,7 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
|
|
|
6552
7853
|
switchConfiguratorObject(clickedComponentId: number): Promise<void>;
|
|
6553
7854
|
selectObjectComponent(planObjectComponent: KernelPlanObjectComponent, switchToConfigurator: boolean, selectComponent: boolean): Promise<void>;
|
|
6554
7855
|
_swapObjectInConfigurator(planObjectComponent: KernelPlanObjectComponent): Promise<void>;
|
|
6555
|
-
getObjectComponent(id: number, typeOfId:
|
|
7856
|
+
getObjectComponent(id: number, typeOfId: Enumify<typeof CORE_TYPE_OF_CORE_ID>): KernelPlanObjectComponent | null;
|
|
6556
7857
|
getExternalObjectComponent(groupOrRootModuleId: string, subModuleId: string): KernelPlanObjectComponent;
|
|
6557
7858
|
getCameraParameters3d(): CameraParameter | null;
|
|
6558
7859
|
private _createCeilingLightGroup;
|
|
@@ -6576,7 +7877,7 @@ export declare interface PlanNode extends KernelObject {
|
|
|
6576
7877
|
getNumberOfConnectedWalls(): number;
|
|
6577
7878
|
}
|
|
6578
7879
|
|
|
6579
|
-
export declare interface PlanObject extends
|
|
7880
|
+
export declare interface PlanObject extends PlanElement_3 {
|
|
6580
7881
|
size: KernelVector3;
|
|
6581
7882
|
rotation: number;
|
|
6582
7883
|
customLabel: string;
|
|
@@ -6599,11 +7900,63 @@ export declare interface PlanObject extends PlanElement_2 {
|
|
|
6599
7900
|
isConstructionObjectProduct(): boolean;
|
|
6600
7901
|
getWallDistances(): ObjectToWallLineArray;
|
|
6601
7902
|
getRectangle(): Rectangle;
|
|
6602
|
-
getRotationToPreferredFront():
|
|
7903
|
+
getRotationToPreferredFront(): ObjectFrontRotation_2;
|
|
6603
7904
|
isRootComponentOfChildObject(componentRuntimeId: number): boolean;
|
|
6604
7905
|
getReplacementConstructionId(): number;
|
|
6605
7906
|
}
|
|
6606
7907
|
|
|
7908
|
+
export declare interface PlanObject_2 extends PlanElement_2 {
|
|
7909
|
+
new (): PlanObject_2;
|
|
7910
|
+
getCatalogItemId(): string;
|
|
7911
|
+
getOpenConversationId(): number;
|
|
7912
|
+
getConfigurationRuntimeId(): number;
|
|
7913
|
+
getReplacementConstructionId(): number;
|
|
7914
|
+
getObjectType(): string;
|
|
7915
|
+
getObjectCategory(): ObjectTypeCategory;
|
|
7916
|
+
hasConfiguration(): boolean;
|
|
7917
|
+
isAdjustable(): boolean;
|
|
7918
|
+
isExternalObject(): boolean;
|
|
7919
|
+
isConstructionObjectProduct(): boolean;
|
|
7920
|
+
retrieveConfigurationId(): UniqueIdAndHash;
|
|
7921
|
+
getConfiguration(): string;
|
|
7922
|
+
isConfigurationLoaded(): boolean;
|
|
7923
|
+
getRectangle(): ExtrudedRectangle;
|
|
7924
|
+
getWallDistances(): LineArray;
|
|
7925
|
+
getRotationToPreferredFront(): ObjectFrontRotation;
|
|
7926
|
+
isRootComponentOfChildObject(componentRuntimeId: number): boolean;
|
|
7927
|
+
readonly customLabel: string;
|
|
7928
|
+
readonly roll: number;
|
|
7929
|
+
readonly pitch: number;
|
|
7930
|
+
readonly entityYaw: number;
|
|
7931
|
+
readonly rotation: number;
|
|
7932
|
+
readonly rgbColor: number;
|
|
7933
|
+
readonly useCustomColor: boolean;
|
|
7934
|
+
readonly level: number;
|
|
7935
|
+
readonly flipX: boolean;
|
|
7936
|
+
readonly flipXEnabled: boolean;
|
|
7937
|
+
readonly flipY: boolean;
|
|
7938
|
+
readonly flipYEnabled: boolean;
|
|
7939
|
+
readonly fixedZ: boolean;
|
|
7940
|
+
size: Vector3;
|
|
7941
|
+
readonly boxForMeasurement: Box;
|
|
7942
|
+
readonly measurementBounds: AssembledObjectBounds;
|
|
7943
|
+
}
|
|
7944
|
+
|
|
7945
|
+
export declare interface PlanObject_3 {
|
|
7946
|
+
animations: Animation_2[];
|
|
7947
|
+
boxForMeasurement: Box;
|
|
7948
|
+
dimensioningAxes: DimensioningAxis_2[];
|
|
7949
|
+
dimensionings: Dimensioning_2[];
|
|
7950
|
+
externalId: string;
|
|
7951
|
+
externalObject: boolean;
|
|
7952
|
+
geometryBounds: Box;
|
|
7953
|
+
geometryBoundsWithEnvironment: Box;
|
|
7954
|
+
id: number;
|
|
7955
|
+
parameterGroups: ParameterGroup[];
|
|
7956
|
+
parameters: Parameter[];
|
|
7957
|
+
rootPlanComponentId: number;
|
|
7958
|
+
}
|
|
7959
|
+
|
|
6607
7960
|
export declare interface PlanObjectKernel {
|
|
6608
7961
|
geometryBounds: KernelCube;
|
|
6609
7962
|
boxForMeasurement: KernelCube;
|
|
@@ -6647,6 +8000,8 @@ export declare abstract class PlanObjectPtr extends AbstractModelWrapper {
|
|
|
6647
8000
|
export declare class PlanObjectPtrList extends EmsList<PlanObjectPtr> {
|
|
6648
8001
|
}
|
|
6649
8002
|
|
|
8003
|
+
export declare type PlanObjectPtrList_2 = EmscriptenList_2<PlanObject_2>;
|
|
8004
|
+
|
|
6650
8005
|
export declare class PlanObjectPtrVector extends EmsArray<PlanObjectPtr> {
|
|
6651
8006
|
}
|
|
6652
8007
|
|
|
@@ -6667,8 +8022,8 @@ export declare class PlanObjectViewModel extends PlanElementViewModel {
|
|
|
6667
8022
|
isInitDone(): Promise<void>;
|
|
6668
8023
|
clear(): void;
|
|
6669
8024
|
getPlanObject(): PlanObject;
|
|
6670
|
-
getSize():
|
|
6671
|
-
getObjectMeasurements(zoomFactor: number, clientWidth: number, clientHeight: number, otherObjects?: NeighboringObjectMeasurementInfo[]):
|
|
8025
|
+
getSize(): Vector3_2;
|
|
8026
|
+
getObjectMeasurements(zoomFactor: number, clientWidth: number, clientHeight: number, otherObjects?: NeighboringObjectMeasurementInfo[]): Nullable<ObjectMeasurements>;
|
|
6672
8027
|
update(): void;
|
|
6673
8028
|
}
|
|
6674
8029
|
|
|
@@ -6676,7 +8031,7 @@ export declare interface PlanOverview {
|
|
|
6676
8031
|
area: number;
|
|
6677
8032
|
bounds: KernelCube;
|
|
6678
8033
|
objects: KernelPlanObjectList;
|
|
6679
|
-
outsideWalls:
|
|
8034
|
+
outsideWalls: PlanElement_3[];
|
|
6680
8035
|
rooms: PlanOverviewRoom[];
|
|
6681
8036
|
}
|
|
6682
8037
|
|
|
@@ -6697,6 +8052,11 @@ export declare abstract class PlanText extends PlanElement {
|
|
|
6697
8052
|
getText(): string;
|
|
6698
8053
|
}
|
|
6699
8054
|
|
|
8055
|
+
export declare interface PlanText_2 extends PlanElement_2 {
|
|
8056
|
+
new (): PlanText_2;
|
|
8057
|
+
getText(): string;
|
|
8058
|
+
}
|
|
8059
|
+
|
|
6700
8060
|
export declare interface PlanView extends KernelPlanViewStyle {
|
|
6701
8061
|
id: number;
|
|
6702
8062
|
viewType: PlanViewType;
|
|
@@ -6741,9 +8101,9 @@ export declare class PlanViewModel extends ConfiguratorViewModel implements Plan
|
|
|
6741
8101
|
startedDrawing(): void;
|
|
6742
8102
|
stoppedDrawing(): void;
|
|
6743
8103
|
planBoundsChanged(): void;
|
|
6744
|
-
setReference(plan:
|
|
8104
|
+
setReference(plan: Plan_3): void;
|
|
6745
8105
|
clearReference(): void;
|
|
6746
|
-
getCorePlan():
|
|
8106
|
+
getCorePlan(): Plan_3;
|
|
6747
8107
|
addPlanElementViewModel(planElementViewModel: PlanElementViewModel): void;
|
|
6748
8108
|
private _handleConfiguratorPlanObjectViewModel;
|
|
6749
8109
|
private _linkPlanObjectViewModelAndComponent;
|
|
@@ -6832,19 +8192,19 @@ export declare class PlanViewModel extends ConfiguratorViewModel implements Plan
|
|
|
6832
8192
|
protected _setMaterial(mesh: Mesh, material: any, _type?: KernelEnum, materialAttributes?: Record<string, string>): void;
|
|
6833
8193
|
Editor3dComponentCreated(componentDocking: KernelComponentDocking): void;
|
|
6834
8194
|
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:
|
|
8195
|
+
handlerSwitchedPlans(_fromPlan: Plan_3, _toPlan: Plan_3): void;
|
|
8196
|
+
planCompletelyLoaded(_plan: Plan_3): void;
|
|
8197
|
+
beginPlanConstruction(_plan: Plan_3): void;
|
|
8198
|
+
addPlanMesh(_plan: Plan_3, _material: any, _vertices: Float32Array, _indices: Int32Array, _uvCoords: Float32Array, _normals: Float32Array, _type: KernelEnum): void;
|
|
8199
|
+
endPlanConstruction(_plan: Plan_3): void;
|
|
8200
|
+
planElementChanged(_plan: Plan_3, _planObject: PlanElementViewModel): void;
|
|
8201
|
+
planObjectConfigurationLoaded(_plan: Plan_3, planElement: PlanElement_3, success: boolean): void;
|
|
6842
8202
|
recomputeConfigurableBoundingBoxes(): void;
|
|
6843
|
-
planObjectConfigurationChanged(_plan:
|
|
6844
|
-
addMesh(planElement:
|
|
8203
|
+
planObjectConfigurationChanged(_plan: Plan_3, _element: PlanElementViewModel): void;
|
|
8204
|
+
addMesh(planElement: PlanElement_3, material: any, vertices: Float32Array, indices: Int32Array, uvCoords: Float32Array, normals: Float32Array): void;
|
|
6845
8205
|
removePlanObjectFromScene(planElementViewModel: PlanElementViewModel | undefined): void;
|
|
6846
8206
|
private _isConstructionType;
|
|
6847
|
-
planElementRemoved(element:
|
|
8207
|
+
planElementRemoved(element: PlanElement_3): void;
|
|
6848
8208
|
private _removeObject;
|
|
6849
8209
|
protected getMeshGenerator(): MeshGenerator;
|
|
6850
8210
|
componentConfigurationUpdated(runtimeComponentId: number, geometryChanged: boolean): void;
|
|
@@ -6856,8 +8216,8 @@ export declare class PlanViewModel extends ConfiguratorViewModel implements Plan
|
|
|
6856
8216
|
showAll(): void;
|
|
6857
8217
|
planHistoryStateChanged(): void;
|
|
6858
8218
|
setNodeVisibility(visible: boolean): void;
|
|
6859
|
-
setCameraType(cameraType:
|
|
6860
|
-
get cameraType():
|
|
8219
|
+
setCameraType(cameraType: Enumify<typeof CAMERA_TYPE>): Promise<void>;
|
|
8220
|
+
get cameraType(): Enumify<typeof CAMERA_TYPE>;
|
|
6861
8221
|
setNodeZoom(zoom: number): void;
|
|
6862
8222
|
planCleared(): void;
|
|
6863
8223
|
requestCatalogItem(_catalogItemId: string): void;
|
|
@@ -6871,6 +8231,10 @@ export declare interface PlanViewType {
|
|
|
6871
8231
|
value: Enumify<typeof CORE_PLAN_VIEW_TYPE>;
|
|
6872
8232
|
}
|
|
6873
8233
|
|
|
8234
|
+
export declare interface PlanViewType_2 {
|
|
8235
|
+
value: Enumify_3<typeof CORE_PLAN_VIEW_TYPE_2>;
|
|
8236
|
+
}
|
|
8237
|
+
|
|
6874
8238
|
export declare interface PluginConfigMap {
|
|
6875
8239
|
'external-objects': RapiConfigurationEnhanced | ExternalConfiguration;
|
|
6876
8240
|
}
|
|
@@ -6886,21 +8250,23 @@ export declare class PluginSystem implements Context, ScenePluginHooks {
|
|
|
6886
8250
|
private _cameraPosition;
|
|
6887
8251
|
private _plugins;
|
|
6888
8252
|
constructor(creator: string);
|
|
6889
|
-
init(scene: Scene, uiScene: Scene, cameraPosition:
|
|
8253
|
+
init(scene: Scene, uiScene: Scene, cameraPosition: Vector3_2): Promise<void>;
|
|
6890
8254
|
addPlugin(plugin: ScenePlugin): void;
|
|
6891
8255
|
updateBounds(bounds: Box3): void;
|
|
6892
8256
|
clearScene(scene: Scene, uiScene: Scene): void;
|
|
6893
8257
|
getActivePlugins(): ScenePlugin[];
|
|
6894
8258
|
getPlugin<T extends ScenePlugin>(type: any): T | null;
|
|
6895
|
-
moveCameraEnd(position:
|
|
6896
|
-
moveCameraStart(position:
|
|
8259
|
+
moveCameraEnd(position: Vector3_2): void;
|
|
8260
|
+
moveCameraStart(position: Vector3_2): void;
|
|
6897
8261
|
needsUiScene(): boolean;
|
|
6898
8262
|
}
|
|
6899
8263
|
|
|
6900
8264
|
export declare class PointArray extends EmsArray<KernelVector3f> {
|
|
6901
8265
|
}
|
|
6902
8266
|
|
|
6903
|
-
export declare
|
|
8267
|
+
export declare type PointArray_2 = EmscriptenArray<Vector3>;
|
|
8268
|
+
|
|
8269
|
+
export declare class PointArray_3 extends EmsArray<KernelVector3f> {
|
|
6904
8270
|
}
|
|
6905
8271
|
|
|
6906
8272
|
export declare interface PointerInputEvent {
|
|
@@ -7158,10 +8524,20 @@ export declare interface PosSaveData {
|
|
|
7158
8524
|
rooms?: PosContour[];
|
|
7159
8525
|
}
|
|
7160
8526
|
|
|
8527
|
+
export declare interface PossibleChild {
|
|
8528
|
+
componentId: string;
|
|
8529
|
+
group: string;
|
|
8530
|
+
isDefault: boolean;
|
|
8531
|
+
itemId: string;
|
|
8532
|
+
possible: boolean;
|
|
8533
|
+
}
|
|
8534
|
+
|
|
7161
8535
|
export declare class PossibleChildArray extends EmsArray<KernelPossibleChild> {
|
|
7162
8536
|
}
|
|
7163
8537
|
|
|
7164
|
-
export declare
|
|
8538
|
+
export declare type PossibleChildArray_2 = EmscriptenArray<PossibleChild>;
|
|
8539
|
+
|
|
8540
|
+
export declare class PossibleChildArray_3 extends EmsArray<KernelPossibleChild> {
|
|
7165
8541
|
}
|
|
7166
8542
|
|
|
7167
8543
|
export declare interface PossibleChildPreviewElement {
|
|
@@ -7212,19 +8588,19 @@ export declare interface PreviewComponent extends RoomleComponent {
|
|
|
7212
8588
|
stringId: string;
|
|
7213
8589
|
receivedPointAssociation: boolean;
|
|
7214
8590
|
dockInsertAnimation?: DragInsertAnimation;
|
|
7215
|
-
clickPosition?:
|
|
8591
|
+
clickPosition?: Vector3_2;
|
|
7216
8592
|
clonePreview(cloneId: string): PreviewComponent;
|
|
7217
8593
|
preparePreview(): void;
|
|
7218
8594
|
startPulsating(): void;
|
|
7219
|
-
updateClickPosition(intersectionPoint:
|
|
8595
|
+
updateClickPosition(intersectionPoint: Vector3_2): void;
|
|
7220
8596
|
}
|
|
7221
8597
|
|
|
7222
8598
|
export declare interface PreviewLineComponent extends PreviewComponent {
|
|
7223
|
-
lineFrom:
|
|
7224
|
-
lineTo:
|
|
8599
|
+
lineFrom: Vector3_2;
|
|
8600
|
+
lineTo: Vector3_2;
|
|
7225
8601
|
lineSegments: PreviewLineSegment[];
|
|
7226
|
-
positionFrom:
|
|
7227
|
-
positionTo:
|
|
8602
|
+
positionFrom: Vector3_2;
|
|
8603
|
+
positionTo: Vector3_2;
|
|
7228
8604
|
roomleLineFrom: KernelVector3;
|
|
7229
8605
|
roomleLineTo: KernelVector3;
|
|
7230
8606
|
roomlePositionFrom: KernelVector3;
|
|
@@ -7233,8 +8609,8 @@ export declare interface PreviewLineComponent extends PreviewComponent {
|
|
|
7233
8609
|
lineMesh: Mesh;
|
|
7234
8610
|
boundingLineMesh: RoomleEventedMesh;
|
|
7235
8611
|
clonePreviewLine(cloneId: string): PreviewLineComponent;
|
|
7236
|
-
getPositionForIntersectionPoint(intersectionPoint:
|
|
7237
|
-
updatePreviewPosition(intersectionPoint:
|
|
8612
|
+
getPositionForIntersectionPoint(intersectionPoint: Vector3_2): Vector3_2;
|
|
8613
|
+
updatePreviewPosition(intersectionPoint: Vector3_2): void;
|
|
7238
8614
|
hideSelectionLine(): void;
|
|
7239
8615
|
}
|
|
7240
8616
|
|
|
@@ -7277,6 +8653,13 @@ export declare class PromiseQueue<T> {
|
|
|
7277
8653
|
get length(): number;
|
|
7278
8654
|
}
|
|
7279
8655
|
|
|
8656
|
+
export declare interface Range_2 {
|
|
8657
|
+
step: number;
|
|
8658
|
+
type: string;
|
|
8659
|
+
valueFrom: number;
|
|
8660
|
+
valueTo: number;
|
|
8661
|
+
}
|
|
8662
|
+
|
|
7280
8663
|
export declare class RangeArray extends EmsArray<KernelRange> {
|
|
7281
8664
|
}
|
|
7282
8665
|
|
|
@@ -8008,7 +9391,7 @@ export declare class RaycastHelper extends EventDispatcher<Record<RAYCAST_EVENT,
|
|
|
8008
9391
|
private _onRotate;
|
|
8009
9392
|
private _positionPlanes;
|
|
8010
9393
|
private _calculateOffset;
|
|
8011
|
-
update(bounds:
|
|
9394
|
+
update(bounds: Vector3_2 | null, rootComponentPosition: Vector3_2 | null, backgroundScene: Scene | null): void;
|
|
8012
9395
|
clear(): void;
|
|
8013
9396
|
enableDragIn(mesh: RoomleEventedMesh): void;
|
|
8014
9397
|
setRootComponentId(rootComponentId: number): void;
|
|
@@ -8018,18 +9401,30 @@ export declare class RaycastHelper extends EventDispatcher<Record<RAYCAST_EVENT,
|
|
|
8018
9401
|
intersectMouseOnScene(event: Pick<PointerInputEvent, 'positionRelative'>): KernelVector3 | null;
|
|
8019
9402
|
enableOnWallSnapping(): void;
|
|
8020
9403
|
disableOnWallSnapping(): void;
|
|
8021
|
-
getCameraPosition():
|
|
9404
|
+
getCameraPosition(): Vector3_2;
|
|
8022
9405
|
}
|
|
8023
9406
|
|
|
8024
9407
|
export declare interface Rectangle {
|
|
8025
9408
|
angle: number;
|
|
8026
9409
|
center: KernelVector3f;
|
|
8027
|
-
cornerPoints:
|
|
8028
|
-
referencePoints:
|
|
9410
|
+
cornerPoints: PointArray_3;
|
|
9411
|
+
referencePoints: RectangleReferencePoints_2;
|
|
8029
9412
|
size: KernelVector3f;
|
|
8030
9413
|
}
|
|
8031
9414
|
|
|
8032
9415
|
export declare interface RectangleReferencePoints {
|
|
9416
|
+
bottom: Vector3;
|
|
9417
|
+
bottomLeft: Vector3;
|
|
9418
|
+
bottomRight: Vector3;
|
|
9419
|
+
center: Vector3;
|
|
9420
|
+
left: Vector3;
|
|
9421
|
+
right: Vector3;
|
|
9422
|
+
top: Vector3;
|
|
9423
|
+
topLeft: Vector3;
|
|
9424
|
+
topRight: Vector3;
|
|
9425
|
+
}
|
|
9426
|
+
|
|
9427
|
+
export declare interface RectangleReferencePoints_2 {
|
|
8033
9428
|
bottom: KernelVector3;
|
|
8034
9429
|
bottomLeft: KernelVector3;
|
|
8035
9430
|
bottomRight: KernelVector3;
|
|
@@ -8041,7 +9436,7 @@ export declare interface RectangleReferencePoints {
|
|
|
8041
9436
|
topRight: KernelVector3;
|
|
8042
9437
|
}
|
|
8043
9438
|
|
|
8044
|
-
export declare const removeExtObjIdPrefix: (id:
|
|
9439
|
+
export declare const removeExtObjIdPrefix: (id: ExtObjId) => string;
|
|
8045
9440
|
|
|
8046
9441
|
export declare type RenderOptions = Partial<typeof DEFAULT_RENDER_OPTIONS>;
|
|
8047
9442
|
|
|
@@ -8057,6 +9452,10 @@ export declare const enum ResizingAnchor {
|
|
|
8057
9452
|
Right = 8
|
|
8058
9453
|
}
|
|
8059
9454
|
|
|
9455
|
+
export declare interface ResizingAnchor_2 {
|
|
9456
|
+
value: Enumify_2<typeof CORE_RESIZING_ANCHOR>;
|
|
9457
|
+
}
|
|
9458
|
+
|
|
8060
9459
|
export declare class RoomDesignerApi implements RoomDesignerRequests {
|
|
8061
9460
|
private _roomlePlanner;
|
|
8062
9461
|
constructor(roomlePlanner: RoomlePlannerType);
|
|
@@ -8226,6 +9625,7 @@ export declare class RoomleConfigurator<P extends readonly PluginName[] = readon
|
|
|
8226
9625
|
*/
|
|
8227
9626
|
download2DPlanViews(): Promise<void>;
|
|
8228
9627
|
exportCanvasScreenshot(quality?: number): Promise<string>;
|
|
9628
|
+
exportCameraScreenshot(quality?: number): Promise<string>;
|
|
8229
9629
|
initSceneManager(sceneManager?: ConfiguratorSceneManager): void;
|
|
8230
9630
|
getScene(): Scene;
|
|
8231
9631
|
getSceneManager(): ConfiguratorSceneManager;
|
|
@@ -9493,6 +10893,7 @@ export declare class RoomlePlanner<P extends readonly PluginName[] = readonly []
|
|
|
9493
10893
|
swapObject(old: number | PlanElementViewModel | null, idOfNew: RapiId): Promise<number>;
|
|
9494
10894
|
exportImageFromCamera(filename?: string, shouldWaitForAssets?: boolean): Promise<void>;
|
|
9495
10895
|
exportCanvasScreenshot(quality?: number): Promise<string>;
|
|
10896
|
+
exportCameraScreenshot(quality?: number): Promise<string>;
|
|
9496
10897
|
/**
|
|
9497
10898
|
* Move the current selected element in the 3D space
|
|
9498
10899
|
* @param selectedElement this is the current selected plan object
|
|
@@ -9721,7 +11122,7 @@ export declare type RoomlePlannerType = RoomlePlanner | RoomlePlannerWithExtObjs
|
|
|
9721
11122
|
export declare class RoomlePlannerUiCallback extends UiCallback implements ExternalObjectUiCallback {
|
|
9722
11123
|
constructor(creator: string);
|
|
9723
11124
|
onItemsLoaded: () => void;
|
|
9724
|
-
onCameraChanged: (type:
|
|
11125
|
+
onCameraChanged: (type: Enumify<typeof CAMERA_TYPE>) => void;
|
|
9725
11126
|
onCameraIdle: () => void;
|
|
9726
11127
|
onTotalFloorAreaChanged: (totalFloorArea: number) => void;
|
|
9727
11128
|
onPlanInteractionManagerCreated: (planInteractionManager: PlanInteractionManager) => void;
|
|
@@ -9759,7 +11160,7 @@ export declare class RoomlePlannerUiCallback extends UiCallback implements Exter
|
|
|
9759
11160
|
* When an element in the plan has been added, removed or changed
|
|
9760
11161
|
* null if changed, added or removed object is not a item or configuration, such as a wall or construction element
|
|
9761
11162
|
*/
|
|
9762
|
-
onPlanElementChanged: (changeType:
|
|
11163
|
+
onPlanElementChanged: (changeType: Enumify<typeof PLAN_ELEMENT_CHANGE_TYPES>, changedObject: UiPlanObject) => void;
|
|
9763
11164
|
/**
|
|
9764
11165
|
* When the plan has been completely loaded
|
|
9765
11166
|
*/
|
|
@@ -9896,7 +11297,7 @@ export declare abstract class RoomleRenderer<RendererType extends WebGLRenderer
|
|
|
9896
11297
|
renderer: RendererType;
|
|
9897
11298
|
protected isConfiguratorMode: boolean;
|
|
9898
11299
|
protected isCameraMoving: boolean;
|
|
9899
|
-
protected cameraType:
|
|
11300
|
+
protected cameraType: Enumify<typeof CAMERA_TYPE>;
|
|
9900
11301
|
protected shadowNeedsUpdate: boolean;
|
|
9901
11302
|
protected boundingBox: Box3;
|
|
9902
11303
|
protected boundingBoxNeedsUpdate: boolean;
|
|
@@ -9905,7 +11306,7 @@ export declare abstract class RoomleRenderer<RendererType extends WebGLRenderer
|
|
|
9905
11306
|
dispose(): void;
|
|
9906
11307
|
setSize(width: number, height: number): void;
|
|
9907
11308
|
getSize(target: Vector2): Vector2;
|
|
9908
|
-
setCameraType(cameraType:
|
|
11309
|
+
setCameraType(cameraType: Enumify<typeof CAMERA_TYPE>): void;
|
|
9909
11310
|
movingCameraStarts(): void;
|
|
9910
11311
|
movingCameraStops(): void;
|
|
9911
11312
|
forceShadowUpdates(_updateBakedGroundShadow: boolean): void;
|
|
@@ -10008,7 +11409,7 @@ export declare class RoomleWebGPURenderer extends RoomleRenderer<WebGPURenderer>
|
|
|
10008
11409
|
clearCache(): void;
|
|
10009
11410
|
disableUiInteractionMode(): void;
|
|
10010
11411
|
enableUiInteractionMode(): void;
|
|
10011
|
-
setCameraType(cameraType:
|
|
11412
|
+
setCameraType(cameraType: Enumify<typeof CAMERA_TYPE>): void;
|
|
10012
11413
|
switchToConfigurator(): void;
|
|
10013
11414
|
switchToPlanner(renderMode: PlannerRenderMode): void;
|
|
10014
11415
|
highlightObjects(selectedMeshes: Object3D_2[]): void;
|
|
@@ -10038,13 +11439,18 @@ export declare class RoomleWebGPURenderer extends RoomleRenderer<WebGPURenderer>
|
|
|
10038
11439
|
export declare interface RoomLightSourceDistribution {
|
|
10039
11440
|
ceilingId: number;
|
|
10040
11441
|
floorId: number;
|
|
10041
|
-
positionsInPlan:
|
|
10042
|
-
positionsRelativeToFloor:
|
|
11442
|
+
positionsInPlan: PointArray_3;
|
|
11443
|
+
positionsRelativeToFloor: PointArray_3;
|
|
10043
11444
|
}
|
|
10044
11445
|
|
|
10045
11446
|
export declare class RoomLightSourceDistributionArray extends EmsArray<RoomLightSourceDistribution> {
|
|
10046
11447
|
}
|
|
10047
11448
|
|
|
11449
|
+
export declare interface RoomWall {
|
|
11450
|
+
roomSide: WallSide_2;
|
|
11451
|
+
wall: Wall_2;
|
|
11452
|
+
}
|
|
11453
|
+
|
|
10048
11454
|
/**
|
|
10049
11455
|
* Shared API between configurator and planner
|
|
10050
11456
|
*/
|
|
@@ -10179,7 +11585,7 @@ export declare abstract class SceneManager implements Context, LifeCycleCallback
|
|
|
10179
11585
|
protected _isInteriorLightActive: boolean;
|
|
10180
11586
|
protected _perspectiveOffsetCamera: PerspectiveOffsetCamera | null;
|
|
10181
11587
|
protected _orthographicOffsetCamera: OrthographicOffsetCamera | null;
|
|
10182
|
-
protected abstract createCameraControl(mode:
|
|
11588
|
+
protected abstract createCameraControl(mode: Enumify<typeof CAMERA_TYPE>, offset: CanvasOffset): void;
|
|
10183
11589
|
protected abstract _getInputManager(): InputManager;
|
|
10184
11590
|
get cameraBehaviour(): CameraBehaviour;
|
|
10185
11591
|
protected _scheduleRenderLoopFunction(renderLoopFunction: () => void): void;
|
|
@@ -10193,7 +11599,7 @@ export declare abstract class SceneManager implements Context, LifeCycleCallback
|
|
|
10193
11599
|
abstract getGeometryBounds(): Box3 | null;
|
|
10194
11600
|
protected onBeforeRender(): void;
|
|
10195
11601
|
protected _onAfterRender: () => void;
|
|
10196
|
-
protected constructor(creator: string, offset: CanvasOffset, canvasID: string, mode:
|
|
11602
|
+
protected constructor(creator: string, offset: CanvasOffset, canvasID: string, mode: Enumify<typeof CAMERA_TYPE>);
|
|
10197
11603
|
addEventListener(_listener: LifeCycleCallbacks): void;
|
|
10198
11604
|
removeEventListener(_listener: LifeCycleCallbacks): void;
|
|
10199
11605
|
get lightCache(): LightCache | null;
|
|
@@ -10236,8 +11642,8 @@ export declare abstract class SceneManager implements Context, LifeCycleCallback
|
|
|
10236
11642
|
cleanUp(): void;
|
|
10237
11643
|
clearScene(): void;
|
|
10238
11644
|
enableHD(source?: DynamicLightSettingSource): void;
|
|
10239
|
-
protected _loadGLTF(gltfJSON: string, position?:
|
|
10240
|
-
protected _loadGLB(url: string, position?:
|
|
11645
|
+
protected _loadGLTF(gltfJSON: string, position?: Vector3_2, rotation?: number, size?: Vector3_2, scale?: Vector3_2, color?: number, callback?: (percent: number) => void): Promise<Object3D>;
|
|
11646
|
+
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
11647
|
showGUI(): Promise<void>;
|
|
10242
11648
|
protected initializeWebGLGUI(): void;
|
|
10243
11649
|
protected initializeWebGPUGUI(roomleWebGPURenderer: RoomleWebGPURenderer): void;
|
|
@@ -10267,6 +11673,12 @@ export declare abstract class SceneManager implements Context, LifeCycleCallback
|
|
|
10267
11673
|
protected _waitForAssets(): Promise<void>;
|
|
10268
11674
|
exportCanvasScreenshot(quality?: number): Promise<string>;
|
|
10269
11675
|
exportImageFromCamera(filename: string, shouldWaitForAssets?: boolean): Promise<void>;
|
|
11676
|
+
/**
|
|
11677
|
+
* Like exportCanvasScreenshot, but cropped to the part of the canvas the
|
|
11678
|
+
* camera renders into (see setCameraOffset), so UI overlays are left out
|
|
11679
|
+
*/
|
|
11680
|
+
exportCameraScreenshot(quality?: number): Promise<string>;
|
|
11681
|
+
private _cropToCameraOffset;
|
|
10270
11682
|
private getCanvasScreenshotWithDimensions;
|
|
10271
11683
|
changeEnvironmentMapIntensity(intensity: number): void;
|
|
10272
11684
|
changeEnvironmentMapRotation(rotation: number): void;
|
|
@@ -10291,8 +11703,8 @@ export declare interface ScenePlugin extends ScenePluginHooks, Context {
|
|
|
10291
11703
|
export declare interface ScenePluginHooks {
|
|
10292
11704
|
updateBounds(bounds: Box3): void;
|
|
10293
11705
|
clearScene(scene: Scene, uiScene: Scene): void;
|
|
10294
|
-
moveCameraEnd(position:
|
|
10295
|
-
moveCameraStart(position:
|
|
11706
|
+
moveCameraEnd(position: Vector3_2): void;
|
|
11707
|
+
moveCameraStart(position: Vector3_2): void;
|
|
10296
11708
|
needsUiScene(): boolean;
|
|
10297
11709
|
}
|
|
10298
11710
|
|
|
@@ -10301,7 +11713,7 @@ export declare interface SceneSettings {
|
|
|
10301
11713
|
lights: DynamicLight[];
|
|
10302
11714
|
}
|
|
10303
11715
|
|
|
10304
|
-
export declare type SceneShadingType =
|
|
11716
|
+
export declare type SceneShadingType = Enumify<typeof SCENE_SHADING_TYPES>;
|
|
10305
11717
|
|
|
10306
11718
|
export declare interface ScriptData {
|
|
10307
11719
|
name: string;
|
|
@@ -10365,6 +11777,8 @@ export declare class SinglePromiseFactory implements Context {
|
|
|
10365
11777
|
export declare class SizeTArray extends EmsArray<number> {
|
|
10366
11778
|
}
|
|
10367
11779
|
|
|
11780
|
+
export declare type SizeTArray_2 = EmscriptenArray<number>;
|
|
11781
|
+
|
|
10368
11782
|
export declare const SKY_EVENT: {
|
|
10369
11783
|
readonly ENTERED_PLANNER: "sky:entered-planner";
|
|
10370
11784
|
readonly ENTERED_CONFIGURATOR: "sky:entered-configurator";
|
|
@@ -10385,7 +11799,11 @@ export declare class SkyStateTracker extends EventDispatcher<SkyFeatureEventMap>
|
|
|
10385
11799
|
notifyEnteredConfigurator(): void;
|
|
10386
11800
|
}
|
|
10387
11801
|
|
|
10388
|
-
export declare
|
|
11802
|
+
export declare interface SnapMode {
|
|
11803
|
+
value: Enumify_2<typeof CORE_SNAP_MODE>;
|
|
11804
|
+
}
|
|
11805
|
+
|
|
11806
|
+
export declare const enum SnapMode_2 {
|
|
10389
11807
|
OFF = 0,
|
|
10390
11808
|
ON_COLLISION = 1,
|
|
10391
11809
|
ON_COLLISION_ROTATE_WITHIN_DISTANCE = 2,
|
|
@@ -10763,8 +12181,8 @@ export declare class UndoRedoHandler {
|
|
|
10763
12181
|
private reset;
|
|
10764
12182
|
undo(): void;
|
|
10765
12183
|
redo(): void;
|
|
10766
|
-
loadPlanXML(xml: string):
|
|
10767
|
-
createPlanWithObjectFromItem(object: KernelObject, position: KernelVector3, rotationInRad: number):
|
|
12184
|
+
loadPlanXML(xml: string): Plan_3;
|
|
12185
|
+
createPlanWithObjectFromItem(object: KernelObject, position: KernelVector3, rotationInRad: number): Plan_3;
|
|
10768
12186
|
endDrawing(point: {
|
|
10769
12187
|
x: number;
|
|
10770
12188
|
y: number;
|
|
@@ -10805,6 +12223,12 @@ export declare class UndoRedoHandler {
|
|
|
10805
12223
|
onCoreLoad(reason: HiLoadObjectReason): void;
|
|
10806
12224
|
}
|
|
10807
12225
|
|
|
12226
|
+
export declare interface UniqueIdAndHash {
|
|
12227
|
+
hash: string;
|
|
12228
|
+
libraryId: string;
|
|
12229
|
+
uniqueId: string;
|
|
12230
|
+
}
|
|
12231
|
+
|
|
10808
12232
|
export declare const enum Unit {
|
|
10809
12233
|
InchFeet = 0,
|
|
10810
12234
|
MM = 1,
|
|
@@ -10922,6 +12346,8 @@ export declare const enum UnitType_2 {
|
|
|
10922
12346
|
COUNT = 3
|
|
10923
12347
|
}
|
|
10924
12348
|
|
|
12349
|
+
export declare type UnitTypeString = Enumify_3<typeof CORE_UNIT_TYPE_STRING>;
|
|
12350
|
+
|
|
10925
12351
|
export declare type UseIdbStore = <T>(txMode: IDBTransactionMode, callback: (store: IDBObjectStore) => T | PromiseLike<T>) => Promise<T>;
|
|
10926
12352
|
|
|
10927
12353
|
export declare interface UserAction {
|
|
@@ -10955,6 +12381,16 @@ export declare interface VariantsList {
|
|
|
10955
12381
|
export declare class Vector2fArray extends EmsArray<KernelVector2f> {
|
|
10956
12382
|
}
|
|
10957
12383
|
|
|
12384
|
+
export declare interface Vector3 {
|
|
12385
|
+
x: number;
|
|
12386
|
+
y: number;
|
|
12387
|
+
z: number;
|
|
12388
|
+
}
|
|
12389
|
+
|
|
12390
|
+
export declare interface ViewType {
|
|
12391
|
+
value: Enumify_3<typeof CORE_VIEW_TYPE>;
|
|
12392
|
+
}
|
|
12393
|
+
|
|
10958
12394
|
export declare class Wall extends PlanObjectPtr {
|
|
10959
12395
|
readonly thickness: number;
|
|
10960
12396
|
readonly height: number;
|
|
@@ -10980,6 +12416,36 @@ export declare class Wall extends PlanObjectPtr {
|
|
|
10980
12416
|
getPointWithHeight(aHeight: number): KernelVector3f;
|
|
10981
12417
|
}
|
|
10982
12418
|
|
|
12419
|
+
export declare interface Wall_2 extends PlanElement_2 {
|
|
12420
|
+
new (): Wall_2;
|
|
12421
|
+
getFrom(): Node_3;
|
|
12422
|
+
getTo(): Node_3;
|
|
12423
|
+
getAttachedAttics(): AtticArray;
|
|
12424
|
+
getCornerFromLeft(): Vector3;
|
|
12425
|
+
getCornerFromRight(): Vector3;
|
|
12426
|
+
getCornerToLeft(): Vector3;
|
|
12427
|
+
getCornerToRight(): Vector3;
|
|
12428
|
+
getAngle(): number;
|
|
12429
|
+
getLength(side: WallSide_2): number;
|
|
12430
|
+
getSlopingLength(): number;
|
|
12431
|
+
getPreferredSide(): WallSide_2;
|
|
12432
|
+
getAttachedObjects(): ConstructionObjectSet_2;
|
|
12433
|
+
getAttachedObjectsExtRefArray(): SizeTArray_2;
|
|
12434
|
+
getCenter(): Vector3;
|
|
12435
|
+
getHeightAt(aPoint: Vector3): number;
|
|
12436
|
+
getPointWithHeight(aHeight: number): Vector3;
|
|
12437
|
+
readonly meshThickness: number;
|
|
12438
|
+
readonly isVectorWall: boolean;
|
|
12439
|
+
readonly thickness: number;
|
|
12440
|
+
readonly height: number;
|
|
12441
|
+
readonly leftMaterial: WallMaterial_2;
|
|
12442
|
+
readonly rightMaterial: WallMaterial_2;
|
|
12443
|
+
readonly wallType: WallType;
|
|
12444
|
+
readonly leftNormal: Vector3;
|
|
12445
|
+
readonly rightNormal: Vector3;
|
|
12446
|
+
readonly edgeType: EdgeType;
|
|
12447
|
+
}
|
|
12448
|
+
|
|
10983
12449
|
export declare const WALL_SIDES: {
|
|
10984
12450
|
readonly LEFT: 0;
|
|
10985
12451
|
readonly RIGHT: 1;
|
|
@@ -11002,7 +12468,7 @@ export declare interface WallDefinition {
|
|
|
11002
12468
|
};
|
|
11003
12469
|
}
|
|
11004
12470
|
|
|
11005
|
-
export declare type WallDimension = DimensionDefinition<
|
|
12471
|
+
export declare type WallDimension = DimensionDefinition<Vector3_2, Vector3_2> & {
|
|
11006
12472
|
label?: string;
|
|
11007
12473
|
measurementKind?: WallMeasurementKind;
|
|
11008
12474
|
slopingMeasurement?: WallMeasurementVariant;
|
|
@@ -11020,9 +12486,17 @@ export declare interface WallExtensionType {
|
|
|
11020
12486
|
ExtendBoth: EMSConstant;
|
|
11021
12487
|
}
|
|
11022
12488
|
|
|
12489
|
+
export declare interface WallExtensionType_2 {
|
|
12490
|
+
value: Enumify_2<typeof CORE_WALL_EXTENSION_TYPE>;
|
|
12491
|
+
}
|
|
12492
|
+
|
|
11023
12493
|
export declare class WallMaterial extends BaseMaterial {
|
|
11024
12494
|
}
|
|
11025
12495
|
|
|
12496
|
+
export declare interface WallMaterial_2 extends BaseMaterial_2 {
|
|
12497
|
+
new (): WallMaterial_2;
|
|
12498
|
+
}
|
|
12499
|
+
|
|
11026
12500
|
export declare type WallMeasurementKind = 'edge2d' | 'sloping';
|
|
11027
12501
|
|
|
11028
12502
|
export declare interface WallMeasurementVariant {
|
|
@@ -11103,6 +12577,14 @@ export declare interface WallSide {
|
|
|
11103
12577
|
value: Enumify<typeof WALL_SIDES>;
|
|
11104
12578
|
}
|
|
11105
12579
|
|
|
12580
|
+
export declare interface WallSide_2 {
|
|
12581
|
+
value: Enumify_2<typeof CORE_WALL_SIDE>;
|
|
12582
|
+
}
|
|
12583
|
+
|
|
12584
|
+
export declare interface WallType {
|
|
12585
|
+
value: Enumify_2<typeof CORE_WALL_TYPE>;
|
|
12586
|
+
}
|
|
12587
|
+
|
|
11106
12588
|
export declare const WEBGPU_TONE_MAPPINGS: {
|
|
11107
12589
|
readonly NONE: "none";
|
|
11108
12590
|
readonly LINEAR: "linear";
|
|
@@ -11393,7 +12875,7 @@ export declare interface WebGpuSSGIConfigDefinition {
|
|
|
11393
12875
|
aoDenoiseRadius?: number;
|
|
11394
12876
|
}
|
|
11395
12877
|
|
|
11396
|
-
export declare type WebGpuToneMapping =
|
|
12878
|
+
export declare type WebGpuToneMapping = Enumify<typeof WEBGPU_TONE_MAPPINGS>;
|
|
11397
12879
|
|
|
11398
12880
|
export declare class WebGpuTopLightConfig implements WebGpuTopLightConfigDefinition {
|
|
11399
12881
|
intensity: number;
|
|
@@ -11421,6 +12903,16 @@ export declare interface WebGpuTopLightConfigDefinition {
|
|
|
11421
12903
|
shadowRadius?: number;
|
|
11422
12904
|
}
|
|
11423
12905
|
|
|
12906
|
+
export declare const enum WORKER_MESSAGE {
|
|
12907
|
+
PREFIX = 0,
|
|
12908
|
+
INIT = 1,
|
|
12909
|
+
ERROR = 2,
|
|
12910
|
+
ASSET_LOADED = 3,
|
|
12911
|
+
INIT_DONE = 4,
|
|
12912
|
+
LOAD_ASSET = 5,
|
|
12913
|
+
SW_CLAIMED_CONTROL = 6
|
|
12914
|
+
}
|
|
12915
|
+
|
|
11424
12916
|
export declare class ZoomChangeEvent {
|
|
11425
12917
|
minZoom: boolean;
|
|
11426
12918
|
maxZoom: boolean;
|
|
@@ -11430,18 +12922,10 @@ export declare class ZoomChangeEvent {
|
|
|
11430
12922
|
export { }
|
|
11431
12923
|
|
|
11432
12924
|
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
12925
|
interface Window {
|
|
11440
12926
|
KernelCallback?: { isReady: () => void } | null;
|
|
11441
|
-
__RML_WEBGL_GUI__: GUI; // eslint-disable-line
|
|
11442
12927
|
__RML__DEBUG__?: Debug;
|
|
11443
12928
|
__RML__ENV__?: ExternalEnv;
|
|
11444
|
-
_rsl: { [key: string]: ThreeShader };
|
|
11445
12929
|
THREE?: any;
|
|
11446
12930
|
}
|
|
11447
12931
|
}
|