← mecheval / run / a5-double-d-shaft-01 / claude-mcp-claude-opus-4-7 / 20260611T224034Z-4c71

run 20260611T224034Z-4c71

a5-double-d-shaft-01 · claude-mcp-claude-opus-4-7

Summary

statusPASS
score1.00 (4/4)
submissionself-run
modelclaude-mcp-claude-opus-4-7 (anthropic)
started2026-06-11T22:40:34.348Z
ended2026-06-11T22:42:50.237Z
tokens590,918 in · 5,557 out · 596,475 total
wallclock135.9s
tool calls38
task hashfe39d8a3436856ee…
vcad hash9774dd66c263f8b5…

Prompt

Make a double-D profile shaft as a single solid. Start with a cylinder of diameter 40mm (radius 20mm) and height 60mm, with its base on the XY plane (z = 0 to z = 60), centered on the Z axis. Mill a flat on each side by subtracting a rectangular block from the left and from the right. The left flat is at x = -14: subtract all material at x < -14 (i.e. remove the cylindrical segment from x = -20 to x = -14, running the full height z = 0 to z = 60 and the full cylinder width in Y). The right flat is at x = +14: subtract all material at x > 14. The result is a shaft with flat-to-flat width 28mm and circular arc sections of radius 20mm on the front and back (+Y and -Y sides). Output a single solid.

Checks

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

details: {
  "root_count": 1,
  "solids_produced": 1
}
1
bbox
pass
params + details
params: {
  "type": "bbox",
  "min": [
    -14,
    -20,
    0
  ],
  "max": [
    14,
    20,
    60
  ],
  "tolerance_mm": 0.15
}

details: {
  "actual_max": [
    14,
    20,
    60
  ],
  "actual_min": [
    -14,
    -20,
    0
  ],
  "deviation_max": [
    0,
    0,
    0
  ],
  "deviation_min": [
    0,
    0,
    0
  ],
  "max_abs_deviation_mm": 0,
  "tolerance_mm": 0.15
}
2
mass_props
pass
params + details
params: {
  "type": "mass_props",
  "volume_mm3": 61214.28,
  "center_of_mass": [
    0,
    0,
    30
  ],
  "tolerance_pct": 1
}

details: {
  "center_of_mass": {
    "actual": [
      -0.0000065135025552319045,
      1.824299310292602e-15,
      29.999701349950563
    ],
    "bbox_diagonal_mm": 77.35631842325486,
    "deviation": [
      -0.0000065135025552319045,
      1.824299310292602e-15,
      -0.000298650049437299
    ],
    "max_abs_deviation_mm": 0.000298650049437299,
    "pass": true,
    "spec": [
      0,
      0,
      30
    ],
    "tolerance_mm": 0.7735631842325487
  },
  "volume": {
    "actual_mm3": 61154.813131834795,
    "deviation_pct": 0.09714541797306736,
    "pass": true,
    "spec_mm3": 61214.28,
    "tolerance_pct": 1
  }
}
3
step_roundtrip
pass
params + details
params: {
  "type": "step_roundtrip",
  "tolerance_pct": 1
}

details: {
  "per_solid": [
    {
      "bbox": {
        "max_abs_deviation_mm": 0,
        "original_max": [
          14,
          20,
          60
        ],
        "original_min": [
          -14,
          -20,
          0
        ],
        "pass": true,
        "roundtripped_max": [
          14,
          20,
          60
        ],
        "roundtripped_min": [
          -14,
          -20,
          0
        ],
        "tolerance_mm": 0.7735631842325487
      },
      "index": 0,
      "pass": true,
      "volume": {
        "deviation_pct": 0.1901345581683919,
        "original_mm3": 61154.813131834795,
        "pass": true,
        "roundtripped_mm3": 61038.536698087875
      }
    }
  ],
  "tolerance_pct": 1
}

Tool calls

0
open_document
ok
2ms
args
{}
1
create
err
7ms
args
{
  "document_id": "doc_1781217634520_1",
  "type": "difference",
  "name": "Double-D Shaft",
  "params": {
    "subject": {
      "type": "translate",
      "params": {
        "x": 0,
        "y": 0,
        "z": 0,
        "subject": {
          "type": "cylinder",
          "params": {
            "radius": 20,
            "height": 60
          }
        }
      }
    },
    "tool": {
      "type": "union",
      "params": {
        "subject": {
          "type": "translate",
          "params": {
            "x": -40,
            "y": -25,
            "z": -1,
            "subject": {
              "type": "cube",
              "params": {
                "x": 26,
                "y": 50,
                "z": 62
              }
            }
          }
        },
        "other": {
          "type": "translate",
          "params": {
            "x": 14,
            "y": -25,
            "z": -1,
            "subject": {
              "type": "cube",
              "params": {
                "x": 26,
                "y": 50,
                "z": 62
              }
            }
          }
        }
      }
    }
  }
}
2
create_cad_loon
ok
13ms
args
{
  "source": "[let shaft [cylinder 20 60]\n [let left-cut [translate -40 -25 -1 [cube 26 50 62]]\n  [let right-cut [translate 14 -25 -1 [cube 26 50 62]]\n   [difference left-cut [difference right-cut shaft]]]]]",
  "format": "json"
}
3
read
ok
4ms
args
{
  "document_id": "doc_1781217644089_2"
}
4
create
err
4ms
args
{
  "document_id": "doc_1781217634520_1",
  "type": "cylinder",
  "name": "Shaft Blank",
  "params": {
    "radius": 20,
    "height": 60
  }
}
5
create
ok
4ms
args
{
  "document_id": "doc_1781217634520_1",
  "type": "cylinder",
  "name": "Shaft Blank",
  "params": {
    "radius": 20,
    "height": 60,
    "segments": 64
  }
}
6
read
ok
4ms
args
{
  "document_id": "doc_1781217634520_1",
  "part_id": "1"
}
7
delete
ok
6ms
args
{
  "document_id": "doc_1781217634520_1",
  "part_id": "1"
}
8
create_cad_loon
ok
4ms
args
{
  "source": "[let blank [cylinder 20 60]\n [let left-cut [translate -40 -25 -1 [cube 26 50 62]]\n  [let right-cut [translate 14 -25 -1 [cube 26 50 62]]\n   [difference right-cut [difference left-cut blank]]]]]",
  "format": "json"
}
9
create_cad_loon
ok
4ms
args
{
  "source": "[pipe [cylinder 20 60]\n [difference [translate -40 -25 -1 [cube 26 50 62]]]\n [difference [translate 14 -25 -1 [cube 26 50 62]]]]",
  "format": "json"
}
10
create
ok
6ms
args
{
  "document_id": "doc_1781217634520_1",
  "type": "cylinder",
  "name": "Blank",
  "params": {
    "radius": 20,
    "height": 60,
    "segments": 64
  }
}
11
create
ok
7ms
args
{
  "document_id": "doc_1781217634520_1",
  "type": "cube",
  "name": "Left Cut Cube",
  "parent_part_id": "1",
  "params": {
    "size": {
      "x": 26,
      "y": 50,
      "z": 62
    }
  }
}
12
read
ok
3ms
args
{
  "document_id": "doc_1781217634520_1"
}
13
delete
ok
3ms
args
{
  "document_id": "doc_1781217634520_1",
  "part_id": "1"
}
14
delete
ok
1ms
args
{
  "document_id": "doc_1781217634520_1",
  "part_id": "2"
}
15
create
ok
2ms
args
{
  "document_id": "doc_1781217634520_1",
  "type": "cylinder",
  "name": "Shaft Blank",
  "params": {
    "radius": 20,
    "height": 60,
    "segments": 64
  }
}
16
create
err
3ms
args
{
  "document_id": "doc_1781217634520_1",
  "type": "difference",
  "name": "Mill Left Flat",
  "parent_part_id": "1",
  "params": {
    "left": 1,
    "right": {
      "type": "translate",
      "params": {
        "offset": {
          "x": -40,
          "y": -25,
          "z": -1
        },
        "child": {
          "type": "cube",
          "params": {
            "size": {
              "x": 26,
              "y": 50,
              "z": 62
            }
          }
        }
      }
    }
  }
}
17
create
ok
4ms
args
{
  "document_id": "doc_1781217634520_1",
  "type": "cube",
  "name": "Left Cutter",
  "params": {
    "size": {
      "x": 26,
      "y": 50,
      "z": 62
    }
  }
}
18
create
ok
3ms
args
{
  "document_id": "doc_1781217634520_1",
  "type": "translate",
  "name": "Left Cutter Pos",
  "parent_part_id": "2",
  "params": {
    "offset": {
      "x": -40,
      "y": -25,
      "z": -1
    },
    "child": 2
  }
}
19
read
ok
2ms
args
{
  "document_id": "doc_1781217634520_1"
}
20
read
ok
3ms
args
{
  "document_id": "doc_1781217634520_1",
  "part_id": "3"
}
21
create
ok
3ms
args
{
  "document_id": "doc_1781217634520_1",
  "type": "difference",
  "name": "Left Flat",
  "parent_part_id": "1",
  "params": {
    "left": 1,
    "right": 3
  }
}
22
read
ok
3ms
args
{
  "document_id": "doc_1781217634520_1"
}
23
read
ok
3ms
args
{
  "document_id": "doc_1781217634520_1",
  "part_id": "4"
}
24
create
ok
4ms
args
{
  "document_id": "doc_1781217634520_1",
  "type": "cube",
  "name": "Right Cutter",
  "params": {
    "size": {
      "x": 26,
      "y": 50,
      "z": 62
    }
  }
}
25
create
ok
3ms
args
{
  "document_id": "doc_1781217634520_1",
  "type": "translate",
  "name": "Right Cutter Pos",
  "parent_part_id": "5",
  "params": {
    "offset": {
      "x": 14,
      "y": -25,
      "z": -1
    },
    "child": 5
  }
}
26
create
ok
2ms
args
{
  "document_id": "doc_1781217634520_1",
  "type": "difference",
  "name": "Double-D Shaft",
  "parent_part_id": "4",
  "params": {
    "left": 4,
    "right": 6
  }
}
27
read
ok
2ms
args
{
  "document_id": "doc_1781217634520_1"
}
28
get_document
ok
2ms
args
{
  "document_id": "doc_1781217634520_1"
}
29
delete
ok
3ms
args
{
  "document_id": "doc_1781217634520_1",
  "part_id": "1"
}
30
delete
ok
1ms
args
{
  "document_id": "doc_1781217634520_1",
  "part_id": "2"
}
31
delete
ok
1ms
args
{
  "document_id": "doc_1781217634520_1",
  "part_id": "3"
}
32
delete
ok
1ms
args
{
  "document_id": "doc_1781217634520_1",
  "part_id": "4"
}
33
delete
ok
1ms
args
{
  "document_id": "doc_1781217634520_1",
  "part_id": "5"
}
34
delete
ok
1ms
args
{
  "document_id": "doc_1781217634520_1",
  "part_id": "6"
}
35
get_document
ok
0ms
args
{
  "document_id": "doc_1781217634520_1"
}
36
render_view
ok
110ms
args
{
  "document_id": "doc_1781217634520_1"
}
37
get_document
ok
0ms
args
{
  "document_id": "doc_1781217634520_1"
}

What the model built

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

.vcad source

{
  "version": "0.1",
  "nodes": {
    "1": {
      "id": 1,
      "name": "Shaft Blank",
      "op": {
        "type": "Cylinder",
        "radius": 20,
        "height": 60,
        "segments": 64
      }
    },
    "2": {
      "id": 2,
      "name": "Left Cutter",
      "op": {
        "type": "Cube",
        "size": {
          "x": 26,
          "y": 50,
          "z": 62
        }
      }
    },
    "3": {
      "id": 3,
      "name": "Left Cutter Pos",
      "op": {
        "type": "Translate",
        "child": 2,
        "offset": {
          "x": -40,
          "y": -25,
          "z": -1
        }
      }
    },
    "4": {
      "id": 4,
      "name": "Left Flat",
      "op": {
        "type": "Difference",
        "left": 1,
        "right": 3
      }
    },
    "5": {
      "id": 5,
      "name": "Right Cutter",
      "op": {
        "type": "Cube",
        "size": {
          "x": 26,
          "y": 50,
          "z": 62
        }
      }
    },
    "6": {
      "id": 6,
      "name": "Right Cutter Pos",
      "op": {
        "type": "Translate",
        "child": 5,
        "offset": {
          "x": 14,
          "y": -25,
          "z": -1
        }
      }
    },
    "7": {
      "id": 7,
      "name": "Double-D Shaft",
      "op": {
        "type": "Difference",
        "left": 4,
        "right": 6
      }
    }
  },
  "materials": {},
  "part_materials": {},
  "roots": [
    {
      "root": 7,
      "material": "default"
    }
  ]
}

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