vibe-openscad

bare-xhigh/gpt-5.6-terra / tier-1-mug

success tier 1

bare (gpt 5.6 terra)

render
bare render of tier-1-mug
loading STL…
success 63.5s · 168/5611t · $0.0677
SCAD (37 lines)
$fn = 96;

cup_outer_radius = 40;
cup_inner_radius = 36;
cup_height       = 100;
bottom_thickness = 6;

handle_inner_radius = 12;
handle_grip_radius  = 4;
handle_major_radius = handle_inner_radius + handle_grip_radius;
handle_center_x     = cup_outer_radius + handle_major_radius + handle_grip_radius - 2;
handle_center_z     = cup_height / 2;

module cup_body() {
    difference() {
        cylinder(r = cup_outer_radius, h = cup_height);

        translate([0, 0, bottom_thickness])
            cylinder(
                r = cup_inner_radius,
                h = cup_height - bottom_thickness + 1
            );
    }
}

module handle() {
    translate([handle_center_x, 0, handle_center_z])
        rotate([90, 0, 0])
            rotate_extrude()
                translate([handle_major_radius, 0, 0])
                    circle(r = handle_grip_radius, $fn = 32);
}

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

meta

runIdbare-xhigh_gpt-5.6-terra-24dcc115ca71-2026-09-05T10-28-21-606Z
matrixIdbare-xhigh/gpt-5.6-terra
signature24dcc115ca71c6a3…
provideropenai
modelgpt-5.6-terra
harnessbare
statussuccess
duration63.52s (wallclock: load + prompt eval + generation + network)
tokens168 in / 5611 out
wallclock tok/s88.3 tok/s (end-to-end)
cost$0.0677
createdAt2026-09-05T10:28:21.606Z
gitCommit6126da97a014
openscadOpenSCAD version 2026.04.27

prompt

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

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