vibe-openscad

iter-png-3/claude-opus-4-1 / tier-2-offset-handle-mug

success tier 2

bare (claude opus 4.1)

render
bare render of tier-2-offset-handle-mug
loading STL…
success 9.6s · 1543/381t · $0.0517
SCAD (36 lines)
$fn = 100;

// マグカップ本体
union() {
    difference() {
        // 外側の円筒
        cylinder(h = 90, r = 40, center = false);
        // 内側をくり抜く
        translate([0, 0, 6])
            cylinder(h = 90, r = 35, center = false);
    }

    // 取手(+X方向)
    translate([37, 0, 45]) {
        difference() {
            // 取手の外側形状(D字型)
            hull() {
                // 本体側の接続部分(太めにして確実に接続)
                translate([0, -6, -17.5])
                    cube([6, 12, 35]);
                // 外側の半円部分
                translate([20, 0, 0])
                    rotate([90, 0, 0])
                        cylinder(h = 12, r = 17.5, center = true);
            }
            // 取手の内側をくり抜く(高さ30mm × 幅25mm)
            hull() {
                translate([3, -7, -15])
                    cube([1, 14, 30]);
                translate([20, 0, 0])
                    rotate([90, 0, 0])
                        cylinder(h = 14, r = 15, center = true);
            }
        }
    }
}

meta

runIditer-png-3_claude-opus-4-1-343bfe12ad75-2026-04-28T18-58-23-819Z
matrixIditer-png-3/claude-opus-4-1
signature343bfe12ad757264…
provideranthropic
modelclaude-opus-4-1-20250805
harnessbare
statussuccess
duration9.64s (wallclock: load + prompt eval + generation + network)
tokens1543 in / 381 out
wallclock tok/s39.5 tok/s (end-to-end)
cost$0.0517
createdAt2026-04-28T18:58:23.819Z
gitCommit781e6c683dda
openscadOpenSCAD version 2026.04.27

iteration chain

各 iteration step は独立した benchmark run です。parentRunId で前段にリンクします。

prompt

OpenSCAD で、向きが指定されたマグカップを作ってください。

本体:
- 外径 80mm、内径 70mm(肉厚 5mm)、高さ 90mm の円筒形マグ
- 底面の厚みは 6mm
- 内側は飲み物を入れられるよう中空

取手(handle):
- マグの **+X 軸方向の側面のみ** に付ける(他の方向には付けない)
- 取手は D 字形状(外側が半円、本体側が直線)で、本体外周にしっかり接続する
- 取手の内側の空間は高さ 30mm × 幅 25mm(指 3 本ぐらい入る)
- 取手はマグの高さ方向の中央付近に付ける
- 本体と取手は確実に union され、マニフォールド(隙間や宙吊りなし)を保つ

完成したコード全体を ```openscad ... ``` のフェンスで囲んで出力してください。コードのみで、追加の説明は不要です。