← mecheval / run / a4-flanged-shaft-01 / claude-mcp-claude-opus-4-7 / 20260611T222042Z-5378

run 20260611T222042Z-5378

a4-flanged-shaft-01 · claude-mcp-claude-opus-4-7

Summary

statusfail
score0.50 (4/8)
submissionself-run
modelclaude-mcp-claude-opus-4-7 (anthropic)
started2026-06-11T22:20:42.581Z
ended2026-06-11T22:22:39.613Z
tokens606,973 in · 6,436 out · 613,409 total
wallclock117.0s
tool calls36
task hash70d8d5eb7fc1d941…
vcad hashd54093141c290536…

Prompt

Make a flanged hollow shaft as a single solid. The base is a circular flange of outer diameter 80mm and thickness 10mm, with its bottom face on the XY plane (z = 0 to z = 10). Above the flange and concentric with it sits a cylindrical shaft of outer diameter 30mm extending 50mm upward (z = 10 to z = 60). A central through-bore of diameter 15mm runs along the Z axis through both the flange and the shaft (z = 0 to z = 60). The flange has four bolt holes of diameter 6mm, axes parallel to Z, on a bolt circle of diameter 60mm (radius 30mm) centered on the Z axis. The first bolt hole is on the +X axis; the others are spaced every 90 degrees. The bolt holes pass through the full flange thickness. Output a single solid.

Checks

0
valid_solid
pass
params + details
params: {
  "type": "valid_solid"
}

details: {
  "root_count": 7,
  "solids_produced": 7
}
1
bbox
fail
Z off by +0.20mm
params + details
params: {
  "type": "bbox",
  "min": [
    -40,
    -40,
    0
  ],
  "max": [
    40,
    40,
    60
  ],
  "tolerance_mm": 0.2
}

details: {
  "actual_max": [
    40,
    40,
    60.20000076293945
  ],
  "actual_min": [
    -40,
    -40,
    -0.10000000149011612
  ],
  "deviation_max": [
    0,
    0,
    0.20000076293945312
  ],
  "deviation_min": [
    0,
    0,
    -0.10000000149011612
  ],
  "max_abs_deviation_mm": 0.20000076293945312,
  "tolerance_mm": 0.2
}
2
mass_props
fail
volume off by 309.3%
params + details
params: {
  "type": "mass_props",
  "volume_mm3": 73874.55,
  "tolerance_pct": 1.5
}

details: {
  "volume": {
    "actual_mm3": 302355.4340498583,
    "deviation_pct": 309.2822684535585,
    "pass": false,
    "spec_mm3": 73874.55,
    "tolerance_pct": 1.5
  }
}
3
hole_count
pass
params + details
params: {
  "type": "hole_count",
  "diameter_mm": 15,
  "expected": 1,
  "diameter_tolerance_mm": 0.1
}

details: {
  "actual": 1,
  "diameter_mm": 15,
  "diameter_tolerance_mm": 0.1,
  "expected": 1,
  "found": [
    [
      0,
      0,
      15
    ]
  ]
}
4
hole_positions
pass
params + details
params: {
  "type": "hole_positions",
  "diameter_mm": 15,
  "positions": [
    [
      0,
      0,
      0
    ]
  ],
  "tolerance_mm": 0.2
}

details: {
  "diameter_mm": 15,
  "per_expected": [
    {
      "distance_mm": 0,
      "matched_hole": [
        0,
        0
      ],
      "pass": true,
      "spec_xy": [
        0,
        0
      ]
    }
  ],
  "tolerance_mm": 0.2,
  "unmatched_extras": []
}
5
hole_count
fail
found 0/4 holes of ⌀6mm
params + details
params: {
  "type": "hole_count",
  "diameter_mm": 6,
  "expected": 4,
  "diameter_tolerance_mm": 0.05
}

details: {
  "actual": 0,
  "diameter_mm": 6,
  "diameter_tolerance_mm": 0.05,
  "expected": 4,
  "found": []
}
6
hole_positions
fail
4/4 mispositioned
params + details
params: {
  "type": "hole_positions",
  "diameter_mm": 6,
  "positions": [
    [
      30,
      0,
      0
    ],
    [
      0,
      30,
      0
    ],
    [
      -30,
      0,
      0
    ],
    [
      0,
      -30,
      0
    ]
  ],
  "tolerance_mm": 0.2
}

details: {
  "diameter_mm": 6,
  "per_expected": [
    {
      "pass": false,
      "reason": "no candidate cylindrical feature of this diameter remained unmatched",
      "spec_xy": [
        30,
        0
      ]
    },
    {
      "pass": false,
      "reason": "no candidate cylindrical feature of this diameter remained unmatched",
      "spec_xy": [
        0,
        30
      ]
    },
    {
      "pass": false,
      "reason": "no candidate cylindrical feature of this diameter remained unmatched",
      "spec_xy": [
        -30,
        0
      ]
    },
    {
      "pass": false,
      "reason": "no candidate cylindrical feature of this diameter remained unmatched",
      "spec_xy": [
        0,
        -30
      ]
    }
  ],
  "tolerance_mm": 0.2,
  "unmatched_extras": []
}
7
step_roundtrip
pass
params + details
params: {
  "type": "step_roundtrip",
  "tolerance_pct": 1.5
}

details: {
  "per_solid": [
    {
      "bbox": {
        "max_abs_deviation_mm": 0,
        "original_max": [
          40,
          40,
          10
        ],
        "original_min": [
          -40,
          -40,
          0
        ],
        "pass": true,
        "roundtripped_max": [
          40,
          40,
          10
        ],
        "roundtripped_min": [
          -40,
          -40,
          0
        ],
        "tolerance_mm": 1.703672503740082
      },
      "index": 0,
      "pass": true,
      "volume": {
        "deviation_pct": 0.48152755025717725,
        "original_mm3": 50184.77602334661,
        "pass": true,
        "roundtripped_mm3": 49943.12250075934
      }
    },
    {
      "bbox": {
        "max_abs_deviation_mm": 0,
        "original_max": [
          15,
          15,
          50
        ],
        "original_min": [
          -15,
          -15,
          0
        ],
        "pass": true,
        "roundtripped_max": [
          15,
          15,
          50
        ],
        "roundtripped_min": [
          -15,
          -15,
          0
        ],
        "tolerance_mm": 0.9836157786453
      },
      "index": 1,
      "pass": true,
      "volume": {
        "deviation_pct": 0.48152593655443426,
        "original_mm3": 35286.17064485397,
        "pass": true,
        "roundtripped_mm3": 35116.25858118214
      }
    },
    {
      "bbox": {
        "max_abs_deviation_mm": 0,
        "original_max": [
          15,
          15,
          60
        ],
        "original_min": [
          -15,
          -15,
          10
        ],
        "pass": true,
        "roundtripped_max": [
          15,
          15,
          60
        ],
        "roundtripped_min": [
          -15,
          -15,
          10
        ],
        "tolerance_mm": 0.9836157786453
      },
      "index": 2,
      "pass": true,
      "volume": {
        "deviation_pct": 0.48152593655414655,
        "original_mm3": 35286.1706448539,
        "pass": true,
        "roundtripped_mm3": 35116.25858118217
      }
    },
    {
      "bbox": {
        "max_abs_deviation_mm": 0,
        "original_max": [
          40,
          40,
          60
        ],
        "original_min": [
          -40,
          -40,
          0
        ],
        "pass": true,
        "roundtripped_max": [
          40,
          40,
          60
        ],
        "roundtripped_min": [
          -40,
          -40,
          0
        ],
        "tolerance_mm": 1.9209372712298545
      },
      "index": 3,
      "pass": true,
      "volume": {
        "deviation_pct": 0.49477989147840123,
        "original_mm3": 85470.9466682004,
        "pass": true,
        "roundtripped_mm3": 85048.05361102991
      }
    },
    {
      "bbox": {
        "max_abs_deviation_mm": 0,
        "original_max": [
          7.5,
          7.5,
          60.20000076293945
        ],
        "original_min": [
          -7.5,
          -7.5,
          0
        ],
        "pass": true,
        "roundtripped_max": [
          7.5,
          7.5,
          60.20000076293945
        ],
        "roundtripped_min": [
          -7.5,
          -7.5,
          0
        ],
        "tolerance_mm": 0.9574231147554513
      },
      "index": 4,
      "pass": true,
      "volume": {
        "deviation_pct": 0.48152593655447706,
        "original_mm3": 10621.137498707098,
        "pass": true,
        "roundtripped_mm3": 10569.99396689371
      }
    },
    {
      "bbox": {
        "max_abs_deviation_mm": 0,
        "original_max": [
          7.5,
          7.5,
          60.099998474121094
        ],
        "original_min": [
          -7.5,
          -7.5,
          -0.10000000149011612
        ],
        "pass": true,
        "roundtripped_max": [
          7.5,
          7.5,
          60.099998474121094
        ],
        "roundtripped_min": [
          -7.5,
          -7.5,
          -0.10000000149011612
        ],
        "tolerance_mm": 0.9574230823958174
      },
      "index": 5,
      "pass": true,
      "volume": {
        "deviation_pct": 0.48152593655458475,
        "original_mm3": 10621.137095151833,
        "pass": true,
        "roundtripped_mm3": 10569.993565281657
      }
    },
    {
      "bbox": {
        "max_abs_deviation_mm": 0,
        "original_max": [
          40,
          40,
          60
        ],
        "original_min": [
          -40,
          -40,
          0
        ],
        "pass": true,
        "roundtripped_max": [
          40,
          40,
          60
        ],
        "roundtripped_min": [
          -40,
          -40,
          0
        ],
        "tolerance_mm": 1.9209372712298545
      },
      "index": 6,
      "pass": true,
      "volume": {
        "deviation_pct": 0.5193431910195125,
        "original_mm3": 74885.0954747444,
        "pass": true,
        "roundtripped_mm3": 74496.18483030786
      }
    }
  ],
  "tolerance_pct": 1.5
}

Tool calls

0
open_document
ok
2ms
args
{}
1
create
err
6ms
args
{
  "document_id": "doc_1781216442748_1",
  "type": "difference",
  "name": "Flanged Shaft",
  "params": {
    "children": [
      {
        "op": "union",
        "children": [
          {
            "op": "translate",
            "x": 0,
            "y": 0,
            "z": 0,
            "children": [
              {
                "op": "cylinder",
                "radius": 40,
                "height": 10
              }
            ]
          },
          {
            "op": "translate",
            "x": 0,
            "y": 0,
            "z": 10,
            "children": [
              {
                "op": "cylinder",
                "radius": 15,
                "height": 50
              }
            ]
          }
        ]
      },
      {
        "op": "translate",
        "x": 0,
        "y": 0,
        "z": -0.1,
        "children": [
          {
            "op": "cylinder",
            "radius": 7.5,
            "height": 60.2
          }
        ]
      },
      {
        "op": "translate",
        "x": 30,
        "y": 0,
        "z": -0.1,
        "children": [
          {
            "op": "cylinder",
            "radius": 3,
            "height": 10.2
          }
        ]
      },
      {
        "op": "translate",
        "x": 0,
        "y": 30,
        "z": -0.1,
        "children": [
          {
            "op": "cylinder",
            "radius": 3,
            "height": 10.2
          }
        ]
      },
      {
        "op": "translate",
        "x": -30,
        "y": 0,
        "z": -0.1,
        "children": [
          {
            "op": "cylinder",
            "radius": 3,
            "height": 10.2
          }
        ]
      },
      {
        "op": "translate",
        "x": 0,
        "y": -30,
        "z": -0.1,
        "children": [
          {
            "op": "cylinder",
            "radius": 3,
            "height": 10.2
          }
        ]
      }
    ]
  }
}
2
create_cad_loon
ok
11ms
args
{
  "source": "[let\n  flange [translate 0 0 0 [cylinder 40 10]]\n  shaft [translate 0 0 10 [cylinder 15 50]]\n  body [union flange shaft]\n  bore [translate 0 0 -0.1 [cylinder 7.5 60.2]]\n  hole [translate 30 0 -0.1 [cylinder 3 10.2]]\n  bolt-holes [circular-pattern 0 0 0 0 0 1 4 360 hole]\n  [root [difference bolt-holes [difference bore body]] \"steel\"]]",
  "format": "json"
}
3
create
err
4ms
args
{
  "document_id": "doc_1781216442748_1",
  "type": "cylinder",
  "name": "Flange Disk",
  "params": {
    "radius": 40,
    "height": 10
  }
}
4
create
ok
2ms
args
{
  "document_id": "doc_1781216442748_1",
  "type": "cylinder",
  "name": "Flange Disk",
  "params": {
    "radius": 40,
    "height": 10,
    "segments": 64
  }
}
5
create
ok
5ms
args
{
  "document_id": "doc_1781216442748_1",
  "type": "cylinder",
  "name": "Shaft",
  "parent_part_id": "1",
  "params": {
    "radius": 15,
    "height": 50,
    "segments": 64
  }
}
6
read
ok
4ms
args
{
  "document_id": "doc_1781216442748_1",
  "part_id": "1"
}
7
read
ok
4ms
args
{
  "document_id": "doc_1781216442748_1"
}
8
delete
ok
5ms
args
{
  "document_id": "doc_1781216442748_1",
  "part_id": "1"
}
9
delete
ok
1ms
args
{
  "document_id": "doc_1781216442748_1",
  "part_id": "2"
}
10
create
ok
3ms
args
{
  "document_id": "doc_1781216442748_1",
  "type": "cylinder",
  "name": "Flange",
  "params": {
    "radius": 40,
    "height": 10,
    "segments": 64
  }
}
11
create
err
3ms
args
{
  "document_id": "doc_1781216442748_1",
  "type": "union",
  "name": "Add Shaft",
  "parent_part_id": "1",
  "params": {
    "other": {
      "op": {
        "type": "Translate",
        "offset": {
          "x": 0,
          "y": 0,
          "z": 10
        },
        "child": {
          "op": {
            "type": "Cylinder",
            "radius": 15,
            "height": 50,
            "segments": 64
          }
        }
      }
    }
  }
}
12
get_changelog
ok
3ms
args
{
  "tool": "create",
  "limit": 5
}
13
create
err
3ms
args
{
  "document_id": "doc_1781216442748_1",
  "type": "union",
  "name": "Add Shaft",
  "parent_part_id": "1",
  "params": {
    "right": {
      "op": {
        "type": "Translate",
        "offset": {
          "x": 0,
          "y": 0,
          "z": 10
        },
        "child": {
          "op": {
            "type": "Cylinder",
            "radius": 15,
            "height": 50,
            "segments": 64
          }
        }
      }
    }
  }
}
14
create
ok
2ms
args
{
  "document_id": "doc_1781216442748_1",
  "type": "cylinder",
  "name": "Shaft Raw",
  "params": {
    "radius": 15,
    "height": 50,
    "segments": 64
  }
}
15
create
err
3ms
args
{
  "document_id": "doc_1781216442748_1",
  "type": "translate",
  "name": "Lift Shaft",
  "parent_part_id": "2",
  "params": {
    "offset": {
      "x": 0,
      "y": 0,
      "z": 10
    }
  }
}
16
create
err
1ms
args
{
  "document_id": "doc_1781216442748_1",
  "type": "translate",
  "name": "Lift Shaft",
  "parent_part_id": "2",
  "params": {
    "x": 0,
    "y": 0,
    "z": 10
  }
}
17
create
ok
1ms
args
{
  "document_id": "doc_1781216442748_1",
  "type": "translate",
  "name": "Lift Shaft",
  "parent_part_id": "2",
  "params": {
    "child": 2,
    "offset": {
      "x": 0,
      "y": 0,
      "z": 10
    }
  }
}
18
read
ok
1ms
args
{
  "document_id": "doc_1781216442748_1"
}
19
create
ok
3ms
args
{
  "document_id": "doc_1781216442748_1",
  "type": "union",
  "name": "Body",
  "params": {
    "left": 1,
    "right": 3
  }
}
20
read
ok
2ms
args
{
  "document_id": "doc_1781216442748_1"
}
21
get_document
ok
2ms
args
{
  "document_id": "doc_1781216442748_1"
}
22
delete
ok
2ms
args
{
  "document_id": "doc_1781216442748_1",
  "part_id": "1"
}
23
delete
ok
1ms
args
{
  "document_id": "doc_1781216442748_1",
  "part_id": "2"
}
24
delete
ok
1ms
args
{
  "document_id": "doc_1781216442748_1",
  "part_id": "3"
}
25
delete
ok
1ms
args
{
  "document_id": "doc_1781216442748_1",
  "part_id": "4"
}
26
get_document
ok
1ms
args
{
  "document_id": "doc_1781216442748_1"
}
27
create
ok
3ms
args
{
  "document_id": "doc_1781216442748_1",
  "type": "cylinder",
  "name": "Flange",
  "params": {
    "radius": 40,
    "height": 10,
    "segments": 64
  }
}
28
create
ok
1ms
args
{
  "document_id": "doc_1781216442748_1",
  "type": "cylinder",
  "name": "Shaft Cyl",
  "params": {
    "radius": 15,
    "height": 50,
    "segments": 64
  }
}
29
create
ok
2ms
args
{
  "document_id": "doc_1781216442748_1",
  "type": "translate",
  "name": "Lift Shaft",
  "parent_part_id": "2",
  "params": {
    "child": 2,
    "offset": {
      "x": 0,
      "y": 0,
      "z": 10
    }
  }
}
30
create
ok
3ms
args
{
  "document_id": "doc_1781216442748_1",
  "type": "union",
  "name": "Body",
  "parent_part_id": "1",
  "params": {
    "left": 1,
    "right": 3
  }
}
31
get_document
ok
2ms
args
{
  "document_id": "doc_1781216442748_1"
}
32
create
ok
4ms
args
{
  "document_id": "doc_1781216442748_1",
  "type": "cylinder",
  "name": "Bore Cyl",
  "params": {
    "radius": 7.5,
    "height": 60.2,
    "segments": 64
  }
}
33
create
ok
3ms
args
{
  "document_id": "doc_1781216442748_1",
  "type": "translate",
  "name": "Bore",
  "parent_part_id": "5",
  "params": {
    "child": 5,
    "offset": {
      "x": 0,
      "y": 0,
      "z": -0.1
    }
  }
}
34
create
ok
2ms
args
{
  "document_id": "doc_1781216442748_1",
  "type": "difference",
  "name": "Body-Bore",
  "parent_part_id": "4",
  "params": {
    "left": 4,
    "right": 6
  }
}
35
get_document
ok
0ms
args
{
  "document_id": "doc_1781216442748_1"
}

What the model built

isometric render via vcad-render · the model's actual .vcad output, faceted at 28 segments per cylinder · download 20260611T222042Z-5378.vcad

.vcad source

{
  "version": "0.1",
  "nodes": {
    "1": {
      "id": 1,
      "name": "Flange",
      "op": {
        "type": "Cylinder",
        "radius": 40,
        "height": 10,
        "segments": 64
      }
    },
    "2": {
      "id": 2,
      "name": "Shaft Cyl",
      "op": {
        "type": "Cylinder",
        "radius": 15,
        "height": 50,
        "segments": 64
      }
    },
    "3": {
      "id": 3,
      "name": "Lift Shaft",
      "op": {
        "type": "Translate",
        "child": 2,
        "offset": {
          "x": 0,
          "y": 0,
          "z": 10
        }
      }
    },
    "4": {
      "id": 4,
      "name": "Body",
      "op": {
        "type": "Union",
        "left": 1,
        "right": 3
      }
    },
    "5": {
      "id": 5,
      "name": "Bore Cyl",
      "op": {
        "type": "Cylinder",
        "radius": 7.5,
        "height": 60.2,
        "segments": 64
      }
    },
    "6": {
      "id": 6,
      "name": "Bore",
      "op": {
        "type": "Translate",
        "child": 5,
        "offset": {
          "x": 0,
          "y": 0,
          "z": -0.1
        }
      }
    },
    "7": {
      "id": 7,
      "name": "Body-Bore",
      "op": {
        "type": "Difference",
        "left": 4,
        "right": 6
      }
    }
  },
  "materials": {},
  "part_materials": {},
  "roots": [
    {
      "root": 1,
      "material": "default"
    },
    {
      "root": 2,
      "material": "default"
    },
    {
      "root": 3,
      "material": "default"
    },
    {
      "root": 4,
      "material": "default"
    },
    {
      "root": 5,
      "material": "default"
    },
    {
      "root": 6,
      "material": "default"
    },
    {
      "root": 7,
      "material": "default"
    }
  ]
}

generated 2026-06-19T01:47:56.084Z · static site, regenerate with npm run build -w @mecheval/leaderboard