vibe-openscad

iter-png-1/gpt-5.5 / tier-2-l-bracket

success tier 2

bare (gpt 5.5)

render
bare render of tier-2-l-bracket
loading STL…
success 42.1s · 1426/2034t · $0.0221
SCAD (65 lines)
$fn = 96;

w = 50;
d = 40;
h = 40;
t = 3;

hole_d = 4.5;
cs_d = 8;
cs_depth = 2;

edge_offset = 10;
eps = 0.05;

hole_x = [
    -w / 2 + edge_offset,
     w / 2 - edge_offset
];

module bracket_body() {
    union() {
        // Horizontal flange: +Y direction, outside face at -Z
        translate([-w / 2, 0, -t])
            cube([w, d, t]);

        // Vertical flange: +Z direction, outside face at -Y
        translate([-w / 2, -t, 0])
            cube([w, t, h]);

        // Solid outside corner to make the bend/manifold
        translate([-w / 2, -t, -t])
            cube([w, t, t]);
    }
}

module horizontal_hole(x, y) {
    // Through hole, normal to horizontal flange
    translate([x, y, -t - eps])
        cylinder(h = t + 2 * eps, d = hole_d);

    // Countersink on outside face (-Z)
    translate([x, y, -t - eps])
        cylinder(h = cs_depth + 2 * eps, r1 = cs_d / 2, r2 = hole_d / 2);
}

module vertical_hole(x, z) {
    // Through hole, normal to vertical flange
    translate([x, -t - eps, z])
        rotate([-90, 0, 0])
            cylinder(h = t + 2 * eps, d = hole_d);

    // Countersink on outside face (-Y)
    translate([x, -t - eps, z])
        rotate([-90, 0, 0])
            cylinder(h = cs_depth + 2 * eps, r1 = cs_d / 2, r2 = hole_d / 2);
}

difference() {
    bracket_body();

    for (x = hole_x) {
        horizontal_hole(x, d / 2);
        vertical_hole(x, h / 2);
    }
}
パラメータ (9)
スライダを動かすと openscad-wasm で再レンダリング

meta

runIditer-png-1_gpt-5.5-24859275022d-2026-04-28T19-05-07-496Z
matrixIditer-png-1/gpt-5.5
signature24859275022d9077…
provideropenai
modelgpt-5.5-2026-04-23
harnessbare
statussuccess
duration42.10s (wallclock: load + prompt eval + generation + network)
tokens1426 in / 2034 out
wallclock tok/s48.3 tok/s (end-to-end)
cost$0.0221
createdAt2026-04-28T19:05:07.496Z
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 ... ``` のフェンスで囲んで出力してください。コードのみで、追加の説明は不要です。