vibe-openscad

bare/gpt-5-codex / tier-1-mug

success tier 1

bare (gpt 5 codex)

render
bare render of tier-1-mug
loading STL…
success 100.6s · 168/11977t · $0.1200
SCAD (36 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_center_offset = outer_r + handle_major;
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();
パラメータ (6)
スライダを動かすと openscad-wasm で再レンダリング

meta

runIdbare_gpt-5-codex-795f9c444108-2026-04-27T22-18-29-227Z
matrixIdbare/gpt-5-codex
signature795f9c4441080ee4…
provideropenai
modelgpt-5-codex
harnessbare
statussuccess
duration100.60s (wallclock: load + prompt eval + generation + network)
tokens168 in / 11977 out
wallclock tok/s119.1 tok/s (end-to-end)
cost$0.1200
createdAt2026-04-27T22:18:29.227Z
gitCommit4b7e41e217e8
openscadOpenSCAD version 2026.04.27

iteration chain

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

prompt

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

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