vibe-openscad

bare/gemini-3.5-flash / tier-1-mug

success tier 1

bare (gemini 3.5 flash)

render
bare render of tier-1-mug
loading STL…
success 14.7s · 142/314t · $0.0030
SCAD (29 lines)
$fn = 100;

// マグカップの寸法
cup_height = 100;
cup_outer_radius = 40; // 外径 80mm のため、半径は 40mm
cup_wall_thickness = 4;
cup_bottom_thickness = 6;

// 取手(リング状)の寸法
handle_radius = 12;     // 取手のリング半径
handle_thickness = 4;  // 取手の肉厚半径

difference() {
    union() {
        // マグカップ本体(外側)
        cylinder(h=cup_height, r=cup_outer_radius);
        
        // 取手(中心の高さに配置し、一部をカップの壁に埋め込んで固定)
        translate([cup_outer_radius + handle_radius - handle_thickness, 0, cup_height / 2])
        rotate([90, 0, 0])
        rotate_extrude()
        translate([handle_radius, 0, 0])
        circle(r=handle_thickness);
    }
    
    // 内側のくり抜き(飲み物が入る部分)
    translate([0, 0, cup_bottom_thickness])
        cylinder(h=cup_height, r=cup_outer_radius - cup_wall_thickness);
}
パラメータ (6)
スライダを動かすと openscad-wasm で再レンダリング

meta

runIdbare_gemini-3.5-flash-30d83a27a70a-2026-05-20T00-14-52-847Z
matrixIdbare/gemini-3.5-flash
signature30d83a27a70a3a3a…
providergoogle
modelgemini-3.5-flash
harnessbare
statussuccess
duration14.72s (wallclock: load + prompt eval + generation + network)
tokens142 in / 314 out
wallclock tok/s21.3 tok/s (end-to-end)
cost$0.0030
createdAt2026-05-20T00:14:52.847Z
gitCommitc16a216592f0
openscadOpenSCAD version 2026.04.27

iteration chain

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

prompt

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

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