You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following files are created:
model.glb - 105M
model_1.glb - 104M
model_2.glb - 34M
metadata.json - 22M
model.glb.manifest.json
Step 2: Used xeokit-convert (version v1.1.15-beta-8) to create split xkt files
Command: node xeokit-convert-1.1.15-beta-8/convert2xkt.js -n -a model.glb.manifest.json -o model.xkt.manifest.json -l
[convert2xkt] Running convert2xkt v1.1.15-beta-8...
[convert2xkt] Using configs in ./convert2xkt.conf.js
[convert2xkt] Converting glTF files in manifest model.glb.manifest.json...
[convert2xkt] Reading input file: model.glb
[convert2xkt] Input file size: 109189.61 kB
[convert2xkt] Not embedding metadata in XKT
TextEncoder constructor called with encoding label, which is ignored.
[convert2xkt] Using parser: parseGLTFIntoXKTModel
[convert2xkt] Parsing normals: disabled
[convert2xkt] Parsing textures: enabled
node:internal/process/promises:289
triggerUncaughtException(err, true /* fromPromise */);
^
[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "Unsupported value for params.primitiveType: line-loop' - supported values are 'triangles', 'points', 'lines', 'line-strip', 'triangle-strip' and 'triangle-fan".] {
code: 'ERR_UNHANDLED_REJECTION'
}
Node.js v20.12.2
Questions:
Is there a way to reduce the size of glb file?
What is this issue in step 2 and how do I resolve it?
The text was updated successfully, but these errors were encountered:
I have a IFC with size of 650MB which I want to convert and use in XKT format.
Here is what I have done:
Step 1: Used ifc2gltfcxconverter (version 3.1) to create glb files.
Command (used default configuration json): linux/bin/ifc2gltfcxconverter -i model.ifc -o model.glb -m metadata.json -s 100 -c linux/bin/ifc2gltfcxconverter.json
Following files are created:
model.glb - 105M
model_1.glb - 104M
model_2.glb - 34M
metadata.json - 22M
model.glb.manifest.json
Step 2: Used xeokit-convert (version v1.1.15-beta-8) to create split xkt files
Command: node xeokit-convert-1.1.15-beta-8/convert2xkt.js -n -a model.glb.manifest.json -o model.xkt.manifest.json -l
Questions:
The text was updated successfully, but these errors were encountered: