TIER 2 · MULTI-FEATURE PARTS·t2_04

A square plate 60mm × 60mm × 4mm with four circular holes 5mm in diameter, one near each corner, each hole center 8mm from the nearest two edges.

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

# Create the square plate
result = (
    cq.Workplane("XY")
    .box(60, 60, 4)
)

# Define hole positions: 8mm from each edge
# Plate is centered at origin, so edges are at ±30
# Hole centers at ±(30-8) = ±22 in both X and Y
hole_offset = 30 - 8  # 22mm from center

result = (
    result
    .faces(">Z")
    .workplane()
    .pushPoints([
        ( hole_offset,  hole_offset),
        (-hole_offset,  hole_offset),
        ( hole_offset, -hole_offset),
        (-hole_offset, -hole_offset),
    ])
    .hole(5)
)
COMPARE · SAME PROMPT
Zoo ML-ephant
Gemini 2.5 Flash
GPT-5
Text2CadQuery (Qwen 3B)
No variable named 'result' found after exec()