vibe-openscad

iter-png-1/gpt-5-codex / tier-1-mug

success tier 1

bare (gpt 5 codex)

render
bare render of tier-1-mug
loading STL…
success 106.4s · 1135/10281t · $0.1042
SCAD (37 lines)
outer_d = 80;
height = 100;
wall_thickness = 4;
bottom_thickness = 6;

outer_r = outer_d / 2;
inner_r = outer_r - wall_thickness;
inner_h = height - bottom_thickness;

handle_major = 12;
handle_minor = 4;
handle_overlap = 0.5;
handle_center_offset = outer_r + handle_minor - handle_overlap;
handle_center_height = height / 2;

$fn = 96;

module torus(R, r) {
    rotate_extrude(convexity = 10, $fn = 128)
        translate([R, 0, 0])
            circle(r = r, $fn = 64);
}

module mug() {
    difference() {
        union() {
            cylinder(r = outer_r, h = height);
            translate([handle_center_offset, 0, handle_center_height])
                rotate([0, 90, 0])
                    torus(handle_major, handle_minor);
        }
        translate([0, 0, bottom_thickness])
            cylinder(r = inner_r, h = inner_h + 0.2);
    }
}

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

meta

runIditer-png-1_gpt-5-codex-41ff8ee30890-2026-04-28T19-06-34-583Z
matrixIditer-png-1/gpt-5-codex
signature41ff8ee30890aae2…
provideropenai
modelgpt-5-codex
harnessbare
statussuccess
duration106.38s (wallclock: load + prompt eval + generation + network)
tokens1135 in / 10281 out
wallclock tok/s96.6 tok/s (end-to-end)
cost$0.1042
createdAt2026-04-28T19:06:34.583Z
gitCommit781e6c683dda
openscadOpenSCAD version 2026.04.27

iteration chain

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

prompt

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

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