TIER 3 · ASSEMBLIES·t3_04

A stepped shaft with three coaxial cylinders stacked: bottom section 20mm diameter × 10mm tall, middle section 14mm diameter × 20mm tall, top section 10mm diameter × 15mm tall.

Claude Opus 4.6Zoo ML-ephantGemini 2.5 FlashGPT-5Text2CadQuery (Qwen 3B)
3D RENDER · Claude Opus 4.6
CADQUERY (PYTHON)SOURCE
✓ executed
import cadquery as cq

# Bottom section: 20mm diameter, 10mm tall
bottom = cq.Workplane("XY").cylinder(10, 10)  # height=10, radius=10

# Middle section: 14mm diameter, 20mm tall, centered above bottom
middle = cq.Workplane("XY").cylinder(20, 7).translate((0, 0, 10/2 + 20/2))  # radius=7

# Top section: 10mm diameter, 15mm tall, centered above middle
top = cq.Workplane("XY").cylinder(15, 5).translate((0, 0, 10/2 + 20 + 15/2))  # radius=5

# Union all sections
result = bottom.union(middle).union(top)
COMPARE · SAME PROMPT
Zoo ML-ephant
Gemini 2.5 Flash
GPT-5
Text2CadQuery (Qwen 3B)