vibe-openscad

iter-png-3/claude-opus-4-5 / tier-1-mug

success tier 1

bare (claude opus 4.5)

render
bare render of tier-1-mug
loading STL…
success 6.5s · 1407/530t · $0.0203
SCAD (43 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_ring_radius = 12;  // 取手リングの半径
handle_tube_radius = 5;   // 取手の太さ(断面半径)
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 = inner_height + 1, $fn = 100);
    }
}

module handle() {
    // 取手の位置(カップの外周から外側に飛び出すように配置)
    handle_offset = outer_radius + handle_ring_radius;
    
    // 縦向きのリング状取手(YZ平面に平行、指を縦に通せる向き)
    translate([handle_offset, 0, handle_center_height])
        rotate([0, 90, 0])
            rotate_extrude(angle = 360, $fn = 60)
                translate([handle_ring_radius, 0, 0])
                    circle(r = handle_tube_radius, $fn = 30);
}

// マグカップ本体
cup_body();

// 取手
handle();
パラメータ (6)
スライダを動かすと openscad-wasm で再レンダリング

meta

runIditer-png-3_claude-opus-4-5-f56121588a44-2026-04-27T01-07-40-452Z
matrixIditer-png-3/claude-opus-4-5
signaturef56121588a4490de…
provideranthropic
modelclaude-opus-4-5-20251101
harnessbare
statussuccess
duration6.48s (wallclock: load + prompt eval + generation + network)
tokens1407 in / 530 out
wallclock tok/s81.8 tok/s (end-to-end)
cost$0.0203
createdAt2026-04-27T01:07:40.452Z
gitCommit337633d94178
openscadOpenSCAD version 2026.04.27

iteration chain

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

prompt

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

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