iter-png-1/gpt-5.3-codex / tier-1-mug
success tier 1
bare (gpt 5.3 codex)
render
$fn = 128;
// Dimensions
outer_d = 80;
outer_r = outer_d / 2;
height = 100;
wall_t = 4;
bottom_t = 6;
inner_d = outer_d - 2 * wall_t;
inner_r = inner_d / 2;
inner_h = height - bottom_t;
// Handle (ring)
handle_tube_r = 12; // 半径12mm(取手の太さ)
handle_ring_major_r = 18; // 指を通すためのリング半径
handle_center_offset = outer_r + 8; // 外周から十分にはみ出す位置
handle_z = height / 2; // 中心高さ付近
module mug_body() {
difference() {
cylinder(h = height, r = outer_r);
// 上面を開口し、底厚6mmを残して内側をくり抜く
translate([0, 0, bottom_t])
cylinder(h = inner_h + 0.1, r = inner_r);
}
}
module handle_ring() {
// トーラス(リング)をYZ平面に配置し、X方向へ飛び出す取手にする
translate([handle_center_offset, 0, handle_z])
rotate([90, 0, 0])
rotate_extrude(angle = 360)
translate([handle_ring_major_r, 0, 0])
circle(r = handle_tube_r);
}
union() {
mug_body();
handle_ring();
} パラメータ (6) —
スライダを動かすと openscad-wasm で再レンダリング
iteration chain
各 iteration step は独立した benchmark run です。parentRunId で前段にリンクします。
← parent
bare/gpt-5.3-codex success → children (1)
prompt
OpenSCAD で、外径 80mm、高さ 100mm、肉厚 4mm のマグカップを作ってください。 底面の厚みは 6mm とし、内側はくり抜いて飲み物を入れられる形状にしてください。 さらに、側面には外径方向に飛び出す半径 12mm の取手(リング状の取手)を付けてください。 取手はカップの中心高さあたりに付け、外周から十分にはみ出して指を通せる形にしてください。 完成したコード全体を ```openscad ... ``` のフェンスで囲んで出力してください。コードのみで、追加の説明は不要です。