—
tier-1-cube-with-hole / gemini-3.6-flash
2 run / 累計 3.6s / 累計 $0.0010
gemini flash 3.6 bare-think-off
bare (provider default effort)
run detail → render
loading STL…
$fn = 100;
difference() {
// 50mm角の立方体(中心を原点に配置)
cube([50, 50, 50], center = true);
// 直径20mm(半径10mm)の貫通穴
// チラつき(Z-fighting)を防ぐため、高さ方向に少し大きく(52mm)しています
cylinder(h = 52, r = 10, center = true);
} prompt
OpenSCAD で、50mm 角の立方体の中央に、直径 20mm の貫通穴を z 軸方向に開けたモデルを作成してください。 完成したコード全体を ```openscad ... ``` のフェンスで囲んで出力してください。コードのみで、追加の説明は不要です。
variant: thinking
—
SCAD (10 lines)
$fn = 100;
difference() {
// 50mm角の立方体(中心を原点に配置)
cube([50, 50, 50], center = true);
// 直径20mm(半径10mm)の貫通穴
// チラつき(Z-fighting)を防ぐため、高さ方向に少し大きく(52mm)しています
cylinder(h = 52, r = 10, center = true);
}