vibe-openscad

bare-max/claude-opus-5 / tier-1-cube-with-hole

success tier 1

bare (claude opus 5)

render
bare render of tier-1-cube-with-hole
loading STL…
success 4.0s · 111/191t · $0.0053
SCAD (14 lines)
// 50mm角の立方体に、中央をZ軸方向に貫通する直径20mmの穴を開けたモデル

$fn = 100;

cube_size = 50;
hole_d = 20;

difference() {
    // 50mm角の立方体(原点を中心に配置)
    cube([cube_size, cube_size, cube_size], center = true);

    // 中央をZ軸方向に貫通する穴(余裕を持たせて長めにする)
    cylinder(h = cube_size + 2, d = hole_d, center = true);
}
パラメータ (2) —
スライダを動かすと openscad-wasm で再レンダリング

meta

runIdbare-max_claude-opus-5-3830fc0fd923-2026-09-05T12-54-50-278Z
matrixIdbare-max/claude-opus-5
signature3830fc0fd9234f84…
provideranthropic
modelclaude-opus-5
harnessbare
statussuccess
duration3.96s (wallclock: load + prompt eval + generation + network)
tokens111 in / 191 out
wallclock tok/s48.2 tok/s (end-to-end)
cost$0.0053
createdAt2026-09-05T12:54:50.278Z
gitCommitdfb9131c7fa6
openscadOpenSCAD version 2026.04.27

prompt

OpenSCAD で、50mm 角の立方体の中央に、直径 20mm の貫通穴を z 軸方向に開けたモデルを作成してください。

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