โ† All examples

mesh algorithms

Involute spur gear

Generate a spur gear whose tooth flanks are true involutes of the base circle, sized by module, tooth count and pressure angle, extruded around a bore. Use it for mechanisms, clocks and props.

Recorded render of Involute spur gear

What this component contains

  • ATTRIBUTION.md
  • LICENSE
  • README.md
  • component.json
  • example.gltf
  • involute_spur_gear.py
  • meshkit.py
  • preview.png
  • test_package.py
  • verification/native.json

How it works

Entry points
involute_function, gear_radii, gear_profile, spur_gear, build, main
Parameters
teeth, module, pressure_angle, thickness, bore_radius, flank_samples
Complexity
O(teeth * flank_samples)
Axes
+Y up, metres

Recorded checks

godot 4.7.2.stable.official.ed1daf0bf

  • generator_runs_system_python
  • generator_runs_verifier_python
  • gltf_strict_structure
  • interpreters_agree
  • example_matches_generator
  • godot_headless_gltf_load
  • godot_compatibility_render

Limits to consider

Standard full-depth teeth (addendum 1 module, dedendum 1.25 modules) without profile shift, tip relief or a root fillet: the flank meets the root circle with a radial segment. No backlash is added. Gears with very few teeth undercut in reality; this outline does not model that. The volume check compares with the exact area of the smooth outline within 0.5 percent.