vibe-openscad

bare-low/claude-opus-5 / tier-1-stepped-pyramid

success tier 1

bare (claude opus 5)

render
bare render of tier-1-stepped-pyramid
loading STL…
success 4.7s · 198/301t · $0.0085
SCAD (22 lines)
// 3段のステップピラミッド
// 各段は中心を揃えて積み上げる

step_sizes = [60, 40, 20];  // 各段の一辺の長さ (mm)
step_height = 10;           // 各段の高さ (mm)

module step_pyramid(sizes, h) {
    for (i = [0 : len(sizes) - 1]) {
        translate([0, 0, i * h])
            cube([sizes[i], sizes[i], h], center = false);
    }
}

// 中心を揃えるために各段を移動させる版
module step_pyramid_centered(sizes, h) {
    for (i = [0 : len(sizes) - 1]) {
        translate([0, 0, i * h + h / 2])
            cube([sizes[i], sizes[i], h], center = true);
    }
}

step_pyramid_centered(step_sizes, step_height);
パラメータ (1) —
スライダを動かすと openscad-wasm で再レンダリング

meta

runIdbare-low_claude-opus-5-1100b9262f97-2026-09-05T12-51-11-158Z
matrixIdbare-low/claude-opus-5
signature1100b9262f973211…
provideranthropic
modelclaude-opus-5
harnessbare
statussuccess
duration4.71s (wallclock: load + prompt eval + generation + network)
tokens198 in / 301 out
wallclock tok/s64.0 tok/s (end-to-end)
cost$0.0085
createdAt2026-09-05T12:51:11.159Z
gitCommitdfb9131c7fa6
openscadOpenSCAD version 2026.04.27

prompt

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

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