vibe-openscad

bare-high/gpt-5.4-nano / tier-1-stepped-pyramid

success tier 1

bare (gpt 5.4 nano)

render
bare render of tier-1-stepped-pyramid
loading STL…
success 2.7s · 151/254t · $0.0002
SCAD (30 lines)
// 3段の階段状ピラミッド(中心揃えで積み上げ)

$fn = 50;

base_size = 60;
mid_size  = 40;
top_size  = 20;

h = 10;

module plate(size, z) {
    cube([size, size, h], center = false);
    translate([0, 0, z]) children();
}

module step_stack() {
    // 底板(60x60x10)
    translate([-base_size/2, -base_size/2, 0])
        cube([base_size, base_size, h], center=false);

    // 中板(40x40x10)を底板の上へ(高さ +10)
    translate([-mid_size/2, -mid_size/2, h])
        cube([mid_size, mid_size, h], center=false);

    // 上板(20x20x10)を中板の上へ(高さ +20)
    translate([-top_size/2, -top_size/2, 2*h])
        cube([top_size, top_size, h], center=false);
}

step_stack();
パラメータ (4)
スライダを動かすと openscad-wasm で再レンダリング

meta

runIdbare-high_gpt-5.4-nano-750c6437d97d-2026-04-27T21-54-54-255Z
matrixIdbare-high/gpt-5.4-nano
signature750c6437d97d9132…
provideropenai
modelgpt-5.4-nano-2026-03-17
harnessbare
statussuccess
duration2.71s (wallclock: load + prompt eval + generation + network)
tokens151 in / 254 out
wallclock tok/s93.6 tok/s (end-to-end)
cost$0.0002
createdAt2026-04-27T21:54:54.255Z
gitCommit9719f13cf9c1
openscadOpenSCAD version 2026.04.27

prompt

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

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