Simple cylindrical shaft
- Input
- 30 mm diameter, 180 mm length, no keyway.
- Method
- Emit one cylinder extrusion in the selected script target.
- Formula
- cylinder(d=30, h=180)
- Intermediate steps
- Diameter and length are positive.
- Stepped-shaft fields are not used.
- Final result
- A simple shaft script template.
- Interpretation
- Use the generated text as a starting point for a reviewed CAD script workflow.
- Limitation
- Strength, deflection, fatigue, bearing fits, and tolerances are not checked.