Algorithm Search⌘K

Reverse engineering, inspection and tolerancing

Problems

  • Circle fitting

    Fit a circle to measured points in a plane by least squares of the orthogonal distances, or of an algebraic residual. It is the base of hole and roundness measurement.

    core
  • Form error evaluation

    Compute the straightness, flatness, roundness or cylindricity of measured points as the width of the thinnest zone of the ideal shape that holds them all.

    core
  • Reverse engineering of geometric models

    Build a CAD model, usually a B-rep of simple and free-form faces, from measured points of a physical part, by segmentation, fitting and stitching.

    core
  • Segmentation into surface primitives

    Partition a point cloud or mesh into regions each well fit by a plane, sphere, cylinder, cone, torus or free-form patch, the first step of scan-to-CAD.

    core
  • Tolerance allocation

    Choose part tolerances that meet an assembly tolerance at least manufacturing cost, from cost-tolerance curves, by Lagrange multipliers or optimisation.

    core
  • CMM probe path planning

    Choose probe orientations for the measurement points of a coordinate measuring machine, order the points and find collision-free moves between them, to cut measuring time.

    advanced
  • Localization for inspection

    Find the rigid motion that places measured points best on the CAD surfaces, in least squares or in the minimax sense, before the deviations of the part are read.

    advanced

Algorithms

  • Direct linearization method

    Chase and coauthors' tolerance analysis that linearizes the vector loops of an assembly to get sensitivities, then worst case or statistical variation.

    O(k (V m + m^3) + V (m + n) + m^3 + n m^2) worst1 languagesadvanced
  • Hammersley sampling for coordinate measurement

    Places the N probe points of a measuring machine on a surface patch at the Hammersley points (i/N, radical inverse of i), which have a lower discrepancy than a grid or random points.

    Θ(N log N) worst1 languagesadvanced
  • Least-squares fitting of spheres, cylinders, cones and tori

    Fits spheres, cylinders, cones and tori by minimizing the sum of squared orthogonal distances, with Levenberg-Marquardt steps from an algebraic start.

    Θ(s (m k² + k³)) worst1 languagesadvanced
  • Minimum zone cylindricity

    Finds two coaxial cylinders of least radial gap that hold measured points, a nonlinear Chebyshev fit, by linear programs on linearized radii. It finds a local optimum only.

    O(s k n²) worst1 languagesadvanced
  • Minimum zone flatness

    Finds the two closest parallel planes that hold all measured points, which is the width of the set, by testing face-vertex and edge-edge pairs of the convex hull exactly.

    Θ(n²) worst1 languagesadvanced
  • Parameter correction

    Hoschek's step of B-spline fitting that moves each data parameter to the foot point on the current curve or surface and refits, so the error is measured orthogonally.

    Θ(s (S p² + m (S d + k p²) + (m + n) p (p + d))) worst1 languagesadvanced
  • Taubin's gradient-weighted fitting

    Taubin's fit of implicit curves and surfaces that divides the algebraic error by the gradient norm, one generalized eigenproblem whose answer is close to the geometric fit.

    Θ(m n² d + s n³) worst1 languagesadvanced
  • Variable-order surface fitting segmentation

    Besl and Jain's region growing that seeds regions by curvature sign and grows them while fitting surfaces of rising polynomial order, until the fit error is too large.

    Θ(N w² + s N r + s (g + 4) N q²) worst1 languagesadvanced
  • B-rep reconstruction from segmented scans

    Benko, Martin and Varady's pipeline that fits faces to segments, computes edges and vertex blends between them and stitches a consistent B-rep.

    Θ(m k + F³ + T m + T V + a V log V + F E) worst1 languagesresearch
  • Squared distance minimization

    Wang, Pottmann and Liu's B-spline fitting that minimises a local quadratic model of the squared distance, which converges faster than point distance methods.

    Θ(s (b + 1) (S p² + m (S + k p²)) + s (m p² + n p²)) worst1 languagesresearch

Techniques

  • Algebraic distance fitting

    Fits an implicit curve or surface by least squares of its values at the data points, a linear problem that is exact on noise-free data but biased under noise.

    core
  • Least-squares reference feature

    Fits the ideal feature that minimizes the sum of squared deviations, an option in standards beside the minimum zone. It is simpler, and its zone is never narrower than the minimum zone.

    1 languagescore
  • Monte Carlo tolerance analysis

    Samples each part dimension from its distribution, solves the assembly for each sample and reads off the distribution of the assembly gap, nonlinear effects included.

    1 languagescore
  • Constrained fitting in reverse engineering

    Fits several primitives at once subject to relations such as parallel axes, orthogonal faces and equal radii, so the model keeps the design intent.

    research
  • Slippage analysis

    Gelfand and Guibas's test of which rigid motions slide a surface patch along itself, from a 6 by 6 eigenproblem, to find planes, cylinders and other kinematic surfaces.

    research

Concepts

  • Geometric dimensioning and tolerancing

    A language of tolerance zones, datums and material conditions, set in ASME Y14.5 and ISO 1101, that states how far each feature of a part may vary.

    intro
  • CAD-based inspection

    Compares a measured part with its CAD model by planning the measurement from the model, aligning the data to the model, computing the deviations and evaluating the tolerances.

    core

Definitions

  • Datum reference frame

    The coordinate frame fixed by up to three datum features in order of precedence, against which the position and orientation of other features are toleranced.

    core

Models

  • Requicha's tolerance zone theory

    Requicha's meaning of tolerances as zones bounded by offsets of the nominal boundary, inside which the actual surface of the part must lie.

    advanced
  • Small displacement torsor

    Bourdet and Clement's model of the small deviation of a feature from its nominal place as a screw of three rotations and three translations, linear in analysis.

    advanced
  • Jacobian-torsor model

    Desrochers and coauthors' tolerance analysis that maps the torsor intervals of each part through a kinematic Jacobian to the functional requirement of an assembly.

    research
  • Tolerance map

    Davidson, Mujezinovic and Shah's convex set in a space of feature deviations holding every variation a tolerance allows, combined by Minkowski sums in stack-ups.

    research