bare-high/gpt-5.4-nano / tier-1-cube-with-hole
success tier 1
bare (gpt 5.4 nano)
render
loading STL…
// 50mm cube with a through hole (diameter 20mm) along Z axis
difference() {
cube([50, 50, 50], center=true);
cylinder(h=60, d=20, center=true, $fn=100);
} prompt
OpenSCAD で、50mm 角の立方体の中央に、直径 20mm の貫通穴を z 軸方向に開けたモデルを作成してください。 完成したコード全体を ```openscad ... ``` のフェンスで囲んで出力してください。コードのみで、追加の説明は不要です。