brepjs API Reference
    Preparing search index...

    Interface InitRequest

    Request to initialize the worker (load the WASM/OpenCascade runtime).

    interface InitRequest {
        id: string;
        type: "init";
        wasmUrl?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    id: string

    Unique identifier for correlating requests with responses.

    type: "init"

    Discriminant indicating the kind of request.

    wasmUrl?: string

    Optional URL to the WASM binary; when omitted the worker uses its default.