Add Gear
add_gearCreate an involute spur gear solid in FreeCAD by specifying teeth, module, height, pressure angle, and external or internal profile; optionally place it to build meshing gear 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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"teeth": "<teeth>",
"module": "<module>"
},
"name": "add_gear"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Gear | |
| teeth | Yes | ||
| height | No | ||
| module | Yes | ||
| external | No | ||
| placement | No | ||
| workspace | No | Run this call in this named workspace | |
| pressure_angle | No |