vibe-openscad

bare/gemini-3.1-flash-lite / tier-1-mug

success tier 1

bare (gemini 3.1 flash-lite)

render
bare render of tier-1-mug
loading STL…
success 2.0s · 142/257t · $0.0004
SCAD (30 lines)
$fn = 100;

// マグカップ本体
difference() {
    // 外形
    cylinder(h = 100, d = 80);
    
    // 内側のくり抜き
    translate([0, 0, 6])
    cylinder(h = 100, d = 80 - 4 * 2);
}

// 取手
translate([40 - 2, 50, 0]) {
    rotate([90, 0, 0]) {
        difference() {
            // 取手の外側
            torus(major_radius = 20, minor_radius = 6);
            // 取手の内側(指を通す穴)
            torus(major_radius = 20, minor_radius = 6 - 4);
        }
    }
}

// トーラス作成用モジュール
module torus(major_radius, minor_radius) {
    rotate_extrude()
    translate([major_radius, 0, 0])
    circle(r = minor_radius);
}

meta

runIdbare_gemini-3.1-flash-lite-22a1ac42afc5-2026-09-05T10-42-49-274Z
matrixIdbare/gemini-3.1-flash-lite
signature22a1ac42afc50d28…
providergoogle
modelgemini-3.1-flash-lite
harnessbare
statussuccess
duration2.01s (wallclock: load + prompt eval + generation + network)
tokens142 in / 257 out
wallclock tok/s127.9 tok/s (end-to-end)
cost$0.0004
createdAt2026-09-05T10:42:49.274Z
gitCommit6126da97a014
openscadOpenSCAD version 2026.04.27

iteration chain

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

prompt

OpenSCAD で、外径 80mm、高さ 100mm、肉厚 4mm のマグカップを作ってください。
底面の厚みは 6mm とし、内側はくり抜いて飲み物を入れられる形状にしてください。
さらに、側面には外径方向に飛び出す半径 12mm の取手(リング状の取手)を付けてください。
取手はカップの中心高さあたりに付け、外周から十分にはみ出して指を通せる形にしてください。

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