vibe-openscad

pdf-page/gemma-3-27b / tier-4-gp2y0d413k

success tier 4

pdf-page (google/gemma-3-27b)

render
bare render of tier-4-gp2y0d413k
loading STL…
success 187.1s · 593/333t
SCAD (27 lines)
module gp2y0d413k0f() {

  // 本体ケース (Carbonic ABS)
  cube([20.45, 13.5, 6.7], center = true);

  // レンズケース突起
  translate([0, 6.75, 3.35])
    cube([10.1, 5.8, 3.35], center = true);

  // 発光部レンズ (円形)
  translate([-4.2, 6.75, 3.35 + 1.5/2])
    cylinder(r=1.5, h=0.1, $fn=30);

  // 受光部レンズ (矩形)
  translate([4.2, 6.75, 3.35 + 1.5/2])
    cube([3.8, 1.5, 0.1], center = true);

  // PWB
  translate([0, -6.75/2, -3.35])
    cube([16.3, 4.5, 0.5], center = true);

  // コネクタ (簡易表現)
  translate([0, -8.15, -3.35])
    cube([7, 2, 1], center = true);
}

gp2y0d413k0f();

meta

runIdpdf-page_gemma-3-27b-022b769f8f70-2026-04-29T13-29-34-057Z
matrixIdpdf-page/gemma-3-27b
signature022b769f8f706fc4…
provideropenai-self-hosted
modelgoogle/gemma-3-27b
harnesspdf-page
statussuccess
duration187.12s (wallclock: load + prompt eval + generation + network)
TTFT9.031s
generation time176.52s (pure decode, excludes load + prompt eval)
tokens593 in / 333 out
generation tok/s1.9 tok/s (pure decode rate)
wallclock tok/s1.8 tok/s (end-to-end)
createdAt2026-04-29T13:29:34.057Z
gitCommit27221824780d
openscadOpenSCAD version 2026.04.27

model metadata (self-hosted)

セルフホスト LLM はクラウドの単一 provider と違い、 実質「(モデル開発者, weight publisher, 量子化)」の組で挙動が決まる。 run 時に LM Studio / Ollama から取得した値:

publishergoogle
typevlm
archgemma3
quantizationQ4_0
max ctx131,072 tok
host GPUNVIDIA GeForce RTX 3090 (Vulkan)
host VRAM24 GB
host CPU12th Gen Intel(R) Core(TM) i9-12900K
host RAM32 GB

prompt

添付の Sharp 製距離センサ GP2Y0D413K0F のデータシート 2 ページ目には、
本体の外形寸法図(Outline Dimensions)が描かれています。図を読み取り、
OpenSCAD でセンサの外形をモデリングしてください。

含めるべき部位:
- 本体ケース(Carbonic ABS、概形は直方体)
- 前面に飛び出すレンズケース(2 つの窓を持つ突起)
- 発光部レンズ(円形の窓、左側)と受光部レンズ(矩形の窓、右側)
- 下部に取り付けられる PWB(プリント基板、薄板)
- 底面の 3 ピンコネクタ(JCTC 12001W90-3P-HF、簡易表現で可)

寸法:
- 図中のミリメートル数値に従ってください
- "*" 印が付いた寸法はレンズ中心位置を示す参照寸法です
- 括弧 `( )` で囲まれた値は参考寸法
- "Unspecified tolerances shall be ± 0.3 mm" に従ってよい

座標系:
- 本体の中心が原点。+Z は上方向(コネクタが下、レンズが前面 +Y)
- 単位は mm

内部の IC や回路素子はモデリング不要、外形だけで十分です。
完成したコード全体を ```openscad ... ``` のフェンスで囲んで出力してください。
コードのみで、追加の説明は不要です。