@roomle/web-sdk 5.2.0-alpha.5 → 5.2.0-alpha.7
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-DZUlAWo5.mjs → api-B3oINf2T.mjs} +2 -2
- package/lib/{api-DZUlAWo5.mjs.map → api-B3oINf2T.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/configurator-6hztf0Nj.mjs +2 -0
- package/lib/{configurator-BmDN5YBW.mjs → configurator-Bav9s7xV.mjs} +3 -3
- package/lib/{configurator-BmDN5YBW.mjs.map → configurator-Bav9s7xV.mjs.map} +1 -1
- package/lib/glb-viewer-4BUo6z8D.mjs +2 -0
- package/lib/{glb-viewer-B1zv_-Xu.mjs → glb-viewer-BQnK34mh.mjs} +3 -3
- package/lib/{glb-viewer-B1zv_-Xu.mjs.map → glb-viewer-BQnK34mh.mjs.map} +1 -1
- package/lib/{homag-intelligence-BesU6hk_.mjs → homag-intelligence-Cni8daMZ.mjs} +3 -3
- package/lib/{homag-intelligence-BesU6hk_.mjs.map → homag-intelligence-Cni8daMZ.mjs.map} +1 -1
- package/lib/{material-viewer-irdXxk65.mjs → material-viewer-COJkt92n.mjs} +3 -3
- package/lib/{material-viewer-irdXxk65.mjs.map → material-viewer-COJkt92n.mjs.map} +1 -1
- package/lib/{packages-BlWO8LDP.mjs → packages-D7_SxZSb.mjs} +5 -5
- package/lib/{packages-BlWO8LDP.mjs.map → packages-D7_SxZSb.mjs.map} +1 -1
- package/lib/{planner-DlX-zG-W.mjs → planner-CSUr6Psy.mjs} +3 -3
- package/lib/{planner-DlX-zG-W.mjs.map → planner-CSUr6Psy.mjs.map} +1 -1
- package/lib/planner-CwWcSacU.mjs +2 -0
- package/lib/roomle-headless.d.ts +24 -0
- package/lib/roomle-headless.js +7 -7
- package/lib/{roomle-sdk-DSz_yeeB.mjs → roomle-sdk-BbPFaMEs.mjs} +2930 -2894
- package/lib/roomle-sdk-BbPFaMEs.mjs.map +1 -0
- package/lib/roomle-sdk.d.ts +24 -0
- package/lib/roomle-sdk.js +6 -6
- package/lib/{script-loader-LEqgfdLa.mjs → script-loader-XspfvObG.mjs} +2 -2
- package/lib/{script-loader-LEqgfdLa.mjs.map → script-loader-XspfvObG.mjs.map} +1 -1
- package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/package.json +1 -1
- package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/ConfiguratorKernel.wasm +0 -0
- package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/RoomleCore.wasm +0 -0
- package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/RoomleToolsCore.wasm +0 -0
- package/lib/threejs-utils-Dy-rm1a9.mjs.map +1 -1
- package/lib/{tools-core-BFul1GmX.mjs → tools-core-DDPV5mG2.mjs} +3 -3
- package/lib/{tools-core-BFul1GmX.mjs.map → tools-core-DDPV5mG2.mjs.map} +1 -1
- package/package.json +2 -2
- package/lib/configurator-B02bUwN0.mjs +0 -2
- package/lib/glb-viewer-ch_Vh93P.mjs +0 -2
- package/lib/planner-BFYRuePx.mjs +0 -2
- package/lib/roomle-sdk-DSz_yeeB.mjs.map +0 -1
package/lib/roomle-headless.d.ts
CHANGED
|
@@ -4380,6 +4380,14 @@ export declare interface HandWrittenPlanInteractionHandler {
|
|
|
4380
4380
|
setLengthOfEdge2D(wall: KernelWall, length: number, preferredSide: WallSide, direction: EMSConstant, moveOrthogonalWalls: boolean): void;
|
|
4381
4381
|
setLengthOfSlopingEdge(wall: KernelWall, slopingLength: number, preferredSide: WallSide, direction: EMSConstant, moveOrthogonalWalls: boolean): void;
|
|
4382
4382
|
setWallThickness(wall: KernelWall, thickness: number): void;
|
|
4383
|
+
/** Curved walls PoC — positive sweep angles bulge to the left of from → to, 0 straightens. */
|
|
4384
|
+
setWallArc(wall: KernelWall, sweepAngleInRad: number): void;
|
|
4385
|
+
/** Curved walls PoC — control points in the chord frame, empty array straightens the wall. */
|
|
4386
|
+
setWallCurve(wall: KernelWall, interiorControlPoints: Array<{
|
|
4387
|
+
u: number;
|
|
4388
|
+
v: number;
|
|
4389
|
+
w: number;
|
|
4390
|
+
}>, degree: number, knots: number[]): void;
|
|
4383
4391
|
addAttic(wall: KernelWall, kneeHeight: number, width: number, side: WallSide | null | undefined): KernelAttic;
|
|
4384
4392
|
setAtticSide(attic: KernelAttic, side: WallSide): void;
|
|
4385
4393
|
setAtticKneeHeight(attic: KernelAttic, kneeHeight: number): void;
|
|
@@ -6165,7 +6173,9 @@ export declare interface KernelWall extends KernelObject {
|
|
|
6165
6173
|
readonly leftNormal: KernelVector3;
|
|
6166
6174
|
readonly rightNormal: KernelVector3;
|
|
6167
6175
|
readonly edgeType: EdgeType_2;
|
|
6176
|
+
readonly isCurved: boolean;
|
|
6168
6177
|
getAngle: () => number;
|
|
6178
|
+
getArcSweepAngle(): number;
|
|
6169
6179
|
}
|
|
6170
6180
|
|
|
6171
6181
|
export declare interface KernelWallMaterial extends KernelObject {
|
|
@@ -12355,6 +12365,14 @@ export declare const STEP_GROUPS: {
|
|
|
12355
12365
|
readonly finalize: "on-signal";
|
|
12356
12366
|
readonly methods: ["setWallThickness"];
|
|
12357
12367
|
};
|
|
12368
|
+
readonly wallArc: {
|
|
12369
|
+
readonly finalize: "on-signal";
|
|
12370
|
+
readonly methods: ["setWallArc"];
|
|
12371
|
+
};
|
|
12372
|
+
readonly wallCurve: {
|
|
12373
|
+
readonly finalize: "immediate";
|
|
12374
|
+
readonly methods: ["setWallCurve"];
|
|
12375
|
+
};
|
|
12358
12376
|
readonly objectSize: {
|
|
12359
12377
|
readonly finalize: "immediate";
|
|
12360
12378
|
readonly methods: ["setObjectSize"];
|
|
@@ -13064,6 +13082,7 @@ export declare class WallPlanElementViewModel extends PlanElementViewModel {
|
|
|
13064
13082
|
private _setBoundingBoxValues;
|
|
13065
13083
|
isVisible(): boolean;
|
|
13066
13084
|
protected _generateBoundingBox(): RoomleEventedMesh;
|
|
13085
|
+
private _computeCurvedLineVertices;
|
|
13067
13086
|
private _computeLineVertices;
|
|
13068
13087
|
private _createLineForInvisibleWall;
|
|
13069
13088
|
private _createCameraFacingHighlightMesh;
|
|
@@ -13072,6 +13091,7 @@ export declare class WallPlanElementViewModel extends PlanElementViewModel {
|
|
|
13072
13091
|
private _ensureCameraFacingHighlightMesh;
|
|
13073
13092
|
private _updateCameraFacingHighlightMesh;
|
|
13074
13093
|
private _computeWallFootprintVertices;
|
|
13094
|
+
private _computeCurvedWallFootprintVertices;
|
|
13075
13095
|
private _computeWallFootprintFallbackVertices;
|
|
13076
13096
|
private _updateLineGeometry;
|
|
13077
13097
|
private _addThinLineForInvisibleWall;
|
|
@@ -13093,8 +13113,12 @@ export declare interface WallPlanObject extends PlanObject {
|
|
|
13093
13113
|
getFrom(): NodePlanObject;
|
|
13094
13114
|
getTo(): NodePlanObject;
|
|
13095
13115
|
getAttachedAttics(): KernelAtticArray;
|
|
13116
|
+
getAxisPolyline(): PointArray_3;
|
|
13117
|
+
getLeftFacePolyline(): PointArray_3;
|
|
13118
|
+
getRightFacePolyline(): PointArray_3;
|
|
13096
13119
|
readonly thickness: number;
|
|
13097
13120
|
readonly height: number;
|
|
13121
|
+
readonly isCurved: boolean;
|
|
13098
13122
|
}
|
|
13099
13123
|
|
|
13100
13124
|
export declare interface WallSide {
|
package/lib/roomle-headless.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { a as e, i as t, n, r, t as i } from "./packages-
|
|
1
|
+
import { a as e, i as t, n, r, t as i } from "./packages-D7_SxZSb.mjs";
|
|
2
2
|
import { i as a, t as o } from "./kernel-BWfRHWkW.mjs";
|
|
3
3
|
import { Tt as s, xt as c } from "./threejs-utils-Dy-rm1a9.mjs";
|
|
4
4
|
import { Ti as l, m as u, nt as d } from "./three.core-BTUCraWz.mjs";
|
|
5
5
|
import { i as f } from "./decorate-CjaqqbUP.mjs";
|
|
6
6
|
import { D as ee, H as p, g as m } from "./common-utils-CNGLvAo_.mjs";
|
|
7
|
-
import { A as te, F as ne, G as re, H as ie, J as ae, K as oe, M as se, N as ce, P as le, S as h, V as ue, Y as de, a as fe, b as pe, ct as g, dt as me, ft as he, ht as ge, i as _e, j as ve, k as ye, l as _, lt as v, m as y, o as b, ot as x, q as S, r as C, s as w, st as T, t as E, u as D, ut as O, x as k, y as A, z as j } from "./roomle-sdk-
|
|
7
|
+
import { A as te, F as ne, G as re, H as ie, J as ae, K as oe, M as se, N as ce, P as le, S as h, V as ue, Y as de, a as fe, b as pe, ct as g, dt as me, ft as he, ht as ge, i as _e, j as ve, k as ye, l as _, lt as v, m as y, o as b, ot as x, q as S, r as C, s as w, st as T, t as E, u as D, ut as O, x as k, y as A, z as j } from "./roomle-sdk-BbPFaMEs.mjs";
|
|
8
8
|
import { n as M } from "./roomle-renderer-nCUrLU_S.mjs";
|
|
9
|
-
import { n as N } from "./script-loader-
|
|
10
|
-
import { t as P } from "./configurator-
|
|
11
|
-
import { t as be } from "./planner-
|
|
12
|
-
import { n as xe, t as Se } from "./glb-viewer-
|
|
13
|
-
import { t as Ce } from "./api-
|
|
9
|
+
import { n as N } from "./script-loader-XspfvObG.mjs";
|
|
10
|
+
import { t as P } from "./configurator-Bav9s7xV.mjs";
|
|
11
|
+
import { t as be } from "./planner-CSUr6Psy.mjs";
|
|
12
|
+
import { n as xe, t as Se } from "./glb-viewer-BQnK34mh.mjs";
|
|
13
|
+
import { t as Ce } from "./api-B3oINf2T.mjs";
|
|
14
14
|
import { t as we } from "./roomle-headless-setup-DbO_rLjK.mjs";
|
|
15
15
|
import { createRequire as Te } from "module";
|
|
16
16
|
//#region packages/headless-core/src/headless-tween-stub.ts
|