vibe-openscad

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

success tier 1

bare (gpt 5 codex)

render
bare render of tier-1-mug
loading STL…
success 80.6s · 1149/8226t · $0.0837
SCAD (38 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 = 1;

handle_offset_x = outer_r - handle_overlap - (handle_major - handle_minor);
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_offset_x, 0, handle_center_height])
                rotate([90, 0, 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-3_gpt-5-codex-d56a91e2e212-2026-04-28T19-16-34-700Z
matrixIditer-png-3/gpt-5-codex
signatured56a91e2e2124897…
provideropenai
modelgpt-5-codex
harnessbare
statussuccess
duration80.57s (wallclock: load + prompt eval + generation + network)
tokens1149 in / 8226 out
wallclock tok/s102.1 tok/s (end-to-end)
cost$0.0837
createdAt2026-04-28T19:16:34.700Z
gitCommit781e6c683dda
openscadOpenSCAD version 2026.04.27

iteration chain

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

prompt

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

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