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
I found that the static implementation do something that I want to do.
displayStaticBuffer("glcanvas", "duplex.bin");
export function displayStaticBuffer(domNode, bufferPath) {
var canvas = document.getElementById(domNode);
let v = new BimServerViewer({quantizeVertices:false}, canvas, window.innerWidth, window.innerHeight, null);
v.loadAnnotationsFromPreparedBufferUrl(bufferPath);
}
Is there any documentation of the .BIN format?
How could I generate it for another IFC file?
The text was updated successfully, but these errors were encountered:
.bin is probably the binary buffer of a glTF v1 file. These days everybody is using glTF v2 .glb where both the hierarchical info (json) and binary geometry info is combined into a single binary file (typically). With IfcConvert you can generate .glb files from .ifc.
Yes, this was probably created from the binary serializer plugins. The format is not documented besides through the serializer implementation code itself.
To create these files, you just need to run a BIMserver instance (local or remote) with the BinarySerializer plugins installed, upload your IFC to it and download the binary file. You can do the upload and download through a web client like BIMvie.ws or any other client using the BIMserver API.
I found that the static implementation do something that I want to do.
Is there any documentation of the .BIN format?
How could I generate it for another IFC file?
The text was updated successfully, but these errors were encountered: