How Vectogap calculates
Three methods, one verdict rule and 21 validation cases.
Contents
What it calculates
A stack-up adds up the dimensions of a chain or a loop and tells you the size of the gap that closes the assembly. Vectogap checks it against your specification, from its lower limit (LSL) to its upper limit (USL), with three methods.
Worst case
TWC = Σ |si| · ti
si is the sensitivity of each dimension and ti its half tolerance. It puts every dimension at its limit at once, so it is never optimistic.
RSS
TRSS = √( Σ (si · ti)² )
It assumes independent, centred dimensions. It works better the more dimensions the chain has.
Monte Carlo
It samples each dimension from its distribution and evaluates the exact closure, without linearizing. The free plan simulates 20,000 assemblies. The seed is fixed: the same data always gives the same result.
2D loops
g = Σ Li · cos(θi − φ)
In a loop with angles, an angle's tolerance also moves the gap. Its sensitivity is the derivative of g with respect to θ.
Asymmetric tolerances
They are centred before the calculation: 10.00 +0.10/−0.02 is treated as 10.04 ± 0.06.
Distributions
For Monte Carlo, each dimension can be normal, uniform or triangular.
Verdict
| Verdict | Rule |
|---|---|
| Pass | The whole worst-case range falls within [LSL, USL]. |
| Marginal | Worst case fails, but RSS (nominal ± TRSS) or Monte Carlo (mean ± 3σ) passes. |
| Fail | Worst case, RSS and Monte Carlo all fail. |
Touching a limit counts as inside. Each rule is checked against a validation case solved by the engine.
Hinge, 4 dimensions
MarginalNominal gap 0.400 mm, specification from 0.050 mm to 0.800 mm
It fails in worst case, but passes RSS and Monte Carlo. Monte Carlo estimates 0% of assemblies out of specification. The arm's angle accounts for 46.1% of the variation.
Validation
The engine passes 21 cases on every change: checked by hand, edge cases, the prototype and an independent 2D reference. The ISO calculators have two independent calculation paths and a review by the owner against a copy of the standard.
30 ISO 286 and ISO 2768 requirements, each with its test
Standards: ISO 286-1:2010, ISO 286-2:2010 with Cor.1:2013, ISO 2768-1:1989 and ISO 2768-2:1989.
Limits
RSS assumes independent dimensions; with two or three dimensions it can be optimistic. Monte Carlo depends on the distribution you choose for each dimension. The result does not replace the judgement of the responsible engineer.