vibe-openscad

bare/gemma-3-27b / tier-2-l-bracket

success tier 2

bare (google/gemma-3-27b)

render
bare render of tier-2-l-bracket
loading STL…
success 213.7s · 259/430t
SCAD (43 lines)
// L-bracket parameters
width = 50;
depth = 40;
height = 40;
thickness = 3;
screw_diameter = 4.5;
countersink_diameter = 8;
countersink_depth = 2;
hole_offset = 10;

// Module for creating a countersunk hole
module countersunk_hole(diameter, depth) {
  difference() {
    cylinder(h=thickness + depth, r=diameter/2);
    translate([0, 0, -depth]) cylinder(h=depth, r=(countersink_diameter)/2);
  }
}

// Horizontal flange
module horizontal_flange() {
  difference() {
    cube([width, depth, thickness]);
    // Countersunk holes on the top face
    translate([hole_offset, depth/2, 0]) rotate([90,0,0]) countersunk_hole(screw_diameter, countersink_depth);
    translate([width - hole_offset, depth/2, 0]) rotate([90,0,0]) countersunk_hole(screw_diameter, countersink_depth);
  }
}

// Vertical flange
module vertical_flange() {
  difference() {
    cube([width, thickness, height]);
    // Countersunk holes on the front face
    translate([width/2, 0, hole_offset]) rotate([0,90,0]) countersunk_hole(screw_diameter, countersink_depth);
    translate([width/2, 0, height - hole_offset]) rotate([0,90,0]) countersunk_hole(screw_diameter, countersink_depth);
  }
}

// Combine the flanges to create the L-bracket
union() {
  horizontal_flange();
  translate([0, depth, 0]) vertical_flange();
}
パラメータ (8)
スライダを動かすと openscad-wasm で再レンダリング

meta

runIdbare_gemma-3-27b-bb0b17d6c403-2026-04-29T07-56-57-064Z
matrixIdbare/gemma-3-27b
signaturebb0b17d6c403b494…
provideropenai-self-hosted
modelgoogle/gemma-3-27b
harnessbare
statussuccess
duration213.69s (wallclock: load + prompt eval + generation + network)
TTFT6.116s
generation time206.47s (pure decode, excludes load + prompt eval)
tokens259 in / 430 out
generation tok/s2.1 tok/s (pure decode rate)
wallclock tok/s2.0 tok/s (end-to-end)
createdAt2026-04-29T07:56:57.064Z
gitCommit67e7e807e695
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 で、L 字に折れた金具(L-bracket)を作ってください。

形状:
- 水平面と垂直面の 2 つのフランジが直角に繋がっている
- 水平面は 50mm × 40mm(幅 × 奥行き)
- 垂直面は 50mm × 40mm(幅 × 高さ)
- 板厚はどちらも 3mm
- 内側コーナーが原点になるように配置(水平面は +Y 方向、垂直面は +Z 方向に伸びる)

皿穴(countersunk holes):
- 各面に 2 個ずつ、合計 4 個
- M4 ねじ用(貫通穴 Φ4.5mm + 皿座面 Φ8mm × 深さ 2mm)
- 各面の中心線上で、面の縁から 10mm 内側、左右対称に 2 個並べる
- 皿座面は外側(ボルト頭が当たる側)に向ける

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