G-code Preview — API Reference
    Preparing search index...
    interface TubeChunkGeometry {
        indices: Uint32Array;
        indicesPerSegment: number;
        normals: Float32Array;
        positions: Float32Array;
        vertexCount: number;
        vertexSegment: Uint32Array;
    }
    Index

    Properties

    indices: Uint32Array
    indicesPerSegment: number

    Every segment owns exactly this many indices — drawRange unit (§4.5).

    normals: Float32Array
    positions: Float32Array

    Ring vertex positions, origin-relative like the IR (3 floats/vertex).

    vertexCount: number
    vertexSegment: Uint32Array

    Chunk-local segment ordinal per vertex (color mapping).