vibe-openscad

tier-1-stepped-pyramid / gpt-5.1-codex-max

5 run / 累計 26.7s / 累計 $0.0285

openai gpt 5.1 codex max bare

bare (provider default effort)

run detail →
render
bare render of tier-1-stepped-pyramid
loading STL…
success 3.6s · 151/359t · $0.0042
SCAD (14 lines)
// Stepped pyramid with three layers
union() {
    // Bottom layer: 60x60x10
    translate([-30, -30, 0])
        cube([60, 60, 10]);

    // Middle layer: 40x40x10
    translate([-20, -20, 10])
        cube([40, 40, 10]);

    // Top layer: 20x20x10
    translate([-10, -10, 20])
        cube([20, 20, 10]);
}

prompt

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

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

variant: effort

lownot run
medium (default) success
medium
3.6s · 151/359t · $0.0042
SCAD (14 lines)
// Stepped pyramid with three layers
union() {
    // Bottom layer: 60x60x10
    translate([-30, -30, 0])
        cube([60, 60, 10]);

    // Middle layer: 40x40x10
    translate([-20, -20, 10])
        cube([40, 40, 10]);

    // Top layer: 20x20x10
    translate([-10, -10, 20])
        cube([20, 20, 10]);
}
highnot run
maxnot run
xhighnot run

iteration: iter-png

i1 success
iter 1
6.5s · 998/461t · $0.0065
diff vs bare: +0/-0
  // Stepped pyramid with three layers
  union() {
      // Bottom layer: 60x60x10
      translate([-30, -30, 0])
          cube([60, 60, 10]);
  
      // Middle layer: 40x40x10
      translate([-20, -20, 10])
          cube([40, 40, 10]);
  
      // Top layer: 20x20x10
      translate([-10, -10, 20])
          cube([20, 20, 10]);
  }
SCAD (14 lines)
// Stepped pyramid with three layers
union() {
    // Bottom layer: 60x60x10
    translate([-30, -30, 0])
        cube([60, 60, 10]);

    // Middle layer: 40x40x10
    translate([-20, -20, 10])
        cube([40, 40, 10]);

    // Top layer: 20x20x10
    translate([-10, -10, 20])
        cube([20, 20, 10]);
}
i2 success
iter 2
5.7s · 998/417t · $0.0060
diff vs i1: +0/-0
  // Stepped pyramid with three layers
  union() {
      // Bottom layer: 60x60x10
      translate([-30, -30, 0])
          cube([60, 60, 10]);
  
      // Middle layer: 40x40x10
      translate([-20, -20, 10])
          cube([40, 40, 10]);
  
      // Top layer: 20x20x10
      translate([-10, -10, 20])
          cube([20, 20, 10]);
  }
SCAD (14 lines)
// Stepped pyramid with three layers
union() {
    // Bottom layer: 60x60x10
    translate([-30, -30, 0])
        cube([60, 60, 10]);

    // Middle layer: 40x40x10
    translate([-20, -20, 10])
        cube([40, 40, 10]);

    // Top layer: 20x20x10
    translate([-10, -10, 20])
        cube([20, 20, 10]);
}
i3 success
iter 3
7.2s · 998/579t · $0.0078
diff vs i2: +0/-0
  // Stepped pyramid with three layers
  union() {
      // Bottom layer: 60x60x10
      translate([-30, -30, 0])
          cube([60, 60, 10]);
  
      // Middle layer: 40x40x10
      translate([-20, -20, 10])
          cube([40, 40, 10]);
  
      // Top layer: 20x20x10
      translate([-10, -10, 20])
          cube([20, 20, 10]);
  }
SCAD (14 lines)
// Stepped pyramid with three layers
union() {
    // Bottom layer: 60x60x10
    translate([-30, -30, 0])
        cube([60, 60, 10]);

    // Middle layer: 40x40x10
    translate([-20, -20, 10])
        cube([40, 40, 10]);

    // Top layer: 20x20x10
    translate([-10, -10, 20])
        cube([20, 20, 10]);
}