vibe-openscad

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

success tier 1

bare (claude opus 4.8)

render
bare render of tier-1-mug
loading STL…
success 7.1s · 220/519t · $0.0141
SCAD (42 lines)
// マグカップのパラメータ
outer_diameter = 80;      // 外径
outer_radius = outer_diameter / 2;
height = 100;             // 高さ
wall_thickness = 4;      // 肉厚
bottom_thickness = 6;    // 底面の厚み
inner_radius = outer_radius - wall_thickness;
inner_height = height - bottom_thickness;

// 取手のパラメータ
handle_tube_radius = 6;      // 取手の太さ(チューブの半径)
handle_ring_radius = 12;     // 取手リングの半径
handle_z = height / 2;       // 取手の取付け高さ(中心高さ)

$fn = 100;

// カップ本体
module cup_body() {
    difference() {
        // 外形
        cylinder(h = height, r = outer_radius);
        // 内側くり抜き
        translate([0, 0, bottom_thickness])
            cylinder(h = inner_height + 1, r = inner_radius);
    }
}

// 取手(リング状)
module handle() {
    // 外周からはみ出す位置にトーラスを配置
    translate([outer_radius + handle_ring_radius - handle_tube_radius, 0, handle_z])
        rotate([90, 0, 0])
            rotate_extrude(angle = 360)
                translate([handle_ring_radius, 0, 0])
                    circle(r = handle_tube_radius);
}

// 全体の組み立て
union() {
    cup_body();
    handle();
}
パラメータ (6)
スライダを動かすと openscad-wasm で再レンダリング

meta

runIdbare_claude-opus-4-8-99941ee41dbf-2026-06-09T17-37-40-489Z
matrixIdbare/claude-opus-4-8
signature99941ee41dbfbee3…
provideranthropic
modelclaude-opus-4-8
harnessbare
statussuccess
duration7.10s (wallclock: load + prompt eval + generation + network)
tokens220 in / 519 out
wallclock tok/s73.1 tok/s (end-to-end)
cost$0.0141
createdAt2026-06-09T17:37:40.489Z
gitCommitc8a77106d384
openscadOpenSCAD version 2026.04.27

iteration chain

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

prompt

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

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