#drivetrain
4 APIs con questa etichetta
Gear Ratio API
Gear-train ratio, speed and torque maths as an API, computed locally and deterministically. The ratio endpoint computes the gear ratio of a single pair from the driver and driven tooth counts (or pitch diameters), ratio = N_driven/N_driver, classifies it as a reduction (more torque, less speed) or an overdrive, and — given an input speed and torque — returns the output speed (input/ratio) and the output torque (input·ratio·efficiency). The train endpoint computes a compound gear train: the overall ratio is the product of the individual stage ratios, and it returns each stage ratio, the output speed and torque, noting that idler gears change only the direction of rotation, not the ratio. The solve endpoint finds the missing one of the input speed, the output speed and the ratio from the other two — for example, the ratio needed to drop a 1500 rpm motor to a 500 rpm output. Everything is computed locally and deterministically, so it is instant and private. Ideal for drivetrain, robotics and machine-design tools, gearbox and transmission selection, bicycle and vehicle gearing, and mechanical-engineering education. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is gear-train ratio and torque; for spur-gear tooth geometry use a spur-gear API.
api.oanor.com/gearratio-api
API de Torque de Embreagem e Freio
Torque de embreagem de fricção e freio a disco como uma API, calculado local e deterministicamente. O endpoint de embreagem calcula o torque que uma embreagem de placa (disco) pode transmitir a partir do coeficiente de atrito, da força de aperto axial e dos raios interno e externo da face de atrito, por ambas as teorias padrão — desgaste uniforme, T = n·μ·F·(Ro+Ri)/2, e pressão uniforme, T = ⅔·n·μ·F·(Ro³−Ri³)/(Ro²−Ri²) — para qualquer número de superfícies de atrito (uma embreagem multi-disco multiplica o torque), além da potência máxima em uma dada velocidade. O endpoint cônico faz o mesmo para uma embreagem cônica, T = n·μ·F·Rm/sin α, onde o ângulo de cunha amplifica a força normal por 1/sin α. O endpoint de freio fornece o torque de frenagem de um freio a disco, T = n·μ·F·R_eff, a potência dissipada em uma velocidade e — dada uma inércia rotativa e sua velocidade — a desaceleração angular, o tempo e o número de revoluções para parar, e a energia cinética convertida em calor. Tudo é calculado local e deterministicamente, portanto é instantâneo e privado. Ideal para ferramentas de trem de força, automotivas e de projeto de máquinas, engenharia de embreagens, freios e guinchos, e educação em engenharia mecânica. Cálculo puramente local — sem chave, sem serviço de terceiros, instantâneo. Ao vivo, nada armazenado. 3 endpoints. Este é o torque de embreagem e freio de fricção rotativa; para tensão de torção de eixo, use uma API de torção e para fricção de cabo/correia em tambor, use uma API de capstan.
api.oanor.com/clutch-api
Shaft Torsion API
Shaft torsion as an API, computed locally and deterministically. The stress endpoint computes the maximum torsional shear stress in a circular shaft, τ = T·r/J — torque times the outer radius divided by the polar moment of inertia — for a solid shaft (J = π·d⁴/32) or a hollow tube (J = π·(D⁴−d⁴)/32), and solves the torque a shaft can carry for an allowable stress. The twist endpoint computes the angle of twist along the shaft, θ = T·L/(G·J), in radians and degrees, from the torque, length and the shear modulus (given directly or from a built-in material table — steel, aluminium, copper, titanium and more), plus the torsional stiffness G·J/L. The power endpoint relates the power a rotating shaft transmits to its torque and speed, P = T·ω = T·2πN/60, and solves any of the three, reporting power in watts, kilowatts and horsepower. Everything is computed locally and deterministically, so it is instant and private. Ideal for mechanical and drivetrain engineering tools, shaft, axle and coupling design, motor and gearbox apps, and machine-design education. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is circular-shaft torsion; for axial stress-strain use a Young's-modulus API and for the 2D stress state use a Mohr-circle API.
api.oanor.com/torsion-api
Bicycle Gear API
Bicycle gearing maths as an API, computed locally and deterministically. The gear endpoint takes a chainring and cog tooth count and a wheel size and returns every common gearing metric: the gear ratio, gear inches (the classic measure — ratio times wheel diameter in inches), the gain ratio (Sheldon Brown's crank-length-aware measure), the development or rollout (metres travelled per crank revolution), and the road speed at a chosen cadence in km/h and mph. The speed endpoint converts between a gear-and-cadence and road speed in either direction — the speed at a cadence, or the cadence needed for a target speed. The table endpoint builds a gear chart: give one or more chainrings and a cassette of cogs and it returns a matrix of gear inches, development, gain ratio or ratio for every combination — ideal for visualising a drivetrain. Wheel size can be a preset (700x25c, 26-inch, 29er and more) or an exact rolling circumference in millimetres, and crank length is configurable for the gain ratio. Everything is computed locally and deterministically, so it is instant and private. Ideal for cycling apps and bike-fit tools, drivetrain and gear-ratio planners, and bike-shop and component sites. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is bicycle gearing; for cycling power, FTP and training zones use a cycling API.
api.oanor.com/bikegear-api