vibe-openscad

bare-high/gpt-6-luna / tier-1-mug

success tier 1

bare (gpt 6 luna)

render
bare render of tier-1-mug
loading STL…
success 23.1s · 168/2027t · $0.0010
SCAD (35 lines)
$fn = 128;

cup_outer_diameter = 80;
cup_height = 100;
wall_thickness = 4;
bottom_thickness = 6;

handle_radius = 12;
handle_tube_radius = 3;
handle_center_x = 53;

module torus(major_radius, tube_radius) {
    rotate([90, 0, 0])
        rotate_extrude(convexity = 10)
            translate([major_radius, 0, 0])
                circle(r = tube_radius, $fn = 32);
}

union() {
    difference() {
        cylinder(
            h = cup_height,
            d = cup_outer_diameter
        );

        translate([0, 0, bottom_thickness])
            cylinder(
                h = cup_height - bottom_thickness + 1,
                d = cup_outer_diameter - 2 * wall_thickness
            );
    }

    translate([handle_center_x, 0, cup_height / 2])
        torus(handle_radius, handle_tube_radius);
}
パラメータ (7) —
スライダを動かすと openscad-wasm で再レンダリング

meta

runIdbare-high_gpt-6-luna-0c030befc1ad-2026-10-06T19-30-46-910Z
matrixIdbare-high/gpt-6-luna
signature0c030befc1ad1ded…
provideropenai
modelgpt-6-luna
harnessbare
statussuccess
duration23.06s (wallclock: load + prompt eval + generation + network)
tokens168 in / 2027 out
wallclock tok/s87.9 tok/s (end-to-end)
cost$0.0010
createdAt2026-10-06T19:30:46.911Z
gitCommitf205f3241c4c
openscadOpenSCAD version 2026.09.23

prompt

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

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