vibe-openscad

bare/gemini-3-flash / tier-2-l-bracket

success tier 2

bare (gemini 3 flash)

render
bare render of tier-2-l-bracket
loading STL…
success 12.9s · 252/424t · $0.0011
SCAD (50 lines)
$fn = 64;

// L-bracket parameters
width = 50;
depth = 40;
height = 40;
thickness = 3;

// Hole parameters (M4 Countersunk)
hole_d = 4.5;
sink_d = 8;
sink_depth = 2;
hole_x_offset = 10; // distance from side edges

module countersunk_hole() {
    // Through hole
    cylinder(d = hole_d, h = thickness * 3, center = true);
    // Countersink (positioned to start from the surface)
    translate([0, 0, -0.01])
        cylinder(d1 = sink_d, d2 = hole_d, h = sink_depth);
}

difference() {
    // Main Body
    union() {
        // Horizontal flange (extends +Y, thickness goes to -Z)
        translate([0, 0, -thickness])
            cube([width, depth, thickness]);
        
        // Vertical flange (extends +Z, thickness goes to -Y)
        translate([0, -thickness, 0])
            cube([width, thickness, height]);
    }

    // Holes for Horizontal flange
    for (x = [hole_x_offset, width - hole_x_offset]) {
        translate([x, depth / 2, -thickness]) {
            rotate([180, 0, 0])
                countersunk_hole();
        }
    }

    // Holes for Vertical flange
    for (x = [hole_x_offset, width - hole_x_offset]) {
        translate([x, -thickness, height / 2]) {
            rotate([-90, 0, 0])
                countersunk_hole();
        }
    }
}
パラメータ (8)
スライダを動かすと openscad-wasm で再レンダリング

meta

runIdbare_gemini-3-flash-bcae5e5594c7-2026-04-28T10-16-39-640Z
matrixIdbare/gemini-3-flash
signaturebcae5e5594c71e19…
providergoogle
modelgemini-3-flash-preview
harnessbare
statussuccess
duration12.86s (wallclock: load + prompt eval + generation + network)
tokens252 in / 424 out
wallclock tok/s33.0 tok/s (end-to-end)
cost$0.0011
createdAt2026-04-28T10:16:39.640Z
gitCommit266a4b423d4e
openscadOpenSCAD version 2026.04.27

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