vibe-openscad

bare-high/gpt-5.4 / tier-1-mug

success tier 1

bare (gpt 5.4)

render
bare render of tier-1-mug
loading STL…
success 94.1s · 168/5727t · $0.0920
SCAD (34 lines)
$fn = 180;

outer_d = 80;
outer_r = outer_d / 2;
height = 100;
wall = 4;
bottom = 6;

handle_major_r = 12;
handle_tube_r = 4;
handle_center_x = outer_r + handle_major_r + 1;
handle_center_z = height / 2;

module cup_body() {
    difference() {
        cylinder(h = height, r = outer_r);
        translate([0, 0, bottom])
            cylinder(h = height - bottom + 0.2, r = outer_r - wall);
    }
}

module torus(R, r) {
    rotate_extrude(convexity = 10)
        translate([R, 0, 0])
            circle(r = r);
}

union() {
    cup_body();

    translate([handle_center_x, 0, handle_center_z])
        rotate([90, 0, 0])
            torus(handle_major_r, handle_tube_r);
}
パラメータ (6)
スライダを動かすと openscad-wasm で再レンダリング

meta

runIdbare-high_gpt-5.4-8a9aa76ee4ff-2026-04-27T21-53-27-082Z
matrixIdbare-high/gpt-5.4
signature8a9aa76ee4ffa5fe…
provideropenai
modelgpt-5.4-2026-03-05
harnessbare
statussuccess
duration94.11s (wallclock: load + prompt eval + generation + network)
tokens168 in / 5727 out
wallclock tok/s60.9 tok/s (end-to-end)
cost$0.0920
createdAt2026-04-27T21:53:27.082Z
gitCommit9719f13cf9c1
openscadOpenSCAD version 2026.04.27

prompt

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

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