Add Sprocket
add_sprocketCreates a static solid-plate ISO 606/ANSI roller-chain sprocket from tooth count, chain pitch, and roller diameter for fit checks and visualisation.
Instructions
Add a roller-chain sprocket (ISO 606 / ANSI), built as a static solid plate.
teeth: tooth count (>= 3). chain_pitch: chain link pitch in mm (e.g. 12.7 for #40 / ANSI 40 chain). roller_diameter: chain roller diameter in mm. height: plate thickness in mm (default 6.0). placement: optional [x, y, z] mm translation.
Build: a disc of tip radius ~= pitch_radius + chain_pitch*0.3 with teeth
roller seats (circular pockets, radius roller_diameter/2 * 1.05) cut on the
pitch circle, one per tooth. This is a fit/visualisation approximation of the
true ISO 606 tooth form, not a load-rated profile.
Returns {handle, name, volume, pitch_diameter, chain_pitch, teeth, tip_radius,
bore}. pitch_diameter (mm) = chain_pitch / sin(pi/teeth) and chain_pitch are
the MATING numbers: a chain of the same chain_pitch wraps the sprocket, and the
centre distance between two sprockets derives from their pitch_diameters. bore
is 0 (no shaft hole cut yet — drill one with the hole command).
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>",
"chain_pitch": "<chain_pitch>",
"roller_diameter": "<roller_diameter>"
},
"name": "add_sprocket"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Sprocket | |
| teeth | Yes | ||
| height | No | ||
| placement | No | ||
| workspace | No | Run this call in this named workspace | |
| chain_pitch | Yes | ||
| roller_diameter | Yes |