vibe-openscad

bare/claude-opus-4-0 / tier-2-offset-handle-mug

success tier 2

bare (claude opus 4)

render
bare render of tier-2-offset-handle-mug
loading STL…
success 8.5s · 330/309t · $0.0281
SCAD (31 lines)
$fn = 100;

// マグカップ本体
difference() {
    // 外側の円筒
    cylinder(h = 90, r = 40, center = false);
    // 内側をくり抜く
    translate([0, 0, 6])
        cylinder(h = 90, r = 35, center = false);
}

// 取手
translate([40, 0, 45]) {
    difference() {
        // 取手の外形
        union() {
            // 半円部分
            rotate([90, 0, 0])
                cylinder(h = 8, r = 20, center = true);
            // 接続部分
            translate([-20, 0, 0])
                cube([20, 8, 40], center = true);
        }
        // 取手の穴
        rotate([90, 0, 0])
            cylinder(h = 10, r = 12.5, center = true);
        // マグ本体との重なり部分を削除
        translate([-45, 0, 0])
            cylinder(h = 100, r = 40, center = true);
    }
}

meta

runIdbare_claude-opus-4-0-ffcf1bfb9f11-2026-04-28T10-11-23-036Z
matrixIdbare/claude-opus-4-0
signatureffcf1bfb9f110f90…
provideranthropic
modelclaude-opus-4-20250514
harnessbare
statussuccess
duration8.46s (wallclock: load + prompt eval + generation + network)
tokens330 in / 309 out
wallclock tok/s36.5 tok/s (end-to-end)
cost$0.0281
createdAt2026-04-28T10:11:23.036Z
gitCommit266a4b423d4e
openscadOpenSCAD version 2026.04.27

iteration chain

各 iteration step は独立した benchmark run です。parentRunId で前段にリンクします。

prompt

OpenSCAD で、向きが指定されたマグカップを作ってください。

本体:
- 外径 80mm、内径 70mm(肉厚 5mm)、高さ 90mm の円筒形マグ
- 底面の厚みは 6mm
- 内側は飲み物を入れられるよう中空

取手(handle):
- マグの **+X 軸方向の側面のみ** に付ける(他の方向には付けない)
- 取手は D 字形状(外側が半円、本体側が直線)で、本体外周にしっかり接続する
- 取手の内側の空間は高さ 30mm × 幅 25mm(指 3 本ぐらい入る)
- 取手はマグの高さ方向の中央付近に付ける
- 本体と取手は確実に union され、マニフォールド(隙間や宙吊りなし)を保つ

完成したコード全体を ```openscad ... ``` のフェンスで囲んで出力してください。コードのみで、追加の説明は不要です。