vibe-openscad

iter-png-3/gpt-5.4-mini / tier-2-l-bracket

success tier 2

bare (gpt 5.4 mini)

render
bare render of tier-2-l-bracket
loading STL…
success 2.9s · 1351/394t · $0.0017
SCAD (57 lines)
$fn = 96;

// Dimensions
w = 50;      // width
d = 40;      // horizontal flange depth (+Y)
h = 40;      // vertical flange height (+Z)
t = 3;       // plate thickness

// Hole parameters
through_d = 4.5;
csk_d = 8;
csk_depth = 2;
inset = 10;

// Countersunk through-hole along +Z, countersink on the +Z side
module csk_hole_z(hole_h) {
    union() {
        cylinder(h = hole_h, d = through_d);
        translate([0, 0, hole_h - csk_depth])
            cylinder(h = csk_depth, d1 = through_d, d2 = csk_d);
    }
}

// Countersunk through-hole along +Y, countersink on the +Y side
module csk_hole_y(hole_h) {
    rotate([-90, 0, 0])
        csk_hole_z(hole_h);
}

// Horizontal flange: X by Y, thickness in Z
module horizontal_flange() {
    difference() {
        cube([w, d, t], center = false);

        for (x = [inset, w - inset]) {
            translate([x, d/2, 0])
                csk_hole_z(t);
        }
    }
}

// Vertical flange: X by Z, thickness in Y
module vertical_flange() {
    difference() {
        cube([w, t, h], center = false);

        for (x = [inset, w - inset]) {
            translate([x, t/2, h/2])
                csk_hole_y(t);
        }
    }
}

union() {
    horizontal_flange();
    vertical_flange();
}
パラメータ (8)
スライダを動かすと openscad-wasm で再レンダリング

meta

runIditer-png-3_gpt-5.4-mini-a5f166beaa0f-2026-04-28T18-59-07-748Z
matrixIditer-png-3/gpt-5.4-mini
signaturea5f166beaa0f0d3e…
provideropenai
modelgpt-5.4-mini-2026-03-17
harnessbare
statussuccess
duration2.92s (wallclock: load + prompt eval + generation + network)
tokens1351 in / 394 out
wallclock tok/s134.9 tok/s (end-to-end)
cost$0.0017
createdAt2026-04-28T18:59:07.748Z
gitCommit781e6c683dda
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 ... ``` のフェンスで囲んで出力してください。コードのみで、追加の説明は不要です。