vibe-openscad

bare/claude-opus-4-0 / tier-2-l-bracket

success tier 2

bare (claude opus 4)

render
bare render of tier-2-l-bracket
loading STL…
success 9.4s · 361/447t · $0.0389
SCAD (46 lines)
// L-bracket parameters
width = 50;
depth = 40;
height = 40;
thickness = 3;

// Countersunk hole parameters
hole_dia = 4.5;
countersink_dia = 8;
countersink_depth = 2;
hole_offset = 10;

// Main L-bracket
difference() {
    union() {
        // Horizontal flange
        cube([width, depth, thickness]);
        
        // Vertical flange
        cube([width, thickness, height]);
    }
    
    // Horizontal flange holes
    for (x = [hole_offset, width - hole_offset]) {
        translate([x, depth/2, 0]) {
            // Through hole
            cylinder(h = thickness + 0.1, d = hole_dia, $fn = 32);
            // Countersink
            translate([0, 0, thickness - countersink_depth])
                cylinder(h = countersink_depth + 0.1, d1 = hole_dia, d2 = countersink_dia, $fn = 32);
        }
    }
    
    // Vertical flange holes
    for (x = [hole_offset, width - hole_offset]) {
        translate([x, -0.05, height/2]) {
            rotate([-90, 0, 0]) {
                // Through hole
                cylinder(h = thickness + 0.1, d = hole_dia, $fn = 32);
                // Countersink
                translate([0, 0, thickness - countersink_depth])
                    cylinder(h = countersink_depth + 0.1, d1 = hole_dia, d2 = countersink_dia, $fn = 32);
            }
        }
    }
}
パラメータ (8)
スライダを動かすと openscad-wasm で再レンダリング

meta

runIdbare_claude-opus-4-0-0c0ffa2c4228-2026-04-28T10-11-14-537Z
matrixIdbare/claude-opus-4-0
signature0c0ffa2c4228f3cd…
provideranthropic
modelclaude-opus-4-20250514
harnessbare
statussuccess
duration9.36s (wallclock: load + prompt eval + generation + network)
tokens361 in / 447 out
wallclock tok/s47.8 tok/s (end-to-end)
cost$0.0389
createdAt2026-04-28T10:11:14.537Z
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 ... ``` のフェンスで囲んで出力してください。コードのみで、追加の説明は不要です。