vibe-openscad

tier-2-l-bracket / qwen3-0.6b

1 run / 累計 15.9s / 累計 $0

qwen (self-hosted) qwen3-0.6b bare

bare (provider default effort)

run detail →
render
no render
render_error 15.9s · 302/2247t
openscad stl render failed (exit 1): ERROR: Parser error: syntax error in file ../../../../../tmp/render-Sx5nbZ/input.scad, line 4
Can't parse file '/tmp/render-Sx5nbZ/input.scad'!

SCAD (50 lines)
// L字金具(L-bracket)のOpenSCADコード

horizontal_flange = rectangle(
    x1: -3,
    y1: -40,
    x2: +3,
    y2: +40
);

vertical_flange = rectangle(
    x1: -3,
    y1: 0,
    x2: +3,
    y2: +3
);

L_shape = horizontal_flange + vertical_flange;

// フラクタルの内側の穴
horizontal_counterbottom_holes = [
    rectangle(
        x1: -3, 
        y1: -40 - 8mm, 
        x2: +3, 
        y2: -40 - 8mm
    ),
    rectangle(
        x1: -3, 
        y1: -40 + 8mm, 
        x2: +3, 
        y2: -40 + 8mm
    )
];

vertical_counterbottom_holes = [
    rectangle(
        x1: -3, 
        y1: 0 - 8mm, 
        x2: +3, 
        y2: 0 - 8mm
    ),
    rectangle(
        x1: -3, 
        y1: 0 + 8mm, 
        x2: +3, 
        y2: 0 + 8mm
    )
];

L_shape = L_shape + combine(horizontal_counterbottom_holes, vertical_counterbottom_holes);

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