@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-sdk.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;
|
|
@@ -3448,7 +3491,8 @@ export declare interface ExternalObjectAPI {
|
|
|
3448
3491
|
* the "shapes" property, the layout type "posGroups" evaluates the "posGroups" property.
|
|
3449
3492
|
* For the layout type "posGroups" a group whose id matches a group already loaded in the plan
|
|
3450
3493
|
* completely replaces that group; root modules keep their ids when they already exist in the
|
|
3451
|
-
* replaced group, all other ids are regenerated.
|
|
3494
|
+
* replaced group, all other ids are regenerated. A root module the replace adds takes the
|
|
3495
|
+
* implicitRelevant input attributes of a root module it is docked to; its own attributes override them.
|
|
3452
3496
|
* @param layoutType The article layout type. "nobila" and "posGroups" are supported.
|
|
3453
3497
|
* @param options Options for loading the external object group.
|
|
3454
3498
|
*/
|
|
@@ -3502,6 +3546,12 @@ export declare interface ExternalObjectAPI {
|
|
|
3502
3546
|
* @param subArticleId The ID of the sub article to be selected.
|
|
3503
3547
|
*/
|
|
3504
3548
|
selectExternalObjectSubArticle(subArticleId: string): void;
|
|
3549
|
+
/**
|
|
3550
|
+
* "deleteExternalObjectSubArticle" deletes a placed sub article from its pos group.
|
|
3551
|
+
* @param posGroupId The ID of the pos group.
|
|
3552
|
+
* @param subArticleId The ID of the sub article to be deleted.
|
|
3553
|
+
*/
|
|
3554
|
+
deleteExternalObjectSubArticle(posGroupId: string, subArticleId: string): Promise<void>;
|
|
3505
3555
|
/**
|
|
3506
3556
|
* "renderImagesOfExternalObjectGroups" renders images of groups of modules.
|
|
3507
3557
|
* @param groupJson The group JSON as string or object.
|
|
@@ -3552,8 +3602,10 @@ export declare interface ExternalObjectAPI {
|
|
|
3552
3602
|
* the compacted master data per library (root modules and the customer-facing attributes),
|
|
3553
3603
|
* the room information of all rooms (contours in 3D, pos: [x, level, -y], with a derived
|
|
3554
3604
|
* walls array per room), the articles that can be used (compact catalog with dimensions,
|
|
3555
|
-
* docking vectors and sub-modules),
|
|
3556
|
-
* resubmittable article picks with footprints and free docking vectors)
|
|
3605
|
+
* docking vectors and sub-modules), all groups currently loaded in the plan (as
|
|
3606
|
+
* resubmittable article picks with footprints and free docking vectors), and what stands in the
|
|
3607
|
+
* room (the doors, windows and other plan objects as floor outlines with their height range,
|
|
3608
|
+
* and the HI groups as the outlines of their root modules).
|
|
3557
3609
|
* The result is designed to be passed to an AI agent as it is, without further preparation,
|
|
3558
3610
|
* with all geometry in one coordinate system: 3D, right-handed, Y up.
|
|
3559
3611
|
* @param include The sections to include. All sections are returned when omitted or empty.
|
|
@@ -3562,12 +3614,13 @@ export declare interface ExternalObjectAPI {
|
|
|
3562
3614
|
/**
|
|
3563
3615
|
* "externalObjectGroupOperation" changes the groups in the plan by command. The payload refers to
|
|
3564
3616
|
* groups, root modules and articles by the ids of "getExternalObjectPlanContext":
|
|
3565
|
-
* - "change-module-attribute" { rootModuleId, moduleId?, attributeId, value } sets an attribute
|
|
3617
|
+
* - "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
|
|
3566
3618
|
* - "change-group-attribute" { groupId, attributeId, value } sets an attribute on every module of the group that has it
|
|
3619
|
+
* - "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
|
|
3567
3620
|
* - "delete-group" { groupId } removes the group from the plan
|
|
3568
3621
|
* - "delete-root-module" { rootModuleId } removes a root module; the rest of the group splits where it is no longer docked together
|
|
3569
|
-
* - "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
|
|
3570
|
-
* - "exchange-root-module" { groupId, rootModuleId, articleId } replaces a root module with an article of one root module, keeping its docking
|
|
3622
|
+
* - "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
|
|
3623
|
+
* - "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
|
|
3571
3624
|
* - "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
|
|
3572
3625
|
* The promise resolves once the planner has loaded the result, with the affected groups in the shape of the plan context,
|
|
3573
3626
|
* and rejects with the reason when the payload is invalid or the operation cannot be performed.
|
|
@@ -3807,6 +3860,25 @@ export declare interface ExternalObjectValidContainerModules {
|
|
|
3807
3860
|
parentModuleId: string;
|
|
3808
3861
|
}
|
|
3809
3862
|
|
|
3863
|
+
export declare type ExternalPlanObstacleKind = 'group' | 'door' | 'window' | 'object';
|
|
3864
|
+
|
|
3865
|
+
export declare interface ExternalPlanObstacles {
|
|
3866
|
+
points: Array<{
|
|
3867
|
+
x: number;
|
|
3868
|
+
y: number;
|
|
3869
|
+
}>;
|
|
3870
|
+
obstacles: ExternalPlanObstacleSegment[];
|
|
3871
|
+
kinds: Record<number, ExternalPlanObstacleKind>;
|
|
3872
|
+
}
|
|
3873
|
+
|
|
3874
|
+
export declare interface ExternalPlanObstacleSegment {
|
|
3875
|
+
associatedObjectIds: number[];
|
|
3876
|
+
p0: number;
|
|
3877
|
+
p1: number;
|
|
3878
|
+
bottom: number;
|
|
3879
|
+
top: number;
|
|
3880
|
+
}
|
|
3881
|
+
|
|
3810
3882
|
export declare class ExternalReference {
|
|
3811
3883
|
getJsObject(): any;
|
|
3812
3884
|
setJsObject(jsObject: any): void;
|
|
@@ -3870,6 +3942,7 @@ export declare interface FeatureFlags {
|
|
|
3870
3942
|
/* Excluded from this release type: advancedHighlighting */
|
|
3871
3943
|
/* Excluded from this release type: fence */
|
|
3872
3944
|
/* Excluded from this release type: awaitConfigurationSavesBeforeRequestPlan */
|
|
3945
|
+
/* Excluded from this release type: disableRenderStandby */
|
|
3873
3946
|
}
|
|
3874
3947
|
|
|
3875
3948
|
export declare class FeatureFlagsImplementation implements FeatureFlags {
|
|
@@ -3885,6 +3958,7 @@ export declare class FeatureFlagsImplementation implements FeatureFlags {
|
|
|
3885
3958
|
advancedHighlighting: boolean;
|
|
3886
3959
|
fence: boolean;
|
|
3887
3960
|
awaitConfigurationSavesBeforeRequestPlan: boolean;
|
|
3961
|
+
disableRenderStandby: boolean;
|
|
3888
3962
|
}
|
|
3889
3963
|
|
|
3890
3964
|
export declare interface FetchOptions {
|
|
@@ -3906,6 +3980,8 @@ export declare interface FetchOptions {
|
|
|
3906
3980
|
|
|
3907
3981
|
export declare type FinalizeMode = 'immediate' | 'on-signal';
|
|
3908
3982
|
|
|
3983
|
+
export declare type FloatArray = EmscriptenArray<number>;
|
|
3984
|
+
|
|
3909
3985
|
export declare abstract class Floor extends PlanElement {
|
|
3910
3986
|
area: number;
|
|
3911
3987
|
material: FloorMaterial;
|
|
@@ -4257,7 +4333,7 @@ export declare interface HandWrittenPlanInteractionHandler {
|
|
|
4257
4333
|
moveObjectsBy(planObjects: KernelObjectPtrList, distance: KernelVector3): void;
|
|
4258
4334
|
rotateObjectTo(planObject: KernelObject, angleInRad: number): void;
|
|
4259
4335
|
setObjectRotation(planObject: KernelObject, angleInRad: number): void;
|
|
4260
|
-
addPlanObjects(list: KernelObjectPtrList, findFreeSpaceInPlan: boolean): PlanObject[];
|
|
4336
|
+
addPlanObjects(list: KernelObjectPtrList, findFreeSpaceInPlan: boolean, cameraPosition?: KernelVector3, lineOfSight?: KernelVector3): PlanObject[];
|
|
4261
4337
|
addPlanObjectFromItem(object: KernelObject, position: KernelVector3, type: number, findFreeSpaceInPlan: boolean): PlanObject;
|
|
4262
4338
|
addOrUpdateExternalPlanObjects(serializedConfiguration: string | string[], position: KernelVector3, rotationInRad: number, updateConfiguration: ExternalObjectLoadConfiguration_2, mergedGroupIds: string | string[]): PlanObject[];
|
|
4263
4339
|
createPreviewGeometryForAddOn(objectId: string, objectConfiguration: string, articleId: string, groupDefinitions: string, validContainerModules: ExternalValidContainerModule_2[]): void;
|
|
@@ -4301,6 +4377,14 @@ export declare interface HandWrittenPlanInteractionHandler {
|
|
|
4301
4377
|
setLengthOfEdge2D(wall: KernelWall, length: number, preferredSide: WallSide, direction: EMSConstant, moveOrthogonalWalls: boolean): void;
|
|
4302
4378
|
setLengthOfSlopingEdge(wall: KernelWall, slopingLength: number, preferredSide: WallSide, direction: EMSConstant, moveOrthogonalWalls: boolean): void;
|
|
4303
4379
|
setWallThickness(wall: KernelWall, thickness: number): void;
|
|
4380
|
+
/** Curved walls PoC — positive sweep angles bulge to the left of from → to, 0 straightens. */
|
|
4381
|
+
setWallArc(wall: KernelWall, sweepAngleInRad: number): void;
|
|
4382
|
+
/** Curved walls PoC — control points in the chord frame, empty array straightens the wall. */
|
|
4383
|
+
setWallCurve(wall: KernelWall, interiorControlPoints: Array<{
|
|
4384
|
+
u: number;
|
|
4385
|
+
v: number;
|
|
4386
|
+
w: number;
|
|
4387
|
+
}>, degree: number, knots: number[]): void;
|
|
4304
4388
|
addAttic(wall: KernelWall, kneeHeight: number, width: number, side: WallSide | null | undefined): KernelAttic;
|
|
4305
4389
|
setAtticSide(attic: KernelAttic, side: WallSide): void;
|
|
4306
4390
|
setAtticKneeHeight(attic: KernelAttic, kneeHeight: number): void;
|
|
@@ -4400,19 +4484,23 @@ export declare const HI_CONTEXT_ACTION: {
|
|
|
4400
4484
|
* Group operations change the groups of the plan context by command: a
|
|
4401
4485
|
* command names the operation, its payload refers to the groups, root modules
|
|
4402
4486
|
* and articles by the ids the plan context shows. `runGroupOperation`
|
|
4403
|
-
* validates the payload, performs the operation with the
|
|
4404
|
-
*
|
|
4405
|
-
*
|
|
4487
|
+
* validates the payload, performs the operation with the HI tools behind
|
|
4488
|
+
* `HiGroupOperations` and returns the affected groups in the plan-context
|
|
4489
|
+
* shape. A new command is one entry in `HI_GROUP_OPERATION`, one
|
|
4406
4490
|
* payload type and one handler.
|
|
4407
4491
|
*/
|
|
4408
4492
|
export declare const HI_GROUP_OPERATION: {
|
|
4409
4493
|
readonly CHANGE_MODULE_ATTRIBUTE: "change-module-attribute";
|
|
4410
4494
|
readonly CHANGE_GROUP_ATTRIBUTE: "change-group-attribute";
|
|
4495
|
+
readonly CHANGE_ATTRIBUTES: "change-attributes";
|
|
4411
4496
|
readonly DELETE_GROUP: "delete-group";
|
|
4412
4497
|
readonly DELETE_ROOT_MODULE: "delete-root-module";
|
|
4413
4498
|
readonly MERGE_ARTICLE_INTO_GROUP: "merge-article-into-group";
|
|
4414
4499
|
readonly EXCHANGE_ROOT_MODULE: "exchange-root-module";
|
|
4415
4500
|
readonly MERGE_GROUPS: "merge-groups";
|
|
4501
|
+
readonly INSERT_ARTICLE_INTO_GROUP: "insert-article-into-group";
|
|
4502
|
+
readonly REMOVE_ARTICLE_FROM_GROUP: "remove-article-from-group";
|
|
4503
|
+
readonly SWAP_ROOT_MODULES: "swap-root-modules";
|
|
4416
4504
|
};
|
|
4417
4505
|
|
|
4418
4506
|
export declare const HI_LOAD_OBJECT_REASON: {
|
|
@@ -4431,6 +4519,7 @@ export declare const HI_LOAD_OBJECT_REASON: {
|
|
|
4431
4519
|
readonly MERGE_WITH_ON_ACTION: "merge_with_on_action";
|
|
4432
4520
|
readonly PLAN_CHANGED: "plan_changed";
|
|
4433
4521
|
readonly POSITION_CHANGED: "position_changed";
|
|
4522
|
+
readonly REARRANGE: "rearrange";
|
|
4434
4523
|
readonly SPLIT: "split";
|
|
4435
4524
|
readonly SWAP_MODULE: "swap_module";
|
|
4436
4525
|
readonly SWAP_GROUP: "swap_group";
|
|
@@ -4456,6 +4545,17 @@ export declare interface HiArticlePick {
|
|
|
4456
4545
|
attributes?: HiPlanRootAttribute[];
|
|
4457
4546
|
}
|
|
4458
4547
|
|
|
4548
|
+
/**
|
|
4549
|
+
* An attribute value of `change-attributes`: set on the named root modules
|
|
4550
|
+
* and their sub modules that carry the attribute, or without `rootModuleIds`
|
|
4551
|
+
* on every module of the group that carries it.
|
|
4552
|
+
*/
|
|
4553
|
+
export declare interface HiAttributeChange {
|
|
4554
|
+
attributeId: string;
|
|
4555
|
+
value: HiAttributeValue;
|
|
4556
|
+
rootModuleIds?: string[];
|
|
4557
|
+
}
|
|
4558
|
+
|
|
4459
4559
|
export declare type HiAttributeOptionsResult = CheckDropDownResult | CheckDropDownEntry[] | undefined;
|
|
4460
4560
|
|
|
4461
4561
|
export declare type HiAttributeValue = string | boolean;
|
|
@@ -4591,6 +4691,11 @@ export declare interface HiGroupOperationPayloads {
|
|
|
4591
4691
|
attributeId: string;
|
|
4592
4692
|
value: HiAttributeValue;
|
|
4593
4693
|
};
|
|
4694
|
+
/** Several attribute values in one calculation, one load and one undo step. */
|
|
4695
|
+
'change-attributes': {
|
|
4696
|
+
groupId: string;
|
|
4697
|
+
attributes: HiAttributeChange[];
|
|
4698
|
+
};
|
|
4594
4699
|
'delete-group': {
|
|
4595
4700
|
groupId: string;
|
|
4596
4701
|
};
|
|
@@ -4601,15 +4706,30 @@ export declare interface HiGroupOperationPayloads {
|
|
|
4601
4706
|
groupId: string;
|
|
4602
4707
|
dockTo: HiDockTarget;
|
|
4603
4708
|
};
|
|
4604
|
-
|
|
4709
|
+
/** `attributes` are overrides of the new root module, e.g. another width. */
|
|
4710
|
+
'exchange-root-module': HiArticlePick & {
|
|
4605
4711
|
groupId: string;
|
|
4606
4712
|
rootModuleId: string;
|
|
4607
|
-
articleId: string;
|
|
4608
4713
|
};
|
|
4609
4714
|
'merge-groups': {
|
|
4610
4715
|
targetGroupId: string;
|
|
4611
4716
|
groupIds: string[];
|
|
4612
4717
|
};
|
|
4718
|
+
/** `between` names two root modules docked side by side, in either order. */
|
|
4719
|
+
'insert-article-into-group': HiArticlePick & {
|
|
4720
|
+
groupId: string;
|
|
4721
|
+
between: [string, string];
|
|
4722
|
+
};
|
|
4723
|
+
/** Removes a root module and closes the gap; `delete-root-module` leaves it. */
|
|
4724
|
+
'remove-article-from-group': {
|
|
4725
|
+
groupId: string;
|
|
4726
|
+
rootModuleId: string;
|
|
4727
|
+
};
|
|
4728
|
+
/** Two root modules of the group change places, neighbours or not. */
|
|
4729
|
+
'swap-root-modules': {
|
|
4730
|
+
groupId: string;
|
|
4731
|
+
rootModuleIds: [string, string];
|
|
4732
|
+
};
|
|
4613
4733
|
}
|
|
4614
4734
|
|
|
4615
4735
|
export declare interface HiGroupOperationResult {
|
|
@@ -4617,6 +4737,9 @@ export declare interface HiGroupOperationResult {
|
|
|
4617
4737
|
groups: HiPlanGroup[];
|
|
4618
4738
|
removedGroupIds: string[];
|
|
4619
4739
|
changedModuleIds?: string[];
|
|
4740
|
+
corrections?: string[];
|
|
4741
|
+
gapClosed?: boolean;
|
|
4742
|
+
skippedAttributes?: Array<Omit<HiAttributeChange, 'value'>>;
|
|
4620
4743
|
}
|
|
4621
4744
|
|
|
4622
4745
|
export declare type HiLoadObjectReason = (typeof HI_LOAD_OBJECT_REASON)[keyof typeof HI_LOAD_OBJECT_REASON];
|
|
@@ -4719,6 +4842,7 @@ export declare interface HiPlanContext {
|
|
|
4719
4842
|
rooms?: HiPlanRoomInformation;
|
|
4720
4843
|
articles?: HiPlanArticle[];
|
|
4721
4844
|
groups?: HiPlanGroup[];
|
|
4845
|
+
obstacles?: HiPlanObstacles;
|
|
4722
4846
|
}
|
|
4723
4847
|
|
|
4724
4848
|
export declare interface HiPlanContextData {
|
|
@@ -4728,7 +4852,7 @@ export declare interface HiPlanContextData {
|
|
|
4728
4852
|
}>;
|
|
4729
4853
|
}
|
|
4730
4854
|
|
|
4731
|
-
export declare type HiPlanContextSection = 'masterData' | 'rooms' | 'articles' | 'groups';
|
|
4855
|
+
export declare type HiPlanContextSection = 'masterData' | 'rooms' | 'articles' | 'groups' | 'obstacles';
|
|
4732
4856
|
|
|
4733
4857
|
export declare interface HiPlanContour {
|
|
4734
4858
|
level: number;
|
|
@@ -4766,6 +4890,11 @@ export declare interface HiPlanGroup {
|
|
|
4766
4890
|
roots: HiPlanRoot[];
|
|
4767
4891
|
}
|
|
4768
4892
|
|
|
4893
|
+
export declare interface HiPlanGroupObstacles {
|
|
4894
|
+
id: string;
|
|
4895
|
+
roots: HiPlanRootOutline[];
|
|
4896
|
+
}
|
|
4897
|
+
|
|
4769
4898
|
export declare interface HiPlanGroupPosition {
|
|
4770
4899
|
pos?: number[];
|
|
4771
4900
|
rotationY?: number;
|
|
@@ -4776,6 +4905,7 @@ export declare interface HiPlanMasterData {
|
|
|
4776
4905
|
libraryId: string;
|
|
4777
4906
|
modules: HiPlanMasterDataModule[];
|
|
4778
4907
|
attributes: HiPlanAttribute[];
|
|
4908
|
+
groupSettings: string[];
|
|
4779
4909
|
}
|
|
4780
4910
|
|
|
4781
4911
|
export declare interface HiPlanMasterDataModule {
|
|
@@ -4786,9 +4916,21 @@ export declare interface HiPlanMasterDataModule {
|
|
|
4786
4916
|
attributes: string[];
|
|
4787
4917
|
}
|
|
4788
4918
|
|
|
4919
|
+
export declare interface HiPlanObstacle {
|
|
4920
|
+
kind: Exclude<ExternalPlanObstacleKind, 'group'>;
|
|
4921
|
+
outline: HiPlanPosition3[];
|
|
4922
|
+
bottomMm: number;
|
|
4923
|
+
topMm: number;
|
|
4924
|
+
}
|
|
4925
|
+
|
|
4926
|
+
export declare interface HiPlanObstacles {
|
|
4927
|
+
objects: HiPlanObstacle[];
|
|
4928
|
+
groups: HiPlanGroupObstacles[];
|
|
4929
|
+
}
|
|
4930
|
+
|
|
4789
4931
|
/**
|
|
4790
4932
|
* The plan context is the data an AI agent needs to understand and author a
|
|
4791
|
-
* planning session. `
|
|
4933
|
+
* planning session. `createPlanContext` assembles it and every
|
|
4792
4934
|
* section leaves this file in the agent-ready shape: compacted, and in one
|
|
4793
4935
|
* coordinate system - 3D, right-handed, Y up, the coordinate system of
|
|
4794
4936
|
* `PosGroup`.
|
|
@@ -4827,6 +4969,13 @@ export declare interface HiPlanRootAttribute {
|
|
|
4827
4969
|
value?: number | string | boolean;
|
|
4828
4970
|
}
|
|
4829
4971
|
|
|
4972
|
+
export declare interface HiPlanRootOutline {
|
|
4973
|
+
id: string;
|
|
4974
|
+
outline: HiPlanPosition3[];
|
|
4975
|
+
bottomMm: number;
|
|
4976
|
+
topMm: number;
|
|
4977
|
+
}
|
|
4978
|
+
|
|
4830
4979
|
export declare interface HiPlanWall {
|
|
4831
4980
|
index: number;
|
|
4832
4981
|
side: HiPlanWallSide;
|
|
@@ -5876,7 +6025,9 @@ export declare interface KernelWall extends KernelObject {
|
|
|
5876
6025
|
readonly leftNormal: KernelVector3;
|
|
5877
6026
|
readonly rightNormal: KernelVector3;
|
|
5878
6027
|
readonly edgeType: EdgeType_2;
|
|
6028
|
+
readonly isCurved: boolean;
|
|
5879
6029
|
getAngle: () => number;
|
|
6030
|
+
getArcSweepAngle(): number;
|
|
5880
6031
|
}
|
|
5881
6032
|
|
|
5882
6033
|
export declare interface KernelWallMaterial extends KernelObject {
|
|
@@ -6565,6 +6716,29 @@ export declare interface ObjectTypeCategory {
|
|
|
6565
6716
|
|
|
6566
6717
|
export declare type ObjectWallDimension = DimensionDefinition<Vector3_2, Vector3_2>;
|
|
6567
6718
|
|
|
6719
|
+
export declare interface Obstacle2d {
|
|
6720
|
+
associatedObjectIds: EmsArray<number>;
|
|
6721
|
+
bottom: number;
|
|
6722
|
+
length: number;
|
|
6723
|
+
normalizedDirection: KernelVector2f;
|
|
6724
|
+
p0: number;
|
|
6725
|
+
p1: number;
|
|
6726
|
+
top: number;
|
|
6727
|
+
type: ObstacleType;
|
|
6728
|
+
}
|
|
6729
|
+
|
|
6730
|
+
export declare class Obstacle2dArray extends EmsArray<Obstacle2d> {
|
|
6731
|
+
}
|
|
6732
|
+
|
|
6733
|
+
export declare interface ObstacleMap2d {
|
|
6734
|
+
obstacles: Obstacle2dArray;
|
|
6735
|
+
points: Vector2Array;
|
|
6736
|
+
}
|
|
6737
|
+
|
|
6738
|
+
export declare interface ObstacleType {
|
|
6739
|
+
value: Enumify<typeof CORE_OBSTACLE_TYPE>;
|
|
6740
|
+
}
|
|
6741
|
+
|
|
6568
6742
|
export declare interface OffsetCamera {
|
|
6569
6743
|
offset: CanvasOffset;
|
|
6570
6744
|
resetOffset(): void;
|
|
@@ -6888,13 +7062,26 @@ export declare class PlanElementViewModel extends KernelViewModel {
|
|
|
6888
7062
|
protected _topView: boolean;
|
|
6889
7063
|
private _containerVisible;
|
|
6890
7064
|
private _hiddenByCameraFacing;
|
|
7065
|
+
private _hiddenByCameraCut;
|
|
6891
7066
|
constructor(planObject: PlanObject);
|
|
6892
7067
|
getSize(): Vector3_2;
|
|
6893
7068
|
setHiddenByCameraFacing(hidden: boolean): void;
|
|
6894
7069
|
setContainerVisibility(isVisible: boolean): void;
|
|
6895
7070
|
protected isContainerVisible(): boolean;
|
|
6896
|
-
protected
|
|
7071
|
+
protected _applyVisibility(): void;
|
|
6897
7072
|
isHiddenByCameraFacing(): boolean;
|
|
7073
|
+
/**
|
|
7074
|
+
* Hide what the camera near plane cuts open, given a sphere around the camera
|
|
7075
|
+
* position with the near distance as radius. A plan element is a single visual
|
|
7076
|
+
* unit, so the whole container is hidden - {@link ConfiguratorPlanObjectViewModel}
|
|
7077
|
+
* refines this to the components which are actually cut.
|
|
7078
|
+
*/
|
|
7079
|
+
hideCutByCamera(cameraSphere: Sphere): boolean;
|
|
7080
|
+
/**
|
|
7081
|
+
* Show everything that was hidden by {@link hideCutByCamera} again.
|
|
7082
|
+
*/
|
|
7083
|
+
restoreCutByCamera(): boolean;
|
|
7084
|
+
protected _setHiddenByCameraCut(hidden: boolean): boolean;
|
|
6898
7085
|
update(): void;
|
|
6899
7086
|
protected _updateBoundingBox(): void;
|
|
6900
7087
|
getPosition(): Vector3_2;
|
|
@@ -7009,6 +7196,9 @@ export declare interface PlanInteractionHandler_2 {
|
|
|
7009
7196
|
setNodeType(node: Node_3, nodeType: NodeType_2): void;
|
|
7010
7197
|
setWallThickness(wall: Wall_2, thickness: number): void;
|
|
7011
7198
|
setWallHeight(wall: Wall_2, height: number): void;
|
|
7199
|
+
setWallArc(wall: Wall_2, sweepAngleInRad: number): void;
|
|
7200
|
+
setWallArcThroughPoint(wall: Wall_2, point: Vector3): void;
|
|
7201
|
+
setWallCurve(wall: Wall_2, interiorControlPoints: WallCurveControlPoint[], degree: number, knots: number[]): void;
|
|
7012
7202
|
setWallColor(wall: Wall_2, color: number): void;
|
|
7013
7203
|
setWallLeftMaterial(wall: Wall_2, material: WallMaterial_2): void;
|
|
7014
7204
|
setWallRightMaterial(wall: Wall_2, material: WallMaterial_2): void;
|
|
@@ -7035,9 +7225,9 @@ export declare interface PlanInteractionHandler_2 {
|
|
|
7035
7225
|
addAttic(wall: Wall_2, kneeHeight: number, width: number, side: WallSide_2 | null | undefined): Attic;
|
|
7036
7226
|
addNode(position: Vector3): Node_3;
|
|
7037
7227
|
addText(text: string, position: Vector3): PlanText_2;
|
|
7038
|
-
addPlanObject(itemId: string, type: string, size: Vector3, position: Vector3, rotationInRad: number, findFreeSpaceInPlan: boolean): PlanObject_2;
|
|
7039
|
-
addPlanObjects(catalogItems: CatalogItemPtrList_2, findFreeSpaceInPlan: boolean): PlanObject_2[];
|
|
7040
|
-
addPlanObjectFromItem(item: CatalogItem_2, position: Vector3, rotationInRad: number, findFreeSpaceInPlan: boolean): PlanObject_2;
|
|
7228
|
+
addPlanObject(itemId: string, type: string, size: Vector3, position: Vector3, rotationInRad: number, findFreeSpaceInPlan: boolean, cameraPosition?: Vector3, lineOfSight?: Vector3): PlanObject_2;
|
|
7229
|
+
addPlanObjects(catalogItems: CatalogItemPtrList_2, findFreeSpaceInPlan: boolean, cameraPosition?: Vector3, lineOfSight?: Vector3): PlanObject_2[];
|
|
7230
|
+
addPlanObjectFromItem(item: CatalogItem_2, position: Vector3, rotationInRad: number, findFreeSpaceInPlan: boolean, cameraPosition?: Vector3, lineOfSight?: Vector3): PlanObject_2;
|
|
7041
7231
|
addOrUpdateExternalPlanObjects(groups: string | string[], position: Vector3, rotationInRad: number, updateConfiguration: ExternalObjectLoadConfiguration, mergedGroupIds: string | string[]): PlanObject_2[];
|
|
7042
7232
|
createPreviewGeometryForAddOn(objectId: string, objectConfiguration: string, articleId: string, groupDefinitions: string, validContainerModules: ExternalValidContainerModule[]): void;
|
|
7043
7233
|
catalogItemLoaded(catalogItem: CatalogItem_2): void;
|
|
@@ -7159,6 +7349,7 @@ export declare interface PlanModelViewHelper_2 {
|
|
|
7159
7349
|
requestMesh3d(element: PlanElement_3): void;
|
|
7160
7350
|
getExternalObjectGroups(plan: Plan_3): KernelObjectConfigurationArray;
|
|
7161
7351
|
getExternalRoomInformation(plan: Plan_3, mode: PlanRoomGeometryMode_2): RoomInformation;
|
|
7352
|
+
getObstacleMap(plan: Plan_3): ObstacleMap2d;
|
|
7162
7353
|
getGroupedObjects(anObject: PlanObject): KernelPlanObject[];
|
|
7163
7354
|
calculateLightSourceDistribution(plan: Plan_3, lightSourceConfiguration: LightSourceConfiguration): RoomLightSourceDistributionArray;
|
|
7164
7355
|
getObjectSnapInformation(anObject: PlanObject, debugHelpLines: boolean): ObjectSnapInformation;
|
|
@@ -7297,6 +7488,7 @@ export declare class PlannerKernelAccess extends ConfiguratorKernelAccess {
|
|
|
7297
7488
|
addListener(listener: KernelAccessCallbackI): void;
|
|
7298
7489
|
removeListener(listener: KernelAccessCallbackI): void;
|
|
7299
7490
|
private _homagIntelligence;
|
|
7491
|
+
private _externalObjectPlanChanges;
|
|
7300
7492
|
private _arrangementCorrectionEnabled;
|
|
7301
7493
|
get arrangementCorrectionEnabled(): boolean;
|
|
7302
7494
|
get kernelContainer(): any;
|
|
@@ -7323,7 +7515,11 @@ export declare class PlannerKernelAccess extends ConfiguratorKernelAccess {
|
|
|
7323
7515
|
protected _validateExternalComponentParameters(componentId: number, parameters: KernelParameter[]): Promise<KernelParameter[]>;
|
|
7324
7516
|
protected _validateExternalPlanObjectParameters(objectId: number, parameters: KernelParameter[]): Promise<KernelParameter[]>;
|
|
7325
7517
|
catalogItemLoaded(catalogItem: RapiItem): void;
|
|
7326
|
-
|
|
7518
|
+
/**
|
|
7519
|
+
* @param camera in 3D and first-person view, doors, windows and wall-mounted
|
|
7520
|
+
* objects are placed on the wall this camera looks at
|
|
7521
|
+
*/
|
|
7522
|
+
insertItems(itemList: Array<RapiItem | RapiConfiguration>, newUndoRedoStep?: boolean, camera?: Camera): Promise<RuntimeId[]>;
|
|
7327
7523
|
private _performInsertItems;
|
|
7328
7524
|
duplicateItems(planObjects: PlanObject[]): PlanObject[];
|
|
7329
7525
|
mergeItems(planObjects: PlanObject[]): void;
|
|
@@ -7384,7 +7580,8 @@ export declare class PlannerKernelAccess extends ConfiguratorKernelAccess {
|
|
|
7384
7580
|
protected _externalObjectConfigurationDeleted(groupId: string): void;
|
|
7385
7581
|
protected _externalObjectComponentDeleted(remainingGroupOrGroups: ExternalObjectGroup | ExternalObjectGroup[], deletedRootModuleId: string): void;
|
|
7386
7582
|
_externalObjectConfigurationDuplicated(duplicatedGroup: ExternalObjectGroup): void;
|
|
7387
|
-
|
|
7583
|
+
loadExternalObjectGroups(load: () => PlanObject[]): Promise<PlanObject[]>;
|
|
7584
|
+
_externalObjectPlanChanged(movedGroup: ExternalObjectGroup, objectPositionChanged: boolean): Promise<void | undefined>;
|
|
7388
7585
|
_externalObjectConfigurationsMerged(mergedGroup: ExternalObjectGroup, idsOfGroupsMerged: string | string[], targetRootModuleId: string, mergedWithDragging: boolean): Promise<void>;
|
|
7389
7586
|
_externalObjectComponentSplitOff(splitGroups: ExternalObjectGroup[]): void;
|
|
7390
7587
|
planSnapshotCreated(planSnapshot: RapiPlanSnapshotPostData): void;
|
|
@@ -8183,7 +8380,6 @@ export declare class PlanViewModel extends ConfiguratorViewModel implements Plan
|
|
|
8183
8380
|
private _plannerSceneEventHandler;
|
|
8184
8381
|
private _cameraHideSphere;
|
|
8185
8382
|
private readonly _cameraHideViewModelGroups;
|
|
8186
|
-
private _objectsHiddenByCamera;
|
|
8187
8383
|
private _cameraType;
|
|
8188
8384
|
private _nodeZoom;
|
|
8189
8385
|
private _latestWallPlanObjectViewModel;
|
|
@@ -8845,6 +9041,7 @@ export declare class RapiAccess implements Context {
|
|
|
8845
9041
|
getMeshesOfCatalog(catalogId: RapiId): Promise<RapiMesh[]>;
|
|
8846
9042
|
getTexturesOf(rapiJson: RapiJson): Promise<RapiTexture[]>;
|
|
8847
9043
|
getItemsOf(rapiJson: RapiJson): Promise<RapiItem[]>;
|
|
9044
|
+
getTagsOf(rapiJson: RapiJson): Promise<RapiTag[]>;
|
|
8848
9045
|
getMaterialsOf(rapiJson: RapiJson): Promise<RapiMaterial[]>;
|
|
8849
9046
|
getComponentsOf(rapiJson: RapiJson): Promise<RapiComponent[]>;
|
|
8850
9047
|
getAdditionalContentsOfItems(rapiItems: RapiItem[]): Promise<RapiAdditionalContent[]>;
|
|
@@ -8893,6 +9090,7 @@ export declare class RapiAccess implements Context {
|
|
|
8893
9090
|
private _get;
|
|
8894
9091
|
private _fetchJson;
|
|
8895
9092
|
private _fetch;
|
|
9093
|
+
private _logDeprecatedEndpoint;
|
|
8896
9094
|
private _createHeaders;
|
|
8897
9095
|
private _handleJson;
|
|
8898
9096
|
private _prepareEmbeddedData;
|
|
@@ -9087,15 +9285,15 @@ export declare interface RapiItem extends RapiElement {
|
|
|
9087
9285
|
width: number;
|
|
9088
9286
|
height: number;
|
|
9089
9287
|
depth: number;
|
|
9090
|
-
basecolor: number;
|
|
9091
|
-
displayedWidth: number;
|
|
9092
|
-
displayedHeight: number;
|
|
9093
|
-
displayedDepth: number;
|
|
9094
9288
|
perspectiveImageHD: AssetUrl;
|
|
9095
9289
|
topImage: AssetUrl;
|
|
9096
|
-
|
|
9097
|
-
|
|
9098
|
-
|
|
9290
|
+
basecolor?: number;
|
|
9291
|
+
displayedWidth?: number;
|
|
9292
|
+
displayedHeight?: number;
|
|
9293
|
+
displayedDepth?: number;
|
|
9294
|
+
threeDimensionalAssetWeb?: AssetUrl;
|
|
9295
|
+
threeDimensionalAssetIOS?: AssetUrl;
|
|
9296
|
+
threeDimensionalAsset?: AssetUrl;
|
|
9099
9297
|
flipable: boolean;
|
|
9100
9298
|
scaleable: boolean;
|
|
9101
9299
|
meta: string;
|
|
@@ -9574,6 +9772,7 @@ export declare class RoomDesignerApi implements RoomDesignerRequests {
|
|
|
9574
9772
|
mergeGroups(groupIds: string[]): Promise<void>;
|
|
9575
9773
|
getPosDataOfAllGroups(): Promise<PosGroup[]>;
|
|
9576
9774
|
getRoomInformation(mode?: PlanRoomGeometryMode): Promise<ExternalRoomInformation>;
|
|
9775
|
+
getPlanObstacles(): Promise<ExternalPlanObstacles>;
|
|
9577
9776
|
saveExternalObjectSnapshot(): Promise<ExternalObjectSnapshotSaveResult | null>;
|
|
9578
9777
|
saveCurrentPlanSnapshot(): Promise<RapiPlanSnapshotGetData>;
|
|
9579
9778
|
renderPosDataImage(posDataJson: object): Promise<void>;
|
|
@@ -9592,6 +9791,7 @@ export declare interface RoomDesignerRequests {
|
|
|
9592
9791
|
mergeGroups(groupIds: string[]): Promise<void>;
|
|
9593
9792
|
getPosDataOfAllGroups(): Promise<PosGroup[]>;
|
|
9594
9793
|
getRoomInformation(mode?: PlanRoomGeometryMode): Promise<ExternalRoomInformation>;
|
|
9794
|
+
getPlanObstacles(): Promise<ExternalPlanObstacles>;
|
|
9595
9795
|
saveExternalObjectSnapshot(): Promise<ExternalObjectSnapshotSaveResult | null>;
|
|
9596
9796
|
}
|
|
9597
9797
|
|
|
@@ -10641,8 +10841,9 @@ export declare class RoomlePlanner<P extends readonly PluginName[] = readonly []
|
|
|
10641
10841
|
private _globalInitData;
|
|
10642
10842
|
private _globalCallback;
|
|
10643
10843
|
private _unitFormatter;
|
|
10644
|
-
private _planInteractionManager;
|
|
10645
10844
|
private _elevationPlan2dGenerator;
|
|
10845
|
+
private _skyStateTracker;
|
|
10846
|
+
private _planInteractionManager;
|
|
10646
10847
|
private _sceneManager;
|
|
10647
10848
|
private _plan;
|
|
10648
10849
|
private _preloadPlanId;
|
|
@@ -11067,6 +11268,7 @@ export declare class RoomlePlanner<P extends readonly PluginName[] = readonly []
|
|
|
11067
11268
|
}>;
|
|
11068
11269
|
getExternalObjectValidSubArticles(posGroupId?: string): PosArticle[];
|
|
11069
11270
|
selectExternalObjectSubArticle(subArticleId: string): void;
|
|
11271
|
+
deleteExternalObjectSubArticle(posGroupId: string, subArticleId: string): Promise<void>;
|
|
11070
11272
|
_mergeExternalObjects(groupIds: string[]): Promise<void>;
|
|
11071
11273
|
removeExternalObject(groupOrRootModuleId: string): Promise<void>;
|
|
11072
11274
|
selectExternalObject(groupOrRootModuleId: string, subModuleId: string | null, contextAction: HiContextAction): Promise<void>;
|
|
@@ -11077,6 +11279,8 @@ export declare class RoomlePlanner<P extends readonly PluginName[] = readonly []
|
|
|
11077
11279
|
getExternalObjectPlanContext(include?: HiPlanContextSection[]): Promise<HiPlanContext>;
|
|
11078
11280
|
externalObjectGroupOperation<C extends HiGroupOperation>(command: C, payload: HiGroupOperationPayloads[C]): Promise<HiGroupOperationResult>;
|
|
11079
11281
|
getExternalRoomInformation(mode?: PlanRoomGeometryMode): Promise<ExternalRoomInformation>;
|
|
11282
|
+
_getExternalPlanObstacles(): Promise<ExternalPlanObstacles>;
|
|
11283
|
+
private _planObstacleKind;
|
|
11080
11284
|
/**
|
|
11081
11285
|
* Highlights a product in the planner.
|
|
11082
11286
|
* @param planElementId The ID of the plan element to highlight.
|
|
@@ -11683,6 +11887,7 @@ export declare abstract class SceneManager implements Context, LifeCycleCallback
|
|
|
11683
11887
|
protected _stopRendering: boolean;
|
|
11684
11888
|
protected _roomleRenderer: GenericRoomleRenderer | null;
|
|
11685
11889
|
private _roomleRendererReady;
|
|
11890
|
+
protected _sceneSetupReady: AsyncGuard<void>;
|
|
11686
11891
|
private _isDebugGUIInitialized;
|
|
11687
11892
|
private _forceRender;
|
|
11688
11893
|
private _lastChange;
|
|
@@ -11901,6 +12106,7 @@ export declare class SkyStateTracker extends EventDispatcher<SkyFeatureEventMap>
|
|
|
11901
12106
|
private _isCurrentlyActive;
|
|
11902
12107
|
private _initData;
|
|
11903
12108
|
constructor(creator: string);
|
|
12109
|
+
get isSkyEnabled(): boolean;
|
|
11904
12110
|
get isCurrentlyActive(): boolean;
|
|
11905
12111
|
notifyEnteredPlanner(): void;
|
|
11906
12112
|
notifyEnteredConfigurator(): void;
|
|
@@ -11960,6 +12166,14 @@ export declare const STEP_GROUPS: {
|
|
|
11960
12166
|
readonly finalize: "on-signal";
|
|
11961
12167
|
readonly methods: ["setWallThickness"];
|
|
11962
12168
|
};
|
|
12169
|
+
readonly wallArc: {
|
|
12170
|
+
readonly finalize: "on-signal";
|
|
12171
|
+
readonly methods: ["setWallArc"];
|
|
12172
|
+
};
|
|
12173
|
+
readonly wallCurve: {
|
|
12174
|
+
readonly finalize: "immediate";
|
|
12175
|
+
readonly methods: ["setWallCurve"];
|
|
12176
|
+
};
|
|
11963
12177
|
readonly objectSize: {
|
|
11964
12178
|
readonly finalize: "immediate";
|
|
11965
12179
|
readonly methods: ["setObjectSize"];
|
|
@@ -12485,6 +12699,9 @@ export declare interface VariantsList {
|
|
|
12485
12699
|
parts: KernelPart[];
|
|
12486
12700
|
}
|
|
12487
12701
|
|
|
12702
|
+
export declare class Vector2Array extends EmsArray<KernelVector2f> {
|
|
12703
|
+
}
|
|
12704
|
+
|
|
12488
12705
|
export declare class Vector2fArray extends EmsArray<KernelVector2f> {
|
|
12489
12706
|
}
|
|
12490
12707
|
|
|
@@ -12533,6 +12750,14 @@ export declare interface Wall_2 extends PlanElement_2 {
|
|
|
12533
12750
|
getCornerToLeft(): Vector3;
|
|
12534
12751
|
getCornerToRight(): Vector3;
|
|
12535
12752
|
getAngle(): number;
|
|
12753
|
+
getArcSweepAngle(): number;
|
|
12754
|
+
getCurveControlPoints(): PointArray_2;
|
|
12755
|
+
getCurveWeights(): FloatArray;
|
|
12756
|
+
getCurveDegree(): number;
|
|
12757
|
+
getAxisPolyline(): PointArray_2;
|
|
12758
|
+
getLeftFacePolyline(): PointArray_2;
|
|
12759
|
+
getRightFacePolyline(): PointArray_2;
|
|
12760
|
+
getTangentAngleAt(point: Vector3): number;
|
|
12536
12761
|
getLength(side: WallSide_2): number;
|
|
12537
12762
|
getSlopingLength(): number;
|
|
12538
12763
|
getPreferredSide(): WallSide_2;
|
|
@@ -12541,6 +12766,7 @@ export declare interface Wall_2 extends PlanElement_2 {
|
|
|
12541
12766
|
getCenter(): Vector3;
|
|
12542
12767
|
getHeightAt(aPoint: Vector3): number;
|
|
12543
12768
|
getPointWithHeight(aHeight: number): Vector3;
|
|
12769
|
+
readonly isCurved: boolean;
|
|
12544
12770
|
readonly meshThickness: number;
|
|
12545
12771
|
readonly isVectorWall: boolean;
|
|
12546
12772
|
readonly thickness: number;
|
|
@@ -12566,6 +12792,12 @@ export declare class WallAtticPlanElementViewModel extends PlanElementViewModel
|
|
|
12566
12792
|
update(): void;
|
|
12567
12793
|
}
|
|
12568
12794
|
|
|
12795
|
+
export declare interface WallCurveControlPoint {
|
|
12796
|
+
u: number;
|
|
12797
|
+
v: number;
|
|
12798
|
+
w: number;
|
|
12799
|
+
}
|
|
12800
|
+
|
|
12569
12801
|
export declare interface WallDefinition {
|
|
12570
12802
|
from: Position3;
|
|
12571
12803
|
to: Position3;
|
|
@@ -12647,6 +12879,7 @@ export declare class WallPlanElementViewModel extends PlanElementViewModel {
|
|
|
12647
12879
|
private _setBoundingBoxValues;
|
|
12648
12880
|
isVisible(): boolean;
|
|
12649
12881
|
protected _generateBoundingBox(): RoomleEventedMesh;
|
|
12882
|
+
private _computeCurvedLineVertices;
|
|
12650
12883
|
private _computeLineVertices;
|
|
12651
12884
|
private _createLineForInvisibleWall;
|
|
12652
12885
|
private _createCameraFacingHighlightMesh;
|
|
@@ -12655,6 +12888,7 @@ export declare class WallPlanElementViewModel extends PlanElementViewModel {
|
|
|
12655
12888
|
private _ensureCameraFacingHighlightMesh;
|
|
12656
12889
|
private _updateCameraFacingHighlightMesh;
|
|
12657
12890
|
private _computeWallFootprintVertices;
|
|
12891
|
+
private _computeCurvedWallFootprintVertices;
|
|
12658
12892
|
private _computeWallFootprintFallbackVertices;
|
|
12659
12893
|
private _updateLineGeometry;
|
|
12660
12894
|
private _addThinLineForInvisibleWall;
|
|
@@ -12676,8 +12910,12 @@ export declare interface WallPlanObject extends PlanObject {
|
|
|
12676
12910
|
getFrom(): NodePlanObject;
|
|
12677
12911
|
getTo(): NodePlanObject;
|
|
12678
12912
|
getAttachedAttics(): KernelAtticArray;
|
|
12913
|
+
getAxisPolyline(): PointArray_3;
|
|
12914
|
+
getLeftFacePolyline(): PointArray_3;
|
|
12915
|
+
getRightFacePolyline(): PointArray_3;
|
|
12679
12916
|
readonly thickness: number;
|
|
12680
12917
|
readonly height: number;
|
|
12918
|
+
readonly isCurved: boolean;
|
|
12681
12919
|
}
|
|
12682
12920
|
|
|
12683
12921
|
export declare interface WallSide {
|