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