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 · Gemini 2.5 Flash
CADQUERY (PYTHON)SOURCE
✓ executed
import cadquery as cq

# Bottom section
bottom_radius = 20 / 2
bottom_height = 10
bottom_cylinder = cq.Workplane("XY").cylinder(bottom_height, bottom_radius)

# Middle section
middle_radius = 14 / 2
middle_height = 20
middle_cylinder = cq.Workplane("XY").cylinder(middle_height, middle_radius).translate((0, 0, bottom_height))

# Top section
top_radius = 10 / 2
top_height = 15
top_cylinder = cq.Workplane("XY").cylinder(top_height, top_radius).translate((0, 0, bottom_height + middle_height))

# Union all sections
result = bottom_cylinder.union(middle_cylinder).union(top_cylinder)
COMPARE · SAME PROMPT
Claude Opus 4.6
Zoo ML-ephant
GPT-5
Text2CadQuery (Qwen 3B)