iter-png-3/claude-opus-4-7 / tier-1-mug
success tier 1
bare (claude opus 4.7)
render
// マグカップ
$fn = 100;
outer_d = 80; // 外径
height = 100; // 高さ
wall = 4; // 肉厚
bottom = 6; // 底厚
handle_r = 18; // 取手リングの中心半径(指が通るサイズに拡大)
handle_thick = 7; // 取手の太さ
module mug() {
difference() {
// 外側
cylinder(h = height, d = outer_d);
// 内側くり抜き
translate([0, 0, bottom])
cylinder(h = height - bottom + 1, d = outer_d - 2 * wall);
}
}
module handle() {
// リングをカップ側面にしっかり接続するため、
// リング内端をカップ外周に少しめり込ませる
overlap = 3;
translate([outer_d/2 + handle_r - overlap, 0, height/2])
rotate([90, 0, 0])
rotate_extrude($fn = 80)
translate([handle_r, 0, 0])
circle(d = handle_thick);
}
union() {
mug();
// 取手のうちカップ内部に入り込む部分はカット
difference() {
handle();
translate([0, 0, -1])
cylinder(h = height + 2, d = outer_d - 0.01);
}
} パラメータ (6) —
スライダを動かすと openscad-wasm で再レンダリング
iteration chain
各 iteration step は独立した benchmark run です。parentRunId で前段にリンクします。
← parent
iter-png-2/claude-opus-4-7 success prompt
OpenSCAD で、外径 80mm、高さ 100mm、肉厚 4mm のマグカップを作ってください。 底面の厚みは 6mm とし、内側はくり抜いて飲み物を入れられる形状にしてください。 さらに、側面には外径方向に飛び出す半径 12mm の取手(リング状の取手)を付けてください。 取手はカップの中心高さあたりに付け、外周から十分にはみ出して指を通せる形にしてください。 完成したコード全体を ```openscad ... ``` のフェンスで囲んで出力してください。コードのみで、追加の説明は不要です。