@roomle/web-sdk 2.113.0-debug.12 → 3.0.0-alpha.2
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/README.md +2 -0
- package/lib/{BufferGeometry-DxMNUz5W.mjs → BufferGeometry-hDR_qVnf.mjs} +2 -2
- package/lib/{BufferGeometry-DxMNUz5W.mjs.map → BufferGeometry-hDR_qVnf.mjs.map} +1 -1
- package/lib/ConfiguratorKernel.wasm +0 -0
- package/lib/{GLTFExporter-D6nmo8bl.mjs → GLTFExporter-BNq_1jiu.mjs} +16 -16
- package/lib/{GLTFExporter-D6nmo8bl.mjs.map → GLTFExporter-BNq_1jiu.mjs.map} +1 -1
- package/lib/{PointLightHelper-BfkYMbMn.mjs → PointLightHelper-BSVmJ40B.mjs} +12 -12
- package/lib/{PointLightHelper-BfkYMbMn.mjs.map → PointLightHelper-BSVmJ40B.mjs.map} +1 -1
- package/lib/RoomleCore.wasm +0 -0
- package/lib/RoomleToolsCore.wasm +0 -0
- package/lib/{SpotLightHelper-DgUtIhfr.mjs → SpotLightHelper-Ba5CDcvu.mjs} +3 -3
- package/lib/{SpotLightHelper-DgUtIhfr.mjs.map → SpotLightHelper-Ba5CDcvu.mjs.map} +1 -1
- package/lib/{USDZExporter-DolKgErZ.mjs → USDZExporter-BXUQSlKH.mjs} +2 -2
- package/lib/{USDZExporter-DolKgErZ.mjs.map → USDZExporter-BXUQSlKH.mjs.map} +1 -1
- package/lib/{banana-for-scale-DRVLP1E5.mjs → banana-for-scale-DSKC3F9W.mjs} +2 -2
- package/lib/{banana-for-scale-DRVLP1E5.mjs.map → banana-for-scale-DSKC3F9W.mjs.map} +1 -1
- package/lib/{component-dimensioning-DR-QAVWc.mjs → component-dimensioning-CDX04DA0.mjs} +2 -2
- package/lib/{component-dimensioning-DR-QAVWc.mjs.map → component-dimensioning-CDX04DA0.mjs.map} +1 -1
- package/lib/{continuous-drawing-helper-CYEmULFe.mjs → continuous-drawing-helper-Djeonu9R.mjs} +2 -2
- package/lib/{continuous-drawing-helper-CYEmULFe.mjs.map → continuous-drawing-helper-Djeonu9R.mjs.map} +1 -1
- package/lib/{homag-intelligence-Bq-oBRsz.mjs → homag-intelligence-CngVZKGu.mjs} +476 -336
- package/lib/homag-intelligence-CngVZKGu.mjs.map +1 -0
- package/lib/{imos-ix-poc-export-helper-qHVFmcvf.mjs → imos-ix-poc-export-helper-DcvR6WHi.mjs} +2 -2
- package/lib/{imos-ix-poc-export-helper-qHVFmcvf.mjs.map → imos-ix-poc-export-helper-DcvR6WHi.mjs.map} +1 -1
- package/lib/{index-JPCZ4gUe.mjs → index-1AA3oYQf.mjs} +3660 -3579
- package/lib/index-1AA3oYQf.mjs.map +1 -0
- package/lib/{material-viewer-BEGEyF_X.mjs → material-viewer-CjpNPN7U.mjs} +2 -2
- package/lib/material-viewer-CjpNPN7U.mjs.map +1 -0
- package/lib/roomle-sdk.d.ts +478 -271
- package/lib/roomle-sdk.js +11 -11
- 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/configuratorCoreInterface.d.ts +1 -0
- package/lib/static/roomle-core-hsc/embind/configuratorCoreInterface.d.ts +1 -0
- package/lib/static/roomle-core-hsc/embind/plannerCoreInterface.d.ts +1 -0
- package/lib/static/roomle-core-hsc/package.json +1 -1
- package/lib/static/roomle-core-hsc/plannerCoreInterface.d.ts +1 -0
- package/lib/static/roomle-core-hsc/src/embind/configuratorCoreInterface.d.ts +1 -0
- package/lib/static/roomle-core-hsc/src/embind/plannerCoreInterface.d.ts +1 -0
- 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-DmMNmZ05.mjs → stats-helper-YfdBtF08.mjs} +2 -2
- package/lib/{stats-helper-DmMNmZ05.mjs.map → stats-helper-YfdBtF08.mjs.map} +1 -1
- package/lib/{three.webgpu-BHLDP7Yy.mjs → three.webgpu-BEGHg51m.mjs} +3 -3
- package/lib/{three.webgpu-BHLDP7Yy.mjs.map → three.webgpu-BEGHg51m.mjs.map} +1 -1
- package/lib/{tools-core-BjEVsNG6.mjs → tools-core-Bnq_egvf.mjs} +2 -2
- package/lib/{tools-core-BjEVsNG6.mjs.map → tools-core-Bnq_egvf.mjs.map} +1 -1
- package/package.json +1 -1
- package/lib/homag-intelligence-Bq-oBRsz.mjs.map +0 -1
- package/lib/index-JPCZ4gUe.mjs.map +0 -1
- package/lib/material-viewer-BEGEyF_X.mjs.map +0 -1
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as $,
|
|
1
|
+
import { f as $, aO as J, ar as v, bm as ee, ax as S, bz as se, ed as B, fe as te, bS as ne, dF as k, aN as ie, eA as re, j as oe, eZ as z, eD as ae, aI as Y, aE as ce, bI as ue, bH as le, bG as fe, aM as he, bF as pe, bE as de, bC as xe, bD as ye, bB as ge, eE as Te } from "./index-1AA3oYQf.mjs";
|
|
2
2
|
const j = {
|
|
3
3
|
POSITION: [
|
|
4
4
|
"byte",
|
|
@@ -33,7 +33,7 @@ class H {
|
|
|
33
33
|
*/
|
|
34
34
|
constructor() {
|
|
35
35
|
this.textureUtils = null, this.pluginCallbacks = [], this.register(function(e) {
|
|
36
|
-
return new
|
|
36
|
+
return new Le(e);
|
|
37
37
|
}), this.register(function(e) {
|
|
38
38
|
return new _e(e);
|
|
39
39
|
}), this.register(function(e) {
|
|
@@ -103,7 +103,7 @@ class H {
|
|
|
103
103
|
* @param {GLTFExporter~Options} options - options
|
|
104
104
|
*/
|
|
105
105
|
parse(e, s, n, t) {
|
|
106
|
-
const i = new
|
|
106
|
+
const i = new Se(), r = [];
|
|
107
107
|
for (let o = 0, c = this.pluginCallbacks.length; o < c; o++)
|
|
108
108
|
r.push(this.pluginCallbacks[o](i));
|
|
109
109
|
i.setPlugins(r), i.setTextureUtils(this.textureUtils), i.writeAsync(e, s, t).catch(n);
|
|
@@ -212,7 +212,7 @@ function Ne(a, e) {
|
|
|
212
212
|
} else
|
|
213
213
|
return new Promise((s) => a.toBlob(s, e));
|
|
214
214
|
}
|
|
215
|
-
class
|
|
215
|
+
class Se {
|
|
216
216
|
constructor() {
|
|
217
217
|
this.plugins = [], this.options = {}, this.pending = [], this.buffers = [], this.byteOffset = 0, this.buffers = [], this.nodeMap = /* @__PURE__ */ new Map(), this.skins = [], this.extensionsUsed = {}, this.extensionsRequired = {}, this.uids = /* @__PURE__ */ new Map(), this.uid = 0, this.json = {
|
|
218
218
|
asset: {
|
|
@@ -694,7 +694,7 @@ class Le {
|
|
|
694
694
|
}
|
|
695
695
|
d = null;
|
|
696
696
|
const m = w.array;
|
|
697
|
-
p === "JOINTS_0" && !(m instanceof Uint16Array) && !(m instanceof Uint8Array) ? (console.warn('GLTFExporter: Attribute "skinIndex" converted to type UNSIGNED_SHORT.'), d = new
|
|
697
|
+
p === "JOINTS_0" && !(m instanceof Uint16Array) && !(m instanceof Uint8Array) ? (console.warn('GLTFExporter: Attribute "skinIndex" converted to type UNSIGNED_SHORT.'), d = new S(new Uint16Array(m), w.itemSize, w.normalized)) : (m instanceof Uint32Array || m instanceof Int32Array) && !p.startsWith("_") && (console.warn(`GLTFExporter: Attribute "${p}" converted to type FLOAT.`), d = H.Utils.toFloat32BufferAttribute(w));
|
|
698
698
|
const I = this.processAccessor(d || w, r);
|
|
699
699
|
I !== null && (p.startsWith("_") || this.detectMeshQuantization(p, w), l[p] = I, s.attributes.set(this.getUID(w), I));
|
|
700
700
|
}
|
|
@@ -720,8 +720,8 @@ class Le {
|
|
|
720
720
|
const U = N.clone();
|
|
721
721
|
if (!r.morphTargetsRelative)
|
|
722
722
|
for (let E = 0, Q = N.count; E < Q; E++)
|
|
723
|
-
for (let
|
|
724
|
-
|
|
723
|
+
for (let L = 0; L < N.itemSize; L++)
|
|
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
725
|
I[D] = this.processAccessor(U, r), s.attributes.set(this.getUID(C, !0), I[D]);
|
|
726
726
|
}
|
|
727
727
|
u.push(I), p.push(e.morphTargetInfluences[m]), e.morphTargetDictionary !== void 0 && w.push(A[m]);
|
|
@@ -840,8 +840,8 @@ class Le {
|
|
|
840
840
|
f === K.morphTargetInfluences && (x /= T.morphTargetInfluences.length);
|
|
841
841
|
let y;
|
|
842
842
|
h.createInterpolant.isInterpolantFactoryMethodGLTFCubicSpline === !0 ? (y = "CUBICSPLINE", x /= 3) : h.getInterpolation() === ae ? y = "STEP" : y = "LINEAR", o.push({
|
|
843
|
-
input: this.processAccessor(new
|
|
844
|
-
output: this.processAccessor(new
|
|
843
|
+
input: this.processAccessor(new S(h.times, d)),
|
|
844
|
+
output: this.processAccessor(new S(h.values, x)),
|
|
845
845
|
interpolation: y
|
|
846
846
|
}), r.push({
|
|
847
847
|
sampler: o.length - 1,
|
|
@@ -871,7 +871,7 @@ class Le {
|
|
|
871
871
|
for (let u = 0; u < i.bones.length; ++u)
|
|
872
872
|
o.push(n.get(i.bones[u])), l.copy(i.boneInverses[u]), l.multiply(e.bindMatrix).toArray(c, u * 16);
|
|
873
873
|
return s.skins === void 0 && (s.skins = []), s.skins.push({
|
|
874
|
-
inverseBindMatrices: this.processAccessor(new
|
|
874
|
+
inverseBindMatrices: this.processAccessor(new S(c, 16)),
|
|
875
875
|
joints: o,
|
|
876
876
|
skeleton: n.get(r)
|
|
877
877
|
}), t.skin = s.skins.length - 1;
|
|
@@ -966,7 +966,7 @@ class Le {
|
|
|
966
966
|
await e(this.plugins[s]);
|
|
967
967
|
}
|
|
968
968
|
}
|
|
969
|
-
class
|
|
969
|
+
class Le {
|
|
970
970
|
constructor(e) {
|
|
971
971
|
this.writer = e, this.name = "KHR_lights_punctual";
|
|
972
972
|
}
|
|
@@ -1200,9 +1200,9 @@ class He {
|
|
|
1200
1200
|
for (let f = 0; f < t.count; f++)
|
|
1201
1201
|
t.getMatrixAt(f, c), c.decompose(l, h, u), l.toArray(i, f * 3), h.toArray(r, f * 4), u.toArray(o, f * 3);
|
|
1202
1202
|
const T = {
|
|
1203
|
-
TRANSLATION: n.processAccessor(new
|
|
1204
|
-
ROTATION: n.processAccessor(new
|
|
1205
|
-
SCALE: n.processAccessor(new
|
|
1203
|
+
TRANSLATION: n.processAccessor(new S(i, 3)),
|
|
1204
|
+
ROTATION: n.processAccessor(new S(r, 4)),
|
|
1205
|
+
SCALE: n.processAccessor(new S(o, 3))
|
|
1206
1206
|
};
|
|
1207
1207
|
t.instanceColor && (T._COLOR_0 = n.processAccessor(t.instanceColor)), s.extensions = s.extensions || {}, s.extensions[this.name] = { attributes: T }, n.extensionsUsed[this.name] = !0, n.extensionsRequired[this.name] = !0;
|
|
1208
1208
|
}
|
|
@@ -1271,7 +1271,7 @@ H.Utils = {
|
|
|
1271
1271
|
return a.tracks = s, a;
|
|
1272
1272
|
},
|
|
1273
1273
|
toFloat32BufferAttribute: function(a) {
|
|
1274
|
-
const e = new
|
|
1274
|
+
const e = new S(new Float32Array(a.count * a.itemSize), a.itemSize, !1);
|
|
1275
1275
|
if (!a.normalized && !a.isInterleavedBufferAttribute)
|
|
1276
1276
|
return e.array.set(a.array), e;
|
|
1277
1277
|
for (let s = 0, n = a.count; s < n; s++)
|
|
@@ -1283,4 +1283,4 @@ H.Utils = {
|
|
|
1283
1283
|
export {
|
|
1284
1284
|
H as GLTFExporter
|
|
1285
1285
|
};
|
|
1286
|
-
//# sourceMappingURL=GLTFExporter-
|
|
1286
|
+
//# sourceMappingURL=GLTFExporter-BNq_1jiu.mjs.map
|