vibe-openscad

bare-low/claude-sonnet-4-6 / tier-1-mug

success tier 1

bare (claude sonnet 4.6)

render
bare render of tier-1-mug
loading STL…
success 7.9s · 210/372t · $0.0062
SCAD (36 lines)
$fn = 64;

outer_radius = 40;
height = 100;
wall = 4;
bottom = 6;

handle_radius = 12;
handle_tube = 4;
handle_center_z = height / 2;
handle_center_x = outer_radius + handle_radius;

difference() {
    union() {
        // Cup body
        cylinder(r = outer_radius, h = height);
        
        // Handle (torus)
        translate([handle_center_x, 0, handle_center_z])
            rotate([90, 0, 0])
                rotate_extrude(angle = 360)
                    translate([handle_radius, 0, 0])
                        circle(r = handle_tube);
    }
    
    // Hollow inside
    translate([0, 0, bottom])
        cylinder(r = outer_radius - wall, h = height - bottom + 1);
    
    // Cut handle interior to open the ring gap toward cup
    // (no cut needed; the torus is already a ring)
    
    // Cut the handle where it intersects the cup wall to open passage
    translate([outer_radius - wall, -handle_radius - handle_tube - 1, handle_center_z - handle_radius - handle_tube - 1])
        cube([wall + 1 + handle_tube, (handle_radius + handle_tube + 1) * 2, (handle_radius + handle_tube + 1) * 2]);
}
パラメータ (6)
スライダを動かすと openscad-wasm で再レンダリング

meta

runIdbare-low_claude-sonnet-4-6-db9643b0a48a-2026-04-27T21-51-18-753Z
matrixIdbare-low/claude-sonnet-4-6
signaturedb9643b0a48a9200…
provideranthropic
modelclaude-sonnet-4-6
harnessbare
statussuccess
duration7.86s (wallclock: load + prompt eval + generation + network)
tokens210 in / 372 out
wallclock tok/s47.3 tok/s (end-to-end)
cost$0.0062
createdAt2026-04-27T21:51:18.753Z
gitCommit9719f13cf9c1
openscadOpenSCAD version 2026.04.27

prompt

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

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