vibe-openscad

tier-1-cube-with-hole / gpt-6.1-sol

6 run / 累計 24.0s / 累計 $0.0078

openai gpt 6.1 sol bare

bare (provider default effort)

run detail →
render
bare render of tier-1-cube-with-hole
loading STL…
success 2.8s · 82/50t · $0.0007
SCAD (4 lines)
difference() {
    cube([50, 50, 50], center = true);
    cylinder(h = 52, d = 20, center = true, $fn = 100);
}

prompt

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

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

variant: effort

low success →
low
2.7s · 82/50t · $0.0007
SCAD (4 lines)
difference() {
    cube([50, 50, 50], center = true);
    cylinder(h = 52, d = 20, center = true, $fn = 100);
}
medium (default) success →
medium
2.8s · 82/50t · $0.0007
SCAD (4 lines)
difference() {
    cube([50, 50, 50], center = true);
    cylinder(h = 52, d = 20, center = true, $fn = 100);
}
high success →
high
3.5s · 82/102t · $0.0012
SCAD (4 lines)
difference() {
    cube([50, 50, 50], center = true);
    cylinder(h = 52, d = 20, center = true, $fn = 100);
}
max success →
max
7.8s · 82/283t · $0.0030
SCAD (4 lines)
difference() {
    cube([50, 50, 50], center = true);
    cylinder(h = 52, d = 20, center = true, $fn = 100);
}
xhigh success →
xhigh
4.6s · 82/142t · $0.0016
SCAD (6 lines)
$fn = 100;

difference() {
    cube([50, 50, 50], center = true);
    cylinder(h = 52, d = 20, center = true);
}