TIER 4 · COMPLEX GEOMETRY·t4_05

A countersunk screw hole pattern: a flat plate 80mm × 60mm × 6mm with four countersunk holes arranged in a rectangle (60mm × 40mm centers). Each hole is 3.5mm diameter, countersunk at 90° to 6.5mm diameter.

Claude Opus 4.6Zoo ML-ephantGemini 2.5 FlashGPT-5Text2CadQuery (Qwen 3B)
CADQUERY (PYTHON)SOURCE
✗ No variable named 'result' found after exec()
import cadquery as cq

# --- Parameters from JSON ---
plate_length = 0.8 * 0.8  # Scaled length
plate_width = 0.6 * 0.8  # Scaled width
plate_thickness = 0.06
hole_radius = 0.0175 * 0.8  # Scaled radius
hole_depth = 0.065

# Hole positions (scaled)
hole_positions = [
    (0.03 * 0.8, 0.03 * 0.8),
    (0.03 * 0.8, 0.3 * 0.8),
    (0.77 * 0.8, 0.03 * 0.8),
    (0.77 * 0.8, 0.3 * 0.8)
]

# --- Create the plate ---
plate = cq.Workplane("XY").rect(plate_length, plate_width).extrude(plate_thickness)

# --- Add the holes ---
for x, y in hole_positions:
    plate = plate.faces(">Z").workplane().hole(2 * hole_radius)

# --- Export to STL ---
cq.exporters.export(plate, './stlcq/0017/00170000.stl')
COMPARE · SAME PROMPT
Claude Opus 4.6
gp_Vec::Normalize() - vector has zero norm
Zoo ML-ephant
Gemini 2.5 Flash
Workplane.rarray() got an unexpected keyword argument 'cente
GPT-5
no output