Taper Calculator API
Taper and cone geometry as an API, computed locally and deterministically. The taper endpoint relates the large and small diameters, the length and the taper of a conical part: give the two diameters and the length and it returns the taper ratio, the taper per foot and per inch (for inch parts), the included angle 2·atan((D−d)/(2L)) and the half (taper) angle from the axis — or leave one of the diameters or the length out and provide the taper per foot, and it solves for the missing dimension. The diameter-at endpoint gives the diameter (and radius) at any distance along the taper, measured from either the large or the small end, by linear interpolation d(x) = D − (D−d)·x/L. The morse endpoint is a reference of the standard Morse taper series MT0 to MT7, with each taper's taper per foot, gauge-line large and small diameter, length and included angle. Lengths and diameters use consistent units (inches by default, or millimetres for the angle and ratio outputs). Everything is computed locally and deterministically, so it is instant and private. Ideal for machining and lathe tools, CAD and toolmaking apps, maker and metalworking projects, and mechanical-engineering calculators. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is taper geometry; for screw-thread pitch and tap drill use a thread API and for spur-gear geometry use a gear API.
api.oanor.com/taper-api