Add Gear
add_gearCreate an involute spur gear as a solid in FreeCAD. Specify tooth count and module; adjust pressure angle, internal/external profile, and placement for meshing pairs.
Instructions
Add an involute spur gear (FreeCAD's core involute generator), extruded to a solid.
teeth: tooth count (>= 3). module: mm (pitch diameter = module * teeth). height: extrusion thickness mm. pressure_angle: deg (default 20). external: True for an external gear; False for an internal/ring tooth profile. placement: optional [x, y, z] mm translation. Returns {handle, name, volume, pitch_radius, tip_radius, root_radius, teeth, module, external}. Two external gears MESH when their axes are spaced (pitch_radius_a + pitch_radius_b) apart; phase one by half a tooth to avoid tooth-on-tooth interference.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Gear | |
| teeth | Yes | ||
| height | No | ||
| module | Yes | ||
| external | No | ||
| placement | No | ||
| pressure_angle | No |