If you have ever opened a CAD file on a different computer and found the geometry had changed — a tangent arc on the wrong side, a bolt-hole pattern rotated by an unexpected angle — you have experienced non-deterministic geometry. The solver produced a different result from the same inputs.

In most design applications, this is an inconvenience. In CNC machining, it is a safety issue.

The Definition

Deterministic geometry means: the same inputs always produce the same outputs — on any machine, any software version, any time.

This sounds obvious. It is not. Most modern CAD systems use constraint solvers — iterative algorithms that find a solution by converging from a starting state. The starting state depends on the history of operations. Change the history, and the solver may converge to a different solution.

"Geometry behaves like code: the same inputs always produce the same outputs. This is what determinism means in practice."

Why Constraint Solvers Are Non-Deterministic

A constraint solver works by:

  1. Starting from the current geometry state
  2. Applying constraints (dimensions, tangencies, parallelism)
  3. Iterating until all constraints are satisfied

The problem is step 1. The starting state depends on the history of operations. If you add a dimension in a different order, or open the file on a machine with a different solver version, the starting state changes — and the solver may converge to a different valid solution.

Both solutions satisfy all the constraints. Both are mathematically correct. But they produce different geometry.

The Seven Failure Modes

In CNC machining workflows, constraint solver non-determinism produces seven documented failure modes:

Failure ModeWhat HappensCNC Consequence
Solution FlipA tangent arc flips to the wrong side of the profileIncorrect toolpath, scrapped component
Under-Constrained DriftA bolt-hole pattern rotates by an unpredictable amountHoles in wrong positions
Constraint ConflictA new dimension silently overrides an existing constraintWrong dimensions machined
Solver State DependencyTwo programmers get different geometry from the same fileInconsistent production
Tolerance AccumulationA 40-entity profile is not mathematically closedToolpath gaps, surface errors
Regeneration FailureA sketch enters a dangling reference stateGeometry cannot be used for CAM
Version Non-DeterminismGeometry changes silently when opened in a new software versionPreviously correct programs produce wrong parts

The Analytic Alternative

Deterministic geometry systems avoid constraint solvers entirely. Instead, every geometric operation executes a fixed mathematical formula — a closed-form analytic solution.

For example, the intersection of a line and a circle is computed by solving the line equation and circle equation simultaneously. The result is exact. There is no iteration, no convergence, no starting state dependency.

When two solutions exist (a line can intersect a circle at two points), the system requires an explicit direction selector — the user specifies which solution they want. That choice is recorded permanently. It cannot change silently.

What This Means for CNC Machining

In CNC machining, geometry errors have direct physical consequences:

  • A crashed tool
  • A scrapped component
  • A damaged spindle
  • A safety incident

The cost of a single scrapped component often exceeds the cost of months of software subscription. The cost of a machine collision can be catastrophic.

Deterministic geometry eliminates the class of errors caused by solver non-determinism. The same machining program, run on any machine, at any time, produces the same result.

XyzPilot's Approach

XyzPilot is built on a deterministic analytic geometry engine. Every operator — from the simplest point at explicit coordinates to the most complex circle tangent to two existing circles — executes a fixed mathematical formula. The result is computed in a single pass. There is no iteration, no convergence, no tolerance accumulation.

The output is either an exact result or an explicit error. There is no silent wrong answer.

This is not a limitation. It is the design. Determinism is what makes XyzPilot reliable for CNC machining.