bare-max/claude-fable-5-1 / tier-1-cube-with-hole
success tier 1
bare (claude fable 5.1)
render
// 50mm 角の立方体の中央に直径 20mm の貫通穴(z 軸方向)
cube_size = 50;
hole_d = 20;
$fn = 96;
difference() {
cube(cube_size, center = true);
cylinder(h = cube_size + 2, d = hole_d, center = true);
} パラメータ (2) —
スライダを動かすと openscad-wasm で再レンダリング
prompt
OpenSCAD で、50mm 角の立方体の中央に、直径 20mm の貫通穴を z 軸方向に開けたモデルを作成してください。 完成したコード全体を ```openscad ... ``` のフェンスで囲んで出力してください。コードのみで、追加の説明は不要です。