TIER 1 · BASIC PRIMITIVES·t1_04

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

✓Claude Opus 4.6✓Zoo ML-ephant✓Gemini 2.5 Flash✓GPT-5✓Text2CadQuery (Qwen 3B)
3D RENDER · Zoo ML-ephant
KCL (KITTYCAD LANGUAGE)SOURCE
✓ executed
/*
Generated by Text-to-CAD:
A rectangular box 60mm long, 40mm wide, and 15mm tall.
*/
@settings(defaultLengthUnit = mm)

// Dimensions
length = 60
width = 40
height = 15

// Sketch rectangle on XY
sketch = startSketchOn(XY)
profile = startProfile(sketch, at = [-length / 2, -width / 2])
  |> xLine(length = length)
  |> yLine(length = width)
  |> xLine(length = -length)
  |> close()

// Extrude to height
box = extrude(profile, length = height)
COMPARE · SAME PROMPT
Claude Opus 4.6✓
Gemini 2.5 Flash✓
GPT-5✓
Text2CadQuery (Qwen 3B)✓