vibe-openscad

iter-png-1/gemini-3.5-flash / tier-2-offset-handle-mug

success tier 2

bare (gemini 3.5 flash)

render
bare render of tier-2-offset-handle-mug
loading STL…
success 38.4s · 1599/281t · $0.0049
SCAD (24 lines)
$fn = 100;

difference() {
    union() {
        // 本体外径 (Mug Outer Body)
        cylinder(h=90, r=40);

        // 取手 (Handle) - +X軸方向
        rotate([90, 0, 0])
        linear_extrude(height=15, center=true)
        difference() {
            // 取手の外形 (D字形状: 外側が半円、本体側が直線)
            hull() {
                translate([30, 20]) square([24, 50]);
                translate([54, 45]) circle(r=25);
            }
            // 取手の内側空間 (高さ30mm × 幅25mm、角を丸めて持ちやすく)
            translate([50, 34]) offset(r=4) square([17, 22]);
        }
    }
    // 内側の中空化 (Mug Inner Cavity)
    translate([0, 0, 6])
        cylinder(h=91, r=35); // 上部のZファイティングを防ぐため高さをわずかに高く設定
}

meta

runIditer-png-1_gemini-3.5-flash-27e120f0471a-2026-05-20T00-16-09-599Z
matrixIditer-png-1/gemini-3.5-flash
signature27e120f0471ad32f…
providergoogle
modelgemini-3.5-flash
harnessbare
statussuccess
duration38.38s (wallclock: load + prompt eval + generation + network)
tokens1599 in / 281 out
wallclock tok/s7.3 tok/s (end-to-end)
cost$0.0049
createdAt2026-05-20T00:16:09.599Z
gitCommitc16a216592f0
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 ... ``` のフェンスで囲んで出力してください。コードのみで、追加の説明は不要です。