TIER 3 · ASSEMBLIES·t3_05

A rectangular plate 80mm × 60mm × 8mm with a rectangular pocket milled into the top face: the pocket is 60mm × 40mm × 4mm deep and centered on the plate.

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 base rectangular plate: 80mm x 60mm x 8mm
result = (
    cq.Workplane("XY")
    .box(80, 60, 8)
)

# Mill a rectangular pocket into the top face: 60mm x 40mm x 4mm deep, centered
pocket = (
    cq.Workplane("XY")
    .workplane(offset=8/2 - 4)  # Position at top surface minus pocket depth
    .box(60, 40, 4)
    .translate((0, 0, 4/2))  # Shift up so top of pocket aligns with top of plate
)

# Cut the pocket, aligning top of pocket with top of plate
pocket = (
    cq.Workplane("XY")
    .transformed(offset=(0, 0, 8/2 - 4))
    .box(60, 40, 4)
)

# Simpler approach: create pocket as a box positioned at the top
result = (
    cq.Workplane("XY")
    .box(80, 60, 8)
    .faces(">Z")
    .workplane()
    .rect(60, 40)
    .cutBlind(-4)
)
COMPARE · SAME PROMPT
Zoo ML-ephant
Gemini 2.5 Flash
'Workplane' object has no attribute 'cutExtrude'
GPT-5
Text2CadQuery (Qwen 3B)