vibe-openscad

iter-png-1/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.2s · 1395/352t · $0.0473
SCAD (34 lines)
$fn = 100;

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

// 取手(+X方向)
translate([35, 0, 45]) {
    difference() {
        // 取手の外側形状(D字型)
        hull() {
            // 本体側の接続部
            translate([0, -4, -15])
                cube([10, 8, 30]);
            // 外側の半円部分
            translate([32.5, 0, 0])
                rotate([90, 0, 0])
                    cylinder(h = 8, r = 15, center = true);
        }
        // 取手の内側をくり抜く(高さ30mm × 幅25mm)
        hull() {
            translate([5, -5, -15])
                cube([1, 10, 30]);
            translate([30, 0, 0])
                rotate([90, 0, 0])
                    cylinder(h = 10, r = 15, center = true);
        }
    }
}

meta

runIditer-png-1_claude-opus-4-1-290ef4fc63a7-2026-04-28T18-58-04-391Z
matrixIditer-png-1/claude-opus-4-1
signature290ef4fc63a74d41…
provideranthropic
modelclaude-opus-4-1-20250805
harnessbare
statussuccess
duration9.25s (wallclock: load + prompt eval + generation + network)
tokens1395 in / 352 out
wallclock tok/s38.1 tok/s (end-to-end)
cost$0.0473
createdAt2026-04-28T18:58:04.391Z
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 ... ``` のフェンスで囲んで出力してください。コードのみで、追加の説明は不要です。