How to embed external meshes in code (es. .stl)

That should work, see this thread: Loading base64 data

Basically, you can convert your base64 to blob then create a url from it with URL.createObjectURL that you can use to load the asset.

2 Likes