brepjs API Reference
    Preparing search index...

    Interface OcctWasmHandle

    Typed wrapper around an occt-wasm u32 arena handle.

    brepjs passes these around as opaque KernelShape. The adapter extracts the .id when calling back into the WASM kernel.

    interface OcctWasmHandle {
        __occtWasm: true;
        id: number;
        type: ShapeType;
        delete(): void;
        HashCode(upperBound: number): number;
        IsNull(): boolean;
    }
    Index

    Properties

    __occtWasm: true
    id: number

    Raw u32 arena index.

    type: ShapeType

    Methods