Three seating locations can locate a rigid plate in six small-motion directions. Counting six contacts is only the start: those contacts must constrain six independent motions.

A kinematic coupling locates a removable part through a deliberately limited set of contacts. Here a ball sits in a cone, another in a vee-shaped groove, and a third on a flat. We will build a complete first-order mathematical model, then move the flat onto the line through the first two balls. The model still has six contact rows, but one rotation escapes them.

This is a paper-and-computer geometry experiment. The supplied motions are constructed examples. It does not establish the stability, repeatability or load capacity of a manufactured mount. In particular, it assumes every selected contact remains closed; real unilateral contacts can open unless an appropriate load or preload keeps them seated.

Prepare a contact map

Use paper, a ruler, a pencil and a computer with CPython 3.9 or later. CPython is the reference implementation of Python; the author ran the delivered standard-library code on version 3.9.6. A piece of stiff card helps visualize a plate, but the card exercise does not manufacture cone, vee or ball contacts.

Download and extract the ZIP first. Open reader.html or README.txt in the extracted folder. Comma-separated values (CSV) files hold the blank worksheet and the explicitly constructed motions. Scalable Vector Graphics (SVG) drawings are editable originals; Portable Network Graphics (PNG) images are ready to view. Keep the relative file/folder arrangement when copying the reader.

Define all six motions

A rigid body has six degrees of freedom: three translations and three rotations. A degree of freedom is an independent way it can move. Translation means sliding along an axis. Rotation means turning about one. Choose a right-handed coordinate system: x to the right, y upward on the drawing, and z out of the page. Small rotations are positive by the right-hand rule, curling the fingers around the axis while the thumb points in its positive direction.

Let the ball centers be A = (0, 0, 0), B = (40, 0, 0) and C = (0, 40, 0), in millimetres (mm). The cone is at A, the vee at B runs along x, and the flat at C has its normal along z. A surface normal is a direction perpendicular to a contact surface. We specify normal directions rather than pretending to simulate every surface detail.

Top view of a plate with ball A at the origin, B 40 mm along x and C 40 mm along y. A cone contributes three normal constraints, the x-oriented vee two, and the flat one. Direction insets use their own projections and the exact vectors are given in the text.
Original coordinate and constraint geometry. Ball centers are reference positions; the normal insets are direction sketches, not manufactured contact sections. The exact normal vectors below define the model. Editable SVG.

For A use three representative cone directions: (1, 0, 1), (−1/2, √3/2, 1), and (−1/2, −√3/2, 1), each divided by √2 to make it a unit vector. They span three-dimensional translation at A. This represents the locating directions of an ideal seated sphere in a cone; it is not a claim that a real conical surface has exactly three isolated contact patches.

For B use (0, 1, 1)/√2 and (0, −1, 1)/√2. They lie in the y–z plane, so the vee permits local sliding along x. For C use (0, 0, 1). A sphere's actual contact points lie away from its center, but adding a displacement along the corresponding normal does not change the cross product used in this first-order constraint equation.

Turn each closed contact into one equation

A first-order model keeps terms proportional to a small motion and omits higher-order terms. Let t be translation, θ the small rotation vector, and r the contact reference position. The point displacement is t + θ × r. The cross product × produces the direction and size of the rotational displacement. At a contact held closed, the displacement along its normal n is zero:

n · (t + θ × r) = 0.

The dot product · takes the component along that normal. Reordering gives one row [n, r × n] multiplying the six motion coordinates. However, translations have length units and rotations have radian units. A radian measures angle as arc length divided by radius. We choose the reference length L = 40 mm and store the rotation coordinates as Lθ. Then every coordinate in q = (tx, ty, tz, Lθx, Lθy, Lθz) is in mm, and each dimensionless row is [n, (r × n)/L].

The rank of this six-column matrix counts independent linear constraints. Its nullspace contains motions giving zero at every contact row. Full rank six means the assumed closed contacts allow no nonzero first-order motion. It does not tell us which contact forces keep that state physically possible.

Run the paper and model experiment

  1. Draw A and B 40 mm apart, then C 40 mm above A. Mark the cone, x-directed vee and z-normal flat. Keep the coordinate axes visible.
  2. Imagine a small positive rotation about the A–B line, the x-axis. The points A and B lie on that axis and do not move under this rotation. C moves along z. A card can help visualize the tilt, but your hand holding the card is not a physical coupling test.
  3. Use θx = 0.001 radian, about 0.0573 degrees. Its stored coordinate is Lθx = 0.04 mm. At C the first-order upward displacement is 40 mm × 0.001 = 0.04 mm, so the flat's closed-contact row rejects that motion.
  4. Remove the flat row as a control. The same trial rotation now gives zero residual on all five remaining rows; the rank drops to five.
  5. Restore a sixth flat row but move its location to C = (80, 0, 0), on the A–B line. The x-rotation still gives zero on every row. Six contacts remain, but rank stays five.
  6. Restore C to (0, 40, 0). Check that rank returns to six and the trial rotation again produces a 0.04 mm residual at the flat.

A residual is the value left when a proposed motion is substituted into a constraint equation. Here it has mm units. A zero residual is a mathematical compatibility result; it is not a measured seating error. Positive and negative residual signs depend on the declared normal directions. The closed-contact calculation uses equality even though a real contact can separate.

A constructed x-axis trial rotation produces a 0.04 mm residual at an off-axis flat but zero at the collinear flat. The first five contact rows have zero residual in both cases. The full seat has rank six and the collinear six-row case rank five.
Original geometry and calculated normal residuals. The arrow at off-axis C indicates out-of-plane lift, not an in-plane relocation. All plotted numbers are first-order model results. Editable SVG.

Run the complete constraint model

The complete program below builds the actual normal rows, calculates rank and a nullspace basis, and analyzes the supplied motion worksheets. Its solver uses reduced row-echelon form: row operations isolate independent columns. Partial pivoting chooses a larger available pivot within a column to reduce avoidable numerical error. A dimensionless tolerance of 10⁻¹⁰ is appropriate to these well-scaled ideal cases; it is not a physical gap tolerance.

"""Closed-contact, first-order kinematic seating. Python 3.9+.

q = (tx, ty, tz, L*theta_x, L*theta_y, L*theta_z), all in mm.
Each row is [n, (r cross n)/L]. Contacts remain closed by assumption.
This rank calculation is not a force, friction or preload simulation.
"""
import argparse
import csv
import io
import json
import math
from pathlib import Path


def number(value):
    if isinstance(value, bool): raise ValueError("a finite number is required")
    value = float(value)
    if not math.isfinite(value): raise ValueError("a finite number is required")
    return value


def vector(values):
    if len(values) != 3: raise ValueError("three coordinates are required")
    return tuple(number(x) for x in values)


def cross(a, b):
    return (a[1]*b[2]-a[2]*b[1], a[2]*b[0]-a[0]*b[2], a[0]*b[1]-a[1]*b[0])


def contact_row(position_mm, normal, scale_mm=40):
    p, n, length = vector(position_mm), vector(normal), number(scale_mm)
    if length <= 0: raise ValueError("scale_mm must be positive")
    size = math.hypot(*n)
    if size <= 0: raise ValueError("normal must not be zero")
    n = tuple(x/size for x in n)
    return list(n) + [x/length for x in cross(p,n)]


def seating(case="full", scale_mm=40):
    length = number(scale_mm)
    if length <= 0: raise ValueError("scale_mm must be positive")
    if case not in ("full", "missing_flat", "collinear_flat"):
        raise ValueError("unknown case")
    # Three representative cone normals span the ball-center translations.
    normals = [(1,0,1),(-.5,math.sqrt(3)/2,1),(-.5,-math.sqrt(3)/2,1)]
    rows = [contact_row((0,0,0), n, length) for n in normals]
    # Vee axis is along x. Its two independent normals lie in the yz plane.
    rows += [contact_row((length,0,0),(0,1,1),length),
             contact_row((length,0,0),(0,-1,1),length)]
    if case != "missing_flat":
        c = (0,length,0) if case == "full" else (2*length,0,0)
        rows.append(contact_row(c,(0,0,1),length))
    return rows


def rank_nullspace(matrix, tolerance=1e-10):
    """Partial-pivot RREF for this dimensionless six-column matrix."""
    tol = number(tolerance)
    if not 0 < tol < 1: raise ValueError("tolerance must be between zero and one")
    a = [[number(x) for x in row] for row in matrix]
    if any(len(row) != 6 for row in a): raise ValueError("six columns required")
    a = [row[:] for row in a]
    pivots, target = [], 0
    for col in range(6):
        if target >= len(a): break
        chosen = max(range(target,len(a)), key=lambda i:abs(a[i][col]))
        if abs(a[chosen][col]) <= tol: continue
        a[target],a[chosen] = a[chosen],a[target]
        divisor = a[target][col]
        a[target] = [x/divisor for x in a[target]]
        for i in range(len(a)):
            if i != target:
                factor = a[i][col]
                a[i] = [x-factor*y for x,y in zip(a[i],a[target])]
        pivots.append(col);target += 1
    free = [c for c in range(6) if c not in pivots]
    basis = []
    for col in free:
        v=[0.0]*6;v[col]=1.0
        for i,pivot in enumerate(pivots):v[pivot]=-a[i][col]
        basis.append(v)
    return len(pivots),basis


def residuals(matrix, q):
    if len(q) != 6: raise ValueError("six motion coordinates required")
    q=[number(x) for x in q]
    if any(len(row)!=6 for row in matrix): raise ValueError("six columns required")
    return [sum(number(a)*b for a,b in zip(row,q)) for row in matrix]


def parse_records(text):
    reader=csv.DictReader(io.StringIO(text))
    fields=['record_id','case','tx_mm','ty_mm','tz_mm','Ltheta_x_mm',
            'Ltheta_y_mm','Ltheta_z_mm','provenance']
    if reader.fieldnames!=fields:raise ValueError("unexpected CSV columns")
    seen,output=set(),[]
    for row in reader:
        if None in row or any(v is None for v in row.values()):raise ValueError("malformed CSV row")
        if not row['record_id'] or row['record_id'] in seen:raise ValueError("missing or duplicate record_id")
        seen.add(row['record_id'])
        matrix=seating(row['case'])
        raw=[row[k].strip() for k in fields[2:8]]
        provenance=row['provenance']
        if provenance not in ('blank','constructed','reader_observation'):raise ValueError("unknown provenance")
        if provenance=='blank':
            if any(raw):raise ValueError("blank template contains motion")
            residual=None
        else:
            if not all(raw):raise ValueError("incomplete motion vector")
            residual=residuals(matrix,[number(x) for x in raw])
        rank,basis=rank_nullspace(matrix)
        output.append(dict(record_id=row['record_id'],case=row['case'],rank=rank,
                           free_motions=6-rank,normal_residuals_mm=residual,provenance=provenance))
    return output


def main():
    parser=argparse.ArgumentParser(description=__doc__)
    parser.add_argument('--records',type=Path)
    args=parser.parse_args()
    if args.records:result=parse_records(args.records.read_text(encoding='utf-8'))
    else:
        result={}
        for case in ('full','missing_flat','collinear_flat'):
            matrix=seating(case);rank,basis=rank_nullspace(matrix)
            result[case]=dict(contacts=len(matrix),rank=rank,free_motions=6-rank,nullspace=basis)
    print(json.dumps(result,indent=2,allow_nan=False))

if __name__=='__main__':main()
python3 -m unittest discover -v
python3 kinematic_seating.py
python3 kinematic_seating.py --records data/constructed-records.csv
python3 kinematic_seating.py --records data/blank-records.csv

The default result is six rows/rank six/free motions zero for full; five rows/rank five/one free motion for missing_flat; and six rows/rank five/one free motion for collinear_flat. The latter two nullspaces include rotation about x.

The blank worksheet has empty motion cells, not measured zeros. To enter your own trial vector, copy it, fill all six coordinates and mark provenance reader_observation. State separately whether your entry is a hand calculation, software prediction or actual observation. The analyzer refuses incomplete vectors, duplicate identifiers, unknown cases and nonfinite values. It also refuses observations disguised as blank-template rows.

The supplied constructed records test the same x-rotation in the three arrangements and include the zero-motion control. Keep these records separate from your own. A nullspace vector is determined only up to an arbitrary nonzero scale, so compare its allowed motion and residuals, not a particular printed normalization.

Contacts need more than rank

Preload is a deliberate seating force that maintains contact. This model does not calculate a suitable preload or solve contact forces. It also omits friction, elastic deformation, surface wear, thermal expansion and contact stress. A coupling may have an excellent ideal rank result and still open a contact, rock, damage a surface or return to a slightly different position under real conditions.

Near-degenerate geometries require a conditioning analysis: tiny perturbations can produce a weakly constrained motion even when a numerical rank is six. The exact full and collinear cases here illustrate independence clearly; they do not specify machining tolerances. The author ran 17 host tests, including analytic residuals, coordinate scaling, translated origins, duplicated rows, malformed records and the known free rotation. No target firmware or physical repeatability test was performed.

Challenge: duplicate the last vee row

Keep A and B as before, remove C, and append an exact copy of one B row. There are six rows again. Does that restore a fully located plate?

Worked answer

No. Copying an equation does not create an independent restriction. The rank remains five and rotation about x still produces zero on every row. Restore an off-axis flat with a suitable normal to remove that first-order motion. A sixth contact count alone is insufficient.

Sources and related experiments

Newport's optical mirror mount technology guide explains the cone/vee/flat locating principle and independent constraints. The coordinates, exact normals, scaled matrix, experiments, code and figures here are original. The official guide was checked November 30, 2026; its product-performance statements are not transferred to this conceptual plate.

Compare geometric location with connector pitch and footprint spacing, and compare a calculated constraint with the separate observations in the lever-switch transfer-travel experiment. Those canonical links were checked independently; neither proves a kinematic mount's preload or repeatability.