iter-png-1/gpt-5.3-codex / tier-2-l-bracket
success tier 2
bare (gpt 5.3 codex)
render
// L-bracket parameters
w = 50; // width (X)
d = 40; // horizontal depth (Y)
h = 40; // vertical height (Z)
t = 3; // thickness
// Hole parameters (M4 screw as specified)
through_d = 4.5; // through hole diameter
cs_d = 8; // countersink seat diameter
cs_depth = 2; // countersink seat depth
// Hole placement
edge_inset = 10; // from edge inward along width (X)
x_pos = [edge_inset, w - edge_inset];
$fn = 96;
difference() {
union() {
// Horizontal flange: 50 x 40, thickness 3, extends +Y from inner corner
cube([w, d, t], center = false);
// Vertical flange: 50 x 40, thickness 3, extends +Z from inner corner
cube([w, t, h], center = false);
}
// Horizontal flange holes (centerline in Y, countersink on outer side +Z)
for (x = x_pos) {
// Through hole
translate([x, d/2, -0.1])
cylinder(d = through_d, h = t + 0.2);
// Countersink seat (as cylindrical seat: Φ8 x 2)
translate([x, d/2, t - cs_depth])
cylinder(d = cs_d, h = cs_depth + 0.1);
}
// Vertical flange holes (centerline in Z, countersink on outer side +Y)
for (x = x_pos) {
// Through hole (axis along Y)
translate([x, -0.1, h/2])
rotate([-90, 0, 0])
cylinder(d = through_d, h = t + 0.2);
// Countersink seat (outer side +Y, depth into plate)
translate([x, t - cs_depth, h/2])
rotate([-90, 0, 0])
cylinder(d = cs_d, h = cs_depth + 0.1);
}
} パラメータ (8) —
スライダを動かすと openscad-wasm で再レンダリング
iteration chain
各 iteration step は独立した benchmark run です。parentRunId で前段にリンクします。
← parent
bare/gpt-5.3-codex success → children (1)
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 ... ``` のフェンスで囲んで出力してください。コードのみで、追加の説明は不要です。