vibe-openscad

iter-png-2/qwen3.5-9b / tier-2-hex-bolt

render_error tier 2
error
openscad stl render failed (exit 1): ERROR: Parser error: syntax error in file ../../../../../tmp/render-SHdhmn/input.scad, line 6
Can't parse file '/tmp/render-SHdhmn/input.scad'!

bare (qwen/qwen3.5-9b)

render
no render
render_error 27.5s · 1267/3037t
openscad stl render failed (exit 1): ERROR: Parser error: syntax error in file ../../../../../tmp/render-SHdhmn/input.scad, line 6
Can't parse file '/tmp/render-SHdhmn/input.scad'!

SCAD (29 lines)
// Hexagonal Head
// Across flats = 13mm -> Circumradius = 13 / (2 * cos(30deg))
// Head height = 5.3mm
// Head bottom at z=0

R = 13 / (2 * cos(30 deg));

// Define vertices for hexagonal prism
points = [
    [R, 0],
    [R * cos(60 deg), R * sin(60 deg)],
    [R * cos(120 deg), R * sin(120 deg)],
    [R * cos(180 deg), R * sin(180 deg)],
    [R * cos(240 deg), R * sin(240 deg)],
    [R * cos(300 deg), R * sin(300 deg)]
];

// Extrude to height 5.3mm
// This ensures the hexagonal prism shape is correct
translate([0, 0, 0])
linear_extrude(height = 5.3)
polygon(points);

// Shank
// Diameter = 8mm
// Length = 30mm
// Top at z=0, Bottom at z=-30
translate([0, 0, -30])
cylinder(d = 8, h = 30, center = false);

meta

runIditer-png-2_qwen3.5-9b-20e64dd88497-2026-09-23T09-11-49-747Z
matrixIditer-png-2/qwen3.5-9b
signature20e64dd884973279…
provideropenai-self-hosted
modelqwen/qwen3.5-9b
harnessbare
statusrender_error
duration27.54s (wallclock: load + prompt eval + generation + network)
tokens1267 in / 3037 out
wallclock tok/s110.3 tok/s (end-to-end)
createdAt2026-09-23T09:11:49.747Z
gitCommit54e55cb7b2b0
openscadOpenSCAD version 2026.09.23

iteration chain

各 iteration step は独立した benchmark run です。parentRunId で前段にリンクします。

prompt

OpenSCAD で、規格に準じた M8 サイズの六角ボルトを作ってください。
ねじ山自体は省略してよく、円柱のシャンクで構いません。

寸法は以下に従ってください:
- 頭部は六角柱で、対辺距離(across-flats)13mm、高さ 5.3mm
- シャンク(軸部)は直径 8mm、長さ 30mm の円柱
- ボルト全体の中心軸は +Z 軸方向
- 頭部の底面が原点(z=0)に来るように配置し、シャンクは z<0 側へ伸ばす

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