vibe-openscad

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

success tier 2

bare (claude opus 4.1)

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

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

// 取手(+X方向)
translate([40, 0, 45]) {
    difference() {
        union() {
            // 取手の外側形状
            rotate([90, 0, 0])
                cylinder(h = 8, r = 30, center = true);
            // 本体との接続部分
            translate([-15, 0, 0])
                cube([15, 8, 40], center = true);
        }
        // 取手の内側をくり抜く
        rotate([90, 0, 0])
            cylinder(h = 10, r = 22, center = true);
        // 本体側を切り取る
        translate([-50, 0, 0])
            cube([50, 20, 80], center = true);
    }
}

meta

runIdbare_claude-opus-4-1-08a05b2dd9d0-2026-04-28T10-11-01-515Z
matrixIdbare/claude-opus-4-1
signature08a05b2dd9d0f16f…
provideranthropic
modelclaude-opus-4-1-20250805
harnessbare
statussuccess
duration7.68s (wallclock: load + prompt eval + generation + network)
tokens330 in / 309 out
wallclock tok/s40.3 tok/s (end-to-end)
cost$0.0281
createdAt2026-04-28T10:11:01.515Z
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 ... ``` のフェンスで囲んで出力してください。コードのみで、追加の説明は不要です。