vibe-openscad

iter-png-1/o3 / tier-1-mug

success tier 1

bare (o3)

render
bare render of tier-1-mug
loading STL…
success 67.2s · 1263/2488t · $0.0224
SCAD (46 lines)
// マグカップ寸法
outer_d = 80;        // 外径
outer_r = outer_d/2;
height  = 100;       // 全高
wall    = 4;         // 肉厚
bottom  = 6;         // 底厚

// 内部計算
inner_r = outer_r - wall;
inner_h = height - bottom;

// 取手寸法
handle_R = 12;       // リングの半径
handle_r = 4;        // リングの太さ(チューブ半径)
handle_z = height/2; // 取手位置(高さ方向で中央)

$fn = 128;           // 滑らかさ

// カップ本体
module cup() {
    difference() {
        cylinder(h = height, r = outer_r);
        translate([0,0,bottom])
            cylinder(h = inner_h, r = inner_r);
    }
}

// トーラス(リング)生成
module torus(R, r) {
    rotate_extrude()
        translate([R, 0, 0])
            circle(r = r);
}

// 取手
module handle() {
    translate([outer_r, 0, handle_z])   // 外周位置へ移動
        rotate([0, 90, 0])              // 垂直面に立てる
            torus(handle_R, handle_r);
}

// 組み立て
union() {
    cup();
    handle();
}
パラメータ (6)
スライダを動かすと openscad-wasm で再レンダリング

meta

runIditer-png-1_o3-9f86d760282b-2026-04-27T17-24-22-581Z
matrixIditer-png-1/o3
signature9f86d760282b34a6…
provideropenai
modelo3-2025-04-16
harnessbare
statussuccess
duration67.16s (wallclock: load + prompt eval + generation + network)
tokens1263 in / 2488 out
wallclock tok/s37.0 tok/s (end-to-end)
cost$0.0224
createdAt2026-04-27T17:24:22.582Z
gitCommitaf54e116f6f8
openscadOpenSCAD version 2026.04.27

iteration chain

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

→ children (1)

prompt

OpenSCAD で、外径 80mm、高さ 100mm、肉厚 4mm のマグカップを作ってください。
底面の厚みは 6mm とし、内側はくり抜いて飲み物を入れられる形状にしてください。
さらに、側面には外径方向に飛び出す半径 12mm の取手(リング状の取手)を付けてください。
取手はカップの中心高さあたりに付け、外周から十分にはみ出して指を通せる形にしてください。

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