vibe-openscad

iter-png-1/gpt-5 / tier-2-l-bracket

success tier 2

bare (gpt 5)

render
bare render of tier-2-l-bracket
loading STL…
success 76.9s · 1475/4159t · $0.0434
SCAD (46 lines)
// L-bracket with countersunk (counterbored) M4 holes
// Dimensions
w = 50;      // width (X)
d = 40;      // depth of horizontal flange (Y)
h = 40;      // height of vertical flange (Z)
t = 3;       // thickness

// Holes
dh = 4.5;    // through hole diameter
ds = 8;      // counterbore diameter
sd = 2;      // counterbore depth
edge = 10;   // hole offset from side edges along X

$fn = 64;

difference() {
  // L-bracket body: inner corner at origin, horizontal +Y, vertical +Z
  union() {
    // Horizontal flange: X=w, Y=d, Z=t
    cube([w, d, t], center=false);
    // Vertical flange: X=w, Y=t, Z=h
    cube([w, t, h], center=false);
  }

  // Horizontal flange holes (axis along Z), countersink from top (+Z)
  for (x = [edge, w - edge]) {
    // Through hole
    translate([x, d/2, -1])
      cylinder(h = t + 2, d = dh);
    // Counterbore from top face
    translate([x, d/2, t - sd])
      cylinder(h = sd, d = ds);
  }

  // Vertical flange holes (axis along Y), countersink from outside face (+Y)
  for (x = [edge, w - edge]) {
    // Through hole (centered, long enough to pass through thickness)
    translate([x, t/2, h/2])
      rotate([90, 0, 0])
        cylinder(h = t + 6, d = dh, center=true);
    // Counterbore from outside face at Y = +t, depth sd toward -Y
    translate([x, t, h/2])
      rotate([90, 0, 0])
        cylinder(h = sd, d = ds, center=false);
  }
}
パラメータ (8)
スライダを動かすと openscad-wasm で再レンダリング

meta

runIditer-png-1_gpt-5-78a16d0076fd-2026-04-28T19-00-30-436Z
matrixIditer-png-1/gpt-5
signature78a16d0076fda2dc…
provideropenai
modelgpt-5-2025-08-07
harnessbare
statussuccess
duration76.94s (wallclock: load + prompt eval + generation + network)
tokens1475 in / 4159 out
wallclock tok/s54.1 tok/s (end-to-end)
cost$0.0434
createdAt2026-04-28T19:00:30.436Z
gitCommit781e6c683dda
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 ... ``` のフェンスで囲んで出力してください。コードのみで、追加の説明は不要です。