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 1.9s · 142/253t · $0.0001
SCAD (26 lines)
$fn = 100;

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

// 取手
translate([80 / 2 - 2, 0, 100 / 2])
rotate([0, 90, 0])
difference() {
    // 取手の外径
    torus_r = 12;
    rotate_extrude()
    translate([20, 0, 0])
    circle(r = 6);
    
    // 取手をカップにめり込ませて接合部をきれいにするための調整
    translate([-30, 0, 0])
    cube([60, 60, 60], center = true);
}

meta

runIdbare_gemini-3.1-flash-lite-a759a186f24e-2026-04-26T18-58-55-280Z
matrixIdbare/gemini-3.1-flash-lite
signaturea759a186f24e01e0…
providergoogle
modelgemini-3.1-flash-lite-preview
harnessbare
statussuccess
duration1.88s (wallclock: load + prompt eval + generation + network)
tokens142 in / 253 out
wallclock tok/s134.3 tok/s (end-to-end)
cost$0.0001
createdAt2026-04-26T18:58:55.280Z
openscadOpenSCAD version 2026.04.27

prompt

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

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