# Third-Party Notices

このアプリケーションは以下のサードパーティ製ソフトウェアを同梱(vendoring)しています。
各ライブラリは元の作者に著作権が帰属し、それぞれのライセンス条件で配布されています。

## three.js (r160 / 0.160.0)
- 用途: 3Dビューの描画（WebGLRenderer, OrbitControls）
- 著作権: Copyright © 2010-2023 three.js authors
- ライセンス: MIT License
- ライセンス全文: `vendor/three/LICENSE`
- 配布元: https://github.com/mrdoob/three.js
- 同梱ファイル:
  - `vendor/three/build/three.module.js`
  - `vendor/three/examples/jsm/controls/OrbitControls.js`

## rhino3dm.js (8.32.2)
- 用途: Rhinoceros の .3dm ファイルの読み込み（Web Worker `src/3dm-worker.js` の中だけで使用）
- 著作権: Copyright (c) 2023 Robert McNeel & Associates
- ライセンス: MIT License
- ライセンス全文: `vendor/rhino3dm/LICENSE`
- 配布元: https://github.com/mcneel/rhino3dm （npm: rhino3dm@8.32.2）
- 同梱ファイル:
  - `vendor/rhino3dm/rhino3dm.module.js`
  - `vendor/rhino3dm/rhino3dm.wasm`

## OpenSKP (1.3.0)
- 用途: SketchUp の .skp ファイルの読み込み（Web Worker `src/skp-worker.js`）と**書き出し**（`src/exportskp.js`）
- 著作権: Copyright (c) 2024-2026 Ahsan Mehmood
- ライセンス: MIT License
- ライセンス全文: `vendor/openskp/LICENSE`
- 配布元: https://github.com/iamahsanmehmood/openskp （npm: openskp@1.3.0）
- 同梱ファイル:
  - `vendor/openskp/openskp.mjs` （**読み込み用**。npm 版 `dist/index.mjs` の `parseSkp` / `buildScene` /
    `buildInstancedScene` / `isDrawableEdge` と依存 earcut 3.2.3 / fflate 0.8.3 / flatbuffers 25.9.23 を
    ブラウザ向けに1ファイルへまとめたもの。bun build --target=browser --format=esm）
  - `vendor/openskp/openskp-write.mjs` （**書き出し用**。同じ npm 版から `create` だけを同じ手順でまとめたもの。
    69,850 バイト。eval・WebAssembly・Node 依存を含まない＝ページの CSP `script-src 'self'` のまま動く。
    2026-09-23 追加）
    - 作り方: `bun add openskp@1.3.0 fflate earcut flatbuffers` したフォルダで
      `echo "export { create } from 'openskp';" > entry.js && bun build --target=browser --format=esm entry.js --outfile=openskp-write.mjs`
      （同じ手順で読み込み用を作り直すと既存ファイルとバイト数が一致することを確認済み）
- 同梱している依存ライブラリ（いずれも MIT）:
  - earcut (Copyright (c) 2016 Mapbox) / fflate (Copyright (c) 2023 Arjun Barrett) /
    flatbuffers (Copyright 2014 Google Inc., Apache License 2.0)

## pdf-lib
- 用途: 天空率算定図シートの PDF の作成（サーバー側で使用。ブラウザには配信しない）
- 著作権: Copyright (c) 2019 Andrew Dillon
- ライセンス: MIT License（同梱の tslib 部分は Copyright (c) Microsoft Corporation, Apache License 2.0。表示は min.js 内に保持）
- ライセンス全文: `functions/_vendor/pdf-lib/LICENSE`
- 配布元: https://github.com/Hopding/pdf-lib
- 同梱ファイル: `functions/_vendor/pdf-lib/pdf-lib.min.js`

## @pdf-lib/fontkit
- 用途: PDF の日本語の文字の輪郭の取り出し（pdf-lib と組み合わせてサーバー側で使用）
- 著作権: Copyright (c) Devon Govett and contributors
- ライセンス: MIT License
- ライセンス全文: `functions/_vendor/fontkit/LICENSE`
- 配布元: https://github.com/Hopding/fontkit
- 同梱ファイル: `functions/_vendor/fontkit/fontkit.umd.min.js`

## Noto Sans CJK JP（サブセット）
- 用途: 天空率算定図シートの PDF の日本語の文字（サーバー側で輪郭として描く）
- 著作権: © 2014-2021 Adobe (http://www.adobe.com/). Noto is a trademark of Google Inc.（Version 2.004）
- ライセンス: SIL Open Font License 1.1
- ライセンス全文: `functions/_vendor/fonts/OFL.txt`（作り方の説明は `functions/_vendor/fonts/NOTICE.txt`）
- 配布元: https://github.com/notofonts/noto-cjk
- 同梱ファイル: `functions/_vendor/fonts/NotoSansJP-subset.bin`（アプリで使う文字だけを抜き出したサブセット。中身は TrueType）

## resvg（@resvg/resvg-wasm 2.6.2）
- 用途: プレビューの画像（PNG）の作成（サーバー側で使用。ブラウザには配信しない）
- ライセンス: Mozilla Public License 2.0（改変なし）
- 配布元: https://github.com/yisibl/resvg-js（resvg: https://github.com/RazrFalcon/resvg）
- 同梱ファイル: `functions/_vendor/resvg/index.mjs`・`functions/_vendor/resvg/index_bg.wasm`（説明は `functions/_vendor/resvg/NOTICE.txt`）

---

注: 上記のライブラリ・フォントはすべてローカルに同梱しており、外部の CDN からは読み込みません。
本サービスの通信先は、配信元（tenkuritsu.com）、アクセス解析（Cloudflare Web Analytics）、決済画面（Stripe）です（詳しくはプライバシーポリシー）。
