G-code Preview — API Reference
    Preparing search index...

    Structural mirror of @chestnutlabs/gcode-dialects' runner factory (DD-005 §4.5): the parser never imports the dialects package — worker ENTRIES compose the two (worker.ts batteries-included, worker-slim.ts none, custom workers their own set).

    interface DialectRunLike {
        onCommand: (event: CommandEvent) => void;
        onComment: (text: string, srcByte: number) => void;
        finalize(
            ir: ToolpathIR,
        ): { metadata?: DialectMetadata; warnings: Warning[] };
    }
    Index

    Properties

    Methods

    Properties

    onCommand: (event: CommandEvent) => void
    onComment: (text: string, srcByte: number) => void

    Methods