vibe-openscad

iter-png-3/gpt-5.4 / tier-1-mug

success tier 1

bare (gpt 5.4)

render
bare render of tier-1-mug
loading STL…
success 5.1s · 1077/289t · $0.0068
SCAD (38 lines)
$fn = 128;

// Mug dimensions
outer_d = 80;
outer_r = outer_d / 2;
height = 100;
wall = 4;
bottom_thickness = 6;

// Handle dimensions
handle_tube_r = 12;          // tube radius of the ring handle
handle_outer_proj = 28;      // outward projection from mug outer surface to handle outermost edge
handle_center_z = height / 2;

// Place handle so it attaches to the mug outer wall and protrudes outward
handle_major_r = (handle_outer_proj - handle_tube_r) / 2 + handle_tube_r;
handle_center_x = outer_r + (handle_outer_proj - handle_tube_r) / 2;

module mug() {
    difference() {
        cylinder(h = height, r = outer_r);
        translate([0, 0, bottom_thickness])
            cylinder(h = height - bottom_thickness + 0.1, r = outer_r - wall);
    }
}

module handle() {
    translate([handle_center_x, 0, handle_center_z])
        rotate([0, 90, 0])
            rotate_extrude(convexity = 10)
                translate([handle_major_r, 0, 0])
                    circle(r = handle_tube_r);
}

union() {
    mug();
    handle();
}
パラメータ (6)
スライダを動かすと openscad-wasm で再レンダリング

meta

runIditer-png-3_gpt-5.4-0214727f9fdc-2026-04-27T17-07-50-879Z
matrixIditer-png-3/gpt-5.4
signature0214727f9fdc3b96…
provideropenai
modelgpt-5.4-2026-03-05
harnessbare
statussuccess
duration5.08s (wallclock: load + prompt eval + generation + network)
tokens1077 in / 289 out
wallclock tok/s56.8 tok/s (end-to-end)
cost$0.0068
createdAt2026-04-27T17:07:50.879Z
gitCommitaf54e116f6f8
openscadOpenSCAD version 2026.04.27

iteration chain

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

prompt

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

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