vibe-openscad

bare/gemma-3-27b / tier-1-mug

success tier 1

bare (google/gemma-3-27b)

render
bare render of tier-1-mug
loading STL…
success 139.1s · 149/280t
SCAD (31 lines)
// マグカップのパラメータ
outer_diameter = 80;
height = 100;
wall_thickness = 4;
bottom_thickness = 6;
handle_radius = 12;

// 内径
inner_diameter = outer_diameter - 2 * wall_thickness;

// モジュール:マグカップ本体
module mug() {
  difference() {
    cylinder(h = height, r = outer_diameter / 2);
    translate([0, 0, bottom_thickness]) cylinder(h = height - bottom_thickness, r = inner_diameter / 2);
  }
}

// モジュール:取手
module handle() {
  rotate_extrude() {
    translate([handle_radius, 0]) circle(r = wall_thickness);
  }
}

// メイン処理
union() {
  mug();
  translate([outer_diameter / 2 + handle_radius - wall_thickness, 0, height/2]) rotate([0,90,0]) handle();
  translate([-outer_diameter / 2 - handle_radius + wall_thickness, 0, height/2]) rotate([0,90,0]) handle();
}
パラメータ (5)
スライダを動かすと openscad-wasm で再レンダリング

meta

runIdbare_gemma-3-27b-736a02b19ba9-2026-04-29T07-51-15-992Z
matrixIdbare/gemma-3-27b
signature736a02b19ba9f650…
provideropenai-self-hosted
modelgoogle/gemma-3-27b
harnessbare
statussuccess
duration139.10s (wallclock: load + prompt eval + generation + network)
TTFT2.181s
generation time135.92s (pure decode, excludes load + prompt eval)
tokens149 in / 280 out
generation tok/s2.1 tok/s (pure decode rate)
wallclock tok/s2.0 tok/s (end-to-end)
createdAt2026-04-29T07:51:15.992Z
gitCommit5f36132a630c
openscadOpenSCAD version 2026.04.27

model metadata (self-hosted)

セルフホスト LLM はクラウドの単一 provider と違い、 実質「(モデル開発者, weight publisher, 量子化)」の組で挙動が決まる。 run 時に LM Studio / Ollama から取得した値:

publishergoogle
typevlm
archgemma3
quantizationQ4_0
max ctx131,072 tok
host GPUNVIDIA GeForce RTX 3090 (Vulkan)
host VRAM24 GB
host CPU12th Gen Intel(R) Core(TM) i9-12900K
host RAM32 GB

prompt

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

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