ReCADBench Open: task inputs
Scan → parametric CAD reverse-engineering benchmark for AI agents.
Each task is a real 3D scan of a mechanical part: input.stl is raw, noisy,
holed and in the scanner frame, byte-identical to what the benchmark agents get.
Your agent must rebuild it as one clean, editable, parametric solid that
recovers the design intent: not a surface wrap, not a mesh-to-B-rep conversion, but
a feature tree an engineer could open and edit. Five parts come from our own scans
of an R385 12 V diaphragm pump, five from the open-source Open Dedica DIY espresso
machine. Zip your STEP files, upload them on the
ReCADBench Open Space and get an automatic score out of 95 against
hidden ground truth.
Tasks
The images are renders of the raw scans: exactly what the agent gets, with every hole and artefact.
![]() 01 · Motor mount cup 🟢 medium |
![]() 02 · Wobble plate 🟠 hard |
![]() 03 · Pump head 🔴 very hard |
![]() 04 · Diaphragm frame 🟠 hard |
![]() 05 · Eccentric hub 🟢 medium |
![]() 06 · Brewing gasket support 🟢 medium |
![]() 07 · Steam knob 🟢 medium |
![]() 08 · 3-way valve 🟠 hard |
![]() 09 · Flowmeter 🔴 very hard |
![]() 10 · Thermoblock 🔴 very hard |
| 01–05 · R385 diaphragm pump | 06–10 · Open Dedica espresso machine | ground truth is never published | ||||
| No | Task | id | Family | Difficulty | Class | Tier | Triangles |
|---|---|---|---|---|---|---|---|
| 01 | Motor mount cup | r385_hs01_motor_mount |
R385 diaphragm pump | medium | B | 2 | 299,403 |
| 02 | Wobble plate | r385_dr02_wobble_plate |
R385 diaphragm pump | hard | B | 3 | 185,765 |
| 03 | Pump head | r385_hs04_pump_head |
R385 diaphragm pump | very hard | B | 2 | 791,347 |
| 04 | Diaphragm frame | r385_hs02_diaphragm_frame |
R385 diaphragm pump | hard | B | 2 | 592,681 |
| 05 | Eccentric hub | r385_dr01_eccentric_hub |
R385 diaphragm pump | medium | B | 2 | 75,965 |
| 06 | Brewing gasket support | od_g04_brewing_gasket_support |
Open Dedica espresso machine | medium | B | 2 | 484,578 |
| 07 | Steam knob | od_s03_steam_knob |
Open Dedica espresso machine | medium | B | 2 | 363,988 |
| 08 | 3-way valve | od_h22_three_way_valve |
Open Dedica espresso machine | hard | B | 2 | 495,881 |
| 09 | Flowmeter | od_h24_flowmeter |
Open Dedica espresso machine | very hard | B | 2 | 984,209 |
| 10 | Thermoblock | od_h11_thermoblock |
Open Dedica espresso machine | very hard | C | 3 | 988,798 |
Known scan defects per task (from task.yaml)
Motor mount cup (r385_hs01_motor_mount)
- the inside of the cup was only reached from one side, roughly half of the inner wall is missing
- the small screw holes in the bottom and the two ear holes are poorly captured inside
- a few stray surface patches float inside the cavity
- open holes in the mesh wherever the scanner could not see
Wobble plate (r385_dr02_wobble_plate)
- the bore in the hub could not be reached, only its mouth is visible
- the top face of one arm came out torn
- the holes in the arms are poorly captured
- a few small loose fragments next to the part
- the part is a used sample and may be slightly warped
Pump head (r385_hs04_pump_head)
- top and bottom were scanned in separate passes and merged by the scanner software; the merge was not checked
- the bores of the two hose nipples are not reached in the middle
- the ear holes are not reached in the middle
- the pocket under the part is only partly captured
- ten small loose fragments next to the part
- the part is a used sample and may be slightly warped
Diaphragm frame (r385_hs02_diaphragm_frame)
- the shallow pockets on the underside between the chamber holes are only partly captured and look rough and uneven
- the small screw holes in the six ears are not reached in the middle and look partly closed
- the thin raised walls on top of three ears are captured with ragged edges
- five small loose fragments next to the part, under the plate and near the outer ring
- open holes in the mesh wherever the scanner could not see
- the part is a used moulded sample; the outer shell may be slightly shifted against the holes
Eccentric hub (r385_dr01_eccentric_hub)
- the shaft hole in the bottom was not reached, only a shallow dimple shows where it is
- the corner where the pin enters the top face is smeared and lumpy, and the pin looks slightly waisted near its root
- a small dent on the side of the hub and a few ragged spots along the bottom rim
- three small loose fragments next to the part
- open holes in the mesh wherever the scanner could not see
Brewing gasket support (od_g04_brewing_gasket_support)
- a large part of the outer side wall of the cup is missing on one side, together with part of the flange top and the top of one locking tab next to it
- the floor of the front (ribbed) cavity was only reached in one small sector; elsewhere the cavity floor is missing
- the inside of the central tube was not reached, only the small centre hole was captured
- the sides of the ribs inside the front cavity are captured on one side only in places
- open holes in the mesh wherever the scanner could not see
Steam knob (od_s03_steam_knob)
- the chrome cap and collar reflected badly: several open holes in the mesh on the cap wall, around the collar and next to the lever
- a loose curled skin flap hangs just inside the cap wall at the edge of one of those holes
- the floor of the slot in the lever is only partly captured
- the narrow gap between the collar and the white stem was not reached, its bottom is missing
- the inside of the bore in the threaded end is only captured near the opening, the bottom is missing
- the threaded end is rough and stair-stepped
3-way valve (od_h22_three_way_valve)
- the tip of one screw ear has a small bump that the other ear does not have (this sample may be damaged there)
- the inside of the drive tube is only partly captured; its lower part and floor are open holes in the mesh
- the hose ports were not reached deep inside; their inner ends and the inside of the clip slots are missing
- a little stray material bridges the mouth of one of the ear screw holes
- small open holes at the roots of the stem and its side gussets and along the rounded back edge of the flange
Flowmeter (od_h24_flowmeter)
- the underside of the flange and the narrow gap between the cup and the outer skirt were hardly reached; large open holes there
- through the four windows on top you can see parts lying deeper inside; they are only partly captured
- the thin connector pins and their back plates came out rough and noisy
- the hose tube ends are ragged and the tube bores are only seen at the mouth
- small burrs and moulding leftovers inside the four small slots on top
- the part is a used sample and looks slightly warped (top and bottom faces not quite parallel)
- open holes in the mesh wherever the scanner could not see
Thermoblock (od_h11_thermoblock)
- the inside of the large central bore was only partly reached; one side of it is largely missing
- the slots in the top and bottom faces and the small blind holes are poorly captured inside
- the two thin flat spade tabs on the electrical terminals are ragged, with loose flaps of surface around them
- the pipe ends are ragged and the openings in the pipe tips are barely captured
- the narrow gaps under the side tabs and the clip windows in the ribbed pads are partly missing
- the top and bottom faces carry raised and recessed lettering and logos, captured only as faint bumps
- open holes in the mesh wherever the scanner could not see; the mesh is not closed
Quickstart
pip install -U huggingface_hub
hf download mikbalarikan/recadbench-inputs --repo-type dataset --local-dir recadbench
import json
from pathlib import Path
from huggingface_hub import snapshot_download
root = Path(snapshot_download("mikbalarikan/recadbench-inputs", repo_type="dataset", local_dir="recadbench"))
for task in json.loads((root / "tasks.json").read_text()):
scan = root / "parts" / task["id"] / "input.stl" # raw scan, mm, scanner frame
print(task["id"], task.get("title"), task["tolerance_class"], scan.stat().st_size)
Files
parts/<id>/input.stl raw scan, mm, scanner frame (never repaired)
parts/<id>/task.yaml agent-visible task metadata: scanner, sessions, known scan
defects, tolerance class, tier, budgets
parts/<id>/preview.png render of the raw scan
tasks.json [{id, no, title, family, difficulty, tolerance_class, tier,
triangles, known_defects}]
SUBMISSION.md submission package format
tools/sanity_check_submission.py check your zip before uploading
tools/submission.py stdlib-only zip checks used by the sanity tool
What to deliver
Per task one solid as STEP, in mm, in the scanner frame (the same frame as
input.stl; do not move or re-orient the part). It must be a real parametric body, not a
faceted mesh conversion. One zip for all tasks:
submission.zip
meta.json submitter, agent, model, CAD backend, human_in_loop, ...
<id>/output.step required: one solid, mm, scanner frame
<id>/native/... optional: native CAD model (needed for Verified)
<id>/features.json optional: declared feature list
<id>/plan/re_plan.v1.json optional: reverse-engineering plan
<id>/run.json optional: wall time, cost, tokens, turns
Full format and the meta.json keys: SUBMISSION.md. Check the
zip before you upload (--inputs points at the downloaded scans and turns on the
size check against each scan):
pip install build123d # optional: enables the STEP checks
python recadbench/tools/sanity_check_submission.py submission.zip --inputs recadbench/parts
Without build123d only the zip layout and meta.json are checked. With it, every
output.step must load as exactly one valid solid whose bounding-box diagonal is
within 20 % of the scan's, which catches wrong units (inches, metres). It does not
check position: keep the part in the scanner frame yourself.
Scoring (Open layer, automatic on every upload)
| Component | Points | What it rewards | |
|---|---|---|---|
| G0 | Gate | pass / fail | the STEP loads as exactly one valid, closed solid and is not a faceted mesh conversion; fail the gate and every score is 0 |
| S1 | Deviation | 40 | two-way surface distance to the hidden reference inside the class tolerance bands (observable region only) |
| S2-face | Parsimony proxy | 25 | a face count close to the reference model; LEGO-style stacks of tiny features score low |
| S3 | Design intent | 20 | key dimensions within tolerance, standard values, coaxial and symmetric relations kept |
| S4 | Topology | 10 | matching through-hole count and face-type mix |
| Open total | /95 |
Submissions with a native model can be Verified by an admin, which adds the official feature-tree S2 and the binary PASS. Full rubric: 03_SCORING.md.
Rules
- Ground truth is private. It lives only in a private dataset read by an isolated scoring job and is never published; reports show key dimensions only as within / not within tolerance.
- The agent sees only
input.stlandtask.yaml. - No hand-editing: if a person edited geometry or steered the agent beyond the initial
prompt, set
"human_in_loop": trueinmeta.json; those rows get a separate badge. - Do not use public CAD of the same commercial products; declare anything you used.
- Uploaded code and native models are never executed; the automatic score reads the STEP only. Partial submissions are fine (an unsolved task scores 0); 3 uploads per user per day.
- These 10 tasks are a public dev set. A hidden test set follows later.
Submit
Sign in with Hugging Face on the ReCADBench Open Space, upload
submission.zip and get a per-task report with a deviation map on your model.
License and citation
Scans, task.yaml files, previews and tasks.json:
CC BY 4.0. tools/: MIT, from the
ReCADBench repository.
@misc{recadbench2026,
title = {ReCADBench: A Scan-to-Parametric-CAD Reverse-Engineering Benchmark for AI Agents},
year = {2026},
howpublished = {\url{https://github.com/mikbalarikan/ReCADBench}},
note = {spec 0.3.0}
}
- Downloads last month
- -









