Defines URLs for Web Worker JavaScript bundles used by the CAD viewer.

Each entry points to a standalone worker script responsible for off-main-thread processing such as file parsing or text rendering.

interface AcApWebworkerFiles {
    dwgParser?: string | URL;
    dxfParser?: string | URL;
    mtextRender?: string | URL;
}

Properties

dwgParser?: string | URL

URL of the Web Worker bundle responsible for parsing DWG files.

DWG parsing is computationally expensive and must be executed in a Web Worker to maintain UI responsiveness.

dxfParser?: string | URL

URL of the Web Worker bundle responsible for parsing DXF files.

This worker performs DXF decoding and entity extraction in a background thread to avoid blocking the UI.

mtextRender?: string | URL

URL of the Web Worker bundle responsible for rendering MTEXT entities.

This worker handles MTEXT layout, formatting, and glyph processing independently from the main rendering thread.