vibe-openscad

iter-png-1/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 87.7s · 1322/6529t
SCAD (46 lines)
// L-bracket parameters
width = 50;
depth = 40;
thickness = 3;

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

// Final assembly
difference() {
    // Bracket geometry
    union() {
        // Horizontal plate: X=width, Y=depth, Z=thickness
        cube([width, depth, thickness]);
        // Vertical plate: X=width, Y=thickness, Z=depth
        cube([width, thickness, depth]);
    }

    // Holes on the Horizontal face (Top surface: Z = thickness)
    // X positions: 10mm and 40mm (Symmetrical, 10mm from edges 0 and 50)
    // Y position: 30mm (10mm from edge 40)
    for (x = [10, 40]) {
        translate([x, depth - 10, thickness]) {
            // Countersink seat (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 (Side surface: Y = thickness)
    // X positions: 10mm and 40mm
    // Z position: 30mm (10mm from edge 40)
    for (x = [10, 40]) {
        translate([x, thickness, depth - 10]) {
            // Countersink seat (outward in +Y direction)
            cylinder(d1=countersink_diameter, d2=hole_diameter, h=countersink_depth, $fn=32);
            // Through hole (inward in -Y direction)
            translate([0, -thickness, 0]) 
                cylinder(d=hole_diameter, h=thickness + 1, $fn=32);
        }
    }
}
パラメータ (6) —
スライダを動かすと openscad-wasm で再レンダリング

meta

runIditer-png-1_gemma-4-12b-qat-e05087763064-2026-09-23T10-57-51-605Z
matrixIditer-png-1/gemma-4-12b-qat
signaturee05087763064a65e…
provideropenai-self-hosted
modelgoogle/gemma-4-12b-qat
harnessbare
statussuccess
duration87.66s (wallclock: load + prompt eval + generation + network)
tokens1322 in / 6529 out
wallclock tok/s74.5 tok/s (end-to-end)
createdAt2026-09-23T10:57:51.605Z
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 ... ``` のフェンスで囲んで出力してください。コードのみで、追加の説明は不要です。