vibe-openscad

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

9 run / 累計 49.6s / 累計 $0.1276

claude fable 5 bare

bare (provider default effort)

run detail →
render
bare render of tier-1-cube-with-hole
loading STL…
success 4.8s · 111/154t · $0.0088
SCAD (7 lines)
difference() {
    // 50mm 角の立方体(中心に配置)
    cube([50, 50, 50], center = true);

    // 直径 20mm の貫通穴(z 軸方向)
    cylinder(h = 52, d = 20, center = true, $fn = 64);
}

prompt

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

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

variant: effort

low success
low
3.8s · 111/60t · $0.0041
SCAD (4 lines)
difference() {
    cube([50, 50, 50], center = true);
    cylinder(h = 52, d = 20, center = true, $fn = 100);
}
mediumnot run
high (default) success
high
4.8s · 111/154t · $0.0088
SCAD (7 lines)
difference() {
    // 50mm 角の立方体(中心に配置)
    cube([50, 50, 50], center = true);

    // 直径 20mm の貫通穴(z 軸方向)
    cylinder(h = 52, d = 20, center = true, $fn = 64);
}
max success
max
10.7s · 111/646t · $0.0334
SCAD (10 lines)
// 円柱の滑らかさ
$fn = 100;

difference() {
    // 50mm 角の立方体(原点中心)
    cube([50, 50, 50], center = true);

    // 直径 20mm の貫通穴(z 軸方向、確実に貫通させるため高さに余裕を持たせる)
    cylinder(h = 52, d = 20, center = true);
}
xhigh success
xhigh
4.0s · 111/98t · $0.0060
SCAD (4 lines)
difference() {
    cube(50, center = true);
    cylinder(h = 52, d = 20, center = true, $fn = 64);
}

variant: thinking

offnot run
adaptive (default) success
adaptive
4.0s · 111/98t · $0.0060
SCAD (4 lines)
difference() {
    cube(50, center = true);
    cylinder(h = 52, d = 20, center = true, $fn = 64);
}
dynamicnot run

iteration: iter-png

i1 success
iter 1
5.5s · 976/198t · $0.0197
diff vs bare: +0/-0
  difference() {
      // 50mm 角の立方体(中心に配置)
      cube([50, 50, 50], center = true);
  
      // 直径 20mm の貫通穴(z 軸方向)
      cylinder(h = 52, d = 20, center = true, $fn = 64);
  }
SCAD (7 lines)
difference() {
    // 50mm 角の立方体(中心に配置)
    cube([50, 50, 50], center = true);

    // 直径 20mm の貫通穴(z 軸方向)
    cylinder(h = 52, d = 20, center = true, $fn = 64);
}
i2 success
iter 2
6.0s · 976/208t · $0.0202
diff vs i1: +0/-0
  difference() {
      // 50mm 角の立方体(中心に配置)
      cube([50, 50, 50], center = true);
  
      // 直径 20mm の貫通穴(z 軸方向)
      cylinder(h = 52, d = 20, center = true, $fn = 64);
  }
SCAD (7 lines)
difference() {
    // 50mm 角の立方体(中心に配置)
    cube([50, 50, 50], center = true);

    // 直径 20mm の貫通穴(z 軸方向)
    cylinder(h = 52, d = 20, center = true, $fn = 64);
}
i3 success
iter 3
6.1s · 976/217t · $0.0206
diff vs i2: +0/-0
  difference() {
      // 50mm 角の立方体(中心に配置)
      cube([50, 50, 50], center = true);
  
      // 直径 20mm の貫通穴(z 軸方向)
      cylinder(h = 52, d = 20, center = true, $fn = 64);
  }
SCAD (7 lines)
difference() {
    // 50mm 角の立方体(中心に配置)
    cube([50, 50, 50], center = true);

    // 直径 20mm の貫通穴(z 軸方向)
    cylinder(h = 52, d = 20, center = true, $fn = 64);
}