Bitbybit Docs
    Preparing search index...

    Class BitByBitJSCAD

    This should be used only if you want to use only JSCAD worker without other of the bitbybit packages

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    jscadWorkerManager: JSCADWorkerManager
    jscad: Bit.JSCAD

    Methods

    • Connects this facade to the web worker that runs the JSCAD 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

      • jscad: Worker

        The worker running the JSCAD kernel

      Returns void