vibe-openscad

bare/claude-opus-4-7 / tier-1-mug

success tier 1

bare (claude opus 4.7)

render
bare render of tier-1-mug
loading STL…
success 6.8s · 225/407t · $0.0113
SCAD (37 lines)
// マグカップ
$fn = 100;

outer_d = 80;      // 外径
height = 100;      // 高さ
wall = 4;          // 肉厚
bottom = 6;        // 底厚
handle_r = 12;     // 取手のリング半径(穴の半径)
handle_thick = 6;  // 取手の太さ

module mug() {
    difference() {
        // 外側
        cylinder(h = height, d = outer_d);
        // 内側くり抜き
        translate([0, 0, bottom])
            cylinder(h = height - bottom + 1, d = outer_d - 2 * wall);
    }
}

module handle() {
    // カップの中心高さに配置
    translate([outer_d / 2, 0, height / 2])
        rotate([90, 0, 0])
            rotate_extrude($fn = 80)
                translate([handle_r, 0, 0])
                    circle(d = handle_thick);
}

union() {
    mug();
    // 取手の一部がカップ内部に被らないよう、外側部分のみ残す
    difference() {
        handle();
        cylinder(h = height + 1, d = outer_d - 0.01);
    }
}
パラメータ (6)
スライダを動かすと openscad-wasm で再レンダリング

meta

runIdbare_claude-opus-4-7-d4a40609a278-2026-04-26T18-09-24-045Z
matrixIdbare/claude-opus-4-7
signatured4a40609a278a25c…
provideranthropic
modelclaude-opus-4-7
harnessbare
statussuccess
duration6.85s (wallclock: load + prompt eval + generation + network)
tokens225 in / 407 out
wallclock tok/s59.5 tok/s (end-to-end)
cost$0.0113 (recomputed)
createdAt2026-04-26T18:09:24.045Z
openscadOpenSCAD version 2026.04.27

iteration chain

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

prompt

OpenSCAD で、外径 80mm、高さ 100mm、肉厚 4mm のマグカップを作ってください。
底面の厚みは 6mm とし、内側はくり抜いて飲み物を入れられる形状にしてください。
さらに、側面には外径方向に飛び出す半径 12mm の取手(リング状の取手)を付けてください。
取手はカップの中心高さあたりに付け、外周から十分にはみ出して指を通せる形にしてください。

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