vibe-openscad

iter-png-1/claude-haiku-4-5 / tier-1-mug

success tier 1

bare (claude haiku 4.5)

render
bare render of tier-1-mug
loading STL…
success 4.5s · 1392/503t · $0.0039
SCAD (39 lines)
// マグカップのパラメータ
outer_diameter = 80;
outer_radius = outer_diameter / 2;
height = 100;
wall_thickness = 4;
bottom_thickness = 6;
inner_radius = outer_radius - wall_thickness;

// 取手のパラメータ
handle_tube_radius = 12;      // 取手チューブの半径
handle_major_radius = 25;     // 取手の中心までの距離
handle_center_height = height / 2;

// メインのマグカップ本体
module cup_body() {
    difference() {
        // 外側の円柱
        cylinder(r = outer_radius, h = height, $fn = 100);
        
        // 内側をくり抜く(底面の厚みを考慮)
        translate([0, 0, bottom_thickness])
            cylinder(r = inner_radius, h = height - bottom_thickness + 1, $fn = 100);
    }
}

// 取手(リング状トーラス)
module handle() {
    translate([0, 0, handle_center_height])
        rotate([0, 0, 0])
            rotate_extrude(angle = 180, $fn = 100)
                translate([handle_major_radius, 0, 0])
                    circle(r = handle_tube_radius, $fn = 100);
}

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

meta

runIditer-png-1_claude-haiku-4-5-d9be3d0afce8-2026-04-27T01-06-53-947Z
matrixIditer-png-1/claude-haiku-4-5
signatured9be3d0afce8fe1b…
provideranthropic
modelclaude-haiku-4-5-20251001
harnessbare
statussuccess
duration4.50s (wallclock: load + prompt eval + generation + network)
tokens1392 in / 503 out
wallclock tok/s111.9 tok/s (end-to-end)
cost$0.0039
createdAt2026-04-27T01:06:53.947Z
gitCommit59dbb86a6d01
openscadOpenSCAD version 2026.04.27

iteration chain

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

prompt

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

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