@roomle/web-sdk 3.0.0-alpha.2 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/{BufferGeometry-hDR_qVnf.mjs → BufferGeometry-1iuQ78oW.mjs} +10 -10
- package/lib/{BufferGeometry-hDR_qVnf.mjs.map → BufferGeometry-1iuQ78oW.mjs.map} +1 -1
- package/lib/ConfiguratorKernel.wasm +0 -0
- package/lib/{GLTFExporter-BNq_1jiu.mjs → GLTFExporter-tzMbpqEK.mjs} +11 -11
- package/lib/{GLTFExporter-BNq_1jiu.mjs.map → GLTFExporter-tzMbpqEK.mjs.map} +1 -1
- package/lib/{PointLightHelper-BSVmJ40B.mjs → PointLightHelper-CR5LYLBm.mjs} +3 -3
- package/lib/{PointLightHelper-BSVmJ40B.mjs.map → PointLightHelper-CR5LYLBm.mjs.map} +1 -1
- package/lib/RoomleCore.wasm +0 -0
- package/lib/RoomleToolsCore.wasm +0 -0
- package/lib/{SpotLightHelper-Ba5CDcvu.mjs → SpotLightHelper-BStLCKGl.mjs} +3 -3
- package/lib/{SpotLightHelper-Ba5CDcvu.mjs.map → SpotLightHelper-BStLCKGl.mjs.map} +1 -1
- package/lib/{USDZExporter-BXUQSlKH.mjs → USDZExporter-BFXLW8Hg.mjs} +8 -8
- package/lib/{USDZExporter-BXUQSlKH.mjs.map → USDZExporter-BFXLW8Hg.mjs.map} +1 -1
- package/lib/{banana-for-scale-DSKC3F9W.mjs → banana-for-scale-U9sL-zUY.mjs} +2 -2
- package/lib/{banana-for-scale-DSKC3F9W.mjs.map → banana-for-scale-U9sL-zUY.mjs.map} +1 -1
- package/lib/{component-dimensioning-CDX04DA0.mjs → component-dimensioning-4PDhO9rn.mjs} +26 -26
- package/lib/{component-dimensioning-CDX04DA0.mjs.map → component-dimensioning-4PDhO9rn.mjs.map} +1 -1
- package/lib/{continuous-drawing-helper-Djeonu9R.mjs → continuous-drawing-helper-oWtcXAY3.mjs} +2 -2
- package/lib/{continuous-drawing-helper-Djeonu9R.mjs.map → continuous-drawing-helper-oWtcXAY3.mjs.map} +1 -1
- package/lib/{homag-intelligence-CngVZKGu.mjs → homag-intelligence-BNJeagKf.mjs} +193 -141
- package/lib/homag-intelligence-BNJeagKf.mjs.map +1 -0
- package/lib/{imos-ix-poc-export-helper-DcvR6WHi.mjs → imos-ix-poc-export-helper-ugXGKl6D.mjs} +2 -2
- package/lib/{imos-ix-poc-export-helper-DcvR6WHi.mjs.map → imos-ix-poc-export-helper-ugXGKl6D.mjs.map} +1 -1
- package/lib/{index-1AA3oYQf.mjs → index-CZA-Di2j.mjs} +4565 -4561
- package/lib/{index-1AA3oYQf.mjs.map → index-CZA-Di2j.mjs.map} +1 -1
- package/lib/{material-viewer-CjpNPN7U.mjs → material-viewer-O6WyPhS0.mjs} +2 -2
- package/lib/{material-viewer-CjpNPN7U.mjs.map → material-viewer-O6WyPhS0.mjs.map} +1 -1
- package/lib/roomle-sdk.d.ts +14 -14
- package/lib/roomle-sdk.js +3 -3
- package/lib/static/roomle-core-hsc/ConfiguratorKernel.wasm +0 -0
- package/lib/static/roomle-core-hsc/RoomleCore.wasm +0 -0
- package/lib/static/roomle-core-hsc/RoomleServiceCore.wasm +0 -0
- package/lib/static/roomle-core-hsc/RoomleToolsCore.wasm +0 -0
- package/lib/static/roomle-core-hsc/package.json +1 -1
- package/lib/static/roomle-core-hsc/wasm_modern/ConfiguratorKernel.wasm +0 -0
- package/lib/static/roomle-core-hsc/wasm_modern/RoomleCore.wasm +0 -0
- package/lib/static/roomle-core-hsc/wasm_modern/RoomleServiceCore.wasm +0 -0
- package/lib/static/roomle-core-hsc/wasm_modern/RoomleToolsCore.wasm +0 -0
- package/lib/{stats-helper-YfdBtF08.mjs → stats-helper-qGkUMFmZ.mjs} +2 -2
- package/lib/{stats-helper-YfdBtF08.mjs.map → stats-helper-qGkUMFmZ.mjs.map} +1 -1
- package/lib/{three.webgpu-BEGHg51m.mjs → three.webgpu-DX-lGAGI.mjs} +3 -3
- package/lib/{three.webgpu-BEGHg51m.mjs.map → three.webgpu-DX-lGAGI.mjs.map} +1 -1
- package/lib/{tools-core-Bnq_egvf.mjs → tools-core-6dGDs5pX.mjs} +2 -2
- package/lib/{tools-core-Bnq_egvf.mjs.map → tools-core-6dGDs5pX.mjs.map} +1 -1
- package/package.json +1 -1
- package/lib/homag-intelligence-CngVZKGu.mjs.map +0 -1
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as $,
|
|
1
|
+
import { f as $, aP as J, as as v, bn as ee, ay as S, bA as se, ee as D, ff as te, bT as ne, dG as k, aO as ie, eB as re, j as oe, e_ as z, eE as ae, aJ as Y, aF as ce, bJ as ue, bI as le, bH as fe, aN as he, bG as pe, bF as de, bD as xe, bE as ye, bC as ge, eF as Te } from "./index-CZA-Di2j.mjs";
|
|
2
2
|
const j = {
|
|
3
3
|
POSITION: [
|
|
4
4
|
"byte",
|
|
@@ -43,7 +43,7 @@ class H {
|
|
|
43
43
|
}), this.register(function(e) {
|
|
44
44
|
return new ze(e);
|
|
45
45
|
}), this.register(function(e) {
|
|
46
|
-
return new
|
|
46
|
+
return new Be(e);
|
|
47
47
|
}), this.register(function(e) {
|
|
48
48
|
return new Ce(e);
|
|
49
49
|
}), this.register(function(e) {
|
|
@@ -51,7 +51,7 @@ class H {
|
|
|
51
51
|
}), this.register(function(e) {
|
|
52
52
|
return new Fe(e);
|
|
53
53
|
}), this.register(function(e) {
|
|
54
|
-
return new
|
|
54
|
+
return new De(e);
|
|
55
55
|
}), this.register(function(e) {
|
|
56
56
|
return new Ge(e);
|
|
57
57
|
}), this.register(function(e) {
|
|
@@ -370,7 +370,7 @@ class Se {
|
|
|
370
370
|
return x;
|
|
371
371
|
};
|
|
372
372
|
}
|
|
373
|
-
e instanceof
|
|
373
|
+
e instanceof D && (e = await this.decompressTextureAsync(e)), s instanceof D && (s = await this.decompressTextureAsync(s));
|
|
374
374
|
const t = e ? e.image : null, i = s ? s.image : null, r = Math.max(t ? t.width : 0, i ? i.width : 0), o = Math.max(t ? t.height : 0, i ? i.height : 0), c = X();
|
|
375
375
|
c.width = r, c.height = o;
|
|
376
376
|
const l = c.getContext("2d", {
|
|
@@ -586,7 +586,7 @@ class Se {
|
|
|
586
586
|
async processTextureAsync(e) {
|
|
587
587
|
const n = this.options, t = this.cache, i = this.json;
|
|
588
588
|
if (t.textures.has(e)) return t.textures.get(e);
|
|
589
|
-
i.textures || (i.textures = []), e instanceof
|
|
589
|
+
i.textures || (i.textures = []), e instanceof D && (e = await this.decompressTextureAsync(e, n.maxTextureSize));
|
|
590
590
|
let r = e.userData.mimeType;
|
|
591
591
|
r === "image/webp" && (r = "image/png");
|
|
592
592
|
const o = {
|
|
@@ -712,9 +712,9 @@ class Se {
|
|
|
712
712
|
V || (console.warn("GLTFExporter: Only POSITION and NORMAL morph are supported."), V = !0);
|
|
713
713
|
continue;
|
|
714
714
|
}
|
|
715
|
-
const N = r.morphAttributes[_][m],
|
|
715
|
+
const N = r.morphAttributes[_][m], B = _.toUpperCase(), C = r.attributes[_];
|
|
716
716
|
if (s.attributes.has(this.getUID(N, !0))) {
|
|
717
|
-
I[
|
|
717
|
+
I[B] = s.attributes.get(this.getUID(N, !0));
|
|
718
718
|
continue;
|
|
719
719
|
}
|
|
720
720
|
const U = N.clone();
|
|
@@ -722,7 +722,7 @@ class Se {
|
|
|
722
722
|
for (let E = 0, Q = N.count; E < Q; E++)
|
|
723
723
|
for (let L = 0; L < N.itemSize; L++)
|
|
724
724
|
L === 0 && U.setX(E, N.getX(E) - C.getX(E)), L === 1 && U.setY(E, N.getY(E) - C.getY(E)), L === 2 && U.setZ(E, N.getZ(E) - C.getZ(E)), L === 3 && U.setW(E, N.getW(E) - C.getW(E));
|
|
725
|
-
I[
|
|
725
|
+
I[B] = this.processAccessor(U, r), s.attributes.set(this.getUID(C, !0), I[B]);
|
|
726
726
|
}
|
|
727
727
|
u.push(I), p.push(e.morphTargetInfluences[m]), e.morphTargetDictionary !== void 0 && w.push(A[m]);
|
|
728
728
|
}
|
|
@@ -1101,7 +1101,7 @@ class ze {
|
|
|
1101
1101
|
i.ior = e.ior, s.extensions = s.extensions || {}, s.extensions[this.name] = i, t[this.name] = !0;
|
|
1102
1102
|
}
|
|
1103
1103
|
}
|
|
1104
|
-
class
|
|
1104
|
+
class Be {
|
|
1105
1105
|
constructor(e) {
|
|
1106
1106
|
this.writer = e, this.name = "KHR_materials_specular";
|
|
1107
1107
|
}
|
|
@@ -1125,7 +1125,7 @@ class De {
|
|
|
1125
1125
|
i.specularFactor = e.specularIntensity, i.specularColorFactor = e.specularColor.toArray(), s.extensions = s.extensions || {}, s.extensions[this.name] = i, t[this.name] = !0;
|
|
1126
1126
|
}
|
|
1127
1127
|
}
|
|
1128
|
-
class
|
|
1128
|
+
class De {
|
|
1129
1129
|
constructor(e) {
|
|
1130
1130
|
this.writer = e, this.name = "KHR_materials_sheen";
|
|
1131
1131
|
}
|
|
@@ -1283,4 +1283,4 @@ H.Utils = {
|
|
|
1283
1283
|
export {
|
|
1284
1284
|
H as GLTFExporter
|
|
1285
1285
|
};
|
|
1286
|
-
//# sourceMappingURL=GLTFExporter-
|
|
1286
|
+
//# sourceMappingURL=GLTFExporter-tzMbpqEK.mjs.map
|