vibe-openscad

bare-low/gpt-5.6-luna / tier-2-l-bracket

success tier 2

bare (gpt 5.6 luna)

render
bare render of tier-2-l-bracket
loading STL…
success 16.6s · 294/1439t · $0.0018
SCAD (63 lines)
$fn = 96;

width = 50;
depth = 40;
height = 40;
thickness = 3;

hole_d = 4.5;
countersink_d = 8;
countersink_depth = 2;

hole_x = [10, width - 10];
hole_y = depth / 2;
hole_z = height / 2;

difference() {
    union() {
        // Horizontal flange: +Y direction
        cube([width, depth, thickness], center = false);

        // Vertical flange: +Z direction
        translate([0, -thickness, 0])
            cube([width, thickness, height], center = false);

        // Bent corner material
        translate([0, -thickness, -thickness])
            cube([width, thickness, thickness], center = false);
    }

    // Countersunk holes in horizontal flange
    for (x = hole_x) {
        translate([x, hole_y, -thickness - 0.1])
            cylinder(
                h = thickness + 0.2,
                d = hole_d
            );

        translate([x, hole_y, -thickness])
            cylinder(
                h = countersink_depth,
                d1 = countersink_d,
                d2 = hole_d
            );
    }

    // Countersunk holes in vertical flange
    for (x = hole_x) {
        translate([x, -thickness - 0.1, hole_z])
            rotate([90, 0, 0])
                cylinder(
                    h = thickness + 0.2,
                    d = hole_d
                );

        translate([x, -thickness, hole_z])
            rotate([90, 0, 0])
                cylinder(
                    h = countersink_depth,
                    d1 = hole_d,
                    d2 = countersink_d
                );
    }
}
パラメータ (7) —
スライダを動かすと openscad-wasm で再レンダリング

meta

runIdbare-low_gpt-5.6-luna-7a24b06f08ba-2026-09-05T10-14-42-827Z
matrixIdbare-low/gpt-5.6-luna
signature7a24b06f08ba14f8…
provideropenai
modelgpt-5.6-luna
harnessbare
statussuccess
duration16.63s (wallclock: load + prompt eval + generation + network)
tokens294 in / 1439 out
wallclock tok/s86.5 tok/s (end-to-end)
cost$0.0018
createdAt2026-09-05T10:14:42.827Z
gitCommitd69c2b8ad709
openscadOpenSCAD version 2026.04.27

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