Ip017 — OBJ face record with fewer than three vertex references

§12.15 import-format parser robustness (sub-class: under-specified-face-record)

P2 — spec deviation (no data loss)

silent-loss

Sources

Description

A Wavefront OBJ face statement supplies fewer than three vertex references (`f 1 2`), so the record cannot form a triangle or any valid polygon. Distinct from Ip001/Ip006 (index out of range/underflow) — here every index is individually valid, the record is simply too short to be geometry.

Reproducer recipe

four `v` lines followed by a valid `f 1 2 3` and a second, malformed `f 1 2` carrying only two indices.

Expected kernel behavior

reject or skip-with-diagnostic the under-specified face record; never emit a degenerate 2-vertex "triangle" or silently fabricate a third index.

Notes

Cross-oracle: trimesh 4.12.2 silently discards the malformed `f 1 2` record with no exception and no warning — `trimesh.load()` returns a single well-formed triangle (`vertices.shape==(3,3)`, `faces.shape==(1,3)`, `faces==[[0,1,2]]`), and the truncated second face simply vanishes from the loaded mesh — verified 2026-07-17. Synonyms: "OBJ face too few indices", "under-specified face record", "f-line fewer than 3 refs", "degenerate face silently dropped". Provenance tier: bytes-only.

Expected validation

Provenance tier

bytes-only — defect not fully embodied in fixture bytes.

Byte assertions

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1v 0.0 0.0 0.0
2v 1.0 0.0 0.0
3v 0.0 1.0 0.0
4v 1.0 1.0 0.0
5f 1 2 3
6f 1 2