vibe-openscad

bare-low/gpt-5.6-luna / tier-1-mug

success tier 1

bare (gpt 5.6 luna)

render
bare render of tier-1-mug
loading STL…
success 22.6s · 168/1505t · $0.0018
SCAD (42 lines)
$fn = 128;

outer_diameter = 80;
outer_radius = outer_diameter / 2;
height = 100;
wall_thickness = 4;
bottom_thickness = 6;

inner_radius = outer_radius - wall_thickness;

handle_radius = 12;
handle_tube_radius = 4;
handle_center_x = outer_radius + handle_tube_radius + handle_radius - wall_thickness;
handle_center_z = height / 2;

module cup_body() {
    difference() {
        cylinder(
            h = height,
            r = outer_radius
        );

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

module ring_handle() {
    translate([handle_center_x, 0, handle_center_z])
        rotate([90, 0, 0])
            rotate_extrude(convexity = 10)
                translate([handle_radius, 0, 0])
                    circle(r = handle_tube_radius);
}

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

meta

runIdbare-low_gpt-5.6-luna-6d7f53496aff-2026-09-05T10-14-45-234Z
matrixIdbare-low/gpt-5.6-luna
signature6d7f53496affe826…
provideropenai
modelgpt-5.6-luna
harnessbare
statussuccess
duration22.62s (wallclock: load + prompt eval + generation + network)
tokens168 in / 1505 out
wallclock tok/s66.5 tok/s (end-to-end)
cost$0.0018
createdAt2026-09-05T10:14:45.234Z
gitCommitd69c2b8ad709
openscadOpenSCAD version 2026.04.27

prompt

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

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