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