@bitbybit-dev/occt
Version:
Bit By Bit Developers CAD algorithms using OpenCascade Technology kernel. Run in Node and in Browser.
14 lines (13 loc) • 643 B
TypeScript
export default createBitbybitDevOcct;
/**
* Extended createBitbybitDevOcct that uses CDN-hosted WASM file by default.
* This has the same interface as the original createBitbybitDevOcct but
* automatically configures locateFile to use the CDN for WASM loading.
*
* This is designed for browser/webworker usage where bundling the WASM
* is problematic (e.g., with webpack).
*
* @param moduleOverrides - Emscripten module configuration options
* @returns Promise that resolves to the initialized OCCT module
*/
declare function createBitbybitDevOcct(moduleOverrides?: {}): Promise<import("./bitbybit-dev-occt.js").BitbybitOcctModule>;