AutoMovie API
    Preparing search index...

    Generate an indexed surface from saved physical polygon identities and P/Q paths. P emits (P_i,Q_j,P_next); Q emits (Q_next,P_i,Q_j). Positive XZ rings and increasing Y stations give outward winding on an ordinary exterior slab. This operation validates the path, not its optimization or geometric embedding. Finite positive-area faces survive incidence warnings; collapsed faces are counted.

    type IInput = {
        pairs: readonly {
            id: string;
            objectiveAreaMm2: number;
            pId: string;
            qId: string;
            startP: number;
            startQ: number;
            steps: string;
        }[];
        polygons: readonly {
            id: string;
            pointsMm: readonly Readonly<AutoMovieVector3Tuple>[];
            stationMm: number;
        }[];
        topologyDomain: string;
    }
    Index
    pairs: readonly {
        id: string;
        objectiveAreaMm2: number;
        pId: string;
        qId: string;
        startP: number;
        startQ: number;
        steps: string;
    }[]

    Explicit complete P/Q walks to emit; an empty list emits the saved vertices and construction rings without faces.

    polygons: readonly {
        id: string;
        pointsMm: readonly Readonly<AutoMovieVector3Tuple>[];
        stationMm: number;
    }[]

    Saved closed boundary rings, borrowed for this call; ids are unique and each ring has at least three finite points in positive projected XZ order.

    topologyDomain: string

    Nonempty physical-vertex identity domain for all saved polygon vertices; different coordinates are not welded by proximity.