# Third-party notices

HEPH-3D is proprietary software by Merlin Picks LLC. It is built on open-source
software owned by others, and the macOS, Windows and Linux downloads include
copies of that software. Each component stays under its own licence, and
nothing in HEPH-3D's licence or terms limits the rights those licences give
you.

Every build carries, beside this file:

- `LICENSE` and `NOTICE`, HEPH-3D's own licence and a short list of what it is
  built on.
- `licenses/`, with the full text of the licences that require it, and
  `licenses/python-packages.txt`, a list of every Python package in that build
  with its version and licence. Each package's own licence files are copied to
  `licenses/python/<name>/`.

## Open CASCADE Technology (LGPL-2.1)

HEPH-3D's CAD kernel is Open CASCADE Technology (OCCT) 7.9.3, reached through
the OCP Python bindings (`cadquery-ocp`). OCCT is licensed under the GNU Lesser
General Public License version 2.1 with the Open CASCADE exception.

- Licence text: `licenses/LGPL-2.1.txt` and
  `licenses/OCCT-LGPL-exception-1.0.txt`.
- OCCT source for the version shipped:
  https://github.com/Open-Cascade-SAS/OCCT/tree/V7_9_3
- OCP bindings source: https://github.com/CadQuery/OCP (release 7.9.3.x), and
  the wheels as built: https://pypi.org/project/cadquery-ocp/
- OCCT ships as separate shared libraries (`TK*.so`, `TK*.dylib` or `TK*.dll`)
  inside the bundled Python's `site-packages`, loaded at run time, never
  statically linked into HEPH-3D's own code.

You may modify OCCT, build it yourself and replace the copies in the bundle
with your build, and HEPH-3D's licence lets you reverse engineer HEPH-3D as far
as needed to debug such a change. If you would like the OCCT source on a
physical medium instead, email contact@heph3d.com and we will send it for no
more than the cost of doing so.

## Other native libraries bundled with OCCT

The OCP wheel brings in these libraries alongside OCCT:

| Library | Licence |
| --- | --- |
| FreeImage 3.18 | FreeImage Public License 1.0 (chosen of its FIPL/GPL dual licence), `licenses/FreeImage-Public-License-1.0.txt` |
| LibRaw | LGPL-2.1 or CDDL-1.0 (used under LGPL-2.1; source https://github.com/LibRaw/LibRaw) |
| OpenEXR / IlmBase 2.3 | BSD-3-Clause |
| libjpeg, libjxr, OpenJPEG, libpng, libtiff, libwebp, LittleCMS | their own permissive or BSD-style licences |
| JBIG-KIT (libjbig, in the Linux build, pulled in by libtiff) | GPL-2.0, source https://www.cl.cam.ac.uk/~mgk25/jbigkit/ |
| FreeType | FreeType License |
| Fontconfig | MIT-style |
| libgomp, libgfortran, libquadmath | GPL-3.0 with the GCC Runtime Library Exception |
| zstd, xz (liblzma), libuuid | BSD / public domain |

The NumPy, SciPy, Pillow and Rtree packages bundle their own native libraries
(OpenBLAS, libspatialindex, image codecs); their licence files list them and
are copied to `licenses/python/`.

## Python runtime and packages

| Component | Licence |
| --- | --- |
| CPython 3.13 (python-build-standalone) | Python Software Foundation License |
| build123d, manifold3d, ocpsvg, ocp-gordon, anytree | Apache-2.0 |
| trimesh, fastapi, pydantic, rtree, ezdxf, PyYAML | MIT |
| numpy, scipy, networkx, scikit-image, lxml, starlette, uvicorn, websockets | BSD-3-Clause |
| matplotlib | matplotlib licence (PSF-based) |
| certifi, tqdm | MPL-2.0 (unmodified; source at https://github.com/certifi/python-certifi and https://github.com/tqdm/tqdm) |
| pywinpty (Windows only) | MIT |

The full, exact list for each build is `licenses/python-packages.txt`.

## In the Studio front end

| Component | Licence |
| --- | --- |
| three.js | MIT |
| xterm.js | MIT |

## Compiled into the desktop app

The desktop shell is built with Tauri and the Rust crates it depends on, under
MIT and/or Apache-2.0. They are linked into the `heph` binary itself.

## Used if present, not included

Claude Code (Anthropic) and Codex (OpenAI) are not part of HEPH-3D. If you
connect one, HEPH-3D runs the copy already installed on your computer, under
your own account and that company's terms.

Optional online shape generation, used only when you agree to it each time,
sends your picture to a public Hugging Face Space (TRELLIS or TripoSR, both
MIT licensed). No model weights are included in HEPH-3D.
