brepjs API Reference
    Preparing search index...

    Function importIGES

    • Import an IGES file from a Blob.

      Parameters

      • blob: Blob

        A Blob or File containing IGES data (.iges / .igs).

      Returns Promise<Result<AnyShape>>

      A Result wrapping the imported shape, or an error if parsing fails.

      The temporary file on the WASM FS is cleaned up automatically.

      const shape = unwrap(await importIGES(igesBlob));