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