vibe-openscad

iter-png-3/gemma-4-12b-qat / tier-2-l-bracket

success tier 2

bare (google/gemma-4-12b-qat)

render
bare render of tier-2-l-bracket
loading STL…
success 294.9s · 1130/21641t
SCAD (51 lines)
// L-bracket parameters
width = 50;
depth = 40;
height = 40;
thickness = 3;

// Hole parameters
hole_diameter = 4.5;
countersink_diameter = 8;
countersink_depth = 2;

// Final assembly
difference() {
    // Bracket geometry
    union() {
        // Horizontal plate: occupies X [0,50], Y [0,40], Z [0,3]
        // The large face is the top surface (XY plane at Z=thickness)
        cube([width, depth, thickness]);
        
        // Vertical plate: occupies X [0,50], Y [0,3], Z [0,40]
        // The large face is the front surface (XZ plane at Y=0)
        cube([width, thickness, height]);
    }

    // Holes on the Horizontal face (Top surface: Z = thickness)
    // Center line of Depth (Y) is depth / 2 = 20
    // Symmetrical X positions: 10mm and (width - 10) = 40mm
    for (x = [10, width - 10]) {
        translate([x, depth / 2, thickness]) {
            // Countersink seat (pointing outward in +Z direction)
            cylinder(d1=countersink_diameter, d2=hole_diameter, h=countersink_depth, $fn=32);
            // Through hole (inward in -Z direction)
            translate([0, 0, -thickness]) 
                cylinder(d=hole_diameter, h=thickness + 1, $fn=32);
        }
    }

    // Holes on the Vertical face (Front surface: Y = 0)
    // Center line of Height (Z) is height / 2 = 20
    // Symmetrical X positions: 10mm and (width - 10) = 40mm
    for (x = [10, width - 10]) {
        translate([x, 0, height / 2]) {
            // Countersink seat (pointing outward in -Y direction)
            translate([0, -countersink_depth, 0])
                cylinder(d1=countersink_diameter, d2=hole_diameter, h=countersink_depth, $fn=32);
            // Through hole (inward in +Y direction)
            translate([0, 0, -thickness]) 
                cylinder(d=hole_diameter, h=thickness + 1, $fn=32);
        }
    }
}
パラメータ (7) —
スライダを動かすと openscad-wasm で再レンダリング

meta

runIditer-png-3_gemma-4-12b-qat-102464290ef4-2026-09-23T11-25-52-101Z
matrixIditer-png-3/gemma-4-12b-qat
signature102464290ef47ee8…
provideropenai-self-hosted
modelgoogle/gemma-4-12b-qat
harnessbare
statussuccess
duration294.93s (wallclock: load + prompt eval + generation + network)
tokens1130 in / 21641 out
wallclock tok/s73.4 tok/s (end-to-end)
createdAt2026-09-23T11:25:52.101Z
gitCommit54e55cb7b2b0
openscadOpenSCAD version 2026.09.23

iteration chain

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

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 ... ``` のフェンスで囲んで出力してください。コードのみで、追加の説明は不要です。