Newer
Older
SmTIAS-LightSim / configs / fusion / smtias_v3_mapping.yaml
# SmTIASv3(Fusion 正本)のボディ → シーンメッシュ対応表.
# scripts/fusion_to_scene.py --mapping で使う.id・材質は configs/scene_baseline.yaml に合わせている.
# bodies の記載順が生成 YAML の geometry.meshes の並び順になる.
# id の {board} は,そのボディが属する LED ユニット(トップレベルオカレンス)の基板ラベル
# (bottom / right / left / top)に置き換わる.

# 対応表に無いボディに使う材質(警告付きでシーンに含める)
default_material: printer_white

led:
  # 2835 パッケージ(厚み 1.0〜1.1 × 2.8 × 3.5 mm).OBB の各辺がこの ± tolerance に入れば LED
  package_dims_mm: [1.05, 2.8, 3.5]
  tolerance_mm: 0.15
  # 自動判定(ユニット内の LED 以外のボディ中心 → LED 中心の向き)を使う
  direction: null
  direction_overrides: {}

# 基板ラベルを手動で決めたい場合: トップレベルオカレンス名 → bottom / right / left / top
boards: {}

bodies:
  前側:
    id: housing_front
    material: printer_white
  後側:
    id: housing_back
    material: printer_white
  スマホホルダ:
    id: phone_holder
    material: holder_dark
  LED基板カバー:
    id: "led_cover_{board}"
    material: printer_white
  SH-02M:
    id: phone_body
    material: phone_body_dark
  照明ムラ補正ボード:
    id: evaluation_board
    material: printer_white
  # baseline に含まれていない部品
  スイッチカバー下:
    exclude: true