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

    Request: build one tube chunk. positions is transferred (main thread keeps its own copy).

    interface GeometryBuildRequest {
        count: number;
        id: number;
        lineHeight?: number;
        lineWidth?: number;
        positions: ArrayBuffer;
        radialSegments: number;
    }
    Index

    Properties

    count: number

    Segments in the chunk.

    id: number

    Correlates the response; the pool also uses it to place the result in deterministic chunk order.

    lineHeight?: number
    lineWidth?: number
    positions: ArrayBuffer

    Interleaved segment endpoints (x0,y0,z0,x1,y1,z1 per segment) — the transferable payload.

    radialSegments: number