8000 WASM serializing · IfcOpenShell IfcOpenShell · Discussion #6502 · GitHub
[go: up one dir, main page]

Skip to content

WASM serializing #6502

Answered by aothms
BirdHau5 asked this question in Q&A
Apr 4, 2025 · 4 comments · 2 replies
Discussion options

You must be logged in to vote

I didn't test the serializers in the WASM module, it's probably more efficient to just get the binary data directly from the iterator and feed it to babylon. I tbh also haven't tested all the details, the glTF serializer uses tempfiles for example to store the binary data while traversing, I don't know if that works in the emulated in-browser file system. You can initialize an ifcopenshell.geom.serializers.buffer and pass that to the serializer instead of the filepath when you initialize the serializer and then call get_value().

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@aothms
Comment options

Comment options

You must be logged in to vote
1 reply
@aothms
Comment options

Answer selected by BirdHau5
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
0