vibe-openscad

tier-1-cube-with-hole / gpt-6-astra

6 run / 累計 23.7s / 累計 $0.0363

openai gpt 6 astra bare

bare (provider default effort)

run detail →
render
bare render of tier-1-cube-with-hole
loading STL…
success 3.6s · 82/50t · $0.0033
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
5.2s · 82/50t · $0.0033
SCAD (4 lines)
difference() {
    cube([50, 50, 50], center = true);
    cylinder(h = 52, d = 20, center = true, $fn = 100);
}
medium (default) success →
medium
3.6s · 82/50t · $0.0033
SCAD (4 lines)
difference() {
    cube([50, 50, 50], center = true);
    cylinder(h = 52, d = 20, center = true, $fn = 100);
}
high success →
high
3.2s · 82/103t · $0.0060
SCAD (4 lines)
difference() {
    cube([50, 50, 50], center = true);
    cylinder(h = 52, d = 20, center = true, $fn = 100);
}
max success →
max
4.5s · 82/219t · $0.0118
SCAD (6 lines)
$fn = 100;

difference() {
    cube([50, 50, 50], center = true);
    cylinder(h = 52, d = 20, center = true);
}
xhigh success →
xhigh
3.8s · 82/155t · $0.0086
SCAD (6 lines)
$fn = 100;

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