vibe-openscad

bare/gpt-oss-20b / tier-2-l-bracket

success tier 2

bare (openai/gpt-oss-20b)

render
bare render of tier-2-l-bracket
loading STL…
success 16.1s · 355/2402t
SCAD (53 lines)
// L‑bracket with countersunk M4 holes

module bracket() {
    // dimensions
    w = 50;          // horizontal width (X)
    d = 40;          // horizontal depth (Y)
    h = 3;           // plate thickness (Z for horizontal face)
    v = 3;           // vertical plate thickness (X)
    ht = 40;         // height of vertical plate (Z)

    eps = 0.01;      // small offset to avoid coplanar issues

    // Create the L shape
    difference() {
        union() {
            // horizontal face
            translate([0, 0, 0]) cube([w, d, h]);

            // vertical face
            translate([0, 0, 0]) cube([v, d, ht]);
        }
        // Remove the overlapping corner cube
        translate([0, 0, 0]) cube([v, d, h]);
    }

    // --------- Countersunk holes on horizontal face (XY plane) ----------
    for (x = [10, 40]) {
        // Big cone part (countersink)
        translate([x, d/2 - 0.5, 0])
            rotate([90, 0, 0])          // align along Z
                cylinder(r=4, h=2 + eps);

        // Small drill part
        translate([x, d/2 - 0.5, 0])
            rotate([90, 0, 0])
                cylinder(r=2.25, h=h + eps);
    }

    // --------- Countersunk holes on vertical face (XZ plane) ----------
    for (x = [10, 40]) {
        // Big cone part (countersink)
        translate([x, -eps, ht/2])
            rotate([0, 90, 0])          // align along Y
                cylinder(r=4, h=2 + eps);

        // Small drill part
        translate([x, -eps, ht/2])
            rotate([0, 90, 0])
                cylinder(r=2.25, h=v + eps);
    }
}

bracket();

meta

runIdbare_gpt-oss-20b-b3ce8788c053-2026-04-29T07-29-22-708Z
matrixIdbare/gpt-oss-20b
signatureb3ce8788c05335f2…
provideropenai-self-hosted
modelopenai/gpt-oss-20b
harnessbare
statussuccess
duration16.09s (wallclock: load + prompt eval + generation + network)
TTFT0.066s
generation time15.82s (pure decode, excludes load + prompt eval)
tokens355 in / 2402 out
generation tok/s151.8 tok/s (pure decode rate)
wallclock tok/s149.3 tok/s (end-to-end)
createdAt2026-04-29T07:29:22.708Z
gitCommit68749000bf3a
openscadOpenSCAD version 2026.04.27

model metadata (self-hosted)

セルフホスト LLM はクラウドの単一 provider と違い、 実質「(モデル開発者, weight publisher, 量子化)」の組で挙動が決まる。 run 時に LM Studio / Ollama から取得した値:

publisheropenai
typellm
archgpt-oss
quantizationMXFP4
max ctx131,072 tok
capabilitiestool_use
host GPUNVIDIA GeForce RTX 3090 (Vulkan)
host VRAM24 GB
host CPU12th Gen Intel(R) Core(TM) i9-12900K
host RAM32 GB

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