vibe-openscad

iter-png-3/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.9s · 1447/567t · $0.0214
SCAD (40 lines)
// マグカップ
$fn = 100;

outer_d = 80;      // 外径
height = 100;      // 高さ
wall = 4;          // 肉厚
bottom = 6;        // 底厚
handle_r = 18;     // 取手リングの中心半径(指が通るサイズに拡大)
handle_thick = 7;  // 取手の太さ

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() {
    // リングをカップ側面にしっかり接続するため、
    // リング内端をカップ外周に少しめり込ませる
    overlap = 3;
    translate([outer_d/2 + handle_r - overlap, 0, height/2])
        rotate([90, 0, 0])
            rotate_extrude($fn = 80)
                translate([handle_r, 0, 0])
                    circle(d = handle_thick);
}

union() {
    mug();
    // 取手のうちカップ内部に入り込む部分はカット
    difference() {
        handle();
        translate([0, 0, -1])
            cylinder(h = height + 2, d = outer_d - 0.01);
    }
}
パラメータ (6)
スライダを動かすと openscad-wasm で再レンダリング

meta

runIditer-png-3_claude-opus-4-7-033c0a0d3dfe-2026-04-27T01-06-46-613Z
matrixIditer-png-3/claude-opus-4-7
signature033c0a0d3dfe007f…
provideranthropic
modelclaude-opus-4-7
harnessbare
statussuccess
duration6.88s (wallclock: load + prompt eval + generation + network)
tokens1447 in / 567 out
wallclock tok/s82.5 tok/s (end-to-end)
cost$0.0214
createdAt2026-04-27T01:06:46.613Z
gitCommit59dbb86a6d01
openscadOpenSCAD version 2026.04.27

iteration chain

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

prompt

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

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