vibe-openscad

bare/gpt-5.1-codex / tier-2-l-bracket

success tier 2

bare (gpt 5.1 codex)

render
bare render of tier-2-l-bracket
loading STL…
success 425.5s · 294/9278t · $0.1025
SCAD (48 lines)
width = 50;
depth = 40;
height = 40;
thickness = 3;
hole_d = 4.5;
cs_d = 8;
cs_depth = 2;
edge_offset = 10;

horizontal_holes = [edge_offset, depth - edge_offset];
vertical_holes = [edge_offset, height - edge_offset];

module horizontal_flange() {
    translate([-width / 2, 0, 0])
        cube([width, depth, thickness]);
}

module vertical_flange() {
    translate([-width / 2, 0, 0])
        cube([width, thickness, height]);
}

module cs_hole_z(x = 0, y = 0) {
    translate([x, y, -0.1])
        cylinder(h = thickness + 0.2, d = hole_d, $fn = 96);
    translate([x, y, thickness - cs_depth - 0.1])
        cylinder(h = cs_depth + 0.2, d = cs_d, $fn = 96);
}

module cs_hole_y(x = 0, z = 0) {
    translate([x, -0.1, z])
        rotate([-90, 0, 0])
            cylinder(h = thickness + 0.2, d = hole_d, $fn = 96);
    translate([x, thickness - cs_depth - 0.1, z])
        rotate([-90, 0, 0])
            cylinder(h = cs_depth + 0.2, d = cs_d, $fn = 96);
}

difference() {
    union() {
        horizontal_flange();
        vertical_flange();
    }
    for (ypos = horizontal_holes)
        cs_hole_z(0, ypos);
    for (zpos = vertical_holes)
        cs_hole_y(0, zpos);
}
パラメータ (8)
スライダを動かすと openscad-wasm で再レンダリング

meta

runIdbare_gpt-5.1-codex-99a05e2556dd-2026-04-28T14-27-52-928Z
matrixIdbare/gpt-5.1-codex
signature99a05e2556dde03a…
provideropenai
modelgpt-5.1-codex
harnessbare
statussuccess
duration425.49s (wallclock: load + prompt eval + generation + network)
tokens294 in / 9278 out
wallclock tok/s21.8 tok/s (end-to-end)
cost$0.1025
createdAt2026-04-28T14:27:52.973Z
gitCommit76ae3a322ae4
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 ... ``` のフェンスで囲んで出力してください。コードのみで、追加の説明は不要です。