@roomle/web-sdk 5.1.0-alpha.7 → 5.1.0-typestest.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.releaserc.json +12 -0
- package/lib/ConfiguratorKernel.wasm +0 -0
- package/lib/RoomleCore.wasm +0 -0
- package/lib/RoomleToolsCore.wasm +0 -0
- package/lib/{api-D1GP5SkG.mjs → api-DGnvZIcv.mjs} +2 -2
- package/lib/{api-D1GP5SkG.mjs.map → api-DGnvZIcv.mjs.map} +1 -1
- package/lib/asset-loader.worker-CzI1oyTY.mjs.map +1 -1
- package/lib/budgeteer.sw-D80jTmYa.mjs.map +1 -1
- package/lib/{component-dimensioning-yPK46Y5o.mjs → component-dimensioning-BvF9Vdm0.mjs} +2 -2
- package/lib/{component-dimensioning-yPK46Y5o.mjs.map → component-dimensioning-BvF9Vdm0.mjs.map} +1 -1
- package/lib/{component-raycast-helper-CnpnRaFg.mjs → component-raycast-helper-BtOEYKaR.mjs} +2 -2
- package/lib/{component-raycast-helper-CnpnRaFg.mjs.map → component-raycast-helper-BtOEYKaR.mjs.map} +1 -1
- package/lib/{configurator-C0_PGKso.mjs → configurator-BFZrqpSE.mjs} +4 -4
- package/lib/{configurator-C0_PGKso.mjs.map → configurator-BFZrqpSE.mjs.map} +1 -1
- package/lib/configurator-DUKXHWSS.mjs +2 -0
- package/lib/{glb-viewer-BkdQVlpk.mjs → glb-viewer-DY3xeUtU.mjs} +4 -4
- package/lib/{glb-viewer-BkdQVlpk.mjs.map → glb-viewer-DY3xeUtU.mjs.map} +1 -1
- package/lib/glb-viewer-GQsVJ2fM.mjs +2 -0
- package/lib/{highlight-coordinator-DU6oFunq.mjs → highlight-coordinator-Q8dEUY3D.mjs} +2 -2
- package/lib/{highlight-coordinator-DU6oFunq.mjs.map → highlight-coordinator-Q8dEUY3D.mjs.map} +1 -1
- package/lib/{homag-intelligence-DwPlHiPP.mjs → homag-intelligence-SidskTjc.mjs} +3 -3
- package/lib/{homag-intelligence-DwPlHiPP.mjs.map → homag-intelligence-SidskTjc.mjs.map} +1 -1
- package/lib/{material-viewer-Bgq9-EYG.mjs → material-viewer-CzzbbiY3.mjs} +4 -4
- package/lib/{material-viewer-Bgq9-EYG.mjs.map → material-viewer-CzzbbiY3.mjs.map} +1 -1
- package/lib/{packages-DAyvqO4U.mjs → packages-Cduqgaaj.mjs} +5 -5
- package/lib/{packages-DAyvqO4U.mjs.map → packages-Cduqgaaj.mjs.map} +1 -1
- package/lib/planner-BX25vBoU.mjs +2 -0
- package/lib/{planner-DSB66hxa.mjs → planner-ClhRT5pF.mjs} +3 -3
- package/lib/{planner-DSB66hxa.mjs.map → planner-ClhRT5pF.mjs.map} +1 -1
- package/lib/roomle-headless.d.ts +1574 -287
- package/lib/roomle-headless.js +8 -8
- package/lib/{roomle-sdk-BObGek-f.mjs → roomle-sdk-VJa0TBo9.mjs} +16 -16
- package/lib/roomle-sdk-VJa0TBo9.mjs.map +1 -0
- package/lib/roomle-sdk.d.ts +1554 -267
- package/lib/roomle-sdk.js +7 -7
- package/lib/{scene-renderer--DzrpIl_.mjs → scene-renderer-C3ubDmx0.mjs} +2 -2
- package/lib/{scene-renderer--DzrpIl_.mjs.map → scene-renderer-C3ubDmx0.mjs.map} +1 -1
- package/lib/{script-loader-BwGk350m.mjs → script-loader-DIm0FRqb.mjs} +2 -2
- package/lib/{script-loader-BwGk350m.mjs.map → script-loader-DIm0FRqb.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-BQ4iIDmH.mjs} +2 -2
- package/lib/{stats-helper-DYjPPDnz.mjs.map → stats-helper-BQ4iIDmH.mjs.map} +1 -1
- package/lib/{threejs-utils-lVSsgAiQ.mjs → threejs-utils-CMmJiCGK.mjs} +2 -2
- package/lib/{threejs-utils-lVSsgAiQ.mjs.map → threejs-utils-CMmJiCGK.mjs.map} +1 -1
- package/lib/{tools-core-QpvVIiHK.mjs → tools-core-SxI9qPW4.mjs} +3 -3
- package/lib/{tools-core-QpvVIiHK.mjs.map → tools-core-SxI9qPW4.mjs.map} +1 -1
- package/package.json +7 -16
- package/lib/configurator-DkdZwDYB.mjs +0 -2
- package/lib/glb-viewer-02ilhcMw.mjs +0 -2
- package/lib/planner-Dpcg_QGP.mjs +0 -2
- package/lib/roomle-sdk-BObGek-f.mjs.map +0 -1
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;
|
|
@@ -1576,7 +1714,7 @@ export declare class ConfiguratorSceneManager extends SceneManager implements Co
|
|
|
1576
1714
|
private _isComponentDimensionsVisible;
|
|
1577
1715
|
private _dimensionUpdateDebounced;
|
|
1578
1716
|
private _sceneSetupReady;
|
|
1579
|
-
constructor(creator: string, offset: CanvasOffset, mode:
|
|
1717
|
+
constructor(creator: string, offset: CanvasOffset, mode: Enumify<typeof CAMERA_TYPE>);
|
|
1580
1718
|
/**
|
|
1581
1719
|
* Single point for deciding whether to push HTML label positions to the UI.
|
|
1582
1720
|
* the scene manager must push screen positions after any change.
|
|
@@ -1649,7 +1787,7 @@ 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;
|
|
@@ -1693,7 +1831,7 @@ export declare class ConfiguratorSceneManager extends SceneManager implements Co
|
|
|
1693
1831
|
private _shouldHighlightComponent;
|
|
1694
1832
|
saveConfigToIdb(): void;
|
|
1695
1833
|
protected _getInputManager(): InputManager;
|
|
1696
|
-
protected createCameraControl(_mode:
|
|
1834
|
+
protected createCameraControl(_mode: Enumify<typeof CAMERA_TYPE>, offset: CanvasOffset): void;
|
|
1697
1835
|
getBounds(): Box3 | null;
|
|
1698
1836
|
getGeometryBounds(): Box3 | null;
|
|
1699
1837
|
sceneChanged(): void;
|
|
@@ -2130,7 +2268,7 @@ export declare interface ConfiguratorViewModelCallbackI {
|
|
|
2130
2268
|
addPreviewHandlers(previewComponent: PreviewComponent): void;
|
|
2131
2269
|
}
|
|
2132
2270
|
|
|
2133
|
-
export declare type ConstructionMeasurement = MeasurementBase<
|
|
2271
|
+
export declare type ConstructionMeasurement = MeasurementBase<Vector3_2, Vector3_2>;
|
|
2134
2272
|
|
|
2135
2273
|
export declare interface ConstructionMeasurements {
|
|
2136
2274
|
leftMeasurement: ConstructionMeasurement;
|
|
@@ -2150,9 +2288,32 @@ export declare abstract class ConstructionObject extends PlanObjectPtr {
|
|
|
2150
2288
|
getAttachedWall(): Wall;
|
|
2151
2289
|
}
|
|
2152
2290
|
|
|
2291
|
+
export declare interface ConstructionObject_2 extends PlanObject_2 {
|
|
2292
|
+
new (): ConstructionObject_2;
|
|
2293
|
+
getAttachedWall(): Wall_2;
|
|
2294
|
+
getPreferredSide(): WallSide_2;
|
|
2295
|
+
getCornerFromLeft(): Vector3;
|
|
2296
|
+
getCornerFromRight(): Vector3;
|
|
2297
|
+
getCornerToLeft(): Vector3;
|
|
2298
|
+
getCornerToRight(): Vector3;
|
|
2299
|
+
getDoorArches(): ConstructionObjectDoorArchArray;
|
|
2300
|
+
}
|
|
2301
|
+
|
|
2302
|
+
export declare interface ConstructionObjectDoorArch {
|
|
2303
|
+
getStartPoint(): Vector3;
|
|
2304
|
+
getEndPoint(): Vector3;
|
|
2305
|
+
getStartPointRelativeToObject(): Vector3;
|
|
2306
|
+
getEndPointRelativeToObject(): Vector3;
|
|
2307
|
+
getOpeningDirection(): OpeningDirection;
|
|
2308
|
+
}
|
|
2309
|
+
|
|
2310
|
+
export declare type ConstructionObjectDoorArchArray = EmscriptenArray<ConstructionObjectDoorArch>;
|
|
2311
|
+
|
|
2153
2312
|
export declare class ConstructionObjectSet extends EmsSet<ConstructionObject> {
|
|
2154
2313
|
}
|
|
2155
2314
|
|
|
2315
|
+
export declare type ConstructionObjectSet_2 = EmscriptenSet<ConstructionObject_2>;
|
|
2316
|
+
|
|
2156
2317
|
export declare interface ConstructionOverview {
|
|
2157
2318
|
objects: KernelPlanObjectList;
|
|
2158
2319
|
parts: PartList;
|
|
@@ -2176,9 +2337,9 @@ export declare class ConstructionPlanObjectViewModel extends StaticPlanObjectVie
|
|
|
2176
2337
|
protected _generateBoundingBox(): RoomleEventedMesh;
|
|
2177
2338
|
protected _updateBoundingBox(): void;
|
|
2178
2339
|
getTopViewContainer(): ConstructionTopView;
|
|
2179
|
-
getConstructionElementMeasurements(zoomFactor: number, clientWidth: number, clientHeight: number):
|
|
2340
|
+
getConstructionElementMeasurements(zoomFactor: number, clientWidth: number, clientHeight: number): Nullable<ConstructionMeasurements>;
|
|
2180
2341
|
update(): void;
|
|
2181
|
-
protected _setPositionOfBoundingBox(size:
|
|
2342
|
+
protected _setPositionOfBoundingBox(size: Vector3_2, mesh: RoomleEventedMesh): void;
|
|
2182
2343
|
}
|
|
2183
2344
|
|
|
2184
2345
|
export declare class ConstructionTopView extends Object3D {
|
|
@@ -2208,13 +2369,27 @@ export declare interface Context {
|
|
|
2208
2369
|
}
|
|
2209
2370
|
|
|
2210
2371
|
export declare interface ContinuousDrawingManager {
|
|
2372
|
+
new (): ContinuousDrawingManager;
|
|
2373
|
+
getStartPoint(): Vector3;
|
|
2374
|
+
getDrawingAngle(): number;
|
|
2375
|
+
getCircleRotation(): number;
|
|
2376
|
+
shouldShowCircle(): boolean;
|
|
2377
|
+
isCorridorValid(): boolean;
|
|
2378
|
+
getCorridor(): Line;
|
|
2379
|
+
getDrawnPoints(): PointArray_2;
|
|
2380
|
+
getModelCircleRadius(): number;
|
|
2381
|
+
readonly CIRCLE_RADIUS: number;
|
|
2382
|
+
circleRadius: number;
|
|
2383
|
+
}
|
|
2384
|
+
|
|
2385
|
+
export declare interface ContinuousDrawingManager_2 {
|
|
2211
2386
|
getStartPoint(): KernelVector3;
|
|
2212
2387
|
getDrawingAngle(): number;
|
|
2213
2388
|
getCircleRotation(): number;
|
|
2214
2389
|
shouldShowCircle(): boolean;
|
|
2215
2390
|
isCorridorValid(): boolean;
|
|
2216
2391
|
getCorridor(): any;
|
|
2217
|
-
getDrawnPoints():
|
|
2392
|
+
getDrawnPoints(): PointArray_3;
|
|
2218
2393
|
CIRCLE_RADIUS: number;
|
|
2219
2394
|
}
|
|
2220
2395
|
|
|
@@ -2228,6 +2403,22 @@ export declare const CORE_ASSET_TYPE: {
|
|
|
2228
2403
|
readonly EXTERNAL_SVG_URL: 6;
|
|
2229
2404
|
};
|
|
2230
2405
|
|
|
2406
|
+
export declare const CORE_ASSET_TYPE_2: {
|
|
2407
|
+
readonly ITEM: 0;
|
|
2408
|
+
readonly COMPONENT: 1;
|
|
2409
|
+
readonly EXTERNAL_MESH: 2;
|
|
2410
|
+
readonly MATERIAL_PROPERTIES: 3;
|
|
2411
|
+
readonly MATERIAL_GROUP: 4;
|
|
2412
|
+
readonly EXTERNAL_OBJ_URL: 5;
|
|
2413
|
+
readonly EXTERNAL_SVG_URL: 6;
|
|
2414
|
+
};
|
|
2415
|
+
|
|
2416
|
+
export declare const CORE_DIMENSION_TYPE: {
|
|
2417
|
+
readonly X: 0;
|
|
2418
|
+
readonly Y: 1;
|
|
2419
|
+
readonly Z: 2;
|
|
2420
|
+
};
|
|
2421
|
+
|
|
2231
2422
|
export declare const CORE_DOCK_PAIR_TYPE: {
|
|
2232
2423
|
readonly POINT: 0;
|
|
2233
2424
|
readonly LINE: 1;
|
|
@@ -2239,17 +2430,40 @@ export declare const CORE_DRAWING_MODE: {
|
|
|
2239
2430
|
readonly CONTOUR: 2;
|
|
2240
2431
|
};
|
|
2241
2432
|
|
|
2433
|
+
export declare const CORE_DRAWING_MODE_2: {
|
|
2434
|
+
readonly WALL: 0;
|
|
2435
|
+
readonly ROOM_CONTOUR: 1;
|
|
2436
|
+
readonly CONTOUR: 2;
|
|
2437
|
+
readonly CONSTRUCTION_CONTOUR: 3;
|
|
2438
|
+
};
|
|
2439
|
+
|
|
2440
|
+
export declare const CORE_DRAWING_TYPE: {
|
|
2441
|
+
readonly CONTINOUS: 0;
|
|
2442
|
+
readonly CLICK_PER_CLICK: 1;
|
|
2443
|
+
};
|
|
2444
|
+
|
|
2242
2445
|
export declare const CORE_EDGE_TYPE: {
|
|
2243
2446
|
readonly WALL: 0;
|
|
2244
2447
|
readonly EDGE: 1;
|
|
2245
2448
|
readonly CONSTRUCTION: 2;
|
|
2246
2449
|
};
|
|
2247
2450
|
|
|
2451
|
+
export declare const CORE_EDGE_TYPE_2: {
|
|
2452
|
+
readonly WALL: 0;
|
|
2453
|
+
readonly EDGE: 1;
|
|
2454
|
+
readonly CONSTRUCTION: 2;
|
|
2455
|
+
};
|
|
2456
|
+
|
|
2248
2457
|
export declare const CORE_FLOOR_TYPE: {
|
|
2249
2458
|
readonly DEFAULT: 0;
|
|
2250
2459
|
readonly TERRAIN: 1;
|
|
2251
2460
|
};
|
|
2252
2461
|
|
|
2462
|
+
export declare const CORE_FLOOR_TYPE_2: {
|
|
2463
|
+
readonly DEFAULT: 0;
|
|
2464
|
+
readonly TERRAIN: 1;
|
|
2465
|
+
};
|
|
2466
|
+
|
|
2253
2467
|
export declare const CORE_HELP_LINE_TYPE: {
|
|
2254
2468
|
readonly NONE: 0;
|
|
2255
2469
|
readonly WALL_SNAP_LEVEL: 1;
|
|
@@ -2261,11 +2475,23 @@ export declare const CORE_HELP_LINE_TYPE: {
|
|
|
2261
2475
|
readonly WALL_ALIGNMENT_SNAPPED: 7;
|
|
2262
2476
|
};
|
|
2263
2477
|
|
|
2478
|
+
export declare const CORE_MATERIAL_SOURCE_TYPE: {
|
|
2479
|
+
readonly NONE: 0;
|
|
2480
|
+
readonly CATALOGITEM: 1;
|
|
2481
|
+
readonly MATERIAL: 2;
|
|
2482
|
+
readonly RGBVALUE: 3;
|
|
2483
|
+
};
|
|
2484
|
+
|
|
2264
2485
|
export declare const CORE_NODE_TYPE: {
|
|
2265
2486
|
readonly DEFAULT: 0;
|
|
2266
2487
|
readonly CONSTRUCTION: 1;
|
|
2267
2488
|
};
|
|
2268
2489
|
|
|
2490
|
+
export declare const CORE_NODE_TYPE_2: {
|
|
2491
|
+
readonly DEFAULT: 0;
|
|
2492
|
+
readonly CONSTRUCTION: 1;
|
|
2493
|
+
};
|
|
2494
|
+
|
|
2269
2495
|
export declare const CORE_OBJECT_CATEGORY: {
|
|
2270
2496
|
readonly OBJECT: 0;
|
|
2271
2497
|
readonly DOOR: 1;
|
|
@@ -2275,12 +2501,44 @@ export declare const CORE_OBJECT_CATEGORY: {
|
|
|
2275
2501
|
readonly EXTERNAL_CONSTRUCTION: 5;
|
|
2276
2502
|
};
|
|
2277
2503
|
|
|
2504
|
+
export declare const CORE_OBJECT_TYPE_CATEGORY: {
|
|
2505
|
+
readonly OBJECT: 0;
|
|
2506
|
+
readonly DOOR: 1;
|
|
2507
|
+
readonly WINDOW: 2;
|
|
2508
|
+
readonly CONSTRUCTION: 3;
|
|
2509
|
+
readonly UNKNOWN: 4;
|
|
2510
|
+
readonly EXTERNAL_CONSTRUCTION: 5;
|
|
2511
|
+
};
|
|
2512
|
+
|
|
2513
|
+
export declare const CORE_OPENING_DIRECTION: {
|
|
2514
|
+
readonly LEFT_CLOCKWISE: 0;
|
|
2515
|
+
readonly LEFT_COUNTERCLOCKWISE: 1;
|
|
2516
|
+
readonly RIGHT_CLOCKWISE: 2;
|
|
2517
|
+
readonly RIGHT_COUNTERCLOCKWISE: 3;
|
|
2518
|
+
};
|
|
2519
|
+
|
|
2520
|
+
export declare const CORE_PARAMETER_TYPE_STRING: {
|
|
2521
|
+
readonly UNKNOWN: "";
|
|
2522
|
+
readonly INTEGER: "Integer";
|
|
2523
|
+
readonly DECIMAL: "Decimal";
|
|
2524
|
+
readonly STRING: "String";
|
|
2525
|
+
readonly BOOLTYPE: "Boolean";
|
|
2526
|
+
readonly MATERIAL: "Material";
|
|
2527
|
+
readonly COLOR: "Color";
|
|
2528
|
+
};
|
|
2529
|
+
|
|
2278
2530
|
export declare const CORE_PERMISSION_TO_DELETE: {
|
|
2279
2531
|
readonly NEVER: 0;
|
|
2280
2532
|
readonly REDOCK_CHILDREN: 1;
|
|
2281
2533
|
readonly ALWAYS: 2;
|
|
2282
2534
|
};
|
|
2283
2535
|
|
|
2536
|
+
export declare const CORE_PERMISSION_TO_DELETE_2: {
|
|
2537
|
+
readonly NEVER: 0;
|
|
2538
|
+
readonly REDOCK_CHILDREN: 1;
|
|
2539
|
+
readonly ALWAYS: 2;
|
|
2540
|
+
};
|
|
2541
|
+
|
|
2284
2542
|
export declare const CORE_PLAN_COMPONENT_TYPE: {
|
|
2285
2543
|
readonly ROOT_COMPONENT: 0;
|
|
2286
2544
|
readonly COMPONENT: 1;
|
|
@@ -2289,6 +2547,27 @@ export declare const CORE_PLAN_COMPONENT_TYPE: {
|
|
|
2289
2547
|
readonly SUB_ARTICLE: 4;
|
|
2290
2548
|
};
|
|
2291
2549
|
|
|
2550
|
+
export declare const CORE_PLAN_COMPONENT_TYPE_2: {
|
|
2551
|
+
readonly ROOT_COMPONENT: 0;
|
|
2552
|
+
readonly COMPONENT: 1;
|
|
2553
|
+
readonly ROOT_MODULE: 2;
|
|
2554
|
+
readonly SUB_MODULE: 3;
|
|
2555
|
+
readonly SUB_ARTICLE: 4;
|
|
2556
|
+
};
|
|
2557
|
+
|
|
2558
|
+
export declare const CORE_PLAN_ELEMENT_TYPE: {
|
|
2559
|
+
readonly NODE: 0;
|
|
2560
|
+
readonly WALL: 1;
|
|
2561
|
+
readonly OBJECT: 2;
|
|
2562
|
+
readonly FLOOR: 3;
|
|
2563
|
+
readonly CEILING: 4;
|
|
2564
|
+
readonly TEXT: 5;
|
|
2565
|
+
readonly MEASURE: 6;
|
|
2566
|
+
readonly IMAGE: 7;
|
|
2567
|
+
readonly GROUP: 8;
|
|
2568
|
+
readonly ATTIC: 9;
|
|
2569
|
+
};
|
|
2570
|
+
|
|
2292
2571
|
export declare const CORE_PLAN_ROOM_GEOMETRY_MODE: {
|
|
2293
2572
|
readonly FLOOR: 0;
|
|
2294
2573
|
readonly ROOM: 1;
|
|
@@ -2300,6 +2579,30 @@ export declare const CORE_PLAN_VIEW_TYPE: {
|
|
|
2300
2579
|
readonly ELEVATION: 1;
|
|
2301
2580
|
};
|
|
2302
2581
|
|
|
2582
|
+
export declare const CORE_PLAN_VIEW_TYPE_2: {
|
|
2583
|
+
readonly FLOOR: 0;
|
|
2584
|
+
readonly ELEVATION: 1;
|
|
2585
|
+
};
|
|
2586
|
+
|
|
2587
|
+
export declare const CORE_RESIZING_ANCHOR: {
|
|
2588
|
+
readonly CENTER: 0;
|
|
2589
|
+
readonly BACKLEFT: 1;
|
|
2590
|
+
readonly BACKRIGHT: 2;
|
|
2591
|
+
readonly FRONTLEFT: 3;
|
|
2592
|
+
readonly FRONTRIGHT: 4;
|
|
2593
|
+
readonly BACK: 5;
|
|
2594
|
+
readonly FRONT: 6;
|
|
2595
|
+
readonly LEFT: 7;
|
|
2596
|
+
readonly RIGHT: 8;
|
|
2597
|
+
};
|
|
2598
|
+
|
|
2599
|
+
export declare const CORE_SNAP_MODE: {
|
|
2600
|
+
readonly OFF: 0;
|
|
2601
|
+
readonly ON_COLLISION: 1;
|
|
2602
|
+
readonly ON_COLLISION_ROTATE_WITHIN_DISTANCE: 2;
|
|
2603
|
+
readonly WITHIN_SNAP_DISTANCE: 3;
|
|
2604
|
+
};
|
|
2605
|
+
|
|
2303
2606
|
export declare const CORE_SNAP_STATE: {
|
|
2304
2607
|
readonly DEFAULT: 0;
|
|
2305
2608
|
readonly DOCKING: 1;
|
|
@@ -2311,9 +2614,48 @@ export declare const CORE_TYPE_OF_CORE_ID: {
|
|
|
2311
2614
|
readonly PLANNER: 1;
|
|
2312
2615
|
};
|
|
2313
2616
|
|
|
2617
|
+
export declare const CORE_UNIT_TYPE_STRING: {
|
|
2618
|
+
readonly UNKNOWN_UNIT: "unknown";
|
|
2619
|
+
readonly LENGTH: "length";
|
|
2620
|
+
readonly AREA: "area";
|
|
2621
|
+
readonly ANGLE: "angle";
|
|
2622
|
+
readonly COUNT: "count";
|
|
2623
|
+
};
|
|
2624
|
+
|
|
2625
|
+
export declare const CORE_VIEW_TYPE: {
|
|
2626
|
+
readonly EMPTY: 0;
|
|
2627
|
+
readonly TOGGLE: 1;
|
|
2628
|
+
readonly IMAGELIST: 2;
|
|
2629
|
+
readonly IMAGEBIG: 3;
|
|
2630
|
+
readonly IMAGESMALL: 4;
|
|
2631
|
+
readonly INPUTFIELD: 5;
|
|
2632
|
+
readonly DROPDOWN: 6;
|
|
2633
|
+
readonly SLIDER: 7;
|
|
2634
|
+
readonly BUTTON: 8;
|
|
2635
|
+
};
|
|
2636
|
+
|
|
2637
|
+
export declare const CORE_WALL_EXTENSION_TYPE: {
|
|
2638
|
+
readonly EXTENDBEGIN: 0;
|
|
2639
|
+
readonly EXTENDEND: 1;
|
|
2640
|
+
readonly EXTENDBOTH: 2;
|
|
2641
|
+
};
|
|
2642
|
+
|
|
2643
|
+
export declare const CORE_WALL_SIDE: {
|
|
2644
|
+
readonly LEFT: 0;
|
|
2645
|
+
readonly RIGHT: 1;
|
|
2646
|
+
readonly MIDDLE: 2;
|
|
2647
|
+
};
|
|
2648
|
+
|
|
2649
|
+
export declare const CORE_WALL_TYPE: {
|
|
2650
|
+
readonly STANDALONEWALL: 0;
|
|
2651
|
+
readonly OUTERWALLLEFT: 1;
|
|
2652
|
+
readonly OUTERWALLRIGHT: 2;
|
|
2653
|
+
readonly INNERWALL: 3;
|
|
2654
|
+
};
|
|
2655
|
+
|
|
2314
2656
|
export declare const createExtObj: (data: Record<string, unknown>) => Record<string, unknown>;
|
|
2315
2657
|
|
|
2316
|
-
export
|
|
2658
|
+
export declare const createExtObjId: (id: string) => ExtObjId;
|
|
2317
2659
|
|
|
2318
2660
|
export declare interface CSS2DOverlayRenderer {
|
|
2319
2661
|
renderSnapshot(camera: Camera, width: number, height: number): Promise<HTMLElement | null> | HTMLElement | null;
|
|
@@ -2395,16 +2737,39 @@ export declare class DataSyncer implements Context, CommunicationInterfaceCallba
|
|
|
2395
2737
|
preFillAssetCache(key: string, url: string): void;
|
|
2396
2738
|
}
|
|
2397
2739
|
|
|
2740
|
+
export declare interface Debug {
|
|
2741
|
+
raycaster?: boolean;
|
|
2742
|
+
camera?: boolean;
|
|
2743
|
+
boundingBox?: boolean;
|
|
2744
|
+
PlannerKernelContainer?: any;
|
|
2745
|
+
ConfiguratorKernel?: any;
|
|
2746
|
+
Kernel?: any;
|
|
2747
|
+
KernelContainer?: any;
|
|
2748
|
+
Helper?: any;
|
|
2749
|
+
SceneManager?: unknown;
|
|
2750
|
+
interactionTimingMs?: number;
|
|
2751
|
+
}
|
|
2752
|
+
|
|
2398
2753
|
export declare interface DebugClient {
|
|
2399
2754
|
debugValueMapChange(changes: DebugValueMapChange): void;
|
|
2400
2755
|
}
|
|
2401
2756
|
|
|
2757
|
+
export declare interface DebugClient_2 {
|
|
2758
|
+
debugValueMapChange(changes: DebugValueMapChange_2): void;
|
|
2759
|
+
}
|
|
2760
|
+
|
|
2402
2761
|
export declare interface DebugValueMapChange {
|
|
2403
2762
|
sourceId: number;
|
|
2404
2763
|
sourceInfo: string;
|
|
2405
2764
|
valueMaps: Record<string, DebugValueMapDump>;
|
|
2406
2765
|
}
|
|
2407
2766
|
|
|
2767
|
+
export declare interface DebugValueMapChange_2 {
|
|
2768
|
+
sourceId: number;
|
|
2769
|
+
sourceInfo: string;
|
|
2770
|
+
valueMaps: Record<string, DebugValueMapDump_2>;
|
|
2771
|
+
}
|
|
2772
|
+
|
|
2408
2773
|
export declare interface DebugValueMapDump {
|
|
2409
2774
|
type: string;
|
|
2410
2775
|
componentId: string;
|
|
@@ -2414,6 +2779,15 @@ export declare interface DebugValueMapDump {
|
|
|
2414
2779
|
values: Record<string, string>;
|
|
2415
2780
|
}
|
|
2416
2781
|
|
|
2782
|
+
export declare interface DebugValueMapDump_2 {
|
|
2783
|
+
type: string;
|
|
2784
|
+
componentId: string;
|
|
2785
|
+
internalId: string;
|
|
2786
|
+
id: number;
|
|
2787
|
+
parentId: number;
|
|
2788
|
+
values: Record<string, string>;
|
|
2789
|
+
}
|
|
2790
|
+
|
|
2417
2791
|
export declare const DEFAULT_ENVIRONMENT_SCENE_TYPES: {
|
|
2418
2792
|
readonly ALL_AROUND: "all_around";
|
|
2419
2793
|
readonly FRONT: "front";
|
|
@@ -2428,7 +2802,7 @@ export declare const DEFAULT_RENDER_OPTIONS: {
|
|
|
2428
2802
|
|
|
2429
2803
|
export declare type DefaultEnvironmentSceneType = Enumify<typeof DEFAULT_ENVIRONMENT_SCENE_TYPES> | null;
|
|
2430
2804
|
|
|
2431
|
-
export declare interface DimensionDefinition<Vector2Type =
|
|
2805
|
+
export declare interface DimensionDefinition<Vector2Type = Vector3_2 | Position2, Vector3Type = Vector3_2 | Position3> extends MeasurementBase<Vector2Type, Vector3Type> {
|
|
2432
2806
|
id: number;
|
|
2433
2807
|
lengthFormatted: string;
|
|
2434
2808
|
fromWithoutPadding?: Vector2Type;
|
|
@@ -2448,6 +2822,20 @@ export declare interface Dimensioning {
|
|
|
2448
2822
|
interactionKey?: string;
|
|
2449
2823
|
}
|
|
2450
2824
|
|
|
2825
|
+
export declare interface Dimensioning_2 {
|
|
2826
|
+
axis: string;
|
|
2827
|
+
from: number;
|
|
2828
|
+
interactionKey: string;
|
|
2829
|
+
label: string;
|
|
2830
|
+
level: number;
|
|
2831
|
+
maxLevel: number;
|
|
2832
|
+
to: number;
|
|
2833
|
+
type: {
|
|
2834
|
+
value: DimensionType;
|
|
2835
|
+
};
|
|
2836
|
+
visible: boolean;
|
|
2837
|
+
}
|
|
2838
|
+
|
|
2451
2839
|
export declare interface DimensioningAxis {
|
|
2452
2840
|
direction: KernelVector3;
|
|
2453
2841
|
key: string;
|
|
@@ -2456,6 +2844,14 @@ export declare interface DimensioningAxis {
|
|
|
2456
2844
|
alternativeOrigin?: KernelVector3;
|
|
2457
2845
|
}
|
|
2458
2846
|
|
|
2847
|
+
export declare interface DimensioningAxis_2 {
|
|
2848
|
+
alternativeOrigin?: Vector3;
|
|
2849
|
+
direction: Vector3;
|
|
2850
|
+
key: string;
|
|
2851
|
+
labelDirection: Vector3;
|
|
2852
|
+
origin: Vector3;
|
|
2853
|
+
}
|
|
2854
|
+
|
|
2459
2855
|
export declare class DimensioningHelper {
|
|
2460
2856
|
_creator_: string;
|
|
2461
2857
|
private _unitFormatter;
|
|
@@ -2503,7 +2899,7 @@ export declare class DimensioningHelper {
|
|
|
2503
2899
|
enableTopDimensions(): void;
|
|
2504
2900
|
disableTopDimensions(): void;
|
|
2505
2901
|
getBoundingBox(): Box3;
|
|
2506
|
-
setCameraPosition(position:
|
|
2902
|
+
setCameraPosition(position: Vector3_2): void;
|
|
2507
2903
|
private _performUpdate;
|
|
2508
2904
|
private _clear;
|
|
2509
2905
|
}
|
|
@@ -2534,6 +2930,10 @@ export declare interface DimensionLabelsTransferable {
|
|
|
2534
2930
|
componentId: number;
|
|
2535
2931
|
}
|
|
2536
2932
|
|
|
2933
|
+
export declare interface DimensionType {
|
|
2934
|
+
value: Enumify_3<typeof CORE_DIMENSION_TYPE>;
|
|
2935
|
+
}
|
|
2936
|
+
|
|
2537
2937
|
export declare interface DockingLineSegment {
|
|
2538
2938
|
from: number;
|
|
2539
2939
|
to: number;
|
|
@@ -2546,7 +2946,7 @@ export declare class DockPairPreviewArray_2 extends EmsArray<KernelDockPairPrevi
|
|
|
2546
2946
|
}
|
|
2547
2947
|
|
|
2548
2948
|
export declare interface DockPairType {
|
|
2549
|
-
value:
|
|
2949
|
+
value: Enumify<typeof CORE_DOCK_PAIR_TYPE>;
|
|
2550
2950
|
}
|
|
2551
2951
|
|
|
2552
2952
|
export declare class DomHelper implements LifeCycleCallbacks, Context {
|
|
@@ -2576,7 +2976,7 @@ export declare class DraggableNode extends Object3D {
|
|
|
2576
2976
|
private _outerRingRadius;
|
|
2577
2977
|
constructor(name: string, sphereSize?: number);
|
|
2578
2978
|
private _initNodeMesh;
|
|
2579
|
-
getSize():
|
|
2979
|
+
getSize(): Vector3_2;
|
|
2580
2980
|
hoverOn(): void;
|
|
2581
2981
|
hoverOff(): void;
|
|
2582
2982
|
setSphereColor(color: number): void;
|
|
@@ -2609,7 +3009,11 @@ export declare const DRAW_PREVIEW_MODES: {
|
|
|
2609
3009
|
};
|
|
2610
3010
|
|
|
2611
3011
|
export declare interface DrawingMode {
|
|
2612
|
-
value:
|
|
3012
|
+
value: Enumify<typeof CORE_DRAWING_MODE>;
|
|
3013
|
+
}
|
|
3014
|
+
|
|
3015
|
+
export declare interface DrawingMode_2 {
|
|
3016
|
+
value: Enumify_2<typeof CORE_DRAWING_MODE_2>;
|
|
2613
3017
|
}
|
|
2614
3018
|
|
|
2615
3019
|
export declare const enum DrawingType {
|
|
@@ -2617,6 +3021,10 @@ export declare const enum DrawingType {
|
|
|
2617
3021
|
CLICK_PER_CLICK = 1
|
|
2618
3022
|
}
|
|
2619
3023
|
|
|
3024
|
+
export declare interface DrawingType_2 {
|
|
3025
|
+
value: Enumify_2<typeof CORE_DRAWING_TYPE>;
|
|
3026
|
+
}
|
|
3027
|
+
|
|
2620
3028
|
/**
|
|
2621
3029
|
* Description of fields:
|
|
2622
3030
|
- type: 'ambient'/'rectarea'/'spot'/'directional'
|
|
@@ -2637,8 +3045,8 @@ export declare interface DynamicLight {
|
|
|
2637
3045
|
name?: string;
|
|
2638
3046
|
intensity?: number;
|
|
2639
3047
|
color?: string;
|
|
2640
|
-
position?:
|
|
2641
|
-
target?:
|
|
3048
|
+
position?: Vector3_2;
|
|
3049
|
+
target?: Vector3_2;
|
|
2642
3050
|
castShadow?: boolean;
|
|
2643
3051
|
angle?: number;
|
|
2644
3052
|
penumbra?: number;
|
|
@@ -2660,7 +3068,11 @@ export declare interface EdgeDeflection {
|
|
|
2660
3068
|
}
|
|
2661
3069
|
|
|
2662
3070
|
export declare interface EdgeType {
|
|
2663
|
-
value:
|
|
3071
|
+
value: Enumify_2<typeof CORE_EDGE_TYPE_2>;
|
|
3072
|
+
}
|
|
3073
|
+
|
|
3074
|
+
export declare interface EdgeType_2 {
|
|
3075
|
+
value: Enumify<typeof CORE_EDGE_TYPE>;
|
|
2664
3076
|
}
|
|
2665
3077
|
|
|
2666
3078
|
export declare interface Element_2 {
|
|
@@ -2707,11 +3119,38 @@ export declare class EMSConstant {
|
|
|
2707
3119
|
value: number;
|
|
2708
3120
|
}
|
|
2709
3121
|
|
|
3122
|
+
export declare interface EmscriptenArray<T> {
|
|
3123
|
+
new (): EmscriptenArray<T>;
|
|
3124
|
+
get(index: number): T;
|
|
3125
|
+
push_back(element: T): void;
|
|
3126
|
+
resize(from: number, to: number): void;
|
|
3127
|
+
set(index: number, element: T): T;
|
|
3128
|
+
size(): number;
|
|
3129
|
+
clone(index: number): EmscriptenArray<T>;
|
|
3130
|
+
delete(index: number): void;
|
|
3131
|
+
deleteLater(index: number): void;
|
|
3132
|
+
isAliasOf(index: number): boolean;
|
|
3133
|
+
isDeleted(index: number): boolean;
|
|
3134
|
+
}
|
|
3135
|
+
|
|
2710
3136
|
export declare interface EmscriptenList {
|
|
2711
3137
|
size: () => number;
|
|
2712
3138
|
length: number;
|
|
2713
3139
|
}
|
|
2714
3140
|
|
|
3141
|
+
export declare class EmscriptenList_2<T> {
|
|
3142
|
+
new(): EmscriptenList_2<T>;
|
|
3143
|
+
push_back(element: T): void;
|
|
3144
|
+
size(): number;
|
|
3145
|
+
get(index: number): T;
|
|
3146
|
+
}
|
|
3147
|
+
|
|
3148
|
+
export declare interface EmscriptenSet<T> {
|
|
3149
|
+
new (): EmscriptenSet<T>;
|
|
3150
|
+
insert: (element: T) => void;
|
|
3151
|
+
size: () => number;
|
|
3152
|
+
}
|
|
3153
|
+
|
|
2715
3154
|
export declare type EmscriptenString = any;
|
|
2716
3155
|
|
|
2717
3156
|
export declare class EmsList<T> {
|
|
@@ -2740,9 +3179,15 @@ export declare class EmsSet<T> {
|
|
|
2740
3179
|
size(): number;
|
|
2741
3180
|
}
|
|
2742
3181
|
|
|
3182
|
+
export declare type Enumify<T> = T[keyof T];
|
|
3183
|
+
|
|
3184
|
+
export declare type Enumify_2<T> = T[keyof T];
|
|
3185
|
+
|
|
3186
|
+
export declare type Enumify_3<T> = T[keyof T];
|
|
3187
|
+
|
|
2743
3188
|
export declare abstract class Environment {
|
|
2744
3189
|
protected _scene: Scene | null;
|
|
2745
|
-
protected _bounds:
|
|
3190
|
+
protected _bounds: Vector3_2;
|
|
2746
3191
|
constructor(scene: Scene, oldEnvironment?: Environment);
|
|
2747
3192
|
abstract needsBounds(): boolean;
|
|
2748
3193
|
abstract needsCamera(): boolean;
|
|
@@ -2751,7 +3196,7 @@ export declare abstract class Environment {
|
|
|
2751
3196
|
abstract removeFromScene(): void;
|
|
2752
3197
|
abstract showGUI(sceneParameters: GenericGUIParamFolder): void;
|
|
2753
3198
|
reload(): void;
|
|
2754
|
-
updateBounds(bounds:
|
|
3199
|
+
updateBounds(bounds: Vector3_2, _force?: boolean): void;
|
|
2755
3200
|
cleanUp(): void;
|
|
2756
3201
|
}
|
|
2757
3202
|
|
|
@@ -2888,6 +3333,8 @@ export declare const enum ExportType {
|
|
|
2888
3333
|
HOMAGiX = 2
|
|
2889
3334
|
}
|
|
2890
3335
|
|
|
3336
|
+
export declare const EXTERNAL_ID_PREFIX = "__ext__obj__#";
|
|
3337
|
+
|
|
2891
3338
|
export declare interface ExternalAttributeInformation {
|
|
2892
3339
|
groupId: string;
|
|
2893
3340
|
moduleIds: ExternalModuleInformation[];
|
|
@@ -2895,6 +3342,13 @@ export declare interface ExternalAttributeInformation {
|
|
|
2895
3342
|
value: string;
|
|
2896
3343
|
}
|
|
2897
3344
|
|
|
3345
|
+
export declare interface ExternalAttributeInformation_2 {
|
|
3346
|
+
attributeId: string;
|
|
3347
|
+
groupId: string;
|
|
3348
|
+
moduleIds: ExternalModuleInformationArray;
|
|
3349
|
+
value: string;
|
|
3350
|
+
}
|
|
3351
|
+
|
|
2898
3352
|
export declare type ExternalConfiguration = Partial<RapiConfigurationEnhanced> & Pick<RapiConfigurationEnhanced, keyof Element_2 | 'configurationHash'> & ExternalElement;
|
|
2899
3353
|
|
|
2900
3354
|
export declare interface ExternalDataResponse<T> {
|
|
@@ -2912,6 +3366,12 @@ export declare interface ExternalEmbeddable<T = any> {
|
|
|
2912
3366
|
callbacks: T;
|
|
2913
3367
|
}
|
|
2914
3368
|
|
|
3369
|
+
export declare interface ExternalEnv {
|
|
3370
|
+
assetPath?: string;
|
|
3371
|
+
initData?: InitDataDefinition;
|
|
3372
|
+
locale?: string;
|
|
3373
|
+
}
|
|
3374
|
+
|
|
2915
3375
|
export declare type ExternalGroupData = object | object[] | string | string[];
|
|
2916
3376
|
|
|
2917
3377
|
export declare type ExternalItem = Partial<RapiItem> & Pick<RapiItem, keyof Element_2> & ExternalElement;
|
|
@@ -2927,11 +3387,19 @@ export declare interface ExternalModuleInformation {
|
|
|
2927
3387
|
}
|
|
2928
3388
|
|
|
2929
3389
|
export declare interface ExternalModuleInformation_2 {
|
|
3390
|
+
groupId: string;
|
|
3391
|
+
rootModuleId: string;
|
|
3392
|
+
subModuleId: string;
|
|
3393
|
+
}
|
|
3394
|
+
|
|
3395
|
+
export declare interface ExternalModuleInformation_3 {
|
|
2930
3396
|
groupId: string;
|
|
2931
3397
|
rootModuleId: string;
|
|
2932
3398
|
subModuleId: string | null;
|
|
2933
3399
|
}
|
|
2934
3400
|
|
|
3401
|
+
export declare type ExternalModuleInformationArray = EmscriptenArray<ExternalModuleInformation_2>;
|
|
3402
|
+
|
|
2935
3403
|
export declare type ExternalObject = ExternalItem | ExternalConfiguration;
|
|
2936
3404
|
|
|
2937
3405
|
export declare interface ExternalObjectAPI {
|
|
@@ -3194,6 +3662,17 @@ export declare interface ExternalObjectGroupLayoutSide {
|
|
|
3194
3662
|
}
|
|
3195
3663
|
|
|
3196
3664
|
export declare interface ExternalObjectLoadConfiguration {
|
|
3665
|
+
applyGlobalChildMode: boolean;
|
|
3666
|
+
applyGroupPosition: boolean;
|
|
3667
|
+
calculationUpdate: boolean;
|
|
3668
|
+
findFreeSpaceInPlan: boolean;
|
|
3669
|
+
isVisible: boolean;
|
|
3670
|
+
lockCallbacks: boolean;
|
|
3671
|
+
respondWithPositionInPlan: boolean;
|
|
3672
|
+
tryToMergeNewGroups: boolean;
|
|
3673
|
+
}
|
|
3674
|
+
|
|
3675
|
+
export declare interface ExternalObjectLoadConfiguration_2 {
|
|
3197
3676
|
applyGlobalChildMode: boolean;
|
|
3198
3677
|
applyGroupPosition: boolean;
|
|
3199
3678
|
findFreeSpaceInPlan: boolean;
|
|
@@ -3317,6 +3796,10 @@ export declare class ExternalReference {
|
|
|
3317
3796
|
clearSelfRef(): void;
|
|
3318
3797
|
}
|
|
3319
3798
|
|
|
3799
|
+
export declare interface ExternalReference_2 {
|
|
3800
|
+
new (): ExternalReference_2;
|
|
3801
|
+
}
|
|
3802
|
+
|
|
3320
3803
|
export declare type ExternalResponseValidator = (type: 'rapi-access', response: Response) => Promise<boolean>;
|
|
3321
3804
|
|
|
3322
3805
|
export declare interface ExternalRoomInformation {
|
|
@@ -3333,7 +3816,22 @@ export declare interface ExternalValidContainerModule {
|
|
|
3333
3816
|
rootId: string;
|
|
3334
3817
|
}
|
|
3335
3818
|
|
|
3336
|
-
export
|
|
3819
|
+
export declare interface ExternalValidContainerModule_2 {
|
|
3820
|
+
containerModuleId: string;
|
|
3821
|
+
parentModuleId: string;
|
|
3822
|
+
rootId: string;
|
|
3823
|
+
}
|
|
3824
|
+
|
|
3825
|
+
export declare type ExtObjId = `${typeof EXTERNAL_ID_PREFIX}${string}`;
|
|
3826
|
+
|
|
3827
|
+
export declare interface ExtrudedRectangle {
|
|
3828
|
+
angle: number;
|
|
3829
|
+
bottomCenter: Vector3;
|
|
3830
|
+
readonly cornerPoints: PointArray_2;
|
|
3831
|
+
readonly eulerRotation: Vector3;
|
|
3832
|
+
readonly referencePoints: RectangleReferencePoints;
|
|
3833
|
+
size: Vector3;
|
|
3834
|
+
}
|
|
3337
3835
|
|
|
3338
3836
|
export declare interface FeatureFlags {
|
|
3339
3837
|
pulsePreview?: boolean;
|
|
@@ -3359,7 +3857,7 @@ export declare class FeatureFlagsImplementation implements FeatureFlags {
|
|
|
3359
3857
|
reDock: boolean;
|
|
3360
3858
|
advancedDocking: boolean;
|
|
3361
3859
|
mergeOnInsert: boolean;
|
|
3362
|
-
drawPreviewMode:
|
|
3860
|
+
drawPreviewMode: Enumify<typeof DRAW_PREVIEW_MODES>;
|
|
3363
3861
|
interiorLights: boolean;
|
|
3364
3862
|
advancedDimensioning: boolean;
|
|
3365
3863
|
enableSnapping: boolean;
|
|
@@ -3398,9 +3896,24 @@ export declare abstract class Floor extends PlanElement {
|
|
|
3398
3896
|
getRandomPointInside(): KernelVector3f;
|
|
3399
3897
|
}
|
|
3400
3898
|
|
|
3401
|
-
export declare interface
|
|
3899
|
+
export declare interface Floor_2 extends PlanElement_2 {
|
|
3900
|
+
new (): Floor_2;
|
|
3901
|
+
getCorners(): PointArray_2;
|
|
3902
|
+
getTriangulationIndices(): SizeTArray_2;
|
|
3903
|
+
getNumberOfTriangles(): number;
|
|
3904
|
+
getRandomPointInside(): Vector3;
|
|
3905
|
+
getLabelPosition(): Vector3;
|
|
3906
|
+
getWallsOfRoom(): RoomWall[];
|
|
3907
|
+
getLabelObject(): string;
|
|
3908
|
+
readonly area: number;
|
|
3909
|
+
readonly material: FloorMaterial_2;
|
|
3910
|
+
readonly parapetHeight: number;
|
|
3911
|
+
readonly floorType: FloorType;
|
|
3912
|
+
}
|
|
3913
|
+
|
|
3914
|
+
export declare interface FloorAreaData<Vector2Type = Vector3_2, Vector3Type = Vector3_2> {
|
|
3402
3915
|
area: number;
|
|
3403
|
-
formattedArea:
|
|
3916
|
+
formattedArea: Nullable<string>;
|
|
3404
3917
|
textPosition3d: Vector3Type;
|
|
3405
3918
|
textPosition2d: Vector2Type;
|
|
3406
3919
|
isTextVisible: boolean;
|
|
@@ -3420,6 +3933,12 @@ export declare class FloorMaterial extends BaseMaterial {
|
|
|
3420
3933
|
rotation(): KernelVector3f;
|
|
3421
3934
|
}
|
|
3422
3935
|
|
|
3936
|
+
export declare interface FloorMaterial_2 extends BaseMaterial_2 {
|
|
3937
|
+
new (): FloorMaterial_2;
|
|
3938
|
+
readonly uvScale: Vector3;
|
|
3939
|
+
readonly rotation: number;
|
|
3940
|
+
}
|
|
3941
|
+
|
|
3423
3942
|
export declare interface FloorPlanEdge {
|
|
3424
3943
|
id: number;
|
|
3425
3944
|
start: KernelVector3f;
|
|
@@ -3440,7 +3959,11 @@ export declare class FloorPlanElementViewModel extends PlanElementViewModel {
|
|
|
3440
3959
|
}
|
|
3441
3960
|
|
|
3442
3961
|
export declare interface FloorType {
|
|
3443
|
-
value:
|
|
3962
|
+
value: Enumify_2<typeof CORE_FLOOR_TYPE>;
|
|
3963
|
+
}
|
|
3964
|
+
|
|
3965
|
+
export declare interface FloorType_2 {
|
|
3966
|
+
value: Enumify<typeof CORE_FLOOR_TYPE_2>;
|
|
3444
3967
|
}
|
|
3445
3968
|
|
|
3446
3969
|
/**
|
|
@@ -3514,13 +4037,13 @@ export declare class GLBViewerSceneManager extends SceneManager implements GLBRe
|
|
|
3514
4037
|
private _standardSceneBackgroundColor;
|
|
3515
4038
|
private _itemsCount;
|
|
3516
4039
|
constructor(creator: string, offset: CanvasOffset);
|
|
3517
|
-
protected createCameraControl(_mode:
|
|
4040
|
+
protected createCameraControl(_mode: Enumify<typeof CAMERA_TYPE>, _offset: CanvasOffset): void;
|
|
3518
4041
|
protected _getInputManager(): InputManager;
|
|
3519
4042
|
loadStaticItem(id: string, callback?: (percent: number) => void): Promise<void>;
|
|
3520
|
-
loadGLB(url: string, automaticallyAdjustCamera?: boolean, scaling?:
|
|
4043
|
+
loadGLB(url: string, automaticallyAdjustCamera?: boolean, scaling?: Vector3_2, callback?: (percent: number) => void): Promise<void>;
|
|
3521
4044
|
preparePerspectiveImage(options?: PrepareImageOptions, providedRenderer?: WebGLRenderer): Promise<Base64Image>;
|
|
3522
4045
|
private _prepareWebGpuPerspectiveImage;
|
|
3523
|
-
adjustCamera(position:
|
|
4046
|
+
adjustCamera(position: Vector3_2, yaw: number, pitch: number, fov: number): void;
|
|
3524
4047
|
onStart(count: number): void;
|
|
3525
4048
|
onElementFinished(itemsFinished: number): void;
|
|
3526
4049
|
onFinished(_zip: any): void;
|
|
@@ -3566,7 +4089,7 @@ export declare interface GlobalAPI {
|
|
|
3566
4089
|
getUnitFormatter(): UnitFormatter;
|
|
3567
4090
|
getStorage(): IdbManager;
|
|
3568
4091
|
setEnvironmentMap(params: EnvMapParams): void;
|
|
3569
|
-
|
|
4092
|
+
/* Excluded from this release type: globalCallbacks */
|
|
3570
4093
|
}
|
|
3571
4094
|
|
|
3572
4095
|
export declare class GlobalCallback extends UiCallback {
|
|
@@ -3593,7 +4116,7 @@ export declare class GlobalCallback extends UiCallback {
|
|
|
3593
4116
|
* @param _json the JSON response
|
|
3594
4117
|
* @returns void
|
|
3595
4118
|
*/
|
|
3596
|
-
onApiJsonReceived: (_url: string, _rapiPath: RAPI_PATHS, _json: any) => Promise<
|
|
4119
|
+
onApiJsonReceived: (_url: string, _rapiPath: RAPI_PATHS, _json: any) => Promise<Nullable<RapiJsonBox> | undefined>;
|
|
3597
4120
|
/**
|
|
3598
4121
|
* is called the scene is ready for rendering it as an image
|
|
3599
4122
|
*/
|
|
@@ -3668,7 +4191,7 @@ export declare interface GlueLogic {
|
|
|
3668
4191
|
duplicateGroup(duplicatedGroup: ExternalObjectGroup): Promise<void>;
|
|
3669
4192
|
adjustGroup(groupId: string): Promise<void>;
|
|
3670
4193
|
swapRootModule(groupId: string, rootModuleId: string, articleId: string): Promise<void>;
|
|
3671
|
-
modifyAttribute(groupId: string, moduleIdObjects:
|
|
4194
|
+
modifyAttribute(groupId: string, moduleIdObjects: ExternalModuleInformation_3[], attributeName: string, value: string): Promise<void>;
|
|
3672
4195
|
updateAttribute(rootModuleId: string, moduleId: string | null, attributeId: string, attributeValue: string | boolean): Promise<void>;
|
|
3673
4196
|
getVerifiedAttributeOptions(moduleId: string, attributeIds?: string | string[]): Promise<Record<string, CheckDropDownResult> | undefined>;
|
|
3674
4197
|
getVerifiedGroupAttributeOptions(groupId: string, attributeIds?: string | string[]): Promise<Record<string, CheckDropDownResult> | undefined>;
|
|
@@ -3704,22 +4227,22 @@ export declare interface HandWrittenPlanInteractionHandler {
|
|
|
3704
4227
|
delete(): void;
|
|
3705
4228
|
init(reference: HandWrittenPlanInteractionHandler, zoomFactor: number, viewSnapDist: number, wallSnapMode: any, objectSnapMode: any, shouldSnap: boolean, drawingType: any): void;
|
|
3706
4229
|
getConfiguratorKernel(): ConfiguratorKernelClass;
|
|
3707
|
-
loadPlanXML(xml: string):
|
|
3708
|
-
createPlanWithObjectFromItem(object: KernelObject, position: KernelVector3, rotationInRad: number):
|
|
3709
|
-
getPlan():
|
|
4230
|
+
loadPlanXML(xml: string): Plan_3;
|
|
4231
|
+
createPlanWithObjectFromItem(object: KernelObject, position: KernelVector3, rotationInRad: number): Plan_3;
|
|
4232
|
+
getPlan(): Plan_3;
|
|
3710
4233
|
moveElementTo(planObject: KernelObject, targetPosition: KernelVector3, dragging: boolean, cameraPosition?: KernelVector3): void;
|
|
3711
4234
|
moveElementToIn2d(planObject: KernelObject, targetPosition: KernelVector3, dragging: boolean): void;
|
|
3712
4235
|
moveElementBy(planObject: KernelObject, distance: KernelVector3, dragging: boolean): void;
|
|
3713
4236
|
duplicatePlanObject(object: PlanObject, count: number, findFreeSpaceInPlan: boolean): PlanObject[];
|
|
3714
4237
|
duplicatePlanObjects(objects: PlanObjectList, count: number, findFreeSpaceInPlan: boolean): PlanObject[];
|
|
3715
|
-
setElementVisibility(element:
|
|
4238
|
+
setElementVisibility(element: PlanElement_3, isVisible: boolean): void;
|
|
3716
4239
|
moveObjectsBy(planObjects: KernelObjectPtrList, distance: KernelVector3): void;
|
|
3717
4240
|
rotateObjectTo(planObject: KernelObject, angleInRad: number): void;
|
|
3718
4241
|
setObjectRotation(planObject: KernelObject, angleInRad: number): void;
|
|
3719
4242
|
addPlanObjects(list: KernelObjectPtrList, findFreeSpaceInPlan: boolean): PlanObject[];
|
|
3720
4243
|
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:
|
|
4244
|
+
addOrUpdateExternalPlanObjects(serializedConfiguration: string | string[], position: KernelVector3, rotationInRad: number, updateConfiguration: ExternalObjectLoadConfiguration_2, mergedGroupIds: string | string[]): PlanObject[];
|
|
4245
|
+
createPreviewGeometryForAddOn(objectId: string, objectConfiguration: string, articleId: string, groupDefinitions: string, validContainerModules: ExternalValidContainerModule_2[]): void;
|
|
3723
4246
|
catalogItemLoaded(catalogItem: KernelCatalogItem): void;
|
|
3724
4247
|
removeElement(planObject: KernelObject): void;
|
|
3725
4248
|
removeObjectWithId(objectId: string): void;
|
|
@@ -3788,14 +4311,14 @@ export declare interface HandWrittenPlanInteractionHandler {
|
|
|
3788
4311
|
setDefaultInteriorWallMaterial(wallMaterial: KernelWallMaterial): void;
|
|
3789
4312
|
getDefaultFloorMaterial(): KernelFloorMaterial;
|
|
3790
4313
|
setDefaultFloorMaterial(floorMaterial: KernelFloorMaterial): void;
|
|
3791
|
-
setElementCustomDataJson(element:
|
|
4314
|
+
setElementCustomDataJson(element: PlanElement_3, customDataJson: string): void;
|
|
3792
4315
|
setWallLeftMaterial(wall: KernelWall, material: KernelWallMaterial): void;
|
|
3793
4316
|
setWallRightMaterial(wall: KernelWall, material: KernelWallMaterial): void;
|
|
3794
4317
|
setFloorMaterial(floor: KernelFloor, material: KernelFloorMaterial): void;
|
|
3795
4318
|
setFloorLabelObject(floor: KernelFloor, serializedLabelObject: string): void;
|
|
3796
|
-
setFloorType(floor: KernelFloor, floorType:
|
|
3797
|
-
setEdgeType(wall: KernelWall, edgeType:
|
|
3798
|
-
getContinuousDrawingManager():
|
|
4319
|
+
setFloorType(floor: KernelFloor, floorType: FloorType_2): void;
|
|
4320
|
+
setEdgeType(wall: KernelWall, edgeType: EdgeType_2): void;
|
|
4321
|
+
getContinuousDrawingManager(): ContinuousDrawingManager_2;
|
|
3799
4322
|
setSnapFeedbackWhileDrawing(enabled: boolean): void;
|
|
3800
4323
|
consistsOfMergedComponents(object: KernelObject): boolean;
|
|
3801
4324
|
setObjectSize(anObject: KernelObject, aNewSize: KernelVector3, anAnchor: Anchor): void;
|
|
@@ -3804,9 +4327,9 @@ export declare interface HandWrittenPlanInteractionHandler {
|
|
|
3804
4327
|
setObjectCustomColor(object: PlanObject, rgbColor: number, useCustomColor: boolean): void;
|
|
3805
4328
|
setObjectCustomLabel(object: PlanObject, label: string): void;
|
|
3806
4329
|
setObjectFixedZ(anObject: KernelObject, shouldFlipZ: boolean): void;
|
|
3807
|
-
setMeasurePoint1(measure:
|
|
3808
|
-
setMeasurePoint2(measure:
|
|
3809
|
-
addMeasure(startPosition: KernelVector3f, endPosition: KernelVector3f):
|
|
4330
|
+
setMeasurePoint1(measure: PlanMeasure_3, point: KernelVector3f, snapToWalls: boolean, snapToObjects: boolean): void;
|
|
4331
|
+
setMeasurePoint2(measure: PlanMeasure_3, point: KernelVector3f, snapToWalls: boolean, snapToObjects: boolean): void;
|
|
4332
|
+
addMeasure(startPosition: KernelVector3f, endPosition: KernelVector3f): PlanMeasure_3;
|
|
3810
4333
|
setDiscardExternalObjectsOnLoad(discard: boolean): void;
|
|
3811
4334
|
isChildObjectModePossible(object: KernelObject): boolean;
|
|
3812
4335
|
isEnabledChildObjectMode(object: KernelObject): boolean;
|
|
@@ -3821,8 +4344,8 @@ export declare interface HandWrittenPlanInteractionHandler {
|
|
|
3821
4344
|
customRaster: number;
|
|
3822
4345
|
enableSnap: boolean;
|
|
3823
4346
|
enableDrawingSnap: boolean;
|
|
3824
|
-
objectToWallSnapMode:
|
|
3825
|
-
objectToObjectSnapMode:
|
|
4347
|
+
objectToWallSnapMode: SnapMode_2;
|
|
4348
|
+
objectToObjectSnapMode: SnapMode_2;
|
|
3826
4349
|
dockWhenSnap: boolean;
|
|
3827
4350
|
unDockOnMove: boolean;
|
|
3828
4351
|
enableTerrain: boolean;
|
|
@@ -3994,7 +4517,7 @@ export declare class HeadlessRoomleSdk {
|
|
|
3994
4517
|
}
|
|
3995
4518
|
|
|
3996
4519
|
export declare interface HelpLineType {
|
|
3997
|
-
value:
|
|
4520
|
+
value: Enumify<typeof CORE_HELP_LINE_TYPE>;
|
|
3998
4521
|
}
|
|
3999
4522
|
|
|
4000
4523
|
export declare type HexColorNumber = number;
|
|
@@ -4029,6 +4552,12 @@ export declare const HI_LOAD_OBJECT_REASON: {
|
|
|
4029
4552
|
readonly UNDO_REDO: "undo_redo";
|
|
4030
4553
|
};
|
|
4031
4554
|
|
|
4555
|
+
export declare const HI_PANEL_ACTION: {
|
|
4556
|
+
readonly HIDE: "hide";
|
|
4557
|
+
readonly SHOW_ATTRIBUTES: "attributes";
|
|
4558
|
+
readonly SHOW_ARTICLES: "articles";
|
|
4559
|
+
};
|
|
4560
|
+
|
|
4032
4561
|
export declare interface HiApiOptions extends HomagIntelligenceSubscription {
|
|
4033
4562
|
om?: HomagIntelligenceSubscription;
|
|
4034
4563
|
baseUrl?: string;
|
|
@@ -4039,6 +4568,91 @@ export declare interface HiApiOptions extends HomagIntelligenceSubscription {
|
|
|
4039
4568
|
|
|
4040
4569
|
export declare type HiAttributeOptionsResult = CheckDropDownResult | CheckDropDownEntry[] | undefined;
|
|
4041
4570
|
|
|
4571
|
+
export declare interface HiCallbacks {
|
|
4572
|
+
/**
|
|
4573
|
+
* Requests the calculation script for the given library ID.
|
|
4574
|
+
* @param libraryId the ID of the library for which the calculation script is requested
|
|
4575
|
+
* @returns the calculation script as a string
|
|
4576
|
+
*/
|
|
4577
|
+
onLoadJavascript: (libraryId: string) => Promise<string>;
|
|
4578
|
+
/**
|
|
4579
|
+
* Requests the master data for the given library ID.
|
|
4580
|
+
* @param libraryId the ID of the library for which the master data is requested
|
|
4581
|
+
* @returns the master data as a Promise
|
|
4582
|
+
*/
|
|
4583
|
+
onLoadMasterData: (libraryId: string) => Promise<MasterData>;
|
|
4584
|
+
/**
|
|
4585
|
+
* Requests the article catalog for the given library ID.
|
|
4586
|
+
* @param libraryId the ID of the library for which the article catalog is requested
|
|
4587
|
+
* @returns the article catalog as a Promise
|
|
4588
|
+
*/
|
|
4589
|
+
onLoadArticleCatalog: (libraryId: string) => Promise<any>;
|
|
4590
|
+
/**
|
|
4591
|
+
* Notifies the host application that a price calculation should be performed.
|
|
4592
|
+
* @param posGroups all groups in the plan
|
|
4593
|
+
*/
|
|
4594
|
+
onPriceCalc?: (posGroups: PosGroup[]) => Promise<void>;
|
|
4595
|
+
/**
|
|
4596
|
+
* Retrieves the current external load data which has to be used to replace the existing groups in the plan.
|
|
4597
|
+
* @returns load data or null if no replacement is needed
|
|
4598
|
+
*/
|
|
4599
|
+
onGetSavedPosGroupData?: () => Promise<PosSaveData | null>;
|
|
4600
|
+
/**
|
|
4601
|
+
* "onCompletelyLoaded" is invoked when the groups in the plan are completely loaded.
|
|
4602
|
+
*/
|
|
4603
|
+
onPosGroupsCompletelyLoaded?: () => void;
|
|
4604
|
+
/**
|
|
4605
|
+
* "onPosGroupAdded" is invoked when a new group was created. (e.g. duplicate object)
|
|
4606
|
+
* @param groupData The new group data JSON.
|
|
4607
|
+
*/
|
|
4608
|
+
onPosGroupAdded?: (posGroups: PosGroup[]) => Promise<void>;
|
|
4609
|
+
/**
|
|
4610
|
+
* "onPosGroupChanged" is invoked when a new group was modified and recalculated. (e.g. split, merge, change, attribute)
|
|
4611
|
+
*
|
|
4612
|
+
* @param groupData The new group data JSON.
|
|
4613
|
+
*/
|
|
4614
|
+
onPosGroupChanged?: (posGroups: PosGroup[]) => Promise<void>;
|
|
4615
|
+
/**
|
|
4616
|
+
* "onPosGroupDeleted" is invoked when a group was delete. (e.g. delete button in scene)
|
|
4617
|
+
* @param groupData The ID of the group which was deleted.
|
|
4618
|
+
*/
|
|
4619
|
+
onPosGroupDeleted?: (posGroupIds: string[]) => Promise<void>;
|
|
4620
|
+
/**
|
|
4621
|
+
* "onShowHidePanel" is invoked when a the content of the side panel should be changed or hidden.
|
|
4622
|
+
* @param panel The panel to show or hide.
|
|
4623
|
+
* @param posGroupId Optional ID of the selected group in case of SHOW_ATTRIBUTES.
|
|
4624
|
+
* @param rootModuleId Optional ID of the selected root module in case of SHOW_ATTRIBUTES.
|
|
4625
|
+
* @param subModuleId Optional ID of the selected sub module in case of SHOW_ATTRIBUTES.
|
|
4626
|
+
*/
|
|
4627
|
+
onShowHidePanel?: (panel: HiPanelActionType, posGroupId?: string | null, rootModuleId?: string | null, subModuleId?: string | null) => void;
|
|
4628
|
+
/**
|
|
4629
|
+
* "onSelectModule" is invoked when a the selected object in the scene was changed.
|
|
4630
|
+
* @param posGroupId ID of the selected group
|
|
4631
|
+
* @param rootModuleId ID of the selected root module
|
|
4632
|
+
* @param subModuleId Optional id of the selected sub module
|
|
4633
|
+
*/
|
|
4634
|
+
onSelectModule?: (posGroupId: string | null, rootModuleId: string | null, subModuleId?: string | null) => void;
|
|
4635
|
+
/**
|
|
4636
|
+
* Request the price for the given order data.
|
|
4637
|
+
* @param orderData order data
|
|
4638
|
+
* @returns price data
|
|
4639
|
+
*/
|
|
4640
|
+
onFetchPrice?: (orderData: HiOrder) => Promise<HiPriceData | null>;
|
|
4641
|
+
/**
|
|
4642
|
+
* "onPlaceOrder" is invoked when the user wants to place an order.
|
|
4643
|
+
* You can use this to send the order data to Order Manager or to a 3rd party service.
|
|
4644
|
+
* @param orderData
|
|
4645
|
+
*/
|
|
4646
|
+
onPlaceOrder?: (orderData: any) => Promise<void>;
|
|
4647
|
+
/**
|
|
4648
|
+
* "onLogMessage" is invoked when the Homag Intelligence library wants to log a message.
|
|
4649
|
+
* You can use this to log messages in your own UI.
|
|
4650
|
+
* @param area
|
|
4651
|
+
* @param message
|
|
4652
|
+
*/
|
|
4653
|
+
onLogMessage?: (area: string, message: string) => void;
|
|
4654
|
+
}
|
|
4655
|
+
|
|
4042
4656
|
export declare type HiContextAction = (typeof HI_CONTEXT_ACTION)[keyof typeof HI_CONTEXT_ACTION];
|
|
4043
4657
|
|
|
4044
4658
|
/**
|
|
@@ -4073,6 +4687,42 @@ export declare interface HiObjectSelectionApi {
|
|
|
4073
4687
|
selectionChanged(selectionMode: SELECTION_MODE, objectType: CallbackObjectType, payload: SelectionPayload, _payloadPromise: Promise<SelectionPayload>, _planElementViewModel: PlanElementViewModel): void;
|
|
4074
4688
|
}
|
|
4075
4689
|
|
|
4690
|
+
export declare interface HiOrder extends HiOrderHeader {
|
|
4691
|
+
items: HiOrderData[];
|
|
4692
|
+
}
|
|
4693
|
+
|
|
4694
|
+
export declare interface HiOrderData {
|
|
4695
|
+
[key: string]: any;
|
|
4696
|
+
additionalData: Array<Record<string, any>>;
|
|
4697
|
+
}
|
|
4698
|
+
|
|
4699
|
+
export declare interface HiOrderHeader {
|
|
4700
|
+
id: string;
|
|
4701
|
+
state: string;
|
|
4702
|
+
orderNumber: string;
|
|
4703
|
+
orderName: string;
|
|
4704
|
+
orderDescription: string;
|
|
4705
|
+
project: string;
|
|
4706
|
+
personInCharge: string;
|
|
4707
|
+
orderDate: string;
|
|
4708
|
+
deliveryDatePlanned: string;
|
|
4709
|
+
addresses: Array<{
|
|
4710
|
+
type: string;
|
|
4711
|
+
street: string;
|
|
4712
|
+
houseNumber: string;
|
|
4713
|
+
postalCode: string;
|
|
4714
|
+
city: string;
|
|
4715
|
+
country: string;
|
|
4716
|
+
}>;
|
|
4717
|
+
customerName: string;
|
|
4718
|
+
customerNumber: string;
|
|
4719
|
+
createdAt: string;
|
|
4720
|
+
changedAt: string;
|
|
4721
|
+
changedBy: string;
|
|
4722
|
+
}
|
|
4723
|
+
|
|
4724
|
+
export declare type HiPanelActionType = (typeof HI_PANEL_ACTION)[keyof typeof HI_PANEL_ACTION];
|
|
4725
|
+
|
|
4076
4726
|
export declare interface HiPlanContext {
|
|
4077
4727
|
masterData?: Record<string, MasterData>;
|
|
4078
4728
|
rooms?: ExternalRoomInformation;
|
|
@@ -4082,6 +4732,11 @@ export declare interface HiPlanContext {
|
|
|
4082
4732
|
|
|
4083
4733
|
export declare type HiPlanContextSection = 'masterData' | 'rooms' | 'articles' | 'groups';
|
|
4084
4734
|
|
|
4735
|
+
export declare interface HiPriceData {
|
|
4736
|
+
[key: string]: any;
|
|
4737
|
+
orderData: HiOrder;
|
|
4738
|
+
}
|
|
4739
|
+
|
|
4085
4740
|
export declare class HiTagCatalogCallbacks implements Context {
|
|
4086
4741
|
_creator_: string;
|
|
4087
4742
|
private _glueLogic;
|
|
@@ -4264,7 +4919,7 @@ export declare class InitData implements Context, Omit<InitDataDefinition, 'colo
|
|
|
4264
4919
|
precisionCm?: number;
|
|
4265
4920
|
unit?: string;
|
|
4266
4921
|
unitStringType?: string;
|
|
4267
|
-
measurementSystem?:
|
|
4922
|
+
measurementSystem?: Enumify<typeof MEASUREMENT_SYSTEM_STRING>;
|
|
4268
4923
|
meshSelection: boolean;
|
|
4269
4924
|
stats: boolean;
|
|
4270
4925
|
debug: boolean;
|
|
@@ -4286,7 +4941,7 @@ export declare class InitData implements Context, Omit<InitDataDefinition, 'colo
|
|
|
4286
4941
|
restrictionLevel: number;
|
|
4287
4942
|
hi?: HomagIntelligenceInitData;
|
|
4288
4943
|
disableDefaultLabelStyles: boolean;
|
|
4289
|
-
highlighting:
|
|
4944
|
+
highlighting: Enumify<typeof ROOMLE_HIGHLIGHTNG>;
|
|
4290
4945
|
initialFloorMaterial?: string;
|
|
4291
4946
|
dls?: string;
|
|
4292
4947
|
ls?: string;
|
|
@@ -4314,7 +4969,7 @@ export declare class InitData implements Context, Omit<InitDataDefinition, 'colo
|
|
|
4314
4969
|
webGpuConfig: WebGpuConfig;
|
|
4315
4970
|
meshRaycasting: boolean;
|
|
4316
4971
|
defaultFloorMaterial?: number | string;
|
|
4317
|
-
mode:
|
|
4972
|
+
mode: Enumify<typeof CAMERA_TYPE>;
|
|
4318
4973
|
edit: boolean;
|
|
4319
4974
|
moc: boolean;
|
|
4320
4975
|
lockPlan: boolean;
|
|
@@ -4478,7 +5133,9 @@ export declare interface InsertItemResult {
|
|
|
4478
5133
|
export declare class IntArray extends EmsArray<number> {
|
|
4479
5134
|
}
|
|
4480
5135
|
|
|
4481
|
-
export declare
|
|
5136
|
+
export declare type IntArray_2 = EmscriptenArray<number>;
|
|
5137
|
+
|
|
5138
|
+
export declare class IntArray_3 extends EmsArray<number> {
|
|
4482
5139
|
}
|
|
4483
5140
|
|
|
4484
5141
|
export declare type InteractionMethodName = Exclude<keyof PlanInteractionManager, keyof UndoRedoHandler>;
|
|
@@ -4492,26 +5149,117 @@ export declare const enum INTERSECTION_MODE {
|
|
|
4492
5149
|
CONFIGURATOR = 1
|
|
4493
5150
|
}
|
|
4494
5151
|
|
|
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
|
-
|
|
5152
|
+
export declare const isExternalObject: (someThing: unknown) => someThing is ExternalObject;
|
|
5153
|
+
|
|
5154
|
+
export declare const isExtObjId: (id: unknown) => id is ExtObjId;
|
|
5155
|
+
|
|
5156
|
+
export declare const isFirefox: () => boolean;
|
|
5157
|
+
|
|
5158
|
+
export declare const isIdAComponent: (id: string) => boolean;
|
|
5159
|
+
|
|
5160
|
+
export declare const isIdAConfigurationString: (id: string) => boolean;
|
|
5161
|
+
|
|
5162
|
+
export declare const isIdAnItem: (id: string) => boolean;
|
|
5163
|
+
|
|
5164
|
+
export declare const isIdAPlan: (id: string) => boolean;
|
|
5165
|
+
|
|
5166
|
+
export declare const isModelExportOngoing: () => boolean;
|
|
5167
|
+
|
|
5168
|
+
export declare const isPlanSnapshotId: (id: string | RapiId) => id is RapiPlanSnapshotId;
|
|
5169
|
+
|
|
5170
|
+
export declare const isSafari: () => boolean;
|
|
5171
|
+
|
|
5172
|
+
export declare interface Kernel {
|
|
5173
|
+
new (): Kernel;
|
|
5174
|
+
setUpdateCallbacksOnlyIfGeometryIsReady(onlyUpdateIfReady: boolean): void;
|
|
5175
|
+
setLevel(level: number): void;
|
|
5176
|
+
useHDGeometry(shouldUse: boolean): void;
|
|
5177
|
+
useEnvironmentGeometry(shouldUse: boolean): void;
|
|
5178
|
+
setDockInsertPreviewBoxParameters(thickness: number, protruding: number, intruding: number, bevelSize: number): void;
|
|
5179
|
+
setLogLevel(level: number): void;
|
|
5180
|
+
loadConfiguration(conversationId: number, serializedConfiguration: string, bounding: Vector3): void;
|
|
5181
|
+
updateConfiguration(conversationId: number, objectOrComponentId: number, serializedConfiguration: string): void;
|
|
5182
|
+
loadFreeFlyingConfiguration(conversationId: number, serializedConfiguration: string): void;
|
|
5183
|
+
loadComponentDefinition(serializedComponent: string): void;
|
|
5184
|
+
requestComponentDockPreview(targetObjectId: number, componentId: string, serializedComponent: string, dragIn: boolean, allowInsertInBetween: boolean): void;
|
|
5185
|
+
requestItemDockPreview(targetObjectId: number, serializedConfiguration: string, dragIn: boolean, allowInsertInBetween: boolean): void;
|
|
5186
|
+
requestExternalObjectDockPreview(targetObjectId: number, articleId: string, dragIn: boolean, allowInsertInBetween: boolean): void;
|
|
5187
|
+
assetsLoaded(assets: AssetResponse_2 | AssetResponse_2[]): void;
|
|
5188
|
+
loadPlainComponent(conversationId: number, componentId: string, serializedComponent: string): void;
|
|
5189
|
+
saveConfiguration(planObjectId: number): void;
|
|
5190
|
+
getComponent(planComponentId: number): Component;
|
|
5191
|
+
getComponentBounds(componentId: number, animationValues: string[]): ComponentBounds;
|
|
5192
|
+
getComponentParameters(planComponentId: number): ParameterArray_2;
|
|
5193
|
+
getPlanComponentAnimations(planComponentId: number): AnimationArray;
|
|
5194
|
+
setComponentParameter(planComponentId: number, key: string, value: string): void;
|
|
5195
|
+
getCommonPlanComponentParameters(somePlanComponentIds: LongArray): ParametersAndParameterGroups;
|
|
5196
|
+
setPlanComponentsParameter(somePlanComponentIds: LongArray, key: string, value: string): void;
|
|
5197
|
+
dockComponent(id: number, dockId: number, parentId: number, parentDockId: number, position?: Vector3): void;
|
|
5198
|
+
dockComponentWithPosition(id: number, dockId: number, parentId: number, parentDockId: number, position: Vector3): void;
|
|
5199
|
+
determinePlanComponentsThatWillBeDeleted(planComponentId: number, tryDockChildrenToParent: boolean): LongArray;
|
|
5200
|
+
deleteComponent(planComponentId: number, redockChildrenToParent: boolean): void;
|
|
5201
|
+
deleteMultipleComponents(somePlanComponentIds: LongArray): void;
|
|
5202
|
+
prepareForIncrementalUpdate(): void;
|
|
5203
|
+
doNextIncrementalUpdate(): void;
|
|
5204
|
+
getPartList(planComponentId: number): PartList;
|
|
5205
|
+
getPlanObjectPartList(planObjectId: number): PartList;
|
|
5206
|
+
getFullPartList(): PartList;
|
|
5207
|
+
isConfigurationValid(planObjectOrComponentId: number): boolean;
|
|
5208
|
+
retrieveConfigurationId(planObjectOrComponentId: number): UniqueIdAndHash;
|
|
5209
|
+
getHashOfSerializedConfiguration(serializedConfiguration: string): string;
|
|
5210
|
+
getSerializedConfiguration(planObjectOrComponentId: number): string;
|
|
5211
|
+
createNewSerializedConfiguration(planObjectOrComponentId: number): string;
|
|
5212
|
+
clearScene(): void;
|
|
5213
|
+
clearAll(): void;
|
|
5214
|
+
reset(): void;
|
|
5215
|
+
getEnvironmentVariables(): void;
|
|
5216
|
+
getEnvironmentVariable(key: string): void;
|
|
5217
|
+
setEnvironmentVariable(key: string, value: string): void;
|
|
5218
|
+
getPlannedObjects(): void;
|
|
5219
|
+
getPlanObjectParameters(planObjectId: number): ParameterArray_2;
|
|
5220
|
+
getCommonPlanObjectParameters(planObjectIds: LongArray): ParameterArray_2;
|
|
5221
|
+
getPlanObjectAnimations(planObjectId: number): AnimationArray;
|
|
5222
|
+
getPlanViews(planObjectId: number): ConfigurationPlanViewArray;
|
|
5223
|
+
setPlanObjectParameter(planObjectId: number, key: string, value: string): void;
|
|
5224
|
+
setPlanObjectsParameter(somePlanObjectIds: LongArray, key: string, value: string): void;
|
|
5225
|
+
deletePlanObject(planObjectId: number): void;
|
|
5226
|
+
isExternalPlanObject(objectOrPlanComponentId: number): boolean;
|
|
5227
|
+
getComponentOrModuleInformation(objectOrPlanComponentId: number): ObjectInformation;
|
|
5228
|
+
getExternalObjectAttribute(objectOrPlanComponentId: number, attributeId: string, value: string): ExternalAttributeInformation_2;
|
|
5229
|
+
getPlanObject(planObjectId: number): PlanObject_3;
|
|
5230
|
+
getPlanObjectFromPlanComponent(planComponentId: number): PlanObject_3;
|
|
5231
|
+
getRootPlanComponentIdFromObjectId(planObjectId: number): number;
|
|
5232
|
+
getGlobalParameterValue(objectOrComponentId: number, name: string): string;
|
|
5233
|
+
getRuntimeIdOfRootComponent(objectOrComponentId: number): number;
|
|
5234
|
+
getRuntimeIdsOfChildComponents(objectOrComponentId: number): LongArray;
|
|
5235
|
+
getComponentParameterValue(objectOrComponentId: number, name: string): string;
|
|
5236
|
+
getComponentId(objectOrPlanComponentId: number): string;
|
|
5237
|
+
getCurrencySymbol(planComponentId: number): string;
|
|
5238
|
+
getPrice(planComponentId: number): number;
|
|
5239
|
+
addPriceList(priceListId: string): void;
|
|
5240
|
+
resetPriceListIds(): void;
|
|
5241
|
+
requestPlanObjectConstruction(planComponentId: number): void;
|
|
5242
|
+
requestMergedPlanObjectConstruction(planComponentId: number): void;
|
|
5243
|
+
requestPlanComponentConstruction(planComponentId: number): boolean;
|
|
5244
|
+
requestDeltaPlanComponentConstruction(planComponentId: number): boolean;
|
|
5245
|
+
requestPlanComponentConstructionRecursive(planComponentId: number): void;
|
|
5246
|
+
requestPreviewGeometry(dockingObjectOrComponentId: number, targetObjectRuntimeId: number, allowInsertInBetween: boolean): void;
|
|
5247
|
+
cancelDocking(planComponentOrPlanObjectId: number, undoDrag: boolean): void;
|
|
5248
|
+
setActiveGroupInView(activeGroup: string): void;
|
|
5249
|
+
setActiveGroupInViewForPlanObject(activeGroup: string, planObjectOrComponentId: number): void;
|
|
5250
|
+
getPlanObjectPossibleChildren(planObjectId: number): PossibleChildArray_2;
|
|
5251
|
+
getChildrenOfPlanObject(planObjectId: number, onlyPossibleChildren: boolean, onlyVisibleChildren: boolean): PossibleChildArray_2;
|
|
5252
|
+
getPlanComponentPossibleChildren(planComponentId: number): PossibleChildArray_2;
|
|
5253
|
+
getChildrenOfPlanComponent(planComponentId: number, onlyPossibleChildren: boolean, onlyVisibleChildren: boolean): PossibleChildArray_2;
|
|
5254
|
+
syncPlanObjectToView(conversationId: number, planObjectId: number): void;
|
|
5255
|
+
getAddOnSpotsForPlanObject(planObjectId: number): AddOnSpotArray_2;
|
|
5256
|
+
setExternalMeshInvalid(assetType: AssetType_2, idOrUrl: string, quality: number): void;
|
|
5257
|
+
setAssetInvalid(assetType: AssetType_2, idOrUrl: string, quality: number): void;
|
|
5258
|
+
loadExternalAttributeDefinition(serializedDefinition: string): void;
|
|
5259
|
+
setExternalObjectConstructionProperties(serializedProperties: string): void;
|
|
5260
|
+
registerDebugClient(debugClient: DebugClient_2): void;
|
|
5261
|
+
}
|
|
5262
|
+
|
|
4515
5263
|
export declare const KERNEL_MESSAGE_TYPE: {
|
|
4516
5264
|
readonly EXCEPTION: "exception";
|
|
4517
5265
|
readonly ERROR: "error";
|
|
@@ -4562,9 +5310,9 @@ export declare interface KernelAttic extends KernelObject {
|
|
|
4562
5310
|
getFrom(): NodePlanObject;
|
|
4563
5311
|
getTo(): NodePlanObject;
|
|
4564
5312
|
getAssociatedWall(): KernelWall;
|
|
4565
|
-
get2dPolygon():
|
|
4566
|
-
getRidgePoints():
|
|
4567
|
-
getPointsWithHeight(height: number):
|
|
5313
|
+
get2dPolygon(): PointArray_3;
|
|
5314
|
+
getRidgePoints(): PointArray_3;
|
|
5315
|
+
getPointsWithHeight(height: number): PointArray_3;
|
|
4568
5316
|
readonly side: WallSide;
|
|
4569
5317
|
readonly kneeHeight: number;
|
|
4570
5318
|
readonly width: number;
|
|
@@ -4632,7 +5380,7 @@ export declare interface KernelComponentDocking {
|
|
|
4632
5380
|
}
|
|
4633
5381
|
|
|
4634
5382
|
export declare interface KernelComponentType {
|
|
4635
|
-
value:
|
|
5383
|
+
value: Enumify<typeof CORE_PLAN_COMPONENT_TYPE>;
|
|
4636
5384
|
}
|
|
4637
5385
|
|
|
4638
5386
|
export declare interface KernelConfiguration {
|
|
@@ -4697,7 +5445,7 @@ export declare interface KernelFloor extends KernelObject {
|
|
|
4697
5445
|
area: number;
|
|
4698
5446
|
material: KernelFloorMaterial;
|
|
4699
5447
|
readonly parapetHeight: number;
|
|
4700
|
-
readonly floorType:
|
|
5448
|
+
readonly floorType: FloorType_2;
|
|
4701
5449
|
getCenter: () => KernelVector3;
|
|
4702
5450
|
getRandomPointInside: () => KernelVector3;
|
|
4703
5451
|
getLabelPosition: () => KernelVector3;
|
|
@@ -4740,7 +5488,7 @@ export declare interface KernelLightSourceAttributes {
|
|
|
4740
5488
|
}
|
|
4741
5489
|
|
|
4742
5490
|
export declare interface KernelLightSourceType {
|
|
4743
|
-
value:
|
|
5491
|
+
value: Enumify<typeof LIGHT_SOURCE_TYPE>;
|
|
4744
5492
|
}
|
|
4745
5493
|
|
|
4746
5494
|
export declare interface KernelMatrix4 {
|
|
@@ -4888,7 +5636,7 @@ export declare interface KernelPartListPrice {
|
|
|
4888
5636
|
}
|
|
4889
5637
|
|
|
4890
5638
|
export declare interface KernelPermissionToDelete {
|
|
4891
|
-
value:
|
|
5639
|
+
value: Enumify<typeof CORE_PERMISSION_TO_DELETE>;
|
|
4892
5640
|
}
|
|
4893
5641
|
|
|
4894
5642
|
export declare interface KernelPlanObject extends KernelPlanObjectBase {
|
|
@@ -5011,7 +5759,7 @@ export declare class KernelViewModel {
|
|
|
5011
5759
|
}
|
|
5012
5760
|
|
|
5013
5761
|
export declare interface KernelViewType {
|
|
5014
|
-
value:
|
|
5762
|
+
value: Enumify<typeof PARAMETER_VIEW_TYPE>;
|
|
5015
5763
|
}
|
|
5016
5764
|
|
|
5017
5765
|
export declare interface KernelWall extends KernelObject {
|
|
@@ -5027,7 +5775,7 @@ export declare interface KernelWall extends KernelObject {
|
|
|
5027
5775
|
readonly wallType: KernelEnum;
|
|
5028
5776
|
readonly leftNormal: KernelVector3;
|
|
5029
5777
|
readonly rightNormal: KernelVector3;
|
|
5030
|
-
readonly edgeType:
|
|
5778
|
+
readonly edgeType: EdgeType_2;
|
|
5031
5779
|
getAngle: () => number;
|
|
5032
5780
|
}
|
|
5033
5781
|
|
|
@@ -5044,7 +5792,7 @@ export declare interface KeyboardInputEvent {
|
|
|
5044
5792
|
}
|
|
5045
5793
|
|
|
5046
5794
|
export declare interface LeftOrRightWallSide {
|
|
5047
|
-
value:
|
|
5795
|
+
value: Enumify<Pick<typeof WALL_SIDES, 'LEFT' | 'RIGHT'>>;
|
|
5048
5796
|
}
|
|
5049
5797
|
|
|
5050
5798
|
export declare interface LibraryData {
|
|
@@ -5125,6 +5873,15 @@ export declare interface LightSourceConfiguration {
|
|
|
5125
5873
|
maximumNumberOfLightSources: number;
|
|
5126
5874
|
}
|
|
5127
5875
|
|
|
5876
|
+
export declare interface Line {
|
|
5877
|
+
angle: number;
|
|
5878
|
+
endPoint: Vector3;
|
|
5879
|
+
length: number;
|
|
5880
|
+
startPoint: Vector3;
|
|
5881
|
+
}
|
|
5882
|
+
|
|
5883
|
+
export declare type LineArray = EmscriptenArray<Line>;
|
|
5884
|
+
|
|
5128
5885
|
export declare interface LinksCollection {
|
|
5129
5886
|
[key: string]: string;
|
|
5130
5887
|
}
|
|
@@ -5168,7 +5925,9 @@ export declare interface LogMessageScope {
|
|
|
5168
5925
|
attrId?: string;
|
|
5169
5926
|
}
|
|
5170
5927
|
|
|
5171
|
-
export declare
|
|
5928
|
+
export declare type LongArray = EmscriptenArray<number>;
|
|
5929
|
+
|
|
5930
|
+
export declare class LongArray_2 extends EmsArray<number> {
|
|
5172
5931
|
}
|
|
5173
5932
|
|
|
5174
5933
|
export declare const enum MAIL_TYPE {
|
|
@@ -5229,6 +5988,10 @@ export declare const enum MaterialSourceType {
|
|
|
5229
5988
|
RgbValue = 3
|
|
5230
5989
|
}
|
|
5231
5990
|
|
|
5991
|
+
export declare interface MaterialSourceType_2 {
|
|
5992
|
+
value: Enumify_2<typeof CORE_MATERIAL_SOURCE_TYPE>;
|
|
5993
|
+
}
|
|
5994
|
+
|
|
5232
5995
|
export declare class MaterialViewer extends Main {
|
|
5233
5996
|
private _viewer;
|
|
5234
5997
|
protected setupGlobals(): void;
|
|
@@ -5240,6 +6003,10 @@ export declare class MaterialViewer extends Main {
|
|
|
5240
6003
|
protected getContextName(): string;
|
|
5241
6004
|
}
|
|
5242
6005
|
|
|
6006
|
+
export declare interface Matrix4 {
|
|
6007
|
+
m: number[];
|
|
6008
|
+
}
|
|
6009
|
+
|
|
5243
6010
|
export declare type MaybePromise<T> = (() => T) | (() => Promise<T>);
|
|
5244
6011
|
|
|
5245
6012
|
export declare type MDAttributeInfo = MDBoolAttributeInfo | MDTextAttributeInfo | MDIntegerAttributeInfo | MDRealAttributeInfo | MDDimAttributeInfo;
|
|
@@ -5323,7 +6090,7 @@ export declare const MEASUREMENT_SYSTEM_STRING: {
|
|
|
5323
6090
|
METRIC: string;
|
|
5324
6091
|
};
|
|
5325
6092
|
|
|
5326
|
-
export declare interface MeasurementBase<Vector2Type =
|
|
6093
|
+
export declare interface MeasurementBase<Vector2Type = Vector3_2 | Position2, Vector3Type = Vector3_2 | Position3> {
|
|
5327
6094
|
/** start position of the dimension in 3D **/
|
|
5328
6095
|
fromPosition3d: Vector3Type;
|
|
5329
6096
|
/** end position of the dimension in 3D **/
|
|
@@ -5348,7 +6115,7 @@ export declare interface MeasurementBase<Vector2Type = Vector3 | Position2, Vect
|
|
|
5348
6115
|
dashed?: boolean;
|
|
5349
6116
|
}
|
|
5350
6117
|
|
|
5351
|
-
export declare type MeasurementLineDimension = DimensionDefinition<
|
|
6118
|
+
export declare type MeasurementLineDimension = DimensionDefinition<Vector3_2, Vector3_2>;
|
|
5352
6119
|
|
|
5353
6120
|
export declare type MeasurementLineDimensionTransferable = DimensionDefinition<Position2, Position3>;
|
|
5354
6121
|
|
|
@@ -5497,6 +6264,13 @@ export declare abstract class Node_2 extends PlanElement {
|
|
|
5497
6264
|
getMaxWallHeight(): number;
|
|
5498
6265
|
}
|
|
5499
6266
|
|
|
6267
|
+
export declare interface Node_3 extends PlanElement_2 {
|
|
6268
|
+
new (): Node_3;
|
|
6269
|
+
getNumberOfConnectedWalls(): number;
|
|
6270
|
+
getMaxWallHeight(): number;
|
|
6271
|
+
readonly nodeType: NodeType_2;
|
|
6272
|
+
}
|
|
6273
|
+
|
|
5500
6274
|
export declare interface NodeDimensionTransferable {
|
|
5501
6275
|
id: number;
|
|
5502
6276
|
position2d: Position2;
|
|
@@ -5512,7 +6286,7 @@ export declare class NodePlanElementViewModel extends PlanElementViewModel {
|
|
|
5512
6286
|
update(): void;
|
|
5513
6287
|
setFenceEnabled(enabled: boolean): void;
|
|
5514
6288
|
setTopView(enabled: boolean): void;
|
|
5515
|
-
getSize():
|
|
6289
|
+
getSize(): Vector3_2;
|
|
5516
6290
|
show(): void;
|
|
5517
6291
|
hide(): void;
|
|
5518
6292
|
protected getSelectionRingColor(): number;
|
|
@@ -5538,10 +6312,14 @@ export declare interface NodePlanObject extends PlanObject {
|
|
|
5538
6312
|
}
|
|
5539
6313
|
|
|
5540
6314
|
export declare interface NodeType {
|
|
5541
|
-
value:
|
|
6315
|
+
value: Enumify<typeof CORE_NODE_TYPE>;
|
|
6316
|
+
}
|
|
6317
|
+
|
|
6318
|
+
export declare interface NodeType_2 {
|
|
6319
|
+
value: Enumify_2<typeof CORE_NODE_TYPE_2>;
|
|
5542
6320
|
}
|
|
5543
6321
|
|
|
5544
|
-
export
|
|
6322
|
+
export declare type Nullable<T> = T | null;
|
|
5545
6323
|
|
|
5546
6324
|
export declare interface Object3DRoomleEventMap extends Object3DEventMap {
|
|
5547
6325
|
[OBJECT_EVENT.CLICK]: {
|
|
@@ -5552,7 +6330,7 @@ export declare interface Object3DRoomleEventMap extends Object3DEventMap {
|
|
|
5552
6330
|
};
|
|
5553
6331
|
[OBJECT_EVENT.DRAG]: {
|
|
5554
6332
|
attachment: {
|
|
5555
|
-
position:
|
|
6333
|
+
position: Vector3_2;
|
|
5556
6334
|
};
|
|
5557
6335
|
};
|
|
5558
6336
|
[OBJECT_EVENT.DRAG_END]: {
|
|
@@ -5591,15 +6369,28 @@ export declare const enum OBJECT_EVENT {
|
|
|
5591
6369
|
ROTATE = "rotate"
|
|
5592
6370
|
}
|
|
5593
6371
|
|
|
6372
|
+
export declare interface ObjectBounds {
|
|
6373
|
+
boundingBox: Box;
|
|
6374
|
+
rectangleBox: ExtrudedRectangle;
|
|
6375
|
+
}
|
|
6376
|
+
|
|
6377
|
+
export declare type ObjectBoundsArray = EmscriptenArray<ObjectBounds>;
|
|
6378
|
+
|
|
5594
6379
|
export declare interface ObjectCategory {
|
|
5595
|
-
value:
|
|
6380
|
+
value: Enumify<typeof CORE_OBJECT_CATEGORY>;
|
|
5596
6381
|
}
|
|
5597
6382
|
|
|
5598
6383
|
export declare interface ObjectConfigurationType {
|
|
5599
|
-
value:
|
|
6384
|
+
value: Enumify<typeof CONFIGURATION_TYPE>;
|
|
5600
6385
|
}
|
|
5601
6386
|
|
|
5602
6387
|
export declare interface ObjectFrontRotation {
|
|
6388
|
+
lookAtSide: WallSide_2;
|
|
6389
|
+
rotation: number;
|
|
6390
|
+
rotationRoundTo90deg: number;
|
|
6391
|
+
}
|
|
6392
|
+
|
|
6393
|
+
export declare interface ObjectFrontRotation_2 {
|
|
5603
6394
|
lookAtSide: WallSide;
|
|
5604
6395
|
rotation: number;
|
|
5605
6396
|
rotationRoundTo90deg: number;
|
|
@@ -5609,9 +6400,29 @@ export declare abstract class ObjectGroup extends PlanElement {
|
|
|
5609
6400
|
getObjects(): PlanObjectPtr;
|
|
5610
6401
|
}
|
|
5611
6402
|
|
|
6403
|
+
export declare interface ObjectGroup_2 extends PlanElement_2 {
|
|
6404
|
+
new (): ObjectGroup_2;
|
|
6405
|
+
getGroupId(): number;
|
|
6406
|
+
getObjects(): PlanObjectPtrList_2;
|
|
6407
|
+
}
|
|
6408
|
+
|
|
5612
6409
|
export declare interface ObjectGroupPtr {
|
|
5613
6410
|
}
|
|
5614
6411
|
|
|
6412
|
+
export declare interface ObjectInformation {
|
|
6413
|
+
componentId: string;
|
|
6414
|
+
configurationRuntimeId: number;
|
|
6415
|
+
entityRuntimeId: number;
|
|
6416
|
+
externalModule: ExternalModuleInformation_2;
|
|
6417
|
+
isAGeneratedModule: boolean;
|
|
6418
|
+
name: string;
|
|
6419
|
+
permissionToDelete: PermissionToDelete;
|
|
6420
|
+
permissionToDeleteInIsolation: PermissionToDelete;
|
|
6421
|
+
runtimeId: number;
|
|
6422
|
+
source: string;
|
|
6423
|
+
type: PlanComponentType;
|
|
6424
|
+
}
|
|
6425
|
+
|
|
5615
6426
|
export declare interface ObjectMeasurements {
|
|
5616
6427
|
rectMeasurements: ObjectWallDimension[];
|
|
5617
6428
|
objectMeasurements: ObjectWallDimension[];
|
|
@@ -5641,13 +6452,21 @@ export declare interface ObjectToWallLine {
|
|
|
5641
6452
|
export declare class ObjectToWallLineArray extends EmsArray<ObjectToWallLine> {
|
|
5642
6453
|
}
|
|
5643
6454
|
|
|
5644
|
-
export declare
|
|
6455
|
+
export declare interface ObjectTypeCategory {
|
|
6456
|
+
value: Enumify_2<typeof CORE_OBJECT_TYPE_CATEGORY>;
|
|
6457
|
+
}
|
|
6458
|
+
|
|
6459
|
+
export declare type ObjectWallDimension = DimensionDefinition<Vector3_2, Vector3_2>;
|
|
5645
6460
|
|
|
5646
6461
|
export declare interface OffsetCamera {
|
|
5647
6462
|
offset: CanvasOffset;
|
|
5648
6463
|
resetOffset(): void;
|
|
5649
6464
|
}
|
|
5650
6465
|
|
|
6466
|
+
export declare interface OpeningDirection {
|
|
6467
|
+
value: Enumify_2<typeof CORE_OPENING_DIRECTION>;
|
|
6468
|
+
}
|
|
6469
|
+
|
|
5651
6470
|
export declare interface OrthographicOffsetCamera extends OrthographicCamera, OffsetCamera {
|
|
5652
6471
|
}
|
|
5653
6472
|
|
|
@@ -5661,6 +6480,26 @@ export declare interface OutlineCustomParameters {
|
|
|
5661
6480
|
outlineHiddenEdgeColor: ColorRepresentation;
|
|
5662
6481
|
}
|
|
5663
6482
|
|
|
6483
|
+
export declare interface Parameter {
|
|
6484
|
+
enabled: boolean;
|
|
6485
|
+
group: string;
|
|
6486
|
+
highlighted: boolean;
|
|
6487
|
+
key: string;
|
|
6488
|
+
label: string;
|
|
6489
|
+
objectIds: IntArray_2;
|
|
6490
|
+
sort: number;
|
|
6491
|
+
source: string;
|
|
6492
|
+
type: ParameterTypeString;
|
|
6493
|
+
unitType: UnitTypeString;
|
|
6494
|
+
validGroups: string[];
|
|
6495
|
+
validRange: Range_2;
|
|
6496
|
+
validValues: ParameterValue[];
|
|
6497
|
+
value: string;
|
|
6498
|
+
valuesAreEqual: boolean;
|
|
6499
|
+
viewType: ViewType;
|
|
6500
|
+
visibleInPlanner: boolean;
|
|
6501
|
+
}
|
|
6502
|
+
|
|
5664
6503
|
export declare const enum PARAMETER_KERNEL_TYPE {
|
|
5665
6504
|
UNKNOWN = "",
|
|
5666
6505
|
INTEGER = "Integer",
|
|
@@ -5700,7 +6539,16 @@ export declare const PARAMETER_VIEW_TYPE: {
|
|
|
5700
6539
|
export declare class ParameterArray extends EmsArray<KernelParameter> {
|
|
5701
6540
|
}
|
|
5702
6541
|
|
|
5703
|
-
export declare
|
|
6542
|
+
export declare type ParameterArray_2 = EmscriptenArray<Parameter>;
|
|
6543
|
+
|
|
6544
|
+
export declare class ParameterArray_3 extends EmsArray<KernelParameter> {
|
|
6545
|
+
}
|
|
6546
|
+
|
|
6547
|
+
export declare interface ParameterGroup {
|
|
6548
|
+
collapsed: boolean;
|
|
6549
|
+
key: string;
|
|
6550
|
+
label: string;
|
|
6551
|
+
sort: number;
|
|
5704
6552
|
}
|
|
5705
6553
|
|
|
5706
6554
|
export declare class ParameterGroupArray extends EmsArray<KernelParameterGroup> {
|
|
@@ -5709,6 +6557,20 @@ export declare class ParameterGroupArray extends EmsArray<KernelParameterGroup>
|
|
|
5709
6557
|
export declare class ParameterGroupArray_2 extends EmsArray<KernelParameterGroup> {
|
|
5710
6558
|
}
|
|
5711
6559
|
|
|
6560
|
+
export declare interface ParametersAndParameterGroups {
|
|
6561
|
+
animations: Animation_2[];
|
|
6562
|
+
parameterGroups: ParameterGroup[];
|
|
6563
|
+
parameters: Parameter[];
|
|
6564
|
+
}
|
|
6565
|
+
|
|
6566
|
+
export declare type ParameterTypeString = Enumify_3<typeof CORE_PARAMETER_TYPE_STRING>;
|
|
6567
|
+
|
|
6568
|
+
export declare interface ParameterValue {
|
|
6569
|
+
label: string;
|
|
6570
|
+
thumbnail: string;
|
|
6571
|
+
value: string;
|
|
6572
|
+
}
|
|
6573
|
+
|
|
5712
6574
|
export declare class ParameterValueArray extends EmsArray<KernelParameterValue> {
|
|
5713
6575
|
}
|
|
5714
6576
|
|
|
@@ -5726,12 +6588,49 @@ export declare interface ParamterKeyValue {
|
|
|
5726
6588
|
parameterValue: string;
|
|
5727
6589
|
}
|
|
5728
6590
|
|
|
6591
|
+
export declare interface Part {
|
|
6592
|
+
articleNr: string;
|
|
6593
|
+
componentId: string;
|
|
6594
|
+
componentRuntimeIds: number[];
|
|
6595
|
+
count: number;
|
|
6596
|
+
currencySymbol: string;
|
|
6597
|
+
hasGeometry: boolean;
|
|
6598
|
+
isModule: boolean;
|
|
6599
|
+
label: string;
|
|
6600
|
+
labelIsCalculated: boolean;
|
|
6601
|
+
packageSize: number;
|
|
6602
|
+
parameters: PartListParameter[];
|
|
6603
|
+
permissionToDelete: PermissionToDelete;
|
|
6604
|
+
permissionToDeleteInIsolation: PermissionToDelete;
|
|
6605
|
+
price: number;
|
|
6606
|
+
retailerPrice: number;
|
|
6607
|
+
subpartId: number;
|
|
6608
|
+
valid: boolean;
|
|
6609
|
+
}
|
|
6610
|
+
|
|
5729
6611
|
export declare class PartArray extends EmsArray<KernelPart> {
|
|
5730
6612
|
}
|
|
5731
6613
|
|
|
5732
6614
|
export declare class PartArray_2 extends EmsArray<KernelPart> {
|
|
5733
6615
|
}
|
|
5734
6616
|
|
|
6617
|
+
export declare interface PartList {
|
|
6618
|
+
fullList: Part[];
|
|
6619
|
+
originPart: Part;
|
|
6620
|
+
perMainComponent: PartList[];
|
|
6621
|
+
}
|
|
6622
|
+
|
|
6623
|
+
export declare interface PartListParameter {
|
|
6624
|
+
key: string;
|
|
6625
|
+
label: string;
|
|
6626
|
+
sort: number;
|
|
6627
|
+
type: string;
|
|
6628
|
+
unitType: string;
|
|
6629
|
+
value: string;
|
|
6630
|
+
valueLabel: string;
|
|
6631
|
+
valueThumbnail: string;
|
|
6632
|
+
}
|
|
6633
|
+
|
|
5735
6634
|
export declare class PartListParameterArray extends EmsArray<KernelPartListParameter> {
|
|
5736
6635
|
}
|
|
5737
6636
|
|
|
@@ -5763,6 +6662,10 @@ export declare interface PathTracerSettings {
|
|
|
5763
6662
|
denoise?: boolean;
|
|
5764
6663
|
}
|
|
5765
6664
|
|
|
6665
|
+
export declare interface PermissionToDelete {
|
|
6666
|
+
value: Enumify_3<typeof CORE_PERMISSION_TO_DELETE_2>;
|
|
6667
|
+
}
|
|
6668
|
+
|
|
5766
6669
|
export declare interface PerspectiveImageExportOptions extends ImageExportOptions, RotatableImageExportOptions {
|
|
5767
6670
|
showDimensions?: boolean;
|
|
5768
6671
|
}
|
|
@@ -5790,7 +6693,32 @@ export declare abstract class Plan extends AbstractModelWrapper {
|
|
|
5790
6693
|
syncToView(): void;
|
|
5791
6694
|
}
|
|
5792
6695
|
|
|
5793
|
-
export declare interface Plan_2 extends
|
|
6696
|
+
export declare interface Plan_2 extends AbstractModel_2 {
|
|
6697
|
+
new (): Plan_2;
|
|
6698
|
+
increaseLockLevels(): void;
|
|
6699
|
+
getPlanXML(includeRuntimeId: boolean, version: number): string;
|
|
6700
|
+
getPlanXMLWithNormalizedLockLevels(includeRuntimeId: boolean, version: number): string;
|
|
6701
|
+
createPlanXmlWithSingleObject(object: PlanObject_2, includeRuntimeId: boolean, version: number): string;
|
|
6702
|
+
createPlanXmlWithObjects(objectIds: string | string[], includeRuntimeId: boolean, version: number): string;
|
|
6703
|
+
getRotationForFrontView(objectIds: number | number[]): number;
|
|
6704
|
+
getBounds(): Box;
|
|
6705
|
+
getPlanObjects(): PlanObject_2[];
|
|
6706
|
+
getWalls(): Wall_2[];
|
|
6707
|
+
getWallCount(): number;
|
|
6708
|
+
getAttics(): Attic[];
|
|
6709
|
+
getFloors(): Floor_2[];
|
|
6710
|
+
getImageCount(): number;
|
|
6711
|
+
isEmpty(): boolean;
|
|
6712
|
+
getTotalFloorArea(): number;
|
|
6713
|
+
syncPlanToView(): void;
|
|
6714
|
+
defaultParapetHeight: number;
|
|
6715
|
+
defaultWallColor: number;
|
|
6716
|
+
defaultWallHeight: number;
|
|
6717
|
+
defaultWallThickness: number;
|
|
6718
|
+
vectorWallThickness: number;
|
|
6719
|
+
}
|
|
6720
|
+
|
|
6721
|
+
export declare interface Plan_3 extends KernelObject {
|
|
5794
6722
|
defaultParapetHeight: number;
|
|
5795
6723
|
defaultWallHeight: number;
|
|
5796
6724
|
defaultWallThickness: number;
|
|
@@ -5819,6 +6747,10 @@ export declare const PLAN_ROOM_GEOMETRY_MODE: {
|
|
|
5819
6747
|
readonly PLAN: "plan";
|
|
5820
6748
|
};
|
|
5821
6749
|
|
|
6750
|
+
export declare interface PlanComponentType {
|
|
6751
|
+
value: Enumify_3<typeof CORE_PLAN_COMPONENT_TYPE_2>;
|
|
6752
|
+
}
|
|
6753
|
+
|
|
5822
6754
|
export declare abstract class PlanElement extends AbstractModelWrapper {
|
|
5823
6755
|
isLocked: boolean;
|
|
5824
6756
|
isValid: boolean;
|
|
@@ -5826,7 +6758,22 @@ export declare abstract class PlanElement extends AbstractModelWrapper {
|
|
|
5826
6758
|
getCenter(): KernelVector3f;
|
|
5827
6759
|
}
|
|
5828
6760
|
|
|
5829
|
-
export declare interface PlanElement_2 extends
|
|
6761
|
+
export declare interface PlanElement_2 extends AbstractModel_2 {
|
|
6762
|
+
new (): PlanElement_2;
|
|
6763
|
+
getType(): PlanElementType_2;
|
|
6764
|
+
getCenter(): Vector3;
|
|
6765
|
+
getRootComponentCenter(): Vector3;
|
|
6766
|
+
getMeshCenter(): Vector3;
|
|
6767
|
+
getMeshOffsetRelativeToObject(): Vector3;
|
|
6768
|
+
getCustomDataJson(): string;
|
|
6769
|
+
isDuplicable(): boolean;
|
|
6770
|
+
isDeletableInIsolation(): boolean;
|
|
6771
|
+
isLocked(): boolean;
|
|
6772
|
+
isValid(): boolean;
|
|
6773
|
+
readonly hidden: boolean;
|
|
6774
|
+
}
|
|
6775
|
+
|
|
6776
|
+
export declare interface PlanElement_3 extends KernelObject {
|
|
5830
6777
|
getType(): any;
|
|
5831
6778
|
getCenter(): KernelVector3;
|
|
5832
6779
|
getMeshCenter(): KernelVector3;
|
|
@@ -5849,6 +6796,10 @@ export declare const enum PlanElementType {
|
|
|
5849
6796
|
CEILING = 7
|
|
5850
6797
|
}
|
|
5851
6798
|
|
|
6799
|
+
export declare interface PlanElementType_2 {
|
|
6800
|
+
value: Enumify_2<typeof CORE_PLAN_ELEMENT_TYPE>;
|
|
6801
|
+
}
|
|
6802
|
+
|
|
5852
6803
|
export declare class PlanElementViewModel extends KernelViewModel {
|
|
5853
6804
|
protected _container: Object3D;
|
|
5854
6805
|
protected _boundingBox: RoomleEventedMesh;
|
|
@@ -5860,7 +6811,7 @@ export declare class PlanElementViewModel extends KernelViewModel {
|
|
|
5860
6811
|
private _containerVisible;
|
|
5861
6812
|
private _hiddenByCameraFacing;
|
|
5862
6813
|
constructor(planObject: PlanObject);
|
|
5863
|
-
getSize():
|
|
6814
|
+
getSize(): Vector3_2;
|
|
5864
6815
|
setHiddenByCameraFacing(hidden: boolean): void;
|
|
5865
6816
|
setContainerVisibility(isVisible: boolean): void;
|
|
5866
6817
|
protected isContainerVisible(): boolean;
|
|
@@ -5868,7 +6819,7 @@ export declare class PlanElementViewModel extends KernelViewModel {
|
|
|
5868
6819
|
isHiddenByCameraFacing(): boolean;
|
|
5869
6820
|
update(): void;
|
|
5870
6821
|
protected _updateBoundingBox(): void;
|
|
5871
|
-
getPosition():
|
|
6822
|
+
getPosition(): Vector3_2;
|
|
5872
6823
|
getRotation(): number;
|
|
5873
6824
|
getBounds(): Box3;
|
|
5874
6825
|
getMeasurementBounds(): Box3[];
|
|
@@ -5887,7 +6838,7 @@ export declare class PlanElementViewModel extends KernelViewModel {
|
|
|
5887
6838
|
remove(): void;
|
|
5888
6839
|
hidePreviewBox(): void;
|
|
5889
6840
|
protected _generateBoundingBox(): RoomleEventedMesh;
|
|
5890
|
-
protected _setPositionOfBoundingBox(size:
|
|
6841
|
+
protected _setPositionOfBoundingBox(size: Vector3_2, mesh: RoomleEventedMesh): void;
|
|
5891
6842
|
get isSelected(): boolean;
|
|
5892
6843
|
select(): void;
|
|
5893
6844
|
deselect(): void;
|
|
@@ -5907,8 +6858,163 @@ export declare abstract class PlanImage extends PlanElement {
|
|
|
5907
6858
|
center: KernelVector3f;
|
|
5908
6859
|
}
|
|
5909
6860
|
|
|
6861
|
+
export declare interface PlanImage_2 extends PlanElement_2 {
|
|
6862
|
+
new (): PlanImage_2;
|
|
6863
|
+
readonly url: string;
|
|
6864
|
+
readonly size: Vector3;
|
|
6865
|
+
readonly rotation: Vector3;
|
|
6866
|
+
readonly center: Vector3;
|
|
6867
|
+
}
|
|
6868
|
+
|
|
5910
6869
|
export declare type PlanInteractionHandler = Omit<PlanInteractionHandler_2, keyof HandWrittenPlanInteractionHandler> & HandWrittenPlanInteractionHandler;
|
|
5911
6870
|
|
|
6871
|
+
export declare interface PlanInteractionHandler_2 {
|
|
6872
|
+
new (): PlanInteractionHandler_2;
|
|
6873
|
+
init(reference: PlanInteractionHandler_2, zoomFactor: number, viewSnapDist: number, wallSnapMode: SnapMode, objectSnapMode: SnapMode, shouldSnap: boolean, drawingType: DrawingType_2): void;
|
|
6874
|
+
loadPlanXML(planXml: string): Plan_2;
|
|
6875
|
+
createPlanWithObjectFromItem(item: CatalogItem_2, position: Vector3, rotationInRad: number): Plan_2;
|
|
6876
|
+
setDefaultParapetHeight(parapetHeight: number, applyToAll: boolean): void;
|
|
6877
|
+
setRoomParapetHeight(floor: Floor_2, parapetHeight: number): void;
|
|
6878
|
+
setDefaultWallColor(wallColor: number, applyToAll: boolean): void;
|
|
6879
|
+
setDefaultWallHeight(wallHeight: number, applyToAll: boolean): void;
|
|
6880
|
+
setDefaultWallThickness(wallThickness: number, applyToAll: boolean): void;
|
|
6881
|
+
getDefaultExteriorWallMaterial(): WallMaterial_2;
|
|
6882
|
+
setDefaultExteriorWallMaterial(wallMaterial: WallMaterial_2): void;
|
|
6883
|
+
getDefaultInteriorWallMaterial(): WallMaterial_2;
|
|
6884
|
+
setDefaultInteriorWallMaterial(wallMaterial: WallMaterial_2): void;
|
|
6885
|
+
getDefaultFloorMaterial(): FloorMaterial_2;
|
|
6886
|
+
setDefaultFloorMaterial(floorMaterial: FloorMaterial_2): void;
|
|
6887
|
+
moveElementBy(element: PlanElement_2, offset: Vector3, dragging: boolean): void;
|
|
6888
|
+
moveElementTo(element: PlanElement_2, position: Vector3, dragging: boolean, cameraPosition?: Vector3): void;
|
|
6889
|
+
moveElementToIn2d(element: PlanElement_2, position: Vector3, dragging: boolean): void;
|
|
6890
|
+
setDiscardExternalObjectsOnLoad(discard: boolean): void;
|
|
6891
|
+
moveObjectsBy(objects: PlanObjectPtrList_2, offset: Vector3): void;
|
|
6892
|
+
removeChildObjectAtPosition(element: PlanElement_2, position: Vector3): boolean;
|
|
6893
|
+
lockElement(element: PlanElement_2): void;
|
|
6894
|
+
unlockElement(element: PlanElement_2): void;
|
|
6895
|
+
consistsOfMergedComponents(object: PlanObject_2): boolean;
|
|
6896
|
+
isChildObjectModePossible(object: PlanObject_2): boolean;
|
|
6897
|
+
getChildObjectMode(object: PlanObject_2): number;
|
|
6898
|
+
setChildObjectMode(object: PlanObject_2, mode: number, switchChildModeOffForAllOtherObjects: boolean): PlanObject_2;
|
|
6899
|
+
setChildObjectModeOfExternalObject(objectId: string, mode: number, switchChildModeOffForAllOtherObjects: boolean): PlanObject_2;
|
|
6900
|
+
setChildObjectModeForAllPlanObjects(mode: number): void;
|
|
6901
|
+
isEnabledChildObjectMode(object: PlanObject_2): boolean;
|
|
6902
|
+
enableChildObjects(object: PlanObject_2, switchChildModeOffForAllOtherObjects: boolean): PlanObject_2;
|
|
6903
|
+
disableChildObjects(object: PlanObject_2): PlanObject_2;
|
|
6904
|
+
disableChildObjectsOfAllPlanObjects(): void;
|
|
6905
|
+
enableChildObjectsOfExternalObject(objectId: string, switchChildModeOffForAllOtherObjects: boolean): PlanObject_2;
|
|
6906
|
+
disableChildObjectsOfExternalObject(objectId: string): PlanObject_2;
|
|
6907
|
+
rotateObjectTo(object: PlanObject_2, targetAngleInRad: number): void;
|
|
6908
|
+
changePitchAngleTo(object: PlanObject_2, targetAngleInRad: number): void;
|
|
6909
|
+
changeRollAngleTo(object: PlanObject_2, targetAngleInRad: number): void;
|
|
6910
|
+
rotateObjectBy(object: PlanObject_2, deltaAngleInRad: number): void;
|
|
6911
|
+
rotateObjectsBy(objects: PlanObjectPtrList_2, deltaAngleInRad: number, pivot: Vector3): void;
|
|
6912
|
+
rotateGroupBy(group: ObjectGroup_2, angleInRad: number, pivot: Vector3): void;
|
|
6913
|
+
setObjectRotation(object: PlanObject_2, targetAngleInRad: number): void;
|
|
6914
|
+
setObjectFlipX(object: PlanObject_2, shouldFlipX: boolean): void;
|
|
6915
|
+
setObjectFlipY(object: PlanObject_2, shouldFlipY: boolean): void;
|
|
6916
|
+
setObjectFixedZ(object: PlanObject_2, shouldFlipZ: boolean): void;
|
|
6917
|
+
setObjectCustomColor(object: PlanObject_2, rgbColor: number, useCustomColor: boolean): void;
|
|
6918
|
+
setObjectCustomLabel(object: PlanObject_2, label: string): void;
|
|
6919
|
+
setElementCustomDataJson(element: PlanElement_2, customDataJson: string): void;
|
|
6920
|
+
setObjectSize(object: PlanObject_2, newSize: Vector3, anchor: ResizingAnchor_2): void;
|
|
6921
|
+
deleteObjectsInGroup(group: ObjectGroup_2): void;
|
|
6922
|
+
replaceObject(objectToBeReplaced: PlanElement_2, replacement: PlanElement_2): void;
|
|
6923
|
+
duplicateGroup(group: ObjectGroup_2, count: number, findFreeSpaceInPlan: boolean): ObjectGroup_2[];
|
|
6924
|
+
mergeObjects(objects: PlanObjectPtrList_2): void;
|
|
6925
|
+
groupObjects(objects: PlanObjectPtrList_2): ObjectGroup_2;
|
|
6926
|
+
ungroup(group: ObjectGroup_2): void;
|
|
6927
|
+
duplicatePlanObjects(objects: PlanObjectPtrList_2, count: number, findFreeSpaceInPlan: boolean): PlanObject_2[];
|
|
6928
|
+
setElementVisibility(element: PlanElement_2, isVisible: boolean): void;
|
|
6929
|
+
setLengthOfEdge2D(wall: Wall_2, newLength: number, side: WallSide_2, extensionType: WallExtensionType_2, alsoMoveOrthogonalWalls: boolean): void;
|
|
6930
|
+
setLengthOfSlopingEdge(wall: Wall_2, newSlopingLength: number, side: WallSide_2, extensionType: WallExtensionType_2, alsoMoveOrthogonalWalls: boolean): void;
|
|
6931
|
+
setNodeType(node: Node_3, nodeType: NodeType_2): void;
|
|
6932
|
+
setWallThickness(wall: Wall_2, thickness: number): void;
|
|
6933
|
+
setWallHeight(wall: Wall_2, height: number): void;
|
|
6934
|
+
setWallColor(wall: Wall_2, color: number): void;
|
|
6935
|
+
setWallLeftMaterial(wall: Wall_2, material: WallMaterial_2): void;
|
|
6936
|
+
setWallRightMaterial(wall: Wall_2, material: WallMaterial_2): void;
|
|
6937
|
+
splitWall(wall: Wall_2, splitPoint: Vector3): void;
|
|
6938
|
+
setAtticSide(attic: Attic, side: WallSide_2): void;
|
|
6939
|
+
setAtticKneeHeight(attic: Attic, kneeHeight: number): void;
|
|
6940
|
+
setAtticWidth(attic: Attic, width: number): void;
|
|
6941
|
+
setFloorMaterial(floor: Floor_2, material: FloorMaterial_2): void;
|
|
6942
|
+
setFloorMaterialRotation(floor: Floor_2, rotationInRad: number): void;
|
|
6943
|
+
setFloorMaterialUvScale(floor: Floor_2, uvScale: Vector3): void;
|
|
6944
|
+
setFloorLabelObject(floor: Floor_2, serializedLabelObject: string): void;
|
|
6945
|
+
setFloorType(floor: Floor_2, floorType: FloorType): void;
|
|
6946
|
+
setEdgeType(wall: Wall_2, edgeType: EdgeType): void;
|
|
6947
|
+
setPlanTexterText(text: PlanText_2, texterText: string): void;
|
|
6948
|
+
setPlanTexterSize(text: PlanText_2, newSize: Vector3): void;
|
|
6949
|
+
setMeasurePoint1(measure: PlanMeasure_2, point: Vector3, snapToWalls: boolean, snapToObjects: boolean): void;
|
|
6950
|
+
setMeasurePoint2(measure: PlanMeasure_2, point: Vector3, snapToWalls: boolean, snapToObjects: boolean): void;
|
|
6951
|
+
setPlanImageRotation(image: PlanImage_2, newRotation: Vector3): void;
|
|
6952
|
+
setPlanImageSize(image: PlanImage_2, newSize: Vector3): void;
|
|
6953
|
+
removeElement(element: PlanElement_2): void;
|
|
6954
|
+
removeObjectWithId(objectId: string): void;
|
|
6955
|
+
duplicatePlanObject(object: PlanObject_2, count: number, findFreeSpaceInPlan: boolean): PlanObject_2[];
|
|
6956
|
+
addWall(from: Node_3, to: Node_3): Wall_2;
|
|
6957
|
+
addAttic(wall: Wall_2, kneeHeight: number, width: number, side: WallSide_2 | null | undefined): Attic;
|
|
6958
|
+
addNode(position: Vector3): Node_3;
|
|
6959
|
+
addText(text: string, position: Vector3): PlanText_2;
|
|
6960
|
+
addPlanObject(itemId: string, type: string, size: Vector3, position: Vector3, rotationInRad: number, findFreeSpaceInPlan: boolean): PlanObject_2;
|
|
6961
|
+
addPlanObjects(catalogItems: CatalogItemPtrList_2, findFreeSpaceInPlan: boolean): PlanObject_2[];
|
|
6962
|
+
addPlanObjectFromItem(item: CatalogItem_2, position: Vector3, rotationInRad: number, findFreeSpaceInPlan: boolean): PlanObject_2;
|
|
6963
|
+
addOrUpdateExternalPlanObjects(groups: string | string[], position: Vector3, rotationInRad: number, updateConfiguration: ExternalObjectLoadConfiguration, mergedGroupIds: string | string[]): PlanObject_2[];
|
|
6964
|
+
createPreviewGeometryForAddOn(objectId: string, objectConfiguration: string, articleId: string, groupDefinitions: string, validContainerModules: ExternalValidContainerModule[]): void;
|
|
6965
|
+
catalogItemLoaded(catalogItem: CatalogItem_2): void;
|
|
6966
|
+
addMeasure(startPosition: Vector3, endPosition: Vector3): PlanMeasure_2;
|
|
6967
|
+
addImage(url: string, center: Vector3, size: Vector3, rotation: Vector3): PlanImage_2;
|
|
6968
|
+
setPlanObjectMesh(object: PlanObject_2, mesh: any): void;
|
|
6969
|
+
getPlan(): Plan_2;
|
|
6970
|
+
setPlan(plan: Plan_2): void;
|
|
6971
|
+
clearPlan(): void;
|
|
6972
|
+
setViewSnapDist(distance: number): void;
|
|
6973
|
+
setViewSnapHeightLevelDistance(distance: number): void;
|
|
6974
|
+
setViewSnapEdgeEndPointDistance(distance: number): void;
|
|
6975
|
+
setZoomFactor(distance: number): void;
|
|
6976
|
+
setRotationSnapAngle(angleInRadians: number): void;
|
|
6977
|
+
endInteraction(): void;
|
|
6978
|
+
clearHistory(): void;
|
|
6979
|
+
startInteraction(): void;
|
|
6980
|
+
resumeInteraction(): void;
|
|
6981
|
+
setSnapFeedbackWhileDrawing(shouldSnapWhileDrawing: boolean): void;
|
|
6982
|
+
setSnapToClusterWhileContinuousDrawing(shouldSnapWhileDrawing: boolean): void;
|
|
6983
|
+
setParallelWallToleranceInDegrees(tolerance: number): void;
|
|
6984
|
+
isVectorPreviewModeEnabled(): boolean;
|
|
6985
|
+
getDrawingMode(): DrawingMode_2;
|
|
6986
|
+
isCreateUnclosedSpaceEnabled(): boolean;
|
|
6987
|
+
beginDrawing(position: Vector3, drawingMode: DrawingMode_2, createUnclosedSpace: boolean): void;
|
|
6988
|
+
currentDrawingPosition(position: Vector3): void;
|
|
6989
|
+
forceNode(position: Vector3): void;
|
|
6990
|
+
endDrawing(position: Vector3): void;
|
|
6991
|
+
cancelDrawing(): void;
|
|
6992
|
+
setDrawingType(newDrawingType: DrawingType_2): void;
|
|
6993
|
+
getContinuousDrawingManager(): ContinuousDrawingManager;
|
|
6994
|
+
deactivateAllSnappingActivity(): void;
|
|
6995
|
+
reactivateAllSnappingActivity(): void;
|
|
6996
|
+
getConfiguratorKernel(): ConfiguratorKernel;
|
|
6997
|
+
loadPlanObjectConfigurations(): void;
|
|
6998
|
+
undo(): void;
|
|
6999
|
+
redo(): void;
|
|
7000
|
+
isRedoPossible(): boolean;
|
|
7001
|
+
isUndoPossible(): boolean;
|
|
7002
|
+
getRelativeHistoryPosition(): number;
|
|
7003
|
+
generateTCExport(planObjectItemIds: string[]): string;
|
|
7004
|
+
unit: string;
|
|
7005
|
+
objectToWallSnapMode: SnapMode;
|
|
7006
|
+
objectToObjectSnapMode: SnapMode;
|
|
7007
|
+
enableSnap: boolean;
|
|
7008
|
+
enableRaster: boolean;
|
|
7009
|
+
customRaster: number;
|
|
7010
|
+
moveWallsOrthogonal: boolean;
|
|
7011
|
+
enableDrawingSnap: boolean;
|
|
7012
|
+
dockWhenSnap: boolean;
|
|
7013
|
+
unDockOnMove: boolean;
|
|
7014
|
+
automaticallyIntersectWithWalls: boolean;
|
|
7015
|
+
enableTerrain: boolean;
|
|
7016
|
+
}
|
|
7017
|
+
|
|
5912
7018
|
export declare class PlanInteractionHandlerExtension extends UndoRedoHandler {
|
|
5913
7019
|
addOrUpdateExternalPlanObjects(serializedConfiguration: string | string[], position: KernelVector3, rotationInRad: number, updateConfiguration: any, mergedGroupIds: string | string[]): PlanObject[];
|
|
5914
7020
|
applyKernelParameterChange<T>(callback: () => T, parameterKey: string, elementId?: string | number): T;
|
|
@@ -5939,7 +7045,13 @@ export declare abstract class PlanMeasure extends PlanElement {
|
|
|
5939
7045
|
getPoint2(): KernelVector3f;
|
|
5940
7046
|
}
|
|
5941
7047
|
|
|
5942
|
-
export declare interface PlanMeasure_2 extends
|
|
7048
|
+
export declare interface PlanMeasure_2 extends PlanElement_2 {
|
|
7049
|
+
new (): PlanMeasure_2;
|
|
7050
|
+
getPoint1(): Vector3;
|
|
7051
|
+
getPoint2(): Vector3;
|
|
7052
|
+
}
|
|
7053
|
+
|
|
7054
|
+
export declare interface PlanMeasure_3 extends PlanObject {
|
|
5943
7055
|
getPoint1(): KernelVector3f;
|
|
5944
7056
|
getPoint2(): KernelVector3f;
|
|
5945
7057
|
}
|
|
@@ -5958,21 +7070,21 @@ export declare abstract class PlanModelViewHelper {
|
|
|
5958
7070
|
}
|
|
5959
7071
|
|
|
5960
7072
|
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:
|
|
7073
|
+
getPlanOverview(plan: Plan_3): PlanOverview;
|
|
7074
|
+
getConstructionOverview(plan: Plan_3): ConstructionOverview;
|
|
7075
|
+
getPlanObject(plan: Plan_3, aRuntimeId: number): KernelPlanObject;
|
|
7076
|
+
isChildObjectRootComponent(plan: Plan_3, componentRuntimeId: number): boolean;
|
|
7077
|
+
isAnimationRootComponent(plan: Plan_3, componentRuntimeId: number): boolean;
|
|
7078
|
+
getRootPlanObjectId(plan: Plan_3, aRuntimeId: number): number;
|
|
7079
|
+
getObjectComponent(plan: Plan_3, typeOfId: TypeOfCoreId, anId: number): KernelPlanObjectComponent;
|
|
7080
|
+
getExternalObjectComponent(plan: Plan_3, groupId: string, moduleId: string): KernelPlanObjectComponent;
|
|
7081
|
+
requestMesh3d(element: PlanElement_3): void;
|
|
7082
|
+
getExternalObjectGroups(plan: Plan_3): KernelObjectConfigurationArray;
|
|
7083
|
+
getExternalRoomInformation(plan: Plan_3, mode: PlanRoomGeometryMode_2): RoomInformation;
|
|
5972
7084
|
getGroupedObjects(anObject: PlanObject): KernelPlanObject[];
|
|
5973
|
-
calculateLightSourceDistribution(plan:
|
|
7085
|
+
calculateLightSourceDistribution(plan: Plan_3, lightSourceConfiguration: LightSourceConfiguration): RoomLightSourceDistributionArray;
|
|
5974
7086
|
getObjectSnapInformation(anObject: PlanObject, debugHelpLines: boolean): ObjectSnapInformation;
|
|
5975
|
-
getPlanViews(plan:
|
|
7087
|
+
getPlanViews(plan: Plan_3): PlanView[];
|
|
5976
7088
|
}
|
|
5977
7089
|
|
|
5978
7090
|
export declare class Planner<P extends readonly PluginName[] = readonly []> extends Main {
|
|
@@ -6064,7 +7176,7 @@ export declare interface PlannerInitData {
|
|
|
6064
7176
|
* usage: mode=2D
|
|
6065
7177
|
* options: 2D, 3D, FP
|
|
6066
7178
|
*/
|
|
6067
|
-
mode?:
|
|
7179
|
+
mode?: Enumify<typeof CAMERA_TYPE>;
|
|
6068
7180
|
/* Excluded from this release type: edit */
|
|
6069
7181
|
/**
|
|
6070
7182
|
* @description If set to true it will treat the planner as a multi object configurator (moc).
|
|
@@ -6142,50 +7254,50 @@ export declare class PlannerKernelAccess extends ConfiguratorKernelAccess {
|
|
|
6142
7254
|
requestPlanObjectDimensions(): void;
|
|
6143
7255
|
cleanUpCallbacks(): void;
|
|
6144
7256
|
registerCallbacks(): void;
|
|
6145
|
-
planElementRemoved(element:
|
|
6146
|
-
handlerSwitchedPlans(fromPlan:
|
|
7257
|
+
planElementRemoved(element: PlanElement_3): void;
|
|
7258
|
+
handlerSwitchedPlans(fromPlan: Plan_3, toPlan: Plan_3): void;
|
|
6147
7259
|
planBoundsChanged(): void;
|
|
6148
7260
|
planCleared(): void;
|
|
6149
|
-
planCompletelyLoaded(plan:
|
|
6150
|
-
planElement3dMeshChanged(_plan:
|
|
7261
|
+
planCompletelyLoaded(plan: Plan_3): void;
|
|
7262
|
+
planElement3dMeshChanged(_plan: Plan_3, element: PlanElement_3): void;
|
|
6151
7263
|
private _onStaticItemAdded;
|
|
6152
7264
|
private _onConfigurableItemAdded;
|
|
6153
7265
|
private _onConfigurableConstructionItemAdded;
|
|
6154
|
-
planElementAdded(plan:
|
|
6155
|
-
planElementChanged(plan:
|
|
7266
|
+
planElementAdded(plan: Plan_3, element: PlanElement_3): Promise<void>;
|
|
7267
|
+
planElementChanged(plan: Plan_3, element: PlanElement_3): void;
|
|
6156
7268
|
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:
|
|
7269
|
+
planObjectConfigurationCreated(_plan: Plan_3, _element: PlanObject): void;
|
|
7270
|
+
externalObjectConfigurationChanged(plan: Plan_3, planObject: PlanObject, configuration: string): void;
|
|
7271
|
+
externalObjectConfigurationLoaded(plan: Plan_3, planObject: PlanObject, configuration: string): void;
|
|
7272
|
+
externalObjectConfigurationDeleted(plan: Plan_3, planObject: PlanObject, uniqueId: string): void;
|
|
7273
|
+
externalObjectComponentDeleted(plan: Plan_3, planObject: PlanObject, remainingGroupOrGroups: ExternalObjectGroup | ExternalObjectGroup[], deletedRootModuleId: string): void;
|
|
7274
|
+
externalObjectConfigurationDuplicated(plan: Plan_3, planObject: PlanObject, duplicatedGroup: ExternalObjectGroup): void;
|
|
7275
|
+
externalObjectPositionChanged(plan: Plan_3, planObject: PlanObject, movedGroup: ExternalObjectGroup): void;
|
|
7276
|
+
externalObjectPlanChanged(plan: Plan_3, planObject: PlanObject, movedGroup: ExternalObjectGroup): void;
|
|
7277
|
+
externalObjectConfigurationsMerged(plan: Plan_3, planObject: PlanObject, mergedGroup: ExternalObjectGroup, idsOfGroupsMerged: string | string[], targetRootModuleId: string, mergedWithDragging: boolean): void;
|
|
7278
|
+
externalObjectComponentSplitOff(plan: Plan_3, planObject: PlanObject, splitGroups: ExternalObjectGroup[]): void;
|
|
7279
|
+
externalObjectRequestAddOnContainers(plan: Plan_3, planObject: PlanObject, groupId: string, subArticleId: string): void;
|
|
7280
|
+
externalObjectAddSubArticle(plan: Plan_3, planObject: PlanObject, subArticleId: string, rootModuleId: string, parentModuleId: string, insertPosition?: number[]): void;
|
|
7281
|
+
externalObjectMoveSubArticle(plan: Plan_3, planObject: PlanObject, subArticleId: string, subModuleId: string, rootModuleId: string, parentModuleId: string, insertPosition?: number[]): void;
|
|
7282
|
+
externalObjectRemoveSubModule(plan: Plan_3, planObject: PlanObject, groupId: string, subModuleId: string): void;
|
|
7283
|
+
planObjectConfigurationLoaded(plan: Plan_3, element: PlanElement_3, success: boolean): Promise<void>;
|
|
7284
|
+
planObjectConfigurationChanged(plan: Plan_3, object: PlanObject): void;
|
|
6173
7285
|
requestCatalogItem(catalogItemId: string): void;
|
|
6174
7286
|
startedDrawing(): void;
|
|
6175
7287
|
stoppedDrawing(): void;
|
|
6176
7288
|
updateMesh2d(): void;
|
|
6177
7289
|
beginConstruction(): void;
|
|
6178
|
-
addMesh(planElement:
|
|
7290
|
+
addMesh(planElement: PlanElement_3, material: any, vertices: Float32Array, indices: Int32Array, uvCoords: Float32Array, normals: Float32Array): void;
|
|
6179
7291
|
endConstruction(): void;
|
|
6180
|
-
beginPlanConstruction(plan:
|
|
6181
|
-
addPlanMesh(plan:
|
|
6182
|
-
endPlanConstruction(plan:
|
|
6183
|
-
createPlanFromObject(rapiElement: RapiItem | RapiConfiguration, position?: Position3, rotation?: number):
|
|
7292
|
+
beginPlanConstruction(plan: Plan_3): void;
|
|
7293
|
+
addPlanMesh(plan: Plan_3, material: any, vertices: Float32Array, indices: Int32Array, uvCoords: Float32Array, normals: Float32Array, type: KernelEnum): void;
|
|
7294
|
+
endPlanConstruction(plan: Plan_3): void;
|
|
7295
|
+
createPlanFromObject(rapiElement: RapiItem | RapiConfiguration, position?: Position3, rotation?: number): Plan_3;
|
|
6184
7296
|
addPlanObjectFromItem(rapiElement: RapiItem | RapiConfiguration, newUndoRedoStep: boolean, position?: Position3, rotation?: number, keepInteractionOpen?: boolean): Promise<RuntimeId>;
|
|
6185
7297
|
private _performAddPlanObjectFromItem;
|
|
6186
7298
|
coupleReferences(jsObject: any, coreReference: KernelObject): void;
|
|
6187
7299
|
private _decoupleReferences;
|
|
6188
|
-
isConstructionPlanElement(planElement:
|
|
7300
|
+
isConstructionPlanElement(planElement: PlanElement_3): boolean;
|
|
6189
7301
|
planObjectSelectionChanged(configurationRuntimeId: number, elementRuntimeId: number): void;
|
|
6190
7302
|
protected _componentSelectionChanged(_planObject: PlanObjectKernel, component: KernelComponent): void;
|
|
6191
7303
|
protected _externalObjectParameterChanged(objectOrComponentId: number, parameterKey: string, value: string): void;
|
|
@@ -6205,7 +7317,7 @@ export declare class PlannerKernelAccess extends ConfiguratorKernelAccess {
|
|
|
6205
7317
|
configureExternalObjectApi(externalObjectSettings?: ExternalObjectApiConfiguration): Promise<void>;
|
|
6206
7318
|
setComponentParameter(componentId: number, interactionKey: string, newValue: any): void;
|
|
6207
7319
|
protected _getAnimationLevelForObject(runtimeId: number, _animation: KernelAnimation): AnimationLevelType;
|
|
6208
|
-
getObjectComponent(runtimeId: number, typeOfId:
|
|
7320
|
+
getObjectComponent(runtimeId: number, typeOfId: Enumify<typeof CORE_TYPE_OF_CORE_ID>): KernelPlanObjectComponent | null;
|
|
6209
7321
|
isChildObjectRootComponent(roomleComponent: RoomleComponent): boolean;
|
|
6210
7322
|
isAnimationRootComponent(roomleComponent: RoomleComponent): boolean;
|
|
6211
7323
|
changePlanObjectParameter(runtimeId: number, parameterKey: string, type: string, value: string, resolve: () => void, reject: () => void): void;
|
|
@@ -6214,18 +7326,18 @@ export declare class PlannerKernelAccess extends ConfiguratorKernelAccess {
|
|
|
6214
7326
|
}
|
|
6215
7327
|
|
|
6216
7328
|
export declare interface PlannerKernelCallbackI {
|
|
6217
|
-
handlerSwitchedPlans(fromPlan:
|
|
6218
|
-
planCompletelyLoaded(plan:
|
|
6219
|
-
beginPlanConstruction(plan:
|
|
6220
|
-
addMesh(planElement:
|
|
6221
|
-
addPlanMesh(plan:
|
|
6222
|
-
endPlanConstruction(plan:
|
|
7329
|
+
handlerSwitchedPlans(fromPlan: Plan_3, toPlan: Plan_3): void;
|
|
7330
|
+
planCompletelyLoaded(plan: Plan_3): void;
|
|
7331
|
+
beginPlanConstruction(plan: Plan_3): void;
|
|
7332
|
+
addMesh(planElement: PlanElement_3, material: any, vertices: Float32Array, indices: Int32Array, uvCoords: Float32Array, normals: Float32Array): void;
|
|
7333
|
+
addPlanMesh(plan: Plan_3, material: any, vertices: Float32Array, indices: Int32Array, uvCoords: Float32Array, normals: Float32Array, type: KernelEnum): void;
|
|
7334
|
+
endPlanConstruction(plan: Plan_3): void;
|
|
6223
7335
|
addPlanObjectToScene(planElementViewModel: PlanObjectViewModel | null): void;
|
|
6224
7336
|
removePlanObjectFromScene(planElementViewModel: PlanObjectViewModel | undefined): void;
|
|
6225
|
-
planElementChanged(plan:
|
|
6226
|
-
planElementRemoved(element:
|
|
6227
|
-
planObjectConfigurationLoaded(plan:
|
|
6228
|
-
planObjectConfigurationChanged(plan:
|
|
7337
|
+
planElementChanged(plan: Plan_3, planObject: PlanElementViewModel): void;
|
|
7338
|
+
planElementRemoved(element: PlanElement_3): void;
|
|
7339
|
+
planObjectConfigurationLoaded(plan: Plan_3, element: PlanElement_3, success: boolean): void;
|
|
7340
|
+
planObjectConfigurationChanged(plan: Plan_3, element: PlanElementViewModel): void;
|
|
6229
7341
|
planBoundsChanged(): void;
|
|
6230
7342
|
planHistoryStateChanged(): void;
|
|
6231
7343
|
planCleared(): void;
|
|
@@ -6283,7 +7395,7 @@ export declare interface PlannerKernelContainer {
|
|
|
6283
7395
|
unregisterPlannerCallback: (callbacksObject: any) => void;
|
|
6284
7396
|
StringArray: StringArray;
|
|
6285
7397
|
Vector2fArray: Vector2fArray;
|
|
6286
|
-
LongArray:
|
|
7398
|
+
LongArray: LongArray_2;
|
|
6287
7399
|
DockPairPreviewArray: DockPairPreviewArray_2;
|
|
6288
7400
|
ComponentArray: ComponentArray_2;
|
|
6289
7401
|
Type: Type_2;
|
|
@@ -6291,16 +7403,16 @@ export declare interface PlannerKernelContainer {
|
|
|
6291
7403
|
VariableArray: VariableArray_2;
|
|
6292
7404
|
RangeArray: RangeArray_2;
|
|
6293
7405
|
ParameterValueArray: ParameterValueArray_2;
|
|
6294
|
-
ParameterArray:
|
|
7406
|
+
ParameterArray: ParameterArray_3;
|
|
6295
7407
|
ParameterGroupArray: ParameterGroupArray_2;
|
|
6296
7408
|
PartListParameterArray: PartListParameterArray_2;
|
|
6297
7409
|
ConfigurationArray: ConfigurationArray_2;
|
|
6298
7410
|
PartArray: PartArray_2;
|
|
6299
|
-
PossibleChildArray:
|
|
6300
|
-
AddOnSpotArray:
|
|
7411
|
+
PossibleChildArray: PossibleChildArray_3;
|
|
7412
|
+
AddOnSpotArray: AddOnSpotArray_3;
|
|
6301
7413
|
PlanObjectList: PlanObjectList;
|
|
6302
7414
|
ParamKeyValuePairArray: ParamKeyValuePairArray_2;
|
|
6303
|
-
IntArray:
|
|
7415
|
+
IntArray: IntArray_3;
|
|
6304
7416
|
Kernel: ConfiguratorKernelClass;
|
|
6305
7417
|
Unit: Unit_2;
|
|
6306
7418
|
UnitStringType: UnitStringType_2;
|
|
@@ -6484,7 +7596,7 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
|
|
|
6484
7596
|
private _hide2dMeasurements;
|
|
6485
7597
|
private _is2dMeasurementsOverlayDirty;
|
|
6486
7598
|
private _debugSpheres;
|
|
6487
|
-
constructor(creator: string, offset: CanvasOffset, plannerCallback: RoomlePlannerCallback, mode:
|
|
7599
|
+
constructor(creator: string, offset: CanvasOffset, plannerCallback: RoomlePlannerCallback, mode: Enumify<typeof CAMERA_TYPE>);
|
|
6488
7600
|
isDragging(): boolean;
|
|
6489
7601
|
protected _initializeMeshGeneratorSettings(): void;
|
|
6490
7602
|
setHomagIntelligence(homagIntelligence: HomagIntelligence | null): void;
|
|
@@ -6527,7 +7639,7 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
|
|
|
6527
7639
|
private _resetCameraFacingVisibility;
|
|
6528
7640
|
private _forceWallsAndCeiling;
|
|
6529
7641
|
protected _getInputManager(): InputManager;
|
|
6530
|
-
protected createCameraControl(mode:
|
|
7642
|
+
protected createCameraControl(mode: Enumify<typeof CAMERA_TYPE>, _offset: CanvasOffset): void;
|
|
6531
7643
|
startViewing(): void;
|
|
6532
7644
|
startConfiguring(): void;
|
|
6533
7645
|
private _is3DView;
|
|
@@ -6541,10 +7653,10 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
|
|
|
6541
7653
|
requestCatalogItem(catalogItemId: string): void;
|
|
6542
7654
|
private _staticItemsLoaded;
|
|
6543
7655
|
preload(id: string): void;
|
|
6544
|
-
planXMLLoaded(plan:
|
|
7656
|
+
planXMLLoaded(plan: Plan_3): void;
|
|
6545
7657
|
private _activateCeilingLight;
|
|
6546
|
-
planCompletelyLoaded(_plan:
|
|
6547
|
-
handlerSwitchedPlans(fromPlan:
|
|
7658
|
+
planCompletelyLoaded(_plan: Plan_3): void;
|
|
7659
|
+
handlerSwitchedPlans(fromPlan: Plan_3, toPlan: Plan_3): void;
|
|
6548
7660
|
/**
|
|
6549
7661
|
* Re-applies the persisted lamp on/off state after a plan finishes loading.
|
|
6550
7662
|
* Reads the `lampOff` flag from each element's `customDataJson` (which the
|
|
@@ -6552,13 +7664,13 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
|
|
|
6552
7664
|
*/
|
|
6553
7665
|
private _restoreLampStates;
|
|
6554
7666
|
private _itemsLoaded;
|
|
6555
|
-
beginPlanConstruction(_plan:
|
|
6556
|
-
addPlanMesh(_plan:
|
|
6557
|
-
endPlanConstruction(_plan:
|
|
7667
|
+
beginPlanConstruction(_plan: Plan_3): void;
|
|
7668
|
+
addPlanMesh(_plan: Plan_3, _material: any, _vertices: Float32Array, _indices: Int32Array, _uvCoords: Float32Array, _normals: Float32Array, _type: KernelEnum): void;
|
|
7669
|
+
endPlanConstruction(_plan: Plan_3): void;
|
|
6558
7670
|
addPlanObjectToScene(planViewModel: PlanObjectViewModel | null): Promise<void>;
|
|
6559
7671
|
private _recycleLights;
|
|
6560
7672
|
removePlanObjectFromScene(planViewModel: PlanElementViewModel | undefined): void;
|
|
6561
|
-
planElementChanged(plan:
|
|
7673
|
+
planElementChanged(plan: Plan_3, planElementViewModel: PlanElementViewModel): void;
|
|
6562
7674
|
exportGLB(options?: ModelExportOptions): Promise<void>;
|
|
6563
7675
|
exportUSDZ(options?: ModelExportOptions): Promise<void>;
|
|
6564
7676
|
importGLB(url: string): void;
|
|
@@ -6588,7 +7700,7 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
|
|
|
6588
7700
|
redo(): Promise<void>;
|
|
6589
7701
|
private _reshowDimensionsAfterUndoRedo;
|
|
6590
7702
|
protected _updateConfigurationFromHistory(configurationString: string): Promise<void>;
|
|
6591
|
-
setMode(mode:
|
|
7703
|
+
setMode(mode: Enumify<typeof CAMERA_TYPE>): void;
|
|
6592
7704
|
private _clearHighlighting;
|
|
6593
7705
|
updateHighlightingOfPlanElements(): void;
|
|
6594
7706
|
planObjectUpdated(planObject: PlanObjectKernel, geometryChanged: boolean, pendingDocking: boolean, automaticCalculationUpdate: boolean): void;
|
|
@@ -6596,9 +7708,9 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
|
|
|
6596
7708
|
highlightPlanElementsById(runtimeIds: number[] | null): void;
|
|
6597
7709
|
highlightPlanElementById(runtimeId: number | null): void;
|
|
6598
7710
|
destroy(): void;
|
|
6599
|
-
planObjectConfigurationLoaded(plan:
|
|
6600
|
-
planObjectConfigurationChanged(_plan:
|
|
6601
|
-
addMesh(_planElement:
|
|
7711
|
+
planObjectConfigurationLoaded(plan: Plan_3, element: PlanElement_3, success: boolean): void;
|
|
7712
|
+
planObjectConfigurationChanged(_plan: Plan_3, element: PlanElementViewModel): Promise<void>;
|
|
7713
|
+
addMesh(_planElement: PlanElement_3, _material: any, _vertices: Float32Array, _indices: Int32Array, _uvCoords: Float32Array, _normals: Float32Array): void;
|
|
6602
7714
|
updateCameraOnDrawWalls(): void;
|
|
6603
7715
|
getBounds(): Box3;
|
|
6604
7716
|
getGeometryBounds(): Box3 | null;
|
|
@@ -6611,7 +7723,7 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
|
|
|
6611
7723
|
rotatePlanElements(ids: RuntimeId[], rotateBy: number): void;
|
|
6612
7724
|
rotatePlanElementSelection(rotateBy: number): void;
|
|
6613
7725
|
planBoundsChanged(): void;
|
|
6614
|
-
planElementRemoved(element:
|
|
7726
|
+
planElementRemoved(element: PlanElement_3): void;
|
|
6615
7727
|
private _onPlanChanged;
|
|
6616
7728
|
prepareTopImage(options?: PrepareImageOptions, isolationMode?: boolean): Promise<Base64Image>;
|
|
6617
7729
|
preparePerspectiveImageOf(runtimeId: RuntimeId, options?: PrepareImageOptions): Promise<Base64Image>;
|
|
@@ -6638,8 +7750,8 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
|
|
|
6638
7750
|
getPositionForDragEvent(dragEvent: DragEvent | TouchEvent | {
|
|
6639
7751
|
clientX: number;
|
|
6640
7752
|
clientY: number;
|
|
6641
|
-
}):
|
|
6642
|
-
getPositionForLastPointer():
|
|
7753
|
+
}): Vector3_2 | null;
|
|
7754
|
+
getPositionForLastPointer(): Vector3_2 | null;
|
|
6643
7755
|
isPointerUp(): boolean;
|
|
6644
7756
|
getPlannerSceneEventHandler(): PlannerSceneEventHandler;
|
|
6645
7757
|
disablePlannerEvents(): void;
|
|
@@ -6726,7 +7838,7 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
|
|
|
6726
7838
|
enableEvents(): void;
|
|
6727
7839
|
resetCameraPositionToStart(): void;
|
|
6728
7840
|
moveCamera(cameraParameter: CameraParameter): Promise<void>;
|
|
6729
|
-
protected _setInteriorOrExteriorWallMaterial(type:
|
|
7841
|
+
protected _setInteriorOrExteriorWallMaterial(type: Enumify<typeof SET_WALL_MATERIAL_TYPE>, material: BatchPaintMaterial): void;
|
|
6730
7842
|
changeInteriorWallsMaterial(material: BatchPaintMaterial): void;
|
|
6731
7843
|
changeExteriorWallsMaterial(material: BatchPaintMaterial): void;
|
|
6732
7844
|
changeFloorsMaterial(floors: KernelFloor[], material: BatchPaintMaterial): void;
|
|
@@ -6756,7 +7868,7 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
|
|
|
6756
7868
|
switchConfiguratorObject(clickedComponentId: number): Promise<void>;
|
|
6757
7869
|
selectObjectComponent(planObjectComponent: KernelPlanObjectComponent, switchToConfigurator: boolean, selectComponent: boolean): Promise<void>;
|
|
6758
7870
|
_swapObjectInConfigurator(planObjectComponent: KernelPlanObjectComponent): Promise<void>;
|
|
6759
|
-
getObjectComponent(id: number, typeOfId:
|
|
7871
|
+
getObjectComponent(id: number, typeOfId: Enumify<typeof CORE_TYPE_OF_CORE_ID>): KernelPlanObjectComponent | null;
|
|
6760
7872
|
getExternalObjectComponent(groupOrRootModuleId: string, subModuleId: string): KernelPlanObjectComponent;
|
|
6761
7873
|
getCameraParameters3d(): CameraParameter | null;
|
|
6762
7874
|
private _createCeilingLightGroup;
|
|
@@ -6780,7 +7892,7 @@ export declare interface PlanNode extends KernelObject {
|
|
|
6780
7892
|
getNumberOfConnectedWalls(): number;
|
|
6781
7893
|
}
|
|
6782
7894
|
|
|
6783
|
-
export declare interface PlanObject extends
|
|
7895
|
+
export declare interface PlanObject extends PlanElement_3 {
|
|
6784
7896
|
size: KernelVector3;
|
|
6785
7897
|
rotation: number;
|
|
6786
7898
|
customLabel: string;
|
|
@@ -6803,11 +7915,63 @@ export declare interface PlanObject extends PlanElement_2 {
|
|
|
6803
7915
|
isConstructionObjectProduct(): boolean;
|
|
6804
7916
|
getWallDistances(): ObjectToWallLineArray;
|
|
6805
7917
|
getRectangle(): Rectangle;
|
|
6806
|
-
getRotationToPreferredFront():
|
|
7918
|
+
getRotationToPreferredFront(): ObjectFrontRotation_2;
|
|
6807
7919
|
isRootComponentOfChildObject(componentRuntimeId: number): boolean;
|
|
6808
7920
|
getReplacementConstructionId(): number;
|
|
6809
7921
|
}
|
|
6810
7922
|
|
|
7923
|
+
export declare interface PlanObject_2 extends PlanElement_2 {
|
|
7924
|
+
new (): PlanObject_2;
|
|
7925
|
+
getCatalogItemId(): string;
|
|
7926
|
+
getOpenConversationId(): number;
|
|
7927
|
+
getConfigurationRuntimeId(): number;
|
|
7928
|
+
getReplacementConstructionId(): number;
|
|
7929
|
+
getObjectType(): string;
|
|
7930
|
+
getObjectCategory(): ObjectTypeCategory;
|
|
7931
|
+
hasConfiguration(): boolean;
|
|
7932
|
+
isAdjustable(): boolean;
|
|
7933
|
+
isExternalObject(): boolean;
|
|
7934
|
+
isConstructionObjectProduct(): boolean;
|
|
7935
|
+
retrieveConfigurationId(): UniqueIdAndHash;
|
|
7936
|
+
getConfiguration(): string;
|
|
7937
|
+
isConfigurationLoaded(): boolean;
|
|
7938
|
+
getRectangle(): ExtrudedRectangle;
|
|
7939
|
+
getWallDistances(): LineArray;
|
|
7940
|
+
getRotationToPreferredFront(): ObjectFrontRotation;
|
|
7941
|
+
isRootComponentOfChildObject(componentRuntimeId: number): boolean;
|
|
7942
|
+
readonly customLabel: string;
|
|
7943
|
+
readonly roll: number;
|
|
7944
|
+
readonly pitch: number;
|
|
7945
|
+
readonly entityYaw: number;
|
|
7946
|
+
readonly rotation: number;
|
|
7947
|
+
readonly rgbColor: number;
|
|
7948
|
+
readonly useCustomColor: boolean;
|
|
7949
|
+
readonly level: number;
|
|
7950
|
+
readonly flipX: boolean;
|
|
7951
|
+
readonly flipXEnabled: boolean;
|
|
7952
|
+
readonly flipY: boolean;
|
|
7953
|
+
readonly flipYEnabled: boolean;
|
|
7954
|
+
readonly fixedZ: boolean;
|
|
7955
|
+
size: Vector3;
|
|
7956
|
+
readonly boxForMeasurement: Box;
|
|
7957
|
+
readonly measurementBounds: AssembledObjectBounds;
|
|
7958
|
+
}
|
|
7959
|
+
|
|
7960
|
+
export declare interface PlanObject_3 {
|
|
7961
|
+
animations: Animation_2[];
|
|
7962
|
+
boxForMeasurement: Box;
|
|
7963
|
+
dimensioningAxes: DimensioningAxis_2[];
|
|
7964
|
+
dimensionings: Dimensioning_2[];
|
|
7965
|
+
externalId: string;
|
|
7966
|
+
externalObject: boolean;
|
|
7967
|
+
geometryBounds: Box;
|
|
7968
|
+
geometryBoundsWithEnvironment: Box;
|
|
7969
|
+
id: number;
|
|
7970
|
+
parameterGroups: ParameterGroup[];
|
|
7971
|
+
parameters: Parameter[];
|
|
7972
|
+
rootPlanComponentId: number;
|
|
7973
|
+
}
|
|
7974
|
+
|
|
6811
7975
|
export declare interface PlanObjectKernel {
|
|
6812
7976
|
geometryBounds: KernelCube;
|
|
6813
7977
|
boxForMeasurement: KernelCube;
|
|
@@ -6851,6 +8015,8 @@ export declare abstract class PlanObjectPtr extends AbstractModelWrapper {
|
|
|
6851
8015
|
export declare class PlanObjectPtrList extends EmsList<PlanObjectPtr> {
|
|
6852
8016
|
}
|
|
6853
8017
|
|
|
8018
|
+
export declare type PlanObjectPtrList_2 = EmscriptenList_2<PlanObject_2>;
|
|
8019
|
+
|
|
6854
8020
|
export declare class PlanObjectPtrVector extends EmsArray<PlanObjectPtr> {
|
|
6855
8021
|
}
|
|
6856
8022
|
|
|
@@ -6871,8 +8037,8 @@ export declare class PlanObjectViewModel extends PlanElementViewModel {
|
|
|
6871
8037
|
isInitDone(): Promise<void>;
|
|
6872
8038
|
clear(): void;
|
|
6873
8039
|
getPlanObject(): PlanObject;
|
|
6874
|
-
getSize():
|
|
6875
|
-
getObjectMeasurements(zoomFactor: number, clientWidth: number, clientHeight: number, otherObjects?: NeighboringObjectMeasurementInfo[]):
|
|
8040
|
+
getSize(): Vector3_2;
|
|
8041
|
+
getObjectMeasurements(zoomFactor: number, clientWidth: number, clientHeight: number, otherObjects?: NeighboringObjectMeasurementInfo[]): Nullable<ObjectMeasurements>;
|
|
6876
8042
|
update(): void;
|
|
6877
8043
|
}
|
|
6878
8044
|
|
|
@@ -6880,7 +8046,7 @@ export declare interface PlanOverview {
|
|
|
6880
8046
|
area: number;
|
|
6881
8047
|
bounds: KernelCube;
|
|
6882
8048
|
objects: KernelPlanObjectList;
|
|
6883
|
-
outsideWalls:
|
|
8049
|
+
outsideWalls: PlanElement_3[];
|
|
6884
8050
|
rooms: PlanOverviewRoom[];
|
|
6885
8051
|
}
|
|
6886
8052
|
|
|
@@ -6894,13 +8060,18 @@ export declare interface PlanOverviewRoom {
|
|
|
6894
8060
|
export declare type PlanRoomGeometryMode = (typeof PLAN_ROOM_GEOMETRY_MODE)[keyof typeof PLAN_ROOM_GEOMETRY_MODE];
|
|
6895
8061
|
|
|
6896
8062
|
export declare interface PlanRoomGeometryMode_2 {
|
|
6897
|
-
value:
|
|
8063
|
+
value: Enumify<typeof CORE_PLAN_ROOM_GEOMETRY_MODE>;
|
|
6898
8064
|
}
|
|
6899
8065
|
|
|
6900
8066
|
export declare abstract class PlanText extends PlanElement {
|
|
6901
8067
|
getText(): string;
|
|
6902
8068
|
}
|
|
6903
8069
|
|
|
8070
|
+
export declare interface PlanText_2 extends PlanElement_2 {
|
|
8071
|
+
new (): PlanText_2;
|
|
8072
|
+
getText(): string;
|
|
8073
|
+
}
|
|
8074
|
+
|
|
6904
8075
|
export declare interface PlanView extends KernelPlanViewStyle {
|
|
6905
8076
|
id: number;
|
|
6906
8077
|
viewType: PlanViewType;
|
|
@@ -6945,9 +8116,9 @@ export declare class PlanViewModel extends ConfiguratorViewModel implements Plan
|
|
|
6945
8116
|
startedDrawing(): void;
|
|
6946
8117
|
stoppedDrawing(): void;
|
|
6947
8118
|
planBoundsChanged(): void;
|
|
6948
|
-
setReference(plan:
|
|
8119
|
+
setReference(plan: Plan_3): void;
|
|
6949
8120
|
clearReference(): void;
|
|
6950
|
-
getCorePlan():
|
|
8121
|
+
getCorePlan(): Plan_3;
|
|
6951
8122
|
addPlanElementViewModel(planElementViewModel: PlanElementViewModel): void;
|
|
6952
8123
|
private _handleConfiguratorPlanObjectViewModel;
|
|
6953
8124
|
private _linkPlanObjectViewModelAndComponent;
|
|
@@ -7036,19 +8207,19 @@ export declare class PlanViewModel extends ConfiguratorViewModel implements Plan
|
|
|
7036
8207
|
protected _setMaterial(mesh: Mesh, material: any, _type?: KernelEnum, materialAttributes?: Record<string, string>): void;
|
|
7037
8208
|
Editor3dComponentCreated(componentDocking: KernelComponentDocking): void;
|
|
7038
8209
|
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:
|
|
8210
|
+
handlerSwitchedPlans(_fromPlan: Plan_3, _toPlan: Plan_3): void;
|
|
8211
|
+
planCompletelyLoaded(_plan: Plan_3): void;
|
|
8212
|
+
beginPlanConstruction(_plan: Plan_3): void;
|
|
8213
|
+
addPlanMesh(_plan: Plan_3, _material: any, _vertices: Float32Array, _indices: Int32Array, _uvCoords: Float32Array, _normals: Float32Array, _type: KernelEnum): void;
|
|
8214
|
+
endPlanConstruction(_plan: Plan_3): void;
|
|
8215
|
+
planElementChanged(_plan: Plan_3, _planObject: PlanElementViewModel): void;
|
|
8216
|
+
planObjectConfigurationLoaded(_plan: Plan_3, planElement: PlanElement_3, success: boolean): void;
|
|
7046
8217
|
recomputeConfigurableBoundingBoxes(): void;
|
|
7047
|
-
planObjectConfigurationChanged(_plan:
|
|
7048
|
-
addMesh(planElement:
|
|
8218
|
+
planObjectConfigurationChanged(_plan: Plan_3, _element: PlanElementViewModel): void;
|
|
8219
|
+
addMesh(planElement: PlanElement_3, material: any, vertices: Float32Array, indices: Int32Array, uvCoords: Float32Array, normals: Float32Array): void;
|
|
7049
8220
|
removePlanObjectFromScene(planElementViewModel: PlanElementViewModel | undefined): void;
|
|
7050
8221
|
private _isConstructionType;
|
|
7051
|
-
planElementRemoved(element:
|
|
8222
|
+
planElementRemoved(element: PlanElement_3): void;
|
|
7052
8223
|
private _removeObject;
|
|
7053
8224
|
protected getMeshGenerator(): MeshGenerator;
|
|
7054
8225
|
componentConfigurationUpdated(runtimeComponentId: number, geometryChanged: boolean): void;
|
|
@@ -7060,8 +8231,8 @@ export declare class PlanViewModel extends ConfiguratorViewModel implements Plan
|
|
|
7060
8231
|
showAll(): void;
|
|
7061
8232
|
planHistoryStateChanged(): void;
|
|
7062
8233
|
setNodeVisibility(visible: boolean): void;
|
|
7063
|
-
setCameraType(cameraType:
|
|
7064
|
-
get cameraType():
|
|
8234
|
+
setCameraType(cameraType: Enumify<typeof CAMERA_TYPE>): Promise<void>;
|
|
8235
|
+
get cameraType(): Enumify<typeof CAMERA_TYPE>;
|
|
7065
8236
|
setNodeZoom(zoom: number): void;
|
|
7066
8237
|
planCleared(): void;
|
|
7067
8238
|
requestCatalogItem(_catalogItemId: string): void;
|
|
@@ -7072,7 +8243,11 @@ export declare class PlanViewModel extends ConfiguratorViewModel implements Plan
|
|
|
7072
8243
|
}
|
|
7073
8244
|
|
|
7074
8245
|
export declare interface PlanViewType {
|
|
7075
|
-
value:
|
|
8246
|
+
value: Enumify<typeof CORE_PLAN_VIEW_TYPE>;
|
|
8247
|
+
}
|
|
8248
|
+
|
|
8249
|
+
export declare interface PlanViewType_2 {
|
|
8250
|
+
value: Enumify_3<typeof CORE_PLAN_VIEW_TYPE_2>;
|
|
7076
8251
|
}
|
|
7077
8252
|
|
|
7078
8253
|
export declare interface PluginConfigMap {
|
|
@@ -7090,21 +8265,23 @@ export declare class PluginSystem implements Context, ScenePluginHooks {
|
|
|
7090
8265
|
private _cameraPosition;
|
|
7091
8266
|
private _plugins;
|
|
7092
8267
|
constructor(creator: string);
|
|
7093
|
-
init(scene: Scene, uiScene: Scene, cameraPosition:
|
|
8268
|
+
init(scene: Scene, uiScene: Scene, cameraPosition: Vector3_2): Promise<void>;
|
|
7094
8269
|
addPlugin(plugin: ScenePlugin): void;
|
|
7095
8270
|
updateBounds(bounds: Box3): void;
|
|
7096
8271
|
clearScene(scene: Scene, uiScene: Scene): void;
|
|
7097
8272
|
getActivePlugins(): ScenePlugin[];
|
|
7098
8273
|
getPlugin<T extends ScenePlugin>(type: any): T | null;
|
|
7099
|
-
moveCameraEnd(position:
|
|
7100
|
-
moveCameraStart(position:
|
|
8274
|
+
moveCameraEnd(position: Vector3_2): void;
|
|
8275
|
+
moveCameraStart(position: Vector3_2): void;
|
|
7101
8276
|
needsUiScene(): boolean;
|
|
7102
8277
|
}
|
|
7103
8278
|
|
|
7104
8279
|
export declare class PointArray extends EmsArray<KernelVector3f> {
|
|
7105
8280
|
}
|
|
7106
8281
|
|
|
7107
|
-
export declare
|
|
8282
|
+
export declare type PointArray_2 = EmscriptenArray<Vector3>;
|
|
8283
|
+
|
|
8284
|
+
export declare class PointArray_3 extends EmsArray<KernelVector3f> {
|
|
7108
8285
|
}
|
|
7109
8286
|
|
|
7110
8287
|
export declare interface PointerInputEvent {
|
|
@@ -7362,10 +8539,20 @@ export declare interface PosSaveData {
|
|
|
7362
8539
|
rooms?: PosContour[];
|
|
7363
8540
|
}
|
|
7364
8541
|
|
|
8542
|
+
export declare interface PossibleChild {
|
|
8543
|
+
componentId: string;
|
|
8544
|
+
group: string;
|
|
8545
|
+
isDefault: boolean;
|
|
8546
|
+
itemId: string;
|
|
8547
|
+
possible: boolean;
|
|
8548
|
+
}
|
|
8549
|
+
|
|
7365
8550
|
export declare class PossibleChildArray extends EmsArray<KernelPossibleChild> {
|
|
7366
8551
|
}
|
|
7367
8552
|
|
|
7368
|
-
export declare
|
|
8553
|
+
export declare type PossibleChildArray_2 = EmscriptenArray<PossibleChild>;
|
|
8554
|
+
|
|
8555
|
+
export declare class PossibleChildArray_3 extends EmsArray<KernelPossibleChild> {
|
|
7369
8556
|
}
|
|
7370
8557
|
|
|
7371
8558
|
export declare interface PossibleChildPreviewElement {
|
|
@@ -7416,19 +8603,19 @@ export declare interface PreviewComponent extends RoomleComponent {
|
|
|
7416
8603
|
stringId: string;
|
|
7417
8604
|
receivedPointAssociation: boolean;
|
|
7418
8605
|
dockInsertAnimation?: DragInsertAnimation;
|
|
7419
|
-
clickPosition?:
|
|
8606
|
+
clickPosition?: Vector3_2;
|
|
7420
8607
|
clonePreview(cloneId: string): PreviewComponent;
|
|
7421
8608
|
preparePreview(): void;
|
|
7422
8609
|
startPulsating(): void;
|
|
7423
|
-
updateClickPosition(intersectionPoint:
|
|
8610
|
+
updateClickPosition(intersectionPoint: Vector3_2): void;
|
|
7424
8611
|
}
|
|
7425
8612
|
|
|
7426
8613
|
export declare interface PreviewLineComponent extends PreviewComponent {
|
|
7427
|
-
lineFrom:
|
|
7428
|
-
lineTo:
|
|
8614
|
+
lineFrom: Vector3_2;
|
|
8615
|
+
lineTo: Vector3_2;
|
|
7429
8616
|
lineSegments: PreviewLineSegment[];
|
|
7430
|
-
positionFrom:
|
|
7431
|
-
positionTo:
|
|
8617
|
+
positionFrom: Vector3_2;
|
|
8618
|
+
positionTo: Vector3_2;
|
|
7432
8619
|
roomleLineFrom: KernelVector3;
|
|
7433
8620
|
roomleLineTo: KernelVector3;
|
|
7434
8621
|
roomlePositionFrom: KernelVector3;
|
|
@@ -7437,8 +8624,8 @@ export declare interface PreviewLineComponent extends PreviewComponent {
|
|
|
7437
8624
|
lineMesh: Mesh;
|
|
7438
8625
|
boundingLineMesh: RoomleEventedMesh;
|
|
7439
8626
|
clonePreviewLine(cloneId: string): PreviewLineComponent;
|
|
7440
|
-
getPositionForIntersectionPoint(intersectionPoint:
|
|
7441
|
-
updatePreviewPosition(intersectionPoint:
|
|
8627
|
+
getPositionForIntersectionPoint(intersectionPoint: Vector3_2): Vector3_2;
|
|
8628
|
+
updatePreviewPosition(intersectionPoint: Vector3_2): void;
|
|
7442
8629
|
hideSelectionLine(): void;
|
|
7443
8630
|
}
|
|
7444
8631
|
|
|
@@ -7481,6 +8668,13 @@ export declare class PromiseQueue<T> {
|
|
|
7481
8668
|
get length(): number;
|
|
7482
8669
|
}
|
|
7483
8670
|
|
|
8671
|
+
export declare interface Range_2 {
|
|
8672
|
+
step: number;
|
|
8673
|
+
type: string;
|
|
8674
|
+
valueFrom: number;
|
|
8675
|
+
valueTo: number;
|
|
8676
|
+
}
|
|
8677
|
+
|
|
7484
8678
|
export declare class RangeArray extends EmsArray<KernelRange> {
|
|
7485
8679
|
}
|
|
7486
8680
|
|
|
@@ -8212,7 +9406,7 @@ export declare class RaycastHelper extends EventDispatcher<Record<RAYCAST_EVENT,
|
|
|
8212
9406
|
private _onRotate;
|
|
8213
9407
|
private _positionPlanes;
|
|
8214
9408
|
private _calculateOffset;
|
|
8215
|
-
update(bounds:
|
|
9409
|
+
update(bounds: Vector3_2 | null, rootComponentPosition: Vector3_2 | null, backgroundScene: Scene | null): void;
|
|
8216
9410
|
clear(): void;
|
|
8217
9411
|
enableDragIn(mesh: RoomleEventedMesh): void;
|
|
8218
9412
|
setRootComponentId(rootComponentId: number): void;
|
|
@@ -8222,18 +9416,30 @@ export declare class RaycastHelper extends EventDispatcher<Record<RAYCAST_EVENT,
|
|
|
8222
9416
|
intersectMouseOnScene(event: Pick<PointerInputEvent, 'positionRelative'>): KernelVector3 | null;
|
|
8223
9417
|
enableOnWallSnapping(): void;
|
|
8224
9418
|
disableOnWallSnapping(): void;
|
|
8225
|
-
getCameraPosition():
|
|
9419
|
+
getCameraPosition(): Vector3_2;
|
|
8226
9420
|
}
|
|
8227
9421
|
|
|
8228
9422
|
export declare interface Rectangle {
|
|
8229
9423
|
angle: number;
|
|
8230
9424
|
center: KernelVector3f;
|
|
8231
|
-
cornerPoints:
|
|
8232
|
-
referencePoints:
|
|
9425
|
+
cornerPoints: PointArray_3;
|
|
9426
|
+
referencePoints: RectangleReferencePoints_2;
|
|
8233
9427
|
size: KernelVector3f;
|
|
8234
9428
|
}
|
|
8235
9429
|
|
|
8236
9430
|
export declare interface RectangleReferencePoints {
|
|
9431
|
+
bottom: Vector3;
|
|
9432
|
+
bottomLeft: Vector3;
|
|
9433
|
+
bottomRight: Vector3;
|
|
9434
|
+
center: Vector3;
|
|
9435
|
+
left: Vector3;
|
|
9436
|
+
right: Vector3;
|
|
9437
|
+
top: Vector3;
|
|
9438
|
+
topLeft: Vector3;
|
|
9439
|
+
topRight: Vector3;
|
|
9440
|
+
}
|
|
9441
|
+
|
|
9442
|
+
export declare interface RectangleReferencePoints_2 {
|
|
8237
9443
|
bottom: KernelVector3;
|
|
8238
9444
|
bottomLeft: KernelVector3;
|
|
8239
9445
|
bottomRight: KernelVector3;
|
|
@@ -8245,7 +9451,7 @@ export declare interface RectangleReferencePoints {
|
|
|
8245
9451
|
topRight: KernelVector3;
|
|
8246
9452
|
}
|
|
8247
9453
|
|
|
8248
|
-
export declare const removeExtObjIdPrefix: (id:
|
|
9454
|
+
export declare const removeExtObjIdPrefix: (id: ExtObjId) => string;
|
|
8249
9455
|
|
|
8250
9456
|
export declare type RenderOptions = Partial<typeof DEFAULT_RENDER_OPTIONS>;
|
|
8251
9457
|
|
|
@@ -8261,6 +9467,10 @@ export declare const enum ResizingAnchor {
|
|
|
8261
9467
|
Right = 8
|
|
8262
9468
|
}
|
|
8263
9469
|
|
|
9470
|
+
export declare interface ResizingAnchor_2 {
|
|
9471
|
+
value: Enumify_2<typeof CORE_RESIZING_ANCHOR>;
|
|
9472
|
+
}
|
|
9473
|
+
|
|
8264
9474
|
export declare class RoomDesignerApi implements RoomDesignerRequests {
|
|
8265
9475
|
private _roomlePlanner;
|
|
8266
9476
|
constructor(roomlePlanner: RoomlePlannerType);
|
|
@@ -9925,7 +11135,7 @@ export declare type RoomlePlannerType = RoomlePlanner | RoomlePlannerWithExtObjs
|
|
|
9925
11135
|
export declare class RoomlePlannerUiCallback extends UiCallback implements ExternalObjectUiCallback {
|
|
9926
11136
|
constructor(creator: string);
|
|
9927
11137
|
onItemsLoaded: () => void;
|
|
9928
|
-
onCameraChanged: (type:
|
|
11138
|
+
onCameraChanged: (type: Enumify<typeof CAMERA_TYPE>) => void;
|
|
9929
11139
|
onCameraIdle: () => void;
|
|
9930
11140
|
onTotalFloorAreaChanged: (totalFloorArea: number) => void;
|
|
9931
11141
|
onPlanInteractionManagerCreated: (planInteractionManager: PlanInteractionManager) => void;
|
|
@@ -9963,7 +11173,7 @@ export declare class RoomlePlannerUiCallback extends UiCallback implements Exter
|
|
|
9963
11173
|
* When an element in the plan has been added, removed or changed
|
|
9964
11174
|
* null if changed, added or removed object is not a item or configuration, such as a wall or construction element
|
|
9965
11175
|
*/
|
|
9966
|
-
onPlanElementChanged: (changeType:
|
|
11176
|
+
onPlanElementChanged: (changeType: Enumify<typeof PLAN_ELEMENT_CHANGE_TYPES>, changedObject: UiPlanObject) => void;
|
|
9967
11177
|
/**
|
|
9968
11178
|
* When the plan has been completely loaded
|
|
9969
11179
|
*/
|
|
@@ -10100,7 +11310,7 @@ export declare abstract class RoomleRenderer<RendererType extends WebGLRenderer
|
|
|
10100
11310
|
renderer: RendererType;
|
|
10101
11311
|
protected isConfiguratorMode: boolean;
|
|
10102
11312
|
protected isCameraMoving: boolean;
|
|
10103
|
-
protected cameraType:
|
|
11313
|
+
protected cameraType: Enumify<typeof CAMERA_TYPE>;
|
|
10104
11314
|
protected shadowNeedsUpdate: boolean;
|
|
10105
11315
|
protected boundingBox: Box3;
|
|
10106
11316
|
protected boundingBoxNeedsUpdate: boolean;
|
|
@@ -10109,7 +11319,7 @@ export declare abstract class RoomleRenderer<RendererType extends WebGLRenderer
|
|
|
10109
11319
|
dispose(): void;
|
|
10110
11320
|
setSize(width: number, height: number): void;
|
|
10111
11321
|
getSize(target: Vector2): Vector2;
|
|
10112
|
-
setCameraType(cameraType:
|
|
11322
|
+
setCameraType(cameraType: Enumify<typeof CAMERA_TYPE>): void;
|
|
10113
11323
|
movingCameraStarts(): void;
|
|
10114
11324
|
movingCameraStops(): void;
|
|
10115
11325
|
forceShadowUpdates(_updateBakedGroundShadow: boolean): void;
|
|
@@ -10212,7 +11422,7 @@ export declare class RoomleWebGPURenderer extends RoomleRenderer<WebGPURenderer>
|
|
|
10212
11422
|
clearCache(): void;
|
|
10213
11423
|
disableUiInteractionMode(): void;
|
|
10214
11424
|
enableUiInteractionMode(): void;
|
|
10215
|
-
setCameraType(cameraType:
|
|
11425
|
+
setCameraType(cameraType: Enumify<typeof CAMERA_TYPE>): void;
|
|
10216
11426
|
switchToConfigurator(): void;
|
|
10217
11427
|
switchToPlanner(renderMode: PlannerRenderMode): void;
|
|
10218
11428
|
highlightObjects(selectedMeshes: Object3D_2[]): void;
|
|
@@ -10242,13 +11452,18 @@ export declare class RoomleWebGPURenderer extends RoomleRenderer<WebGPURenderer>
|
|
|
10242
11452
|
export declare interface RoomLightSourceDistribution {
|
|
10243
11453
|
ceilingId: number;
|
|
10244
11454
|
floorId: number;
|
|
10245
|
-
positionsInPlan:
|
|
10246
|
-
positionsRelativeToFloor:
|
|
11455
|
+
positionsInPlan: PointArray_3;
|
|
11456
|
+
positionsRelativeToFloor: PointArray_3;
|
|
10247
11457
|
}
|
|
10248
11458
|
|
|
10249
11459
|
export declare class RoomLightSourceDistributionArray extends EmsArray<RoomLightSourceDistribution> {
|
|
10250
11460
|
}
|
|
10251
11461
|
|
|
11462
|
+
export declare interface RoomWall {
|
|
11463
|
+
roomSide: WallSide_2;
|
|
11464
|
+
wall: Wall_2;
|
|
11465
|
+
}
|
|
11466
|
+
|
|
10252
11467
|
export declare interface RotatableImageExportOptions {
|
|
10253
11468
|
rotationY?: number;
|
|
10254
11469
|
cameraPosition?: {
|
|
@@ -10396,7 +11611,7 @@ export declare abstract class SceneManager implements Context, LifeCycleCallback
|
|
|
10396
11611
|
protected _isInteriorLightActive: boolean;
|
|
10397
11612
|
protected _perspectiveOffsetCamera: PerspectiveOffsetCamera | null;
|
|
10398
11613
|
protected _orthographicOffsetCamera: OrthographicOffsetCamera | null;
|
|
10399
|
-
protected abstract createCameraControl(mode:
|
|
11614
|
+
protected abstract createCameraControl(mode: Enumify<typeof CAMERA_TYPE>, offset: CanvasOffset): void;
|
|
10400
11615
|
protected abstract _getInputManager(): InputManager;
|
|
10401
11616
|
get cameraBehaviour(): CameraBehaviour;
|
|
10402
11617
|
protected _scheduleRenderLoopFunction(renderLoopFunction: () => void): void;
|
|
@@ -10410,7 +11625,7 @@ export declare abstract class SceneManager implements Context, LifeCycleCallback
|
|
|
10410
11625
|
abstract getGeometryBounds(): Box3 | null;
|
|
10411
11626
|
protected onBeforeRender(): void;
|
|
10412
11627
|
protected _onAfterRender: () => void;
|
|
10413
|
-
protected constructor(creator: string, offset: CanvasOffset, canvasID: string, mode:
|
|
11628
|
+
protected constructor(creator: string, offset: CanvasOffset, canvasID: string, mode: Enumify<typeof CAMERA_TYPE>);
|
|
10414
11629
|
addEventListener(_listener: LifeCycleCallbacks): void;
|
|
10415
11630
|
removeEventListener(_listener: LifeCycleCallbacks): void;
|
|
10416
11631
|
get lightCache(): LightCache | null;
|
|
@@ -10453,8 +11668,8 @@ export declare abstract class SceneManager implements Context, LifeCycleCallback
|
|
|
10453
11668
|
cleanUp(): void;
|
|
10454
11669
|
clearScene(): void;
|
|
10455
11670
|
enableHD(source?: DynamicLightSettingSource): void;
|
|
10456
|
-
protected _loadGLTF(gltfJSON: string, position?:
|
|
10457
|
-
protected _loadGLB(url: string, position?:
|
|
11671
|
+
protected _loadGLTF(gltfJSON: string, position?: Vector3_2, rotation?: number, size?: Vector3_2, scale?: Vector3_2, color?: number, callback?: (percent: number) => void): Promise<Object3D>;
|
|
11672
|
+
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
11673
|
showGUI(): Promise<void>;
|
|
10459
11674
|
protected initializeWebGLGUI(): void;
|
|
10460
11675
|
protected initializeWebGPUGUI(roomleWebGPURenderer: RoomleWebGPURenderer): void;
|
|
@@ -10508,8 +11723,8 @@ export declare interface ScenePlugin extends ScenePluginHooks, Context {
|
|
|
10508
11723
|
export declare interface ScenePluginHooks {
|
|
10509
11724
|
updateBounds(bounds: Box3): void;
|
|
10510
11725
|
clearScene(scene: Scene, uiScene: Scene): void;
|
|
10511
|
-
moveCameraEnd(position:
|
|
10512
|
-
moveCameraStart(position:
|
|
11726
|
+
moveCameraEnd(position: Vector3_2): void;
|
|
11727
|
+
moveCameraStart(position: Vector3_2): void;
|
|
10513
11728
|
needsUiScene(): boolean;
|
|
10514
11729
|
}
|
|
10515
11730
|
|
|
@@ -10594,6 +11809,8 @@ export declare class SinglePromiseFactory implements Context {
|
|
|
10594
11809
|
export declare class SizeTArray extends EmsArray<number> {
|
|
10595
11810
|
}
|
|
10596
11811
|
|
|
11812
|
+
export declare type SizeTArray_2 = EmscriptenArray<number>;
|
|
11813
|
+
|
|
10597
11814
|
export declare const SKY_EVENT: {
|
|
10598
11815
|
readonly ENTERED_PLANNER: "sky:entered-planner";
|
|
10599
11816
|
readonly ENTERED_CONFIGURATOR: "sky:entered-configurator";
|
|
@@ -10614,7 +11831,11 @@ export declare class SkyStateTracker extends EventDispatcher<SkyFeatureEventMap>
|
|
|
10614
11831
|
notifyEnteredConfigurator(): void;
|
|
10615
11832
|
}
|
|
10616
11833
|
|
|
10617
|
-
export declare
|
|
11834
|
+
export declare interface SnapMode {
|
|
11835
|
+
value: Enumify_2<typeof CORE_SNAP_MODE>;
|
|
11836
|
+
}
|
|
11837
|
+
|
|
11838
|
+
export declare const enum SnapMode_2 {
|
|
10618
11839
|
OFF = 0,
|
|
10619
11840
|
ON_COLLISION = 1,
|
|
10620
11841
|
ON_COLLISION_ROTATE_WITHIN_DISTANCE = 2,
|
|
@@ -10622,7 +11843,7 @@ export declare const enum SnapMode {
|
|
|
10622
11843
|
}
|
|
10623
11844
|
|
|
10624
11845
|
export declare interface SnapState {
|
|
10625
|
-
value:
|
|
11846
|
+
value: Enumify<typeof CORE_SNAP_STATE>;
|
|
10626
11847
|
}
|
|
10627
11848
|
|
|
10628
11849
|
export declare interface StaticComponent extends RoomleComponent {
|
|
@@ -10898,7 +12119,7 @@ export declare const enum Type_2 {
|
|
|
10898
12119
|
}
|
|
10899
12120
|
|
|
10900
12121
|
export declare interface TypeOfCoreId {
|
|
10901
|
-
value:
|
|
12122
|
+
value: Enumify<typeof CORE_TYPE_OF_CORE_ID>;
|
|
10902
12123
|
}
|
|
10903
12124
|
|
|
10904
12125
|
export declare class UiCallback implements Context {
|
|
@@ -10996,8 +12217,8 @@ export declare class UndoRedoHandler {
|
|
|
10996
12217
|
private reset;
|
|
10997
12218
|
undo(): void;
|
|
10998
12219
|
redo(): void;
|
|
10999
|
-
loadPlanXML(xml: string):
|
|
11000
|
-
createPlanWithObjectFromItem(object: KernelObject, position: KernelVector3, rotationInRad: number):
|
|
12220
|
+
loadPlanXML(xml: string): Plan_3;
|
|
12221
|
+
createPlanWithObjectFromItem(object: KernelObject, position: KernelVector3, rotationInRad: number): Plan_3;
|
|
11001
12222
|
endDrawing(point: {
|
|
11002
12223
|
x: number;
|
|
11003
12224
|
y: number;
|
|
@@ -11038,6 +12259,12 @@ export declare class UndoRedoHandler {
|
|
|
11038
12259
|
onCoreLoad(reason: HiLoadObjectReason): void;
|
|
11039
12260
|
}
|
|
11040
12261
|
|
|
12262
|
+
export declare interface UniqueIdAndHash {
|
|
12263
|
+
hash: string;
|
|
12264
|
+
libraryId: string;
|
|
12265
|
+
uniqueId: string;
|
|
12266
|
+
}
|
|
12267
|
+
|
|
11041
12268
|
export declare const enum Unit {
|
|
11042
12269
|
InchFeet = 0,
|
|
11043
12270
|
MM = 1,
|
|
@@ -11155,6 +12382,8 @@ export declare const enum UnitType_2 {
|
|
|
11155
12382
|
COUNT = 3
|
|
11156
12383
|
}
|
|
11157
12384
|
|
|
12385
|
+
export declare type UnitTypeString = Enumify_3<typeof CORE_UNIT_TYPE_STRING>;
|
|
12386
|
+
|
|
11158
12387
|
export declare type UseIdbStore = <T>(txMode: IDBTransactionMode, callback: (store: IDBObjectStore) => T | PromiseLike<T>) => Promise<T>;
|
|
11159
12388
|
|
|
11160
12389
|
export declare interface UserAction {
|
|
@@ -11188,6 +12417,16 @@ export declare interface VariantsList {
|
|
|
11188
12417
|
export declare class Vector2fArray extends EmsArray<KernelVector2f> {
|
|
11189
12418
|
}
|
|
11190
12419
|
|
|
12420
|
+
export declare interface Vector3 {
|
|
12421
|
+
x: number;
|
|
12422
|
+
y: number;
|
|
12423
|
+
z: number;
|
|
12424
|
+
}
|
|
12425
|
+
|
|
12426
|
+
export declare interface ViewType {
|
|
12427
|
+
value: Enumify_3<typeof CORE_VIEW_TYPE>;
|
|
12428
|
+
}
|
|
12429
|
+
|
|
11191
12430
|
export declare class Wall extends PlanObjectPtr {
|
|
11192
12431
|
readonly thickness: number;
|
|
11193
12432
|
readonly height: number;
|
|
@@ -11205,7 +12444,7 @@ export declare class Wall extends PlanObjectPtr {
|
|
|
11205
12444
|
getLength(): number;
|
|
11206
12445
|
getSlopingLength(): number;
|
|
11207
12446
|
getPreferredSide(): {
|
|
11208
|
-
value:
|
|
12447
|
+
value: Enumify<typeof WALL_SIDES>;
|
|
11209
12448
|
};
|
|
11210
12449
|
getAttachedObjects(): PlanObjectObjectSet;
|
|
11211
12450
|
getCenter(): KernelVector3f;
|
|
@@ -11213,6 +12452,36 @@ export declare class Wall extends PlanObjectPtr {
|
|
|
11213
12452
|
getPointWithHeight(aHeight: number): KernelVector3f;
|
|
11214
12453
|
}
|
|
11215
12454
|
|
|
12455
|
+
export declare interface Wall_2 extends PlanElement_2 {
|
|
12456
|
+
new (): Wall_2;
|
|
12457
|
+
getFrom(): Node_3;
|
|
12458
|
+
getTo(): Node_3;
|
|
12459
|
+
getAttachedAttics(): AtticArray;
|
|
12460
|
+
getCornerFromLeft(): Vector3;
|
|
12461
|
+
getCornerFromRight(): Vector3;
|
|
12462
|
+
getCornerToLeft(): Vector3;
|
|
12463
|
+
getCornerToRight(): Vector3;
|
|
12464
|
+
getAngle(): number;
|
|
12465
|
+
getLength(side: WallSide_2): number;
|
|
12466
|
+
getSlopingLength(): number;
|
|
12467
|
+
getPreferredSide(): WallSide_2;
|
|
12468
|
+
getAttachedObjects(): ConstructionObjectSet_2;
|
|
12469
|
+
getAttachedObjectsExtRefArray(): SizeTArray_2;
|
|
12470
|
+
getCenter(): Vector3;
|
|
12471
|
+
getHeightAt(aPoint: Vector3): number;
|
|
12472
|
+
getPointWithHeight(aHeight: number): Vector3;
|
|
12473
|
+
readonly meshThickness: number;
|
|
12474
|
+
readonly isVectorWall: boolean;
|
|
12475
|
+
readonly thickness: number;
|
|
12476
|
+
readonly height: number;
|
|
12477
|
+
readonly leftMaterial: WallMaterial_2;
|
|
12478
|
+
readonly rightMaterial: WallMaterial_2;
|
|
12479
|
+
readonly wallType: WallType;
|
|
12480
|
+
readonly leftNormal: Vector3;
|
|
12481
|
+
readonly rightNormal: Vector3;
|
|
12482
|
+
readonly edgeType: EdgeType;
|
|
12483
|
+
}
|
|
12484
|
+
|
|
11216
12485
|
export declare const WALL_SIDES: {
|
|
11217
12486
|
readonly LEFT: 0;
|
|
11218
12487
|
readonly RIGHT: 1;
|
|
@@ -11235,7 +12504,7 @@ export declare interface WallDefinition {
|
|
|
11235
12504
|
};
|
|
11236
12505
|
}
|
|
11237
12506
|
|
|
11238
|
-
export declare type WallDimension = DimensionDefinition<
|
|
12507
|
+
export declare type WallDimension = DimensionDefinition<Vector3_2, Vector3_2> & {
|
|
11239
12508
|
label?: string;
|
|
11240
12509
|
measurementKind?: WallMeasurementKind;
|
|
11241
12510
|
slopingMeasurement?: WallMeasurementVariant;
|
|
@@ -11253,9 +12522,17 @@ export declare interface WallExtensionType {
|
|
|
11253
12522
|
ExtendBoth: EMSConstant;
|
|
11254
12523
|
}
|
|
11255
12524
|
|
|
12525
|
+
export declare interface WallExtensionType_2 {
|
|
12526
|
+
value: Enumify_2<typeof CORE_WALL_EXTENSION_TYPE>;
|
|
12527
|
+
}
|
|
12528
|
+
|
|
11256
12529
|
export declare class WallMaterial extends BaseMaterial {
|
|
11257
12530
|
}
|
|
11258
12531
|
|
|
12532
|
+
export declare interface WallMaterial_2 extends BaseMaterial_2 {
|
|
12533
|
+
new (): WallMaterial_2;
|
|
12534
|
+
}
|
|
12535
|
+
|
|
11259
12536
|
export declare type WallMeasurementKind = 'edge2d' | 'sloping';
|
|
11260
12537
|
|
|
11261
12538
|
export declare interface WallMeasurementVariant {
|
|
@@ -11333,7 +12610,15 @@ export declare interface WallPlanObject extends PlanObject {
|
|
|
11333
12610
|
}
|
|
11334
12611
|
|
|
11335
12612
|
export declare interface WallSide {
|
|
11336
|
-
value:
|
|
12613
|
+
value: Enumify<typeof WALL_SIDES>;
|
|
12614
|
+
}
|
|
12615
|
+
|
|
12616
|
+
export declare interface WallSide_2 {
|
|
12617
|
+
value: Enumify_2<typeof CORE_WALL_SIDE>;
|
|
12618
|
+
}
|
|
12619
|
+
|
|
12620
|
+
export declare interface WallType {
|
|
12621
|
+
value: Enumify_2<typeof CORE_WALL_TYPE>;
|
|
11337
12622
|
}
|
|
11338
12623
|
|
|
11339
12624
|
export declare const WEBGPU_TONE_MAPPINGS: {
|
|
@@ -11626,7 +12911,7 @@ export declare interface WebGpuSSGIConfigDefinition {
|
|
|
11626
12911
|
aoDenoiseRadius?: number;
|
|
11627
12912
|
}
|
|
11628
12913
|
|
|
11629
|
-
export declare type WebGpuToneMapping =
|
|
12914
|
+
export declare type WebGpuToneMapping = Enumify<typeof WEBGPU_TONE_MAPPINGS>;
|
|
11630
12915
|
|
|
11631
12916
|
export declare class WebGpuTopLightConfig implements WebGpuTopLightConfigDefinition {
|
|
11632
12917
|
intensity: number;
|
|
@@ -11654,6 +12939,16 @@ export declare interface WebGpuTopLightConfigDefinition {
|
|
|
11654
12939
|
shadowRadius?: number;
|
|
11655
12940
|
}
|
|
11656
12941
|
|
|
12942
|
+
export declare const enum WORKER_MESSAGE {
|
|
12943
|
+
PREFIX = 0,
|
|
12944
|
+
INIT = 1,
|
|
12945
|
+
ERROR = 2,
|
|
12946
|
+
ASSET_LOADED = 3,
|
|
12947
|
+
INIT_DONE = 4,
|
|
12948
|
+
LOAD_ASSET = 5,
|
|
12949
|
+
SW_CLAIMED_CONTROL = 6
|
|
12950
|
+
}
|
|
12951
|
+
|
|
11657
12952
|
export declare class ZoomChangeEvent {
|
|
11658
12953
|
minZoom: boolean;
|
|
11659
12954
|
maxZoom: boolean;
|
|
@@ -11663,18 +12958,10 @@ export declare class ZoomChangeEvent {
|
|
|
11663
12958
|
export { }
|
|
11664
12959
|
|
|
11665
12960
|
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
12961
|
interface Window {
|
|
11673
12962
|
KernelCallback?: { isReady: () => void } | null;
|
|
11674
|
-
__RML_WEBGL_GUI__: GUI; // eslint-disable-line
|
|
11675
12963
|
__RML__DEBUG__?: Debug;
|
|
11676
12964
|
__RML__ENV__?: ExternalEnv;
|
|
11677
|
-
_rsl: { [key: string]: ThreeShader };
|
|
11678
12965
|
THREE?: any;
|
|
11679
12966
|
}
|
|
11680
12967
|
}
|