vibe-openscad

bare/gemini-3-flash / tier-2-offset-handle-mug

success tier 2

bare (gemini 3 flash)

render
bare render of tier-2-offset-handle-mug
loading STL…
success 19.0s · 232/392t · $0.0010
SCAD (31 lines)
$fn = 100;

// マグカップ本体と取手の結合
union() {
    // --- 本体 (Body) ---
    difference() {
        // 外径 80mm, 高さ 90mm の円柱
        cylinder(h=90, d=80);
        
        // 内側の中空部分 (内径 70mm, 底の厚み 6mm)
        translate([0, 0, 6])
            cylinder(h=85, d=70);
    }

    // --- 取手 (Handle) ---
    // 本体外周(X=40)から+X方向に配置、高さ中央(Z=45)に合わせる
    translate([40 - 1, 0, 45]) // 確実に接続するため1mm本体にめり込ませる
    rotate([90, 0, 90])         // X軸方向に向くよう回転
    linear_extrude(height=15, center=true) // 取手自体の厚み(幅)は15mm
    difference() {
        // 取手の外形 (D字の曲線部分)
        // 底辺から25mmの位置を円の中心とし、外側を半円にする
        hull() {
            translate([0, -25]) square([1, 50]); // 本体側の直線
            translate([25, 0]) circle(d=50);     // 外側の半円
        }
        
        // 取手の内側の空間 (高さ 30mm × 幅 25mm)
        translate([0, -15]) square([25, 30]);
    }
}

meta

runIdbare_gemini-3-flash-b7e5d469b36d-2026-04-28T10-16-58-632Z
matrixIdbare/gemini-3-flash
signatureb7e5d469b36d592b…
providergoogle
modelgemini-3-flash-preview
harnessbare
statussuccess
duration18.95s (wallclock: load + prompt eval + generation + network)
tokens232 in / 392 out
wallclock tok/s20.7 tok/s (end-to-end)
cost$0.0010
createdAt2026-04-28T10:16:58.632Z
gitCommit266a4b423d4e
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 ... ``` のフェンスで囲んで出力してください。コードのみで、追加の説明は不要です。