vibe-openscad

tier-1-stepped-pyramid / gpt-5-mini-2025-08-07

7 run / 累計 130.6s / 累計 $0.0155

openai gpt 5 mini 2025-08-07 bare

bare (provider default effort)

run detail →
render
bare render of tier-1-stepped-pyramid
loading STL…
success 12.1s · 151/948t · $0.0019
SCAD (11 lines)
// 3段の階段状ピラミッド
// 各板は中心を揃えて積み上げる

// 底段: 60x60x10
translate([0, 0, 0]) cube([60, 60, 10], center=true);

// 中段: 40x40x10 (底段の上に載せる)
translate([0, 0, 10]) cube([40, 40, 10], center=true);

// 上段: 20x20x10 (中段の上に載せる)
translate([0, 0, 20]) cube([20, 20, 10], center=true);

prompt

OpenSCAD で、底辺 60mm × 60mm × 高さ 10mm の正方形の板の中央に、それより一回り小さい
40mm × 40mm × 高さ 10mm の板を載せ、さらにその中央に 20mm × 20mm × 高さ 10mm の板を
載せた、3 段の階段状ピラミッドを作ってください。各段は中心を揃えて積み上げます。

完成したコード全体を ```openscad ... ``` のフェンスで囲んで出力してください。コードのみで、追加の説明は不要です。

variant: effort

low success
low
8.3s · 151/594t · $0.0012
SCAD (6 lines)
// 3段の階段状ピラミッド
// 各立方板は center=true により X/Y 中心を揃え、Z 方向は中心位置で指定

translate([0, 0, 5])   cube([60, 60, 10], center=true); // 底辺 60x60x10
translate([0, 0, 15])  cube([40, 40, 10], center=true); // 中段 40x40x10
translate([0, 0, 25])  cube([20, 20, 10], center=true); // 上段 20x20x10
medium (default) success
medium
12.1s · 151/948t · $0.0019
SCAD (11 lines)
// 3段の階段状ピラミッド
// 各板は中心を揃えて積み上げる

// 底段: 60x60x10
translate([0, 0, 0]) cube([60, 60, 10], center=true);

// 中段: 40x40x10 (底段の上に載せる)
translate([0, 0, 10]) cube([40, 40, 10], center=true);

// 上段: 20x20x10 (中段の上に載せる)
translate([0, 0, 20]) cube([20, 20, 10], center=true);
high success
high
22.8s · 151/1477t · $0.0030
SCAD (3 lines)
translate([0, 0, 5])  cube([60, 60, 10], center=true);
translate([0, 0, 15]) cube([40, 40, 10], center=true);
translate([0, 0, 25]) cube([20, 20, 10], center=true);
maxnot run
xhighnot run

iteration: iter-png

i1 success
iter 1
46.4s · 968/1986t · $0.0042
diff vs bare: +4/-11
- // 3段の階段状ピラミッド
- // 各板は中心を揃えて積み上げる
- 
- // 底段: 60x60x10
- translate([0, 0, 0]) cube([60, 60, 10], center=true);
- 
- // 中段: 40x40x10 (底段の上に載せる)
- translate([0, 0, 10]) cube([40, 40, 10], center=true);
- 
- // 上段: 20x20x10 (中段の上に載せる)
- translate([0, 0, 20]) cube([20, 20, 10], center=true);
+ // 3段の階段状ピラミッド(底面が z=0 に接するように配置)
+ translate([0, 0, 5])  cube([60, 60, 10], center=true);
+ translate([0, 0, 15]) cube([40, 40, 10], center=true);
+ translate([0, 0, 25]) cube([20, 20, 10], center=true);
SCAD (4 lines)
// 3段の階段状ピラミッド(底面が z=0 に接するように配置)
translate([0, 0, 5])  cube([60, 60, 10], center=true);
translate([0, 0, 15]) cube([40, 40, 10], center=true);
translate([0, 0, 25]) cube([20, 20, 10], center=true);
i2 success
iter 2
11.9s · 916/732t · $0.0017
diff vs i1: +0/-0
  // 3段の階段状ピラミッド(底面が z=0 に接するように配置)
  translate([0, 0, 5])  cube([60, 60, 10], center=true);
  translate([0, 0, 15]) cube([40, 40, 10], center=true);
  translate([0, 0, 25]) cube([20, 20, 10], center=true);
SCAD (4 lines)
// 3段の階段状ピラミッド(底面が z=0 に接するように配置)
translate([0, 0, 5])  cube([60, 60, 10], center=true);
translate([0, 0, 15]) cube([40, 40, 10], center=true);
translate([0, 0, 25]) cube([20, 20, 10], center=true);
i3 success
iter 3
16.9s · 916/626t · $0.0015
diff vs i2: +0/-0
  // 3段の階段状ピラミッド(底面が z=0 に接するように配置)
  translate([0, 0, 5])  cube([60, 60, 10], center=true);
  translate([0, 0, 15]) cube([40, 40, 10], center=true);
  translate([0, 0, 25]) cube([20, 20, 10], center=true);
SCAD (4 lines)
// 3段の階段状ピラミッド(底面が z=0 に接するように配置)
translate([0, 0, 5])  cube([60, 60, 10], center=true);
translate([0, 0, 15]) cube([40, 40, 10], center=true);
translate([0, 0, 25]) cube([20, 20, 10], center=true);