vibe-openscad

tier-1-cube-with-hole / claude-fable-5-1

6 run / 累計 36.1s / 累計 $0.0523

claude fable 5.1 bare

bare (provider default effort)

run detail →
render
bare render of tier-1-cube-with-hole
loading STL…
success 5.4s · 113/54t · $0.0038
SCAD (4 lines)
difference() {
    cube(50, center = true);
    cylinder(h = 60, d = 20, center = true, $fn = 100);
}

prompt

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

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

variant: effort

low success →
low
5.1s · 113/54t · $0.0038
SCAD (4 lines)
difference() {
    cube(50, center = true);
    cylinder(h = 60, d = 20, center = true, $fn = 100);
}
mediumnot run
—
high (default) success →
high
5.4s · 113/54t · $0.0038
SCAD (4 lines)
difference() {
    cube(50, center = true);
    cylinder(h = 60, d = 20, center = true, $fn = 100);
}
max success →
max
7.9s · 113/347t · $0.0185
SCAD (9 lines)
// 50mm 角の立方体の中央に直径 20mm の貫通穴(z 軸方向)
cube_size = 50;
hole_d    = 20;
$fn       = 96;

difference() {
    cube(cube_size, center = true);
    cylinder(h = cube_size + 2, d = hole_d, center = true);
}
xhigh success →
xhigh
4.5s · 113/54t · $0.0038
SCAD (4 lines)
difference() {
    cube(50, center = true);
    cylinder(h = 60, d = 20, center = true, $fn = 100);
}

variant: thinking

offnot run
—
adaptive (default) success →
adaptive
7.9s · 113/347t · $0.0185
SCAD (9 lines)
// 50mm 角の立方体の中央に直径 20mm の貫通穴(z 軸方向)
cube_size = 50;
hole_d    = 20;
$fn       = 96;

difference() {
    cube(cube_size, center = true);
    cylinder(h = cube_size + 2, d = hole_d, center = true);
}
dynamicnot run
—