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
We use the IFC viewer AECgeeks / BIMsurfer2 to display IFC files uploaded by the user in a website project. Therefore, we have to convert these uploaded IFC files to gLTF files using the Collada .dae format. The adapted version of BIMsurfer2 actually only works with gLTF v 1.0.
Here are the steps to achieve this:
IfcConvert (IfcOpenShell IfcConvert 0.6.0b0 (OCC 7.3.0)) for converting .ifc to .xml and .ifc to .dae
COLLADA2GLTF (2.1.5) for converting .dae to .gltf with the option -v 1.0
The conversion from .dae to .gltf -v 1.0 fails for most tested IFC files and is "segmentation error". The default without any option (v 2.0) converts and the .gltf file works fine (e.g. tested with https://sandbox.babylonjs.com/).
First we installed and used the binary version COLLADA2GLTF-v2.1.5-linux.zip (Ubuntu 16.04, Oracle VM VirtualBox). Today we have compiled COLLADA2GLTF from the source code on two servers: VM and root server (Ubuntu 16.04).
The VM version showed the Segfault again immediately, the root server version showed the error after two successful conversions.
Is this a problem of our used IFC files (test files) or a general issue converting to .gltf -v 1.0?
Thanks for help.
Find an example of our trials attached. ifc-files.zip
The text was updated successfully, but these errors were encountered:
We use the IFC viewer AECgeeks / BIMsurfer2 to display IFC files uploaded by the user in a website project. Therefore, we have to convert these uploaded IFC files to gLTF files using the Collada .dae format. The adapted version of BIMsurfer2 actually only works with gLTF v 1.0.
Here are the steps to achieve this:
For example:
./IfcConvert IFC / AC20-FZK-Haus.ifc generated / DAE / AC20-FZK-Haus.dae
./collada2gltf/COLLADA2GLTF-bin -i generated / DAE / AC20-FZK-Haus.dae -o generated / GLTF / AC20-FZK-Haus.gltf -v 1.0
The conversion from .dae to .gltf -v 1.0 fails for most tested IFC files and is "segmentation error". The default without any option (v 2.0) converts and the .gltf file works fine (e.g. tested with https://sandbox.babylonjs.com/).
First we installed and used the binary version COLLADA2GLTF-v2.1.5-linux.zip (Ubuntu 16.04, Oracle VM VirtualBox). Today we have compiled COLLADA2GLTF from the source code on two servers: VM and root server (Ubuntu 16.04).
The VM version showed the Segfault again immediately, the root server version showed the error after two successful conversions.
Is this a problem of our used IFC files (test files) or a general issue converting to .gltf -v 1.0?
Thanks for help.
Find an example of our trials attached.
ifc-files.zip
The text was updated successfully, but these errors were encountered: