iter-png-3/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_tube_r = 12; // tube radius of the ring handle
handle_outer_proj = 28; // outward projection from mug outer surface to handle outermost edge
handle_center_z = height / 2;
// Place handle so it attaches to the mug outer wall and protrudes outward
handle_major_r = (handle_outer_proj - handle_tube_r) / 2 + handle_tube_r;
handle_center_x = outer_r + (handle_outer_proj - handle_tube_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_tube_r);
}
union() {
mug();
handle();
} パラメータ (6) —
スライダを動かすと openscad-wasm で再レンダリング
iteration chain
各 iteration step は独立した benchmark run です。parentRunId で前段にリンクします。
← parent
iter-png-2/gpt-5.4 success prompt
OpenSCAD で、外径 80mm、高さ 100mm、肉厚 4mm のマグカップを作ってください。 底面の厚みは 6mm とし、内側はくり抜いて飲み物を入れられる形状にしてください。 さらに、側面には外径方向に飛び出す半径 12mm の取手(リング状の取手)を付けてください。 取手はカップの中心高さあたりに付け、外周から十分にはみ出して指を通せる形にしてください。 完成したコード全体を ```openscad ... ``` のフェンスで囲んで出力してください。コードのみで、追加の説明は不要です。