add_pulley
Create a timing-belt or V-belt pulley as a static solid in FreeCAD by specifying teeth, belt pitch, width, and optional flange, height, and placement.
Instructions
Add a timing-belt (or V) pulley as a static solid. Axis is +Z; toothed belt face spans z in [0, width].
teeth: tooth count (>= 6). belt_pitch: belt tooth pitch mm/tooth (e.g. 2.0 for GT2, 3.0 for GT3/HTD-3M); pitch diameter PD = belt_pitch * teeth / pi. width: belt-face length mm. flanged: True adds two thin guide discs (radius PD/2 + 2*belt_pitch) at each end to retain the belt. height: optional mm; OVERRIDES width when given (default height = width). placement: optional [x, y, z] mm translation of the axis base. name: object label.
Returns {handle, name, volume, pitch_diameter, belt_pitch, teeth, width, flanged}. pitch_diameter (mm) is the mating number: the centre distance to a mating pulley plus the required belt length derive from the two pitch diameters and the same belt_pitch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Pulley | |
| teeth | Yes | ||
| width | Yes | ||
| height | No | ||
| flanged | No | ||
| placement | No | ||
| belt_pitch | Yes |