Import a GLB (binary glTF) file from a Blob.
Delegates to the kernel's importGLB method, which reconstructs B-Rep geometry from the mesh data.
importGLB
A Blob or File containing GLB data.
A Result wrapping the imported shape, or an error if parsing fails.
Result
const shape = unwrap(await importGLB(glbBlob)); Copy
const shape = unwrap(await importGLB(glbBlob));
Import a GLB (binary glTF) file from a Blob.
Delegates to the kernel's
importGLBmethod, which reconstructs B-Rep geometry from the mesh data.