iter-png-2/gpt-5.2-codex / tier-1-mug
success tier 1
bare (gpt 5.2 codex)
render
$fn = 100;
outer_d = 80;
outer_r = outer_d / 2;
height = 100;
wall = 4;
bottom = 6;
handle_R = 12; // major radius
handle_r = 4; // tube radius
overlap = 2;
handle_offset = outer_r + handle_R + handle_r - overlap;
module mug_body() {
difference() {
cylinder(h=height, r=outer_r);
translate([0,0,bottom])
cylinder(h=height-bottom+1, r=outer_r-wall);
}
}
module torus(R, r) {
rotate_extrude()
translate([R, 0, 0])
circle(r);
}
module handle() {
translate([handle_offset, 0, height/2])
rotate([90, 0, 0])
torus(handle_R, handle_r);
}
union() {
mug_body();
handle();
} パラメータ (7) —
スライダを動かすと openscad-wasm で再レンダリング
iteration chain
各 iteration step は独立した benchmark run です。parentRunId で前段にリンクします。
← parent
iter-png-1/gpt-5.2-codex success → children (1)
prompt
OpenSCAD で、外径 80mm、高さ 100mm、肉厚 4mm のマグカップを作ってください。 底面の厚みは 6mm とし、内側はくり抜いて飲み物を入れられる形状にしてください。 さらに、側面には外径方向に飛び出す半径 12mm の取手(リング状の取手)を付けてください。 取手はカップの中心高さあたりに付け、外周から十分にはみ出して指を通せる形にしてください。 完成したコード全体を ```openscad ... ``` のフェンスで囲んで出力してください。コードのみで、追加の説明は不要です。