@roomle/web-sdk 5.1.0 → 5.2.0-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/ConfiguratorKernel.wasm +0 -0
- package/lib/RoomleCore.wasm +0 -0
- package/lib/RoomleToolsCore.wasm +0 -0
- package/lib/{api-Woc5NOM1.mjs → api-DzAvODF3.mjs} +13 -10
- package/lib/{api-Woc5NOM1.mjs.map → api-DzAvODF3.mjs.map} +1 -1
- package/lib/asset-loader.worker-CE4O0JU-.mjs.map +1 -1
- package/lib/budgeteer.sw-yR2xApHT.mjs.map +1 -1
- package/lib/budgeteer.sw.js +1 -1
- package/lib/common-utils-CNGLvAo_.mjs.map +1 -1
- package/lib/{component-raycast-helper-CaY2UMli.mjs → component-raycast-helper-DmNjzxSD.mjs} +2 -2
- package/lib/{component-raycast-helper-CaY2UMli.mjs.map → component-raycast-helper-DmNjzxSD.mjs.map} +1 -1
- package/lib/configurator-BpxToJbA.mjs +2 -0
- package/lib/{configurator-i-Zl5omd.mjs → configurator-CJFwkh54.mjs} +4 -4
- package/lib/{configurator-i-Zl5omd.mjs.map → configurator-CJFwkh54.mjs.map} +1 -1
- package/lib/glb-viewer-45djC72D.mjs +2 -0
- package/lib/{glb-viewer-C1-vP2Vq.mjs → glb-viewer-BSHmO1do.mjs} +5 -5
- package/lib/{glb-viewer-C1-vP2Vq.mjs.map → glb-viewer-BSHmO1do.mjs.map} +1 -1
- package/lib/{highlight-coordinator-DKMaPGPo.mjs → highlight-coordinator-DDyo_U8P.mjs} +3 -3
- package/lib/{highlight-coordinator-DKMaPGPo.mjs.map → highlight-coordinator-DDyo_U8P.mjs.map} +1 -1
- package/lib/{homag-intelligence-Dr0m9LxO.mjs → homag-intelligence-CNxcr-eA.mjs} +7 -4
- package/lib/homag-intelligence-CNxcr-eA.mjs.map +1 -0
- package/lib/{material-viewer-CHzje_V0.mjs → material-viewer-HzxKTFQF.mjs} +11 -11
- package/lib/{material-viewer-CHzje_V0.mjs.map → material-viewer-HzxKTFQF.mjs.map} +1 -1
- package/lib/{packages-DbOsSpKq.mjs → packages-BebHC0FC.mjs} +5 -5
- package/lib/{packages-DbOsSpKq.mjs.map → packages-BebHC0FC.mjs.map} +1 -1
- package/lib/{planner-BOrph7M7.mjs → planner-DLRkyi_2.mjs} +3 -3
- package/lib/{planner-BOrph7M7.mjs.map → planner-DLRkyi_2.mjs.map} +1 -1
- package/lib/planner-FqhSeWWA.mjs +2 -0
- package/lib/roomle-headless.d.ts +269 -31
- package/lib/roomle-headless.js +11 -11
- package/lib/roomle-renderer-nCUrLU_S.mjs.map +1 -1
- package/lib/{roomle-sdk-CN9TqA78.mjs → roomle-sdk-Bt3h0SSr.mjs} +4254 -3668
- package/lib/roomle-sdk-Bt3h0SSr.mjs.map +1 -0
- package/lib/roomle-sdk.d.ts +269 -31
- package/lib/roomle-sdk.js +8 -8
- package/lib/{roomle-webgpu-renderer-C26OAfkn.mjs → roomle-webgpu-renderer-__fKL0NL.mjs} +7 -7
- package/lib/roomle-webgpu-renderer-__fKL0NL.mjs.map +1 -0
- package/lib/{scene-renderer-DGSgD6mp.mjs → scene-renderer-DdVBP89m.mjs} +11 -11
- package/lib/{scene-renderer-DGSgD6mp.mjs.map → scene-renderer-DdVBP89m.mjs.map} +1 -1
- package/lib/{script-loader-CL3F8sIY.mjs → script-loader-CIboUjm9.mjs} +2 -2
- package/lib/{script-loader-CL3F8sIY.mjs.map → script-loader-CIboUjm9.mjs.map} +1 -1
- package/lib/static/packages/workers/generated/budgeteer.sw.js +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/src/embind/plannerCoreInterface.d.ts +23 -4
- package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/src/embind/plannerCoreInterface.js.map +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-C74q5Bje.mjs → stats-helper-DYmtEOGb.mjs} +2 -2
- package/lib/{stats-helper-C74q5Bje.mjs.map → stats-helper-DYmtEOGb.mjs.map} +1 -1
- package/lib/{three.module-DUSFrLM6.mjs → three.module-230BZkaT.mjs} +2 -2
- package/lib/{three.module-DUSFrLM6.mjs.map → three.module-230BZkaT.mjs.map} +1 -1
- package/lib/{threejs-utils-DHTRY4yW.mjs → threejs-utils-Dy-rm1a9.mjs} +66 -64
- package/lib/threejs-utils-Dy-rm1a9.mjs.map +1 -0
- package/lib/{tools-core-D3kc3jRW.mjs → tools-core-BpUxOTe-.mjs} +3 -3
- package/lib/{tools-core-D3kc3jRW.mjs.map → tools-core-BpUxOTe-.mjs.map} +1 -1
- package/package.json +2 -2
- package/lib/configurator-Bo_pnqDi.mjs +0 -2
- package/lib/glb-viewer-CaNU0FLF.mjs +0 -2
- package/lib/homag-intelligence-Dr0m9LxO.mjs.map +0 -1
- package/lib/planner-DXeyIHUx.mjs +0 -2
- package/lib/roomle-sdk-CN9TqA78.mjs.map +0 -1
- package/lib/roomle-webgpu-renderer-C26OAfkn.mjs.map +0 -1
- package/lib/threejs-utils-DHTRY4yW.mjs.map +0 -1
package/lib/roomle-headless.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ import { PerspectiveCamera } from 'three';
|
|
|
26
26
|
import { PointLight } from 'three';
|
|
27
27
|
import { Scene } from 'three';
|
|
28
28
|
import { Scene as Scene_2 } from 'three/webgpu';
|
|
29
|
+
import { Sphere } from 'three';
|
|
29
30
|
import { Texture } from 'three';
|
|
30
31
|
import { TextureLoader } from 'three';
|
|
31
32
|
import { Vector2 } from 'three';
|
|
@@ -219,6 +220,19 @@ export declare interface AssetType_2 {
|
|
|
219
220
|
|
|
220
221
|
export declare type AssetUrl = string;
|
|
221
222
|
|
|
223
|
+
export declare class AsyncGuard<T> {
|
|
224
|
+
info: any;
|
|
225
|
+
private _promise;
|
|
226
|
+
private _resolve;
|
|
227
|
+
private _reject;
|
|
228
|
+
constructor(info?: any);
|
|
229
|
+
private _init;
|
|
230
|
+
resolve(value?: any): void;
|
|
231
|
+
reject(e: Error): void;
|
|
232
|
+
wait(): Promise<T>;
|
|
233
|
+
reset(): void;
|
|
234
|
+
}
|
|
235
|
+
|
|
222
236
|
export declare interface Attic extends PlanElement_2 {
|
|
223
237
|
new (): Attic;
|
|
224
238
|
getFrom(): Node_3;
|
|
@@ -1618,12 +1632,31 @@ export declare interface ConfiguratorKernelContainer {
|
|
|
1618
1632
|
export declare class ConfiguratorPlanObjectViewModel extends PlanObjectViewModel {
|
|
1619
1633
|
private _rootComponentRuntimeId;
|
|
1620
1634
|
private _rootComponentId;
|
|
1635
|
+
private _componentsCutByCamera;
|
|
1636
|
+
private _localCameraPosition;
|
|
1621
1637
|
constructor(planObject: PlanObject);
|
|
1622
1638
|
addRootComponent(component: RoomleComponent): void;
|
|
1623
1639
|
addChildEntityComponent(component: RoomleComponent): void;
|
|
1624
1640
|
getConfigurationRuntimeId(): number;
|
|
1625
1641
|
getRootComponentId(): number;
|
|
1626
1642
|
getRootComponentRuntimeId(): number;
|
|
1643
|
+
/**
|
|
1644
|
+
* A configuration is one plan object but many components - a whole kitchen run
|
|
1645
|
+
* shares a single bounding box, so hiding the container would clear the scene as
|
|
1646
|
+
* soon as the camera gets close to any of its cabinets. The object bounds are only
|
|
1647
|
+
* the broad phase here, the components actually cut by the near plane are hidden
|
|
1648
|
+
* individually.
|
|
1649
|
+
*/
|
|
1650
|
+
hideCutByCamera(cameraSphere: Sphere): boolean;
|
|
1651
|
+
restoreCutByCamera(): boolean;
|
|
1652
|
+
private _setComponentCutByCamera;
|
|
1653
|
+
/**
|
|
1654
|
+
* Only the component's own meshes, its child components stay visible - and
|
|
1655
|
+
* re-applied while cut, so meshes replaced in the meantime stay hidden too.
|
|
1656
|
+
* A component waiting for its geometry hides its meshes behind the loading box
|
|
1657
|
+
* itself, showing them again is `loadingFinished()`'s job, not ours.
|
|
1658
|
+
*/
|
|
1659
|
+
private _applyComponentMeshVisibility;
|
|
1627
1660
|
finishConstruction(): Promise<void>;
|
|
1628
1661
|
failConstruction(): Promise<void>;
|
|
1629
1662
|
toJSON(): {
|
|
@@ -1631,7 +1664,12 @@ export declare class ConfiguratorPlanObjectViewModel extends PlanObjectViewModel
|
|
|
1631
1664
|
rootElementId: number;
|
|
1632
1665
|
};
|
|
1633
1666
|
protected _updateBoundingBox(): void;
|
|
1634
|
-
|
|
1667
|
+
/**
|
|
1668
|
+
* Walks the component tree with a visitor: this runs per frame for every
|
|
1669
|
+
* configuration the camera is close to, where an array per tree level would be
|
|
1670
|
+
* a temporary allocation per component per frame.
|
|
1671
|
+
*/
|
|
1672
|
+
private _forEachComponent;
|
|
1635
1673
|
}
|
|
1636
1674
|
|
|
1637
1675
|
export declare class ConfiguratorSceneEventHandler extends SceneEventHandler<SceneEventInfo> {
|
|
@@ -1712,7 +1750,6 @@ export declare class ConfiguratorSceneManager extends SceneManager implements Co
|
|
|
1712
1750
|
private _uiIntersectionHelper;
|
|
1713
1751
|
private _sceneEventHandler;
|
|
1714
1752
|
private _isComponentDimensionsVisible;
|
|
1715
|
-
private _sceneSetupReady;
|
|
1716
1753
|
constructor(creator: string, offset: CanvasOffset, mode: Enumify<typeof CAMERA_TYPE>);
|
|
1717
1754
|
/**
|
|
1718
1755
|
* Single point for deciding whether to push HTML label positions to the UI.
|
|
@@ -2516,6 +2553,12 @@ export declare const CORE_OBJECT_TYPE_CATEGORY: {
|
|
|
2516
2553
|
readonly EXTERNAL_CONSTRUCTION: 5;
|
|
2517
2554
|
};
|
|
2518
2555
|
|
|
2556
|
+
export declare const CORE_OBSTACLE_TYPE: {
|
|
2557
|
+
readonly GLOBAL: 0;
|
|
2558
|
+
readonly OBJECT_WITH_ID: 1;
|
|
2559
|
+
readonly CONSTRUCTION_WITH_ID: 2;
|
|
2560
|
+
};
|
|
2561
|
+
|
|
2519
2562
|
export declare const CORE_OPENING_DIRECTION: {
|
|
2520
2563
|
readonly LEFT_CLOCKWISE: 0;
|
|
2521
2564
|
readonly LEFT_COUNTERCLOCKWISE: 1;
|
|
@@ -3457,7 +3500,8 @@ export declare interface ExternalObjectAPI {
|
|
|
3457
3500
|
* the "shapes" property, the layout type "posGroups" evaluates the "posGroups" property.
|
|
3458
3501
|
* For the layout type "posGroups" a group whose id matches a group already loaded in the plan
|
|
3459
3502
|
* completely replaces that group; root modules keep their ids when they already exist in the
|
|
3460
|
-
* replaced group, all other ids are regenerated.
|
|
3503
|
+
* replaced group, all other ids are regenerated. A root module the replace adds takes the
|
|
3504
|
+
* implicitRelevant input attributes of a root module it is docked to; its own attributes override them.
|
|
3461
3505
|
* @param layoutType The article layout type. "nobila" and "posGroups" are supported.
|
|
3462
3506
|
* @param options Options for loading the external object group.
|
|
3463
3507
|
*/
|
|
@@ -3511,6 +3555,12 @@ export declare interface ExternalObjectAPI {
|
|
|
3511
3555
|
* @param subArticleId The ID of the sub article to be selected.
|
|
3512
3556
|
*/
|
|
3513
3557
|
selectExternalObjectSubArticle(subArticleId: string): void;
|
|
3558
|
+
/**
|
|
3559
|
+
* "deleteExternalObjectSubArticle" deletes a placed sub article from its pos group.
|
|
3560
|
+
* @param posGroupId The ID of the pos group.
|
|
3561
|
+
* @param subArticleId The ID of the sub article to be deleted.
|
|
3562
|
+
*/
|
|
3563
|
+
deleteExternalObjectSubArticle(posGroupId: string, subArticleId: string): Promise<void>;
|
|
3514
3564
|
/**
|
|
3515
3565
|
* "renderImagesOfExternalObjectGroups" renders images of groups of modules.
|
|
3516
3566
|
* @param groupJson The group JSON as string or object.
|
|
@@ -3561,8 +3611,10 @@ export declare interface ExternalObjectAPI {
|
|
|
3561
3611
|
* the compacted master data per library (root modules and the customer-facing attributes),
|
|
3562
3612
|
* the room information of all rooms (contours in 3D, pos: [x, level, -y], with a derived
|
|
3563
3613
|
* walls array per room), the articles that can be used (compact catalog with dimensions,
|
|
3564
|
-
* docking vectors and sub-modules),
|
|
3565
|
-
* resubmittable article picks with footprints and free docking vectors)
|
|
3614
|
+
* docking vectors and sub-modules), all groups currently loaded in the plan (as
|
|
3615
|
+
* resubmittable article picks with footprints and free docking vectors), and what stands in the
|
|
3616
|
+
* room (the doors, windows and other plan objects as floor outlines with their height range,
|
|
3617
|
+
* and the HI groups as the outlines of their root modules).
|
|
3566
3618
|
* The result is designed to be passed to an AI agent as it is, without further preparation,
|
|
3567
3619
|
* with all geometry in one coordinate system: 3D, right-handed, Y up.
|
|
3568
3620
|
* @param include The sections to include. All sections are returned when omitted or empty.
|
|
@@ -3571,12 +3623,13 @@ export declare interface ExternalObjectAPI {
|
|
|
3571
3623
|
/**
|
|
3572
3624
|
* "externalObjectGroupOperation" changes the groups in the plan by command. The payload refers to
|
|
3573
3625
|
* groups, root modules and articles by the ids of "getExternalObjectPlanContext":
|
|
3574
|
-
* - "change-module-attribute" { rootModuleId, moduleId?, attributeId, value } sets an attribute
|
|
3626
|
+
* - "change-module-attribute" { rootModuleId, moduleId?, attributeId, value } without moduleId sets an attribute on the root module and on each of its sub modules that carry it; with moduleId it sets the attribute on that one sub module only
|
|
3575
3627
|
* - "change-group-attribute" { groupId, attributeId, value } sets an attribute on every module of the group that has it
|
|
3628
|
+
* - "change-attributes" { groupId, attributes: [{ attributeId, value, rootModuleIds? }] } sets several attribute values in one calculation, one load and one undo step: an entry with rootModuleIds on those root modules and their sub modules that carry it, without them on every module of the group that has it; the entries no module they name carries are skipped and named in skippedAttributes
|
|
3576
3629
|
* - "delete-group" { groupId } removes the group from the plan
|
|
3577
3630
|
* - "delete-root-module" { rootModuleId } removes a root module; the rest of the group splits where it is no longer docked together
|
|
3578
|
-
* - "merge-article-into-group" { groupId, articleId, attributes?, dockTo: { rootId, ownDockingVector, dockingVector, mode?, offset? } } docks a new root module of the article to a free docking vector of a root module of the group
|
|
3579
|
-
* - "exchange-root-module" { groupId, rootModuleId, articleId } replaces a root module with an article of one root module, keeping its docking
|
|
3631
|
+
* - "merge-article-into-group" { groupId, articleId, attributes?, dockTo: { rootId, ownDockingVector, dockingVector, mode?, offset? } } docks a new root module of the article to a free docking vector of a root module of the group; the new root module takes the implicitRelevant input attributes of that root module, and attributes override them
|
|
3632
|
+
* - "exchange-root-module" { groupId, rootModuleId, articleId } replaces a root module with an article of one root module, keeping its docking and the implicitRelevant input attributes of the replaced root module
|
|
3580
3633
|
* - "merge-groups" { targetGroupId, groupIds } merges the groups into the target group where they stand, like the merge action of the planner; no docking is added
|
|
3581
3634
|
* The promise resolves once the planner has loaded the result, with the affected groups in the shape of the plan context,
|
|
3582
3635
|
* and rejects with the reason when the payload is invalid or the operation cannot be performed.
|
|
@@ -3816,6 +3869,25 @@ export declare interface ExternalObjectValidContainerModules {
|
|
|
3816
3869
|
parentModuleId: string;
|
|
3817
3870
|
}
|
|
3818
3871
|
|
|
3872
|
+
export declare type ExternalPlanObstacleKind = 'group' | 'door' | 'window' | 'object';
|
|
3873
|
+
|
|
3874
|
+
export declare interface ExternalPlanObstacles {
|
|
3875
|
+
points: Array<{
|
|
3876
|
+
x: number;
|
|
3877
|
+
y: number;
|
|
3878
|
+
}>;
|
|
3879
|
+
obstacles: ExternalPlanObstacleSegment[];
|
|
3880
|
+
kinds: Record<number, ExternalPlanObstacleKind>;
|
|
3881
|
+
}
|
|
3882
|
+
|
|
3883
|
+
export declare interface ExternalPlanObstacleSegment {
|
|
3884
|
+
associatedObjectIds: number[];
|
|
3885
|
+
p0: number;
|
|
3886
|
+
p1: number;
|
|
3887
|
+
bottom: number;
|
|
3888
|
+
top: number;
|
|
3889
|
+
}
|
|
3890
|
+
|
|
3819
3891
|
export declare class ExternalReference {
|
|
3820
3892
|
getJsObject(): any;
|
|
3821
3893
|
setJsObject(jsObject: any): void;
|
|
@@ -3879,6 +3951,7 @@ export declare interface FeatureFlags {
|
|
|
3879
3951
|
/* Excluded from this release type: advancedHighlighting */
|
|
3880
3952
|
/* Excluded from this release type: fence */
|
|
3881
3953
|
/* Excluded from this release type: awaitConfigurationSavesBeforeRequestPlan */
|
|
3954
|
+
/* Excluded from this release type: disableRenderStandby */
|
|
3882
3955
|
}
|
|
3883
3956
|
|
|
3884
3957
|
export declare class FeatureFlagsImplementation implements FeatureFlags {
|
|
@@ -3894,6 +3967,7 @@ export declare class FeatureFlagsImplementation implements FeatureFlags {
|
|
|
3894
3967
|
advancedHighlighting: boolean;
|
|
3895
3968
|
fence: boolean;
|
|
3896
3969
|
awaitConfigurationSavesBeforeRequestPlan: boolean;
|
|
3970
|
+
disableRenderStandby: boolean;
|
|
3897
3971
|
}
|
|
3898
3972
|
|
|
3899
3973
|
export declare interface FetchOptions {
|
|
@@ -3915,6 +3989,8 @@ export declare interface FetchOptions {
|
|
|
3915
3989
|
|
|
3916
3990
|
export declare type FinalizeMode = 'immediate' | 'on-signal';
|
|
3917
3991
|
|
|
3992
|
+
export declare type FloatArray = EmscriptenArray<number>;
|
|
3993
|
+
|
|
3918
3994
|
export declare abstract class Floor extends PlanElement {
|
|
3919
3995
|
area: number;
|
|
3920
3996
|
material: FloorMaterial;
|
|
@@ -4268,7 +4344,7 @@ export declare interface HandWrittenPlanInteractionHandler {
|
|
|
4268
4344
|
moveObjectsBy(planObjects: KernelObjectPtrList, distance: KernelVector3): void;
|
|
4269
4345
|
rotateObjectTo(planObject: KernelObject, angleInRad: number): void;
|
|
4270
4346
|
setObjectRotation(planObject: KernelObject, angleInRad: number): void;
|
|
4271
|
-
addPlanObjects(list: KernelObjectPtrList, findFreeSpaceInPlan: boolean): PlanObject[];
|
|
4347
|
+
addPlanObjects(list: KernelObjectPtrList, findFreeSpaceInPlan: boolean, cameraPosition?: KernelVector3, lineOfSight?: KernelVector3): PlanObject[];
|
|
4272
4348
|
addPlanObjectFromItem(object: KernelObject, position: KernelVector3, type: number, findFreeSpaceInPlan: boolean): PlanObject;
|
|
4273
4349
|
addOrUpdateExternalPlanObjects(serializedConfiguration: string | string[], position: KernelVector3, rotationInRad: number, updateConfiguration: ExternalObjectLoadConfiguration_2, mergedGroupIds: string | string[]): PlanObject[];
|
|
4274
4350
|
createPreviewGeometryForAddOn(objectId: string, objectConfiguration: string, articleId: string, groupDefinitions: string, validContainerModules: ExternalValidContainerModule_2[]): void;
|
|
@@ -4312,6 +4388,14 @@ export declare interface HandWrittenPlanInteractionHandler {
|
|
|
4312
4388
|
setLengthOfEdge2D(wall: KernelWall, length: number, preferredSide: WallSide, direction: EMSConstant, moveOrthogonalWalls: boolean): void;
|
|
4313
4389
|
setLengthOfSlopingEdge(wall: KernelWall, slopingLength: number, preferredSide: WallSide, direction: EMSConstant, moveOrthogonalWalls: boolean): void;
|
|
4314
4390
|
setWallThickness(wall: KernelWall, thickness: number): void;
|
|
4391
|
+
/** Curved walls PoC — positive sweep angles bulge to the left of from → to, 0 straightens. */
|
|
4392
|
+
setWallArc(wall: KernelWall, sweepAngleInRad: number): void;
|
|
4393
|
+
/** Curved walls PoC — control points in the chord frame, empty array straightens the wall. */
|
|
4394
|
+
setWallCurve(wall: KernelWall, interiorControlPoints: Array<{
|
|
4395
|
+
u: number;
|
|
4396
|
+
v: number;
|
|
4397
|
+
w: number;
|
|
4398
|
+
}>, degree: number, knots: number[]): void;
|
|
4315
4399
|
addAttic(wall: KernelWall, kneeHeight: number, width: number, side: WallSide | null | undefined): KernelAttic;
|
|
4316
4400
|
setAtticSide(attic: KernelAttic, side: WallSide): void;
|
|
4317
4401
|
setAtticKneeHeight(attic: KernelAttic, kneeHeight: number): void;
|
|
@@ -4563,19 +4647,23 @@ export declare const HI_CONTEXT_ACTION: {
|
|
|
4563
4647
|
* Group operations change the groups of the plan context by command: a
|
|
4564
4648
|
* command names the operation, its payload refers to the groups, root modules
|
|
4565
4649
|
* and articles by the ids the plan context shows. `runGroupOperation`
|
|
4566
|
-
* validates the payload, performs the operation with the
|
|
4567
|
-
*
|
|
4568
|
-
*
|
|
4650
|
+
* validates the payload, performs the operation with the HI tools behind
|
|
4651
|
+
* `HiGroupOperations` and returns the affected groups in the plan-context
|
|
4652
|
+
* shape. A new command is one entry in `HI_GROUP_OPERATION`, one
|
|
4569
4653
|
* payload type and one handler.
|
|
4570
4654
|
*/
|
|
4571
4655
|
export declare const HI_GROUP_OPERATION: {
|
|
4572
4656
|
readonly CHANGE_MODULE_ATTRIBUTE: "change-module-attribute";
|
|
4573
4657
|
readonly CHANGE_GROUP_ATTRIBUTE: "change-group-attribute";
|
|
4658
|
+
readonly CHANGE_ATTRIBUTES: "change-attributes";
|
|
4574
4659
|
readonly DELETE_GROUP: "delete-group";
|
|
4575
4660
|
readonly DELETE_ROOT_MODULE: "delete-root-module";
|
|
4576
4661
|
readonly MERGE_ARTICLE_INTO_GROUP: "merge-article-into-group";
|
|
4577
4662
|
readonly EXCHANGE_ROOT_MODULE: "exchange-root-module";
|
|
4578
4663
|
readonly MERGE_GROUPS: "merge-groups";
|
|
4664
|
+
readonly INSERT_ARTICLE_INTO_GROUP: "insert-article-into-group";
|
|
4665
|
+
readonly REMOVE_ARTICLE_FROM_GROUP: "remove-article-from-group";
|
|
4666
|
+
readonly SWAP_ROOT_MODULES: "swap-root-modules";
|
|
4579
4667
|
};
|
|
4580
4668
|
|
|
4581
4669
|
export declare const HI_LOAD_OBJECT_REASON: {
|
|
@@ -4594,6 +4682,7 @@ export declare const HI_LOAD_OBJECT_REASON: {
|
|
|
4594
4682
|
readonly MERGE_WITH_ON_ACTION: "merge_with_on_action";
|
|
4595
4683
|
readonly PLAN_CHANGED: "plan_changed";
|
|
4596
4684
|
readonly POSITION_CHANGED: "position_changed";
|
|
4685
|
+
readonly REARRANGE: "rearrange";
|
|
4597
4686
|
readonly SPLIT: "split";
|
|
4598
4687
|
readonly SWAP_MODULE: "swap_module";
|
|
4599
4688
|
readonly SWAP_GROUP: "swap_group";
|
|
@@ -4619,6 +4708,17 @@ export declare interface HiArticlePick {
|
|
|
4619
4708
|
attributes?: HiPlanRootAttribute[];
|
|
4620
4709
|
}
|
|
4621
4710
|
|
|
4711
|
+
/**
|
|
4712
|
+
* An attribute value of `change-attributes`: set on the named root modules
|
|
4713
|
+
* and their sub modules that carry the attribute, or without `rootModuleIds`
|
|
4714
|
+
* on every module of the group that carries it.
|
|
4715
|
+
*/
|
|
4716
|
+
export declare interface HiAttributeChange {
|
|
4717
|
+
attributeId: string;
|
|
4718
|
+
value: HiAttributeValue;
|
|
4719
|
+
rootModuleIds?: string[];
|
|
4720
|
+
}
|
|
4721
|
+
|
|
4622
4722
|
export declare type HiAttributeOptionsResult = CheckDropDownResult | CheckDropDownEntry[] | undefined;
|
|
4623
4723
|
|
|
4624
4724
|
export declare type HiAttributeValue = string | boolean;
|
|
@@ -4754,6 +4854,11 @@ export declare interface HiGroupOperationPayloads {
|
|
|
4754
4854
|
attributeId: string;
|
|
4755
4855
|
value: HiAttributeValue;
|
|
4756
4856
|
};
|
|
4857
|
+
/** Several attribute values in one calculation, one load and one undo step. */
|
|
4858
|
+
'change-attributes': {
|
|
4859
|
+
groupId: string;
|
|
4860
|
+
attributes: HiAttributeChange[];
|
|
4861
|
+
};
|
|
4757
4862
|
'delete-group': {
|
|
4758
4863
|
groupId: string;
|
|
4759
4864
|
};
|
|
@@ -4764,15 +4869,30 @@ export declare interface HiGroupOperationPayloads {
|
|
|
4764
4869
|
groupId: string;
|
|
4765
4870
|
dockTo: HiDockTarget;
|
|
4766
4871
|
};
|
|
4767
|
-
|
|
4872
|
+
/** `attributes` are overrides of the new root module, e.g. another width. */
|
|
4873
|
+
'exchange-root-module': HiArticlePick & {
|
|
4768
4874
|
groupId: string;
|
|
4769
4875
|
rootModuleId: string;
|
|
4770
|
-
articleId: string;
|
|
4771
4876
|
};
|
|
4772
4877
|
'merge-groups': {
|
|
4773
4878
|
targetGroupId: string;
|
|
4774
4879
|
groupIds: string[];
|
|
4775
4880
|
};
|
|
4881
|
+
/** `between` names two root modules docked side by side, in either order. */
|
|
4882
|
+
'insert-article-into-group': HiArticlePick & {
|
|
4883
|
+
groupId: string;
|
|
4884
|
+
between: [string, string];
|
|
4885
|
+
};
|
|
4886
|
+
/** Removes a root module and closes the gap; `delete-root-module` leaves it. */
|
|
4887
|
+
'remove-article-from-group': {
|
|
4888
|
+
groupId: string;
|
|
4889
|
+
rootModuleId: string;
|
|
4890
|
+
};
|
|
4891
|
+
/** Two root modules of the group change places, neighbours or not. */
|
|
4892
|
+
'swap-root-modules': {
|
|
4893
|
+
groupId: string;
|
|
4894
|
+
rootModuleIds: [string, string];
|
|
4895
|
+
};
|
|
4776
4896
|
}
|
|
4777
4897
|
|
|
4778
4898
|
export declare interface HiGroupOperationResult {
|
|
@@ -4780,6 +4900,9 @@ export declare interface HiGroupOperationResult {
|
|
|
4780
4900
|
groups: HiPlanGroup[];
|
|
4781
4901
|
removedGroupIds: string[];
|
|
4782
4902
|
changedModuleIds?: string[];
|
|
4903
|
+
corrections?: string[];
|
|
4904
|
+
gapClosed?: boolean;
|
|
4905
|
+
skippedAttributes?: Array<Omit<HiAttributeChange, 'value'>>;
|
|
4783
4906
|
}
|
|
4784
4907
|
|
|
4785
4908
|
export declare type HiLoadObjectReason = (typeof HI_LOAD_OBJECT_REASON)[keyof typeof HI_LOAD_OBJECT_REASON];
|
|
@@ -4882,6 +5005,7 @@ export declare interface HiPlanContext {
|
|
|
4882
5005
|
rooms?: HiPlanRoomInformation;
|
|
4883
5006
|
articles?: HiPlanArticle[];
|
|
4884
5007
|
groups?: HiPlanGroup[];
|
|
5008
|
+
obstacles?: HiPlanObstacles;
|
|
4885
5009
|
}
|
|
4886
5010
|
|
|
4887
5011
|
export declare interface HiPlanContextData {
|
|
@@ -4891,7 +5015,7 @@ export declare interface HiPlanContextData {
|
|
|
4891
5015
|
}>;
|
|
4892
5016
|
}
|
|
4893
5017
|
|
|
4894
|
-
export declare type HiPlanContextSection = 'masterData' | 'rooms' | 'articles' | 'groups';
|
|
5018
|
+
export declare type HiPlanContextSection = 'masterData' | 'rooms' | 'articles' | 'groups' | 'obstacles';
|
|
4895
5019
|
|
|
4896
5020
|
export declare interface HiPlanContour {
|
|
4897
5021
|
level: number;
|
|
@@ -4929,6 +5053,11 @@ export declare interface HiPlanGroup {
|
|
|
4929
5053
|
roots: HiPlanRoot[];
|
|
4930
5054
|
}
|
|
4931
5055
|
|
|
5056
|
+
export declare interface HiPlanGroupObstacles {
|
|
5057
|
+
id: string;
|
|
5058
|
+
roots: HiPlanRootOutline[];
|
|
5059
|
+
}
|
|
5060
|
+
|
|
4932
5061
|
export declare interface HiPlanGroupPosition {
|
|
4933
5062
|
pos?: number[];
|
|
4934
5063
|
rotationY?: number;
|
|
@@ -4939,6 +5068,7 @@ export declare interface HiPlanMasterData {
|
|
|
4939
5068
|
libraryId: string;
|
|
4940
5069
|
modules: HiPlanMasterDataModule[];
|
|
4941
5070
|
attributes: HiPlanAttribute[];
|
|
5071
|
+
groupSettings: string[];
|
|
4942
5072
|
}
|
|
4943
5073
|
|
|
4944
5074
|
export declare interface HiPlanMasterDataModule {
|
|
@@ -4949,9 +5079,21 @@ export declare interface HiPlanMasterDataModule {
|
|
|
4949
5079
|
attributes: string[];
|
|
4950
5080
|
}
|
|
4951
5081
|
|
|
5082
|
+
export declare interface HiPlanObstacle {
|
|
5083
|
+
kind: Exclude<ExternalPlanObstacleKind, 'group'>;
|
|
5084
|
+
outline: HiPlanPosition3[];
|
|
5085
|
+
bottomMm: number;
|
|
5086
|
+
topMm: number;
|
|
5087
|
+
}
|
|
5088
|
+
|
|
5089
|
+
export declare interface HiPlanObstacles {
|
|
5090
|
+
objects: HiPlanObstacle[];
|
|
5091
|
+
groups: HiPlanGroupObstacles[];
|
|
5092
|
+
}
|
|
5093
|
+
|
|
4952
5094
|
/**
|
|
4953
5095
|
* The plan context is the data an AI agent needs to understand and author a
|
|
4954
|
-
* planning session. `
|
|
5096
|
+
* planning session. `createPlanContext` assembles it and every
|
|
4955
5097
|
* section leaves this file in the agent-ready shape: compacted, and in one
|
|
4956
5098
|
* coordinate system - 3D, right-handed, Y up, the coordinate system of
|
|
4957
5099
|
* `PosGroup`.
|
|
@@ -4990,6 +5132,13 @@ export declare interface HiPlanRootAttribute {
|
|
|
4990
5132
|
value?: number | string | boolean;
|
|
4991
5133
|
}
|
|
4992
5134
|
|
|
5135
|
+
export declare interface HiPlanRootOutline {
|
|
5136
|
+
id: string;
|
|
5137
|
+
outline: HiPlanPosition3[];
|
|
5138
|
+
bottomMm: number;
|
|
5139
|
+
topMm: number;
|
|
5140
|
+
}
|
|
5141
|
+
|
|
4993
5142
|
export declare interface HiPlanWall {
|
|
4994
5143
|
index: number;
|
|
4995
5144
|
side: HiPlanWallSide;
|
|
@@ -6051,7 +6200,9 @@ export declare interface KernelWall extends KernelObject {
|
|
|
6051
6200
|
readonly leftNormal: KernelVector3;
|
|
6052
6201
|
readonly rightNormal: KernelVector3;
|
|
6053
6202
|
readonly edgeType: EdgeType_2;
|
|
6203
|
+
readonly isCurved: boolean;
|
|
6054
6204
|
getAngle: () => number;
|
|
6205
|
+
getArcSweepAngle(): number;
|
|
6055
6206
|
}
|
|
6056
6207
|
|
|
6057
6208
|
export declare interface KernelWallMaterial extends KernelObject {
|
|
@@ -6740,6 +6891,29 @@ export declare interface ObjectTypeCategory {
|
|
|
6740
6891
|
|
|
6741
6892
|
export declare type ObjectWallDimension = DimensionDefinition<Vector3_2, Vector3_2>;
|
|
6742
6893
|
|
|
6894
|
+
export declare interface Obstacle2d {
|
|
6895
|
+
associatedObjectIds: EmsArray<number>;
|
|
6896
|
+
bottom: number;
|
|
6897
|
+
length: number;
|
|
6898
|
+
normalizedDirection: KernelVector2f;
|
|
6899
|
+
p0: number;
|
|
6900
|
+
p1: number;
|
|
6901
|
+
top: number;
|
|
6902
|
+
type: ObstacleType;
|
|
6903
|
+
}
|
|
6904
|
+
|
|
6905
|
+
export declare class Obstacle2dArray extends EmsArray<Obstacle2d> {
|
|
6906
|
+
}
|
|
6907
|
+
|
|
6908
|
+
export declare interface ObstacleMap2d {
|
|
6909
|
+
obstacles: Obstacle2dArray;
|
|
6910
|
+
points: Vector2Array;
|
|
6911
|
+
}
|
|
6912
|
+
|
|
6913
|
+
export declare interface ObstacleType {
|
|
6914
|
+
value: Enumify<typeof CORE_OBSTACLE_TYPE>;
|
|
6915
|
+
}
|
|
6916
|
+
|
|
6743
6917
|
export declare interface OffsetCamera {
|
|
6744
6918
|
offset: CanvasOffset;
|
|
6745
6919
|
resetOffset(): void;
|
|
@@ -7092,13 +7266,26 @@ export declare class PlanElementViewModel extends KernelViewModel {
|
|
|
7092
7266
|
protected _topView: boolean;
|
|
7093
7267
|
private _containerVisible;
|
|
7094
7268
|
private _hiddenByCameraFacing;
|
|
7269
|
+
private _hiddenByCameraCut;
|
|
7095
7270
|
constructor(planObject: PlanObject);
|
|
7096
7271
|
getSize(): Vector3_2;
|
|
7097
7272
|
setHiddenByCameraFacing(hidden: boolean): void;
|
|
7098
7273
|
setContainerVisibility(isVisible: boolean): void;
|
|
7099
7274
|
protected isContainerVisible(): boolean;
|
|
7100
|
-
protected
|
|
7275
|
+
protected _applyVisibility(): void;
|
|
7101
7276
|
isHiddenByCameraFacing(): boolean;
|
|
7277
|
+
/**
|
|
7278
|
+
* Hide what the camera near plane cuts open, given a sphere around the camera
|
|
7279
|
+
* position with the near distance as radius. A plan element is a single visual
|
|
7280
|
+
* unit, so the whole container is hidden - {@link ConfiguratorPlanObjectViewModel}
|
|
7281
|
+
* refines this to the components which are actually cut.
|
|
7282
|
+
*/
|
|
7283
|
+
hideCutByCamera(cameraSphere: Sphere): boolean;
|
|
7284
|
+
/**
|
|
7285
|
+
* Show everything that was hidden by {@link hideCutByCamera} again.
|
|
7286
|
+
*/
|
|
7287
|
+
restoreCutByCamera(): boolean;
|
|
7288
|
+
protected _setHiddenByCameraCut(hidden: boolean): boolean;
|
|
7102
7289
|
update(): void;
|
|
7103
7290
|
protected _updateBoundingBox(): void;
|
|
7104
7291
|
getPosition(): Vector3_2;
|
|
@@ -7213,6 +7400,9 @@ export declare interface PlanInteractionHandler_2 {
|
|
|
7213
7400
|
setNodeType(node: Node_3, nodeType: NodeType_2): void;
|
|
7214
7401
|
setWallThickness(wall: Wall_2, thickness: number): void;
|
|
7215
7402
|
setWallHeight(wall: Wall_2, height: number): void;
|
|
7403
|
+
setWallArc(wall: Wall_2, sweepAngleInRad: number): void;
|
|
7404
|
+
setWallArcThroughPoint(wall: Wall_2, point: Vector3): void;
|
|
7405
|
+
setWallCurve(wall: Wall_2, interiorControlPoints: WallCurveControlPoint[], degree: number, knots: number[]): void;
|
|
7216
7406
|
setWallColor(wall: Wall_2, color: number): void;
|
|
7217
7407
|
setWallLeftMaterial(wall: Wall_2, material: WallMaterial_2): void;
|
|
7218
7408
|
setWallRightMaterial(wall: Wall_2, material: WallMaterial_2): void;
|
|
@@ -7239,9 +7429,9 @@ export declare interface PlanInteractionHandler_2 {
|
|
|
7239
7429
|
addAttic(wall: Wall_2, kneeHeight: number, width: number, side: WallSide_2 | null | undefined): Attic;
|
|
7240
7430
|
addNode(position: Vector3): Node_3;
|
|
7241
7431
|
addText(text: string, position: Vector3): PlanText_2;
|
|
7242
|
-
addPlanObject(itemId: string, type: string, size: Vector3, position: Vector3, rotationInRad: number, findFreeSpaceInPlan: boolean): PlanObject_2;
|
|
7243
|
-
addPlanObjects(catalogItems: CatalogItemPtrList_2, findFreeSpaceInPlan: boolean): PlanObject_2[];
|
|
7244
|
-
addPlanObjectFromItem(item: CatalogItem_2, position: Vector3, rotationInRad: number, findFreeSpaceInPlan: boolean): PlanObject_2;
|
|
7432
|
+
addPlanObject(itemId: string, type: string, size: Vector3, position: Vector3, rotationInRad: number, findFreeSpaceInPlan: boolean, cameraPosition?: Vector3, lineOfSight?: Vector3): PlanObject_2;
|
|
7433
|
+
addPlanObjects(catalogItems: CatalogItemPtrList_2, findFreeSpaceInPlan: boolean, cameraPosition?: Vector3, lineOfSight?: Vector3): PlanObject_2[];
|
|
7434
|
+
addPlanObjectFromItem(item: CatalogItem_2, position: Vector3, rotationInRad: number, findFreeSpaceInPlan: boolean, cameraPosition?: Vector3, lineOfSight?: Vector3): PlanObject_2;
|
|
7245
7435
|
addOrUpdateExternalPlanObjects(groups: string | string[], position: Vector3, rotationInRad: number, updateConfiguration: ExternalObjectLoadConfiguration, mergedGroupIds: string | string[]): PlanObject_2[];
|
|
7246
7436
|
createPreviewGeometryForAddOn(objectId: string, objectConfiguration: string, articleId: string, groupDefinitions: string, validContainerModules: ExternalValidContainerModule[]): void;
|
|
7247
7437
|
catalogItemLoaded(catalogItem: CatalogItem_2): void;
|
|
@@ -7363,6 +7553,7 @@ export declare interface PlanModelViewHelper_2 {
|
|
|
7363
7553
|
requestMesh3d(element: PlanElement_3): void;
|
|
7364
7554
|
getExternalObjectGroups(plan: Plan_3): KernelObjectConfigurationArray;
|
|
7365
7555
|
getExternalRoomInformation(plan: Plan_3, mode: PlanRoomGeometryMode_2): RoomInformation;
|
|
7556
|
+
getObstacleMap(plan: Plan_3): ObstacleMap2d;
|
|
7366
7557
|
getGroupedObjects(anObject: PlanObject): KernelPlanObject[];
|
|
7367
7558
|
calculateLightSourceDistribution(plan: Plan_3, lightSourceConfiguration: LightSourceConfiguration): RoomLightSourceDistributionArray;
|
|
7368
7559
|
getObjectSnapInformation(anObject: PlanObject, debugHelpLines: boolean): ObjectSnapInformation;
|
|
@@ -7501,6 +7692,7 @@ export declare class PlannerKernelAccess extends ConfiguratorKernelAccess {
|
|
|
7501
7692
|
addListener(listener: KernelAccessCallbackI): void;
|
|
7502
7693
|
removeListener(listener: KernelAccessCallbackI): void;
|
|
7503
7694
|
private _homagIntelligence;
|
|
7695
|
+
private _externalObjectPlanChanges;
|
|
7504
7696
|
private _arrangementCorrectionEnabled;
|
|
7505
7697
|
get arrangementCorrectionEnabled(): boolean;
|
|
7506
7698
|
get kernelContainer(): any;
|
|
@@ -7527,7 +7719,11 @@ export declare class PlannerKernelAccess extends ConfiguratorKernelAccess {
|
|
|
7527
7719
|
protected _validateExternalComponentParameters(componentId: number, parameters: KernelParameter[]): Promise<KernelParameter[]>;
|
|
7528
7720
|
protected _validateExternalPlanObjectParameters(objectId: number, parameters: KernelParameter[]): Promise<KernelParameter[]>;
|
|
7529
7721
|
catalogItemLoaded(catalogItem: RapiItem): void;
|
|
7530
|
-
|
|
7722
|
+
/**
|
|
7723
|
+
* @param camera in 3D and first-person view, doors, windows and wall-mounted
|
|
7724
|
+
* objects are placed on the wall this camera looks at
|
|
7725
|
+
*/
|
|
7726
|
+
insertItems(itemList: Array<RapiItem | RapiConfiguration>, newUndoRedoStep?: boolean, camera?: Camera): Promise<RuntimeId[]>;
|
|
7531
7727
|
private _performInsertItems;
|
|
7532
7728
|
duplicateItems(planObjects: PlanObject[]): PlanObject[];
|
|
7533
7729
|
mergeItems(planObjects: PlanObject[]): void;
|
|
@@ -7588,7 +7784,8 @@ export declare class PlannerKernelAccess extends ConfiguratorKernelAccess {
|
|
|
7588
7784
|
protected _externalObjectConfigurationDeleted(groupId: string): void;
|
|
7589
7785
|
protected _externalObjectComponentDeleted(remainingGroupOrGroups: ExternalObjectGroup | ExternalObjectGroup[], deletedRootModuleId: string): void;
|
|
7590
7786
|
_externalObjectConfigurationDuplicated(duplicatedGroup: ExternalObjectGroup): void;
|
|
7591
|
-
|
|
7787
|
+
loadExternalObjectGroups(load: () => PlanObject[]): Promise<PlanObject[]>;
|
|
7788
|
+
_externalObjectPlanChanged(movedGroup: ExternalObjectGroup, objectPositionChanged: boolean): Promise<void | undefined>;
|
|
7592
7789
|
_externalObjectConfigurationsMerged(mergedGroup: ExternalObjectGroup, idsOfGroupsMerged: string | string[], targetRootModuleId: string, mergedWithDragging: boolean): Promise<void>;
|
|
7593
7790
|
_externalObjectComponentSplitOff(splitGroups: ExternalObjectGroup[]): void;
|
|
7594
7791
|
planSnapshotCreated(planSnapshot: RapiPlanSnapshotPostData): void;
|
|
@@ -8387,7 +8584,6 @@ export declare class PlanViewModel extends ConfiguratorViewModel implements Plan
|
|
|
8387
8584
|
private _plannerSceneEventHandler;
|
|
8388
8585
|
private _cameraHideSphere;
|
|
8389
8586
|
private readonly _cameraHideViewModelGroups;
|
|
8390
|
-
private _objectsHiddenByCamera;
|
|
8391
8587
|
private _cameraType;
|
|
8392
8588
|
private _nodeZoom;
|
|
8393
8589
|
private _latestWallPlanObjectViewModel;
|
|
@@ -9049,6 +9245,7 @@ export declare class RapiAccess implements Context {
|
|
|
9049
9245
|
getMeshesOfCatalog(catalogId: RapiId): Promise<RapiMesh[]>;
|
|
9050
9246
|
getTexturesOf(rapiJson: RapiJson): Promise<RapiTexture[]>;
|
|
9051
9247
|
getItemsOf(rapiJson: RapiJson): Promise<RapiItem[]>;
|
|
9248
|
+
getTagsOf(rapiJson: RapiJson): Promise<RapiTag[]>;
|
|
9052
9249
|
getMaterialsOf(rapiJson: RapiJson): Promise<RapiMaterial[]>;
|
|
9053
9250
|
getComponentsOf(rapiJson: RapiJson): Promise<RapiComponent[]>;
|
|
9054
9251
|
getAdditionalContentsOfItems(rapiItems: RapiItem[]): Promise<RapiAdditionalContent[]>;
|
|
@@ -9097,6 +9294,7 @@ export declare class RapiAccess implements Context {
|
|
|
9097
9294
|
private _get;
|
|
9098
9295
|
private _fetchJson;
|
|
9099
9296
|
private _fetch;
|
|
9297
|
+
private _logDeprecatedEndpoint;
|
|
9100
9298
|
private _createHeaders;
|
|
9101
9299
|
private _handleJson;
|
|
9102
9300
|
private _prepareEmbeddedData;
|
|
@@ -9291,15 +9489,15 @@ export declare interface RapiItem extends RapiElement {
|
|
|
9291
9489
|
width: number;
|
|
9292
9490
|
height: number;
|
|
9293
9491
|
depth: number;
|
|
9294
|
-
basecolor: number;
|
|
9295
|
-
displayedWidth: number;
|
|
9296
|
-
displayedHeight: number;
|
|
9297
|
-
displayedDepth: number;
|
|
9298
9492
|
perspectiveImageHD: AssetUrl;
|
|
9299
9493
|
topImage: AssetUrl;
|
|
9300
|
-
|
|
9301
|
-
|
|
9302
|
-
|
|
9494
|
+
basecolor?: number;
|
|
9495
|
+
displayedWidth?: number;
|
|
9496
|
+
displayedHeight?: number;
|
|
9497
|
+
displayedDepth?: number;
|
|
9498
|
+
threeDimensionalAssetWeb?: AssetUrl;
|
|
9499
|
+
threeDimensionalAssetIOS?: AssetUrl;
|
|
9500
|
+
threeDimensionalAsset?: AssetUrl;
|
|
9303
9501
|
flipable: boolean;
|
|
9304
9502
|
scaleable: boolean;
|
|
9305
9503
|
meta: string;
|
|
@@ -9778,6 +9976,7 @@ export declare class RoomDesignerApi implements RoomDesignerRequests {
|
|
|
9778
9976
|
mergeGroups(groupIds: string[]): Promise<void>;
|
|
9779
9977
|
getPosDataOfAllGroups(): Promise<PosGroup[]>;
|
|
9780
9978
|
getRoomInformation(mode?: PlanRoomGeometryMode): Promise<ExternalRoomInformation>;
|
|
9979
|
+
getPlanObstacles(): Promise<ExternalPlanObstacles>;
|
|
9781
9980
|
saveExternalObjectSnapshot(): Promise<ExternalObjectSnapshotSaveResult | null>;
|
|
9782
9981
|
saveCurrentPlanSnapshot(): Promise<RapiPlanSnapshotGetData>;
|
|
9783
9982
|
renderPosDataImage(posDataJson: object): Promise<void>;
|
|
@@ -9796,6 +9995,7 @@ export declare interface RoomDesignerRequests {
|
|
|
9796
9995
|
mergeGroups(groupIds: string[]): Promise<void>;
|
|
9797
9996
|
getPosDataOfAllGroups(): Promise<PosGroup[]>;
|
|
9798
9997
|
getRoomInformation(mode?: PlanRoomGeometryMode): Promise<ExternalRoomInformation>;
|
|
9998
|
+
getPlanObstacles(): Promise<ExternalPlanObstacles>;
|
|
9799
9999
|
saveExternalObjectSnapshot(): Promise<ExternalObjectSnapshotSaveResult | null>;
|
|
9800
10000
|
}
|
|
9801
10001
|
|
|
@@ -10845,8 +11045,9 @@ export declare class RoomlePlanner<P extends readonly PluginName[] = readonly []
|
|
|
10845
11045
|
private _globalInitData;
|
|
10846
11046
|
private _globalCallback;
|
|
10847
11047
|
private _unitFormatter;
|
|
10848
|
-
private _planInteractionManager;
|
|
10849
11048
|
private _elevationPlan2dGenerator;
|
|
11049
|
+
private _skyStateTracker;
|
|
11050
|
+
private _planInteractionManager;
|
|
10850
11051
|
private _sceneManager;
|
|
10851
11052
|
private _plan;
|
|
10852
11053
|
private _preloadPlanId;
|
|
@@ -11271,6 +11472,7 @@ export declare class RoomlePlanner<P extends readonly PluginName[] = readonly []
|
|
|
11271
11472
|
}>;
|
|
11272
11473
|
getExternalObjectValidSubArticles(posGroupId?: string): PosArticle[];
|
|
11273
11474
|
selectExternalObjectSubArticle(subArticleId: string): void;
|
|
11475
|
+
deleteExternalObjectSubArticle(posGroupId: string, subArticleId: string): Promise<void>;
|
|
11274
11476
|
_mergeExternalObjects(groupIds: string[]): Promise<void>;
|
|
11275
11477
|
removeExternalObject(groupOrRootModuleId: string): Promise<void>;
|
|
11276
11478
|
selectExternalObject(groupOrRootModuleId: string, subModuleId: string | null, contextAction: HiContextAction): Promise<void>;
|
|
@@ -11281,6 +11483,8 @@ export declare class RoomlePlanner<P extends readonly PluginName[] = readonly []
|
|
|
11281
11483
|
getExternalObjectPlanContext(include?: HiPlanContextSection[]): Promise<HiPlanContext>;
|
|
11282
11484
|
externalObjectGroupOperation<C extends HiGroupOperation>(command: C, payload: HiGroupOperationPayloads[C]): Promise<HiGroupOperationResult>;
|
|
11283
11485
|
getExternalRoomInformation(mode?: PlanRoomGeometryMode): Promise<ExternalRoomInformation>;
|
|
11486
|
+
_getExternalPlanObstacles(): Promise<ExternalPlanObstacles>;
|
|
11487
|
+
private _planObstacleKind;
|
|
11284
11488
|
/**
|
|
11285
11489
|
* Highlights a product in the planner.
|
|
11286
11490
|
* @param planElementId The ID of the plan element to highlight.
|
|
@@ -11900,6 +12104,7 @@ export declare abstract class SceneManager implements Context, LifeCycleCallback
|
|
|
11900
12104
|
protected _stopRendering: boolean;
|
|
11901
12105
|
protected _roomleRenderer: GenericRoomleRenderer | null;
|
|
11902
12106
|
private _roomleRendererReady;
|
|
12107
|
+
protected _sceneSetupReady: AsyncGuard<void>;
|
|
11903
12108
|
private _isDebugGUIInitialized;
|
|
11904
12109
|
private _forceRender;
|
|
11905
12110
|
private _lastChange;
|
|
@@ -12130,6 +12335,7 @@ export declare class SkyStateTracker extends EventDispatcher<SkyFeatureEventMap>
|
|
|
12130
12335
|
private _isCurrentlyActive;
|
|
12131
12336
|
private _initData;
|
|
12132
12337
|
constructor(creator: string);
|
|
12338
|
+
get isSkyEnabled(): boolean;
|
|
12133
12339
|
get isCurrentlyActive(): boolean;
|
|
12134
12340
|
notifyEnteredPlanner(): void;
|
|
12135
12341
|
notifyEnteredConfigurator(): void;
|
|
@@ -12189,6 +12395,14 @@ export declare const STEP_GROUPS: {
|
|
|
12189
12395
|
readonly finalize: "on-signal";
|
|
12190
12396
|
readonly methods: ["setWallThickness"];
|
|
12191
12397
|
};
|
|
12398
|
+
readonly wallArc: {
|
|
12399
|
+
readonly finalize: "on-signal";
|
|
12400
|
+
readonly methods: ["setWallArc"];
|
|
12401
|
+
};
|
|
12402
|
+
readonly wallCurve: {
|
|
12403
|
+
readonly finalize: "immediate";
|
|
12404
|
+
readonly methods: ["setWallCurve"];
|
|
12405
|
+
};
|
|
12192
12406
|
readonly objectSize: {
|
|
12193
12407
|
readonly finalize: "immediate";
|
|
12194
12408
|
readonly methods: ["setObjectSize"];
|
|
@@ -12718,6 +12932,9 @@ export declare interface VariantsList {
|
|
|
12718
12932
|
parts: KernelPart[];
|
|
12719
12933
|
}
|
|
12720
12934
|
|
|
12935
|
+
export declare class Vector2Array extends EmsArray<KernelVector2f> {
|
|
12936
|
+
}
|
|
12937
|
+
|
|
12721
12938
|
export declare class Vector2fArray extends EmsArray<KernelVector2f> {
|
|
12722
12939
|
}
|
|
12723
12940
|
|
|
@@ -12766,6 +12983,14 @@ export declare interface Wall_2 extends PlanElement_2 {
|
|
|
12766
12983
|
getCornerToLeft(): Vector3;
|
|
12767
12984
|
getCornerToRight(): Vector3;
|
|
12768
12985
|
getAngle(): number;
|
|
12986
|
+
getArcSweepAngle(): number;
|
|
12987
|
+
getCurveControlPoints(): PointArray_2;
|
|
12988
|
+
getCurveWeights(): FloatArray;
|
|
12989
|
+
getCurveDegree(): number;
|
|
12990
|
+
getAxisPolyline(): PointArray_2;
|
|
12991
|
+
getLeftFacePolyline(): PointArray_2;
|
|
12992
|
+
getRightFacePolyline(): PointArray_2;
|
|
12993
|
+
getTangentAngleAt(point: Vector3): number;
|
|
12769
12994
|
getLength(side: WallSide_2): number;
|
|
12770
12995
|
getSlopingLength(): number;
|
|
12771
12996
|
getPreferredSide(): WallSide_2;
|
|
@@ -12774,6 +12999,7 @@ export declare interface Wall_2 extends PlanElement_2 {
|
|
|
12774
12999
|
getCenter(): Vector3;
|
|
12775
13000
|
getHeightAt(aPoint: Vector3): number;
|
|
12776
13001
|
getPointWithHeight(aHeight: number): Vector3;
|
|
13002
|
+
readonly isCurved: boolean;
|
|
12777
13003
|
readonly meshThickness: number;
|
|
12778
13004
|
readonly isVectorWall: boolean;
|
|
12779
13005
|
readonly thickness: number;
|
|
@@ -12799,6 +13025,12 @@ export declare class WallAtticPlanElementViewModel extends PlanElementViewModel
|
|
|
12799
13025
|
update(): void;
|
|
12800
13026
|
}
|
|
12801
13027
|
|
|
13028
|
+
export declare interface WallCurveControlPoint {
|
|
13029
|
+
u: number;
|
|
13030
|
+
v: number;
|
|
13031
|
+
w: number;
|
|
13032
|
+
}
|
|
13033
|
+
|
|
12802
13034
|
export declare interface WallDefinition {
|
|
12803
13035
|
from: Position3;
|
|
12804
13036
|
to: Position3;
|
|
@@ -12880,6 +13112,7 @@ export declare class WallPlanElementViewModel extends PlanElementViewModel {
|
|
|
12880
13112
|
private _setBoundingBoxValues;
|
|
12881
13113
|
isVisible(): boolean;
|
|
12882
13114
|
protected _generateBoundingBox(): RoomleEventedMesh;
|
|
13115
|
+
private _computeCurvedLineVertices;
|
|
12883
13116
|
private _computeLineVertices;
|
|
12884
13117
|
private _createLineForInvisibleWall;
|
|
12885
13118
|
private _createCameraFacingHighlightMesh;
|
|
@@ -12888,6 +13121,7 @@ export declare class WallPlanElementViewModel extends PlanElementViewModel {
|
|
|
12888
13121
|
private _ensureCameraFacingHighlightMesh;
|
|
12889
13122
|
private _updateCameraFacingHighlightMesh;
|
|
12890
13123
|
private _computeWallFootprintVertices;
|
|
13124
|
+
private _computeCurvedWallFootprintVertices;
|
|
12891
13125
|
private _computeWallFootprintFallbackVertices;
|
|
12892
13126
|
private _updateLineGeometry;
|
|
12893
13127
|
private _addThinLineForInvisibleWall;
|
|
@@ -12909,8 +13143,12 @@ export declare interface WallPlanObject extends PlanObject {
|
|
|
12909
13143
|
getFrom(): NodePlanObject;
|
|
12910
13144
|
getTo(): NodePlanObject;
|
|
12911
13145
|
getAttachedAttics(): KernelAtticArray;
|
|
13146
|
+
getAxisPolyline(): PointArray_3;
|
|
13147
|
+
getLeftFacePolyline(): PointArray_3;
|
|
13148
|
+
getRightFacePolyline(): PointArray_3;
|
|
12912
13149
|
readonly thickness: number;
|
|
12913
13150
|
readonly height: number;
|
|
13151
|
+
readonly isCurved: boolean;
|
|
12914
13152
|
}
|
|
12915
13153
|
|
|
12916
13154
|
export declare interface WallSide {
|