TIER 1 · BASIC PRIMITIVES·t1_04

A rectangular box 60mm long, 40mm wide, and 15mm tall.

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

# --- Part 1: Rectangular Box ---
length = 0.6 * 0.6  # Scaled length
width = 0.4 * 0.6   # Scaled width
height = 0.15

part_1 = (
    cq.Workplane("XY")
    .rect(length, width)
    .extrude(height)
)

# --- Coordinate System Transformation for Part 1 ---
part_1 = part_1.translate((0.12, 0.12, 0))

# --- Assembly ---
assembly = part_1

# Export to STL
cq.exporters.export(assembly, "./stlcq/0038/00387900.stl")
COMPARE · SAME PROMPT
Claude Opus 4.6
Zoo ML-ephant
Gemini 2.5 Flash
GPT-5