Bitbybit Docs
    Preparing search index...

    Class BitByBitOCCT

    The entry point to the OpenCascade kernel, gathering the shape, geometry, boolean, fillet, operation, transform, assembly, dimension and IO groups. Every call is asynchronous because the kernel runs as WebAssembly, usually in a worker, so the main thread stays responsive while a heavy boolean runs.

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    occtWorkerManager: OCCTWorkerManager
    occt: Bit.OCCT

    Methods

    • Connects this facade to the web worker that runs the OpenCascade kernel.

      Create the worker yourself from the package's worker entry, hand it over here, and wait for the kernel to report that it is loaded before making calls; without a worker every call would hang.

      Parameters

      • occt: Worker

        The worker running the OpenCascade kernel

      Returns void