AutoMovie API
    Preparing search index...

    Witnesses and frame identity for mesh-clearance inspection marks: one segment per witness from its point on the front surface to the matching point on the back surface, flagged where the back lies in front.

    A witness's front point is its front triangle's vertices weighted by its barycentric weights, and its back point is that point moved gap metres back along the measured axis, because the gap is the front depth minus the back depth there. Each becomes a segment of kind clearance, label clearance witness, colour yellow-green 9acd32, at path <path>/clearance/<ordinal>, flagged when its gap is negative. Coordinates are those of the meshes, which share one frame; anchor names the scene object that frame belongs to, or null for world space.

    It throws for a witness that names a vertex outside the front mesh or does not hold three vertices and three weights.

    type IProps = {
        anchor: string | null;
        axis: "x" | "y" | "z";
        front: Pick<IAutoMovieMesh, "positions">;
        path: string;
        witnesses: readonly IAutoMovieMeshClearanceWitness[];
    }
    Index
    anchor: string | null

    Scene object path whose local frame contains front, or null when its positions are already in world space; copied unchanged to every mark.

    axis: "x" | "y" | "z"

    The depth axis used by the measurement; each back endpoint subtracts witness.gap along this axis.

    front: Pick<IAutoMovieMesh, "positions">

    Borrowed packed xyz metre positions of the exact front mesh measured by the witnesses; no index or normal buffer is needed.

    path: string

    Inspection path prefix; output paths append /clearance/ without normalization.

    witnesses: readonly IAutoMovieMeshClearanceWitness[]

    Borrowed measurement witnesses in output mark order, including clear ones; empty produces no marks. Gaps and barycentric weights must remain compatible with front.