vibe-openscad

bare-low/claude-opus-4-8 / tier-1-mug

success tier 1

bare (claude opus 4.8)

render
bare render of tier-1-mug
loading STL…
success 6.3s · 220/425t · $0.0117
SCAD (39 lines)
// マグカップ
$fn = 100;

outer_d = 80;      // 外径
height = 100;      // 高さ
wall = 4;          // 肉厚
bottom = 6;        // 底面の厚み

outer_r = outer_d / 2;
inner_r = outer_r - wall;

// 取手のパラメータ
handle_ring_r = 12;        // リング断面の半径(指を通す穴の半径)
handle_tube_r = 5;         // チューブ(取手本体)の太さ
handle_z = height / 2;     // 取手を付ける高さ(中心高さ)

module cup_body() {
    difference() {
        // 外形
        cylinder(h = height, r = outer_r);
        // 内側くり抜き
        translate([0, 0, bottom])
            cylinder(h = height - bottom + 1, r = inner_r);
    }
}

module handle() {
    // リング状の取手
    translate([outer_r + handle_ring_r - 2, 0, handle_z])
        rotate([90, 0, 0])
            rotate_extrude()
                translate([handle_ring_r, 0, 0])
                    circle(r = handle_tube_r);
}

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

meta

runIdbare-low_claude-opus-4-8-c3b2b656ca19-2026-06-09T17-38-03-577Z
matrixIdbare-low/claude-opus-4-8
signaturec3b2b656ca19bad5…
provideranthropic
modelclaude-opus-4-8
harnessbare
statussuccess
duration6.29s (wallclock: load + prompt eval + generation + network)
tokens220 in / 425 out
wallclock tok/s67.5 tok/s (end-to-end)
cost$0.0117
createdAt2026-06-09T17:38:03.577Z
gitCommitc8a77106d384
openscadOpenSCAD version 2026.04.27

prompt

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

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