Invntr
Source

All instruments

gear_train

Generic ISO/AGMA involute spur gear pair designer: pitch/tip/root diameters, center distance, gear ratio, transverse contact ratio, undercut check, tangential/radial forces, Lewis tooth bending stress, Hertzian contact stress, exact 2D involute tooth profiles (gear_profiles.json for solid), and a 3D meshed scene.glb.

Field
Mechanics, CAD and finite elements
Version
0.1.0
Runs as
Compiled (Rust)
Typical run
0.05 s

Compiled from source: run sh packs/install.sh once before admitting it.

A real run

The recorded tooth profiles, turning in meshr0003 · gear_profiles.json
teeth
20 and 40
contact ratio
1.63519
centre distance
60 mm
pinion root stress
7.34 MPa

Known answers it must pass

Admission replaygear_train 0.1.0 · files be809e5bc9ae…9ffc
  1. r0001standard 20-deg pair m=2, z1=20, z2=40: center distance 60 mm, ratio 2.0, contact ratio 1.635186, no undercutpassed

    center_distance_mm60 ± 1e-0960lockedunder 0.01 % of the tolerance used
    gear_ratio2 ± 1e-092lockedunder 0.01 % of the tolerance used
    contact_ratio1.63519 ± 1e-051.63519locked0.36 % of the tolerance used
    undercut_warning= falsefalselockedexact match
    tangential_force_N50 ± 1e-0950lockedunder 0.01 % of the tolerance used
  2. r000210-tooth pinion at 20 deg triggers undercut warningpassed

    undercut_warning= truetruelockedexact match
    center_distance_mm30 ± 1e-0930lockedunder 0.01 % of the tolerance used
2 of 2 cases passed · sandbox macos-seatbeltrecorded from the kernel in a fresh lab

Each line is one reading the kernel checked. The bright band is the tolerance; the needle is the value the instrument actually returned when it was admitted. A needle near the centre line used little of its tolerance.

Inputs

NameUnitDefaultMeaning
module_mmmm2.0
z120
z240
pressure_angle_degdeg20.0
face_width_mmmm10.0
input_torque_NmN m1.0
E_MPaMPa200000.0
nu10.3

Readings

NameUnitMeaning
gear_ratio1
pitch_d1_mmmm
pitch_d2_mmmm
center_distance_mmmm
contact_ratio1
tangential_force_NN
radial_force_NN
output_torque_NmN m
lewis_bending_pinion_MPaMPa
hertz_contact_MPaMPa
gear_profiles.json
scene.glb

Try the call

Change a value and the command updates. Nothing runs here; paste it into your terminal or give it to your agent.

Terminal
MCP call