create_keyway
Generate JIS B1301 parallel keyways on shafts by automatically calculating key dimensions from shaft diameter for mechanical design in CAD.
Instructions
Create a JIS B1301 parallel keyway (shaft keyway) on a cylindrical surface. Automatically determines key width and depth from shaft diameter.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shaft_diameter | Yes | Shaft diameter in mm (6-75mm). | |
| key_length | No | Key length in mm. If not specified, auto-selected from standard lengths. | |
| position_z | No | Z position (along shaft axis) for the keyway start in mm. | |
| body_name | No | Name of the shaft body. Uses first body if not specified. |