vibe-openscad

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

success tier 1

bare (gpt 5.3 codex)

render
bare render of tier-1-mug
loading STL…
success 4.5s · 1170/282t · $0.0051
SCAD (39 lines)
$fn = 128;

// Cup dimensions
outer_d  = 80;
outer_r  = outer_d / 2;
height   = 100;
wall_t   = 4;
bottom_t = 6;

inner_r = outer_r - wall_t;

// Handle (ring/torus) dimensions
handle_tube_r  = 12;   // specified radius 12mm
handle_major_r = 20;   // ring radius (creates finger hole)
handle_z       = height / 2;

// Position so the handle intersects the cup wall and protrudes outward
handle_center_x = outer_r + handle_major_r; // gives robust overlap with cup

module mug_body() {
    difference() {
        cylinder(h = height, r = outer_r);
        translate([0, 0, bottom_t])
            cylinder(h = height - bottom_t + 0.2, r = inner_r);
    }
}

module handle_ring() {
    translate([handle_center_x, 0, handle_z])
        rotate([90, 0, 0])  // torus axis along Y
            rotate_extrude(convexity = 10)
                translate([handle_major_r, 0, 0])
                    circle(r = handle_tube_r);
}

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

meta

runIditer-png-3_gpt-5.3-codex-7f2ad1ba6954-2026-04-28T19-18-12-282Z
matrixIditer-png-3/gpt-5.3-codex
signature7f2ad1ba6954cfb1…
provideropenai
modelgpt-5.3-codex
harnessbare
statussuccess
duration4.54s (wallclock: load + prompt eval + generation + network)
tokens1170 in / 282 out
wallclock tok/s62.0 tok/s (end-to-end)
cost$0.0051
createdAt2026-04-28T19:18:12.282Z
gitCommit781e6c683dda
openscadOpenSCAD version 2026.04.27

iteration chain

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

prompt

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

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