The same shape, every time.

For engineers who depend on CAD software being right. The engine that computes every shape is tested against known answers, and a wrong shape that looks fine is treated as a failure.

The geometry conformance run as a table in the workbench: each fixture of the suite, from a fillet on one box edge to a sheet-metal unfold, with what it checks and how each of four CAD kernels did over 100 runs: pass, fail, refused, unsupported, or a wrong answer given as right.

A case that passed must still pass.

The gate runs every case on OpenCascade and on the npm build of SMLib, each in fresh processes. Its results are held to a recorded list of known answers, and it runs whenever the geometry engine changes. When that list was told that case F08 passes, the gate stopped:

the conformance gate, one full run2026-11-13
F08 fail heat sink, fillet overlapping the hole by 0.5, hole first
F19 lie boolean identities on seeded pairs of boxes and cylinders
GATE: occt F08 passed in baseline.json and is now fail
exit 1

The shipped engine passes most cases. Each one it fails is named.

Each case is a body with a known answer: a closed-form volume, a boolean identity, a seam that must not move, a refusal that must be honest. OpenCascade is the engine the 3D service ships. It fails a fillet over a hole, blade roots swept through a pitch, and the face history of a fillet and a move. It refuses a rounded box shelled inward, where the npm SMLib answers with a wrong body. One boolean case on seeded boxes and cylinders gives a wrong answer and is recorded as a known defect.

How each geometry engine answered the same cases
Les chiffres
How each geometry engine answered the same cases
EnginePassWrong (a fail or a lie)RefusedNot supported
OpenCascade 8.0.150412
SMLib fork42429
SMLib 0.3.0 (npm)415110

One answer on every run. The npm SMLib gives a different shelled box almost every time.

Every case runs in many fresh processes on each engine, and each run's body is hashed. An engine that gives two hashes for one input is not deterministic on it, whatever its status says. OpenCascade and our SMLib fork give one answer to every case. The npm SMLib gives a different wrong body for the shelled box nearly every time it runs, night after night.

In its first weeks our fork sometimes gave two answers for one case; it has not since. Our patched build fixes every random choice the engine makes. It is not the engine we ship: OpenCascade is.

Different answers to the shelled box from the same runs, each night
Les chiffres
Different answers to the shelled box from the same runs, each night
NightSMLib 0.3.0 (npm)Our SMLib fork
10-16241
10-17241
10-18241
10-19241
10-20241
10-21241
10-22241
10-23211
10-24231
10-25231
10-26231
10-27231
10-28231
10-29231
10-30231
10-31231
11-01231
11-02231
11-03231
11-04231
11-05231
11-06231
11-07211
11-08211
11-09211
11-10211
11-11211
11-12211
11-13211

Hold an engine to known answers.

The suite, the gate and the fork are in the repository. A change to the engine that drops a passing case does not land.