bare-max/claude-fable-5 / tier-1-cube-with-hole
success tier 1
bare (claude fable 5)
render
loading STL…
// 円柱の滑らかさ
$fn = 100;
difference() {
// 50mm 角の立方体(原点中心)
cube([50, 50, 50], center = true);
// 直径 20mm の貫通穴(z 軸方向、確実に貫通させるため高さに余裕を持たせる)
cylinder(h = 52, d = 20, center = true);
} prompt
OpenSCAD で、50mm 角の立方体の中央に、直径 20mm の貫通穴を z 軸方向に開けたモデルを作成してください。 完成したコード全体を ```openscad ... ``` のフェンスで囲んで出力してください。コードのみで、追加の説明は不要です。