Repository Public License
1# Assimp (Open Asset Import Library)23| | |4|---|---|5| Name | Open Asset Import Library (Assimp) |6| Version | 6.0.2 |7| Source | https://github.com/assimp/assimp/archive/refs/tags/v6.0.2.tar.gz |8| SHA-256 of the archive | `d1822d9a19c9205d6e8bc533bf897174ddb360ce504680f294170cc1d6319751` |9| Project | https://github.com/assimp/assimp — https://www.assimp.org |10| License | BSD 3-Clause (file `LICENSE` of the source archive) |11| Copyright | Copyright (c) 2006-2021, assimp team. All rights reserved. |1213The SHA-256 above is the digest of the archive downloaded from GitHub on 2026-11-21; `build.sh` refuses any other14content. (GitHub generates tag archives on demand; if GitHub ever changes its archive format the digest will have to15be re-pinned after checking the content against the `v6.0.2` tag.)1617## Why it is bundled1819Model I/O and SceneKit read neither glTF/GLB, FBX nor 3MF, and no Apple framework writes COLLADA reliably from20arbitrary geometry. The 3D engine (`Packages/EngineModel3D`) uses Assimp to:2122- import OBJ (+MTL), glTF 2.0 / GLB, FBX and COLLADA;23- export COLLADA (and FBX, only to produce the FBX test fixture);24- re-read, as an independent decoder, the STL, PLY, OBJ, glTF/GLB and 3MF files that ORIX Convert's own writers25 produce, to validate them.2627## How it is built and linked2829`build.sh` downloads the pinned archive, checks its SHA-256, extracts it without the test models, samples, docs and30fuzzers, and builds one static library with CMake for arm64 / macOS 15.0 (`MACOSX_DEPLOYMENT_TARGET=15.0`, Release):3132```33-DBUILD_SHARED_LIBS=OFF34-DASSIMP_BUILD_TESTS=OFF -DASSIMP_BUILD_ASSIMP_TOOLS=OFF -DASSIMP_BUILD_SAMPLES=OFF -DASSIMP_BUILD_DOCS=OFF35-DASSIMP_BUILD_ALL_IMPORTERS_BY_DEFAULT=OFF -DASSIMP_BUILD_ALL_EXPORTERS_BY_DEFAULT=OFF36-DASSIMP_BUILD_{OBJ,STL,PLY,GLTF,FBX,COLLADA,3MF}_IMPORTER=ON37-DASSIMP_BUILD_{OBJ,STL,PLY,GLTF,FBX,COLLADA,3MF}_EXPORTER=ON38-DASSIMP_BUILD_ZLIB=OFF (the zlib of macOS is used: libz.tbd of the SDK)39-DASSIMP_BUILD_DRACO=OFF (no Draco decoder)40-DASSIMP_BUILD_USD_IMPORTER=OFF (no tinyusdz)41-DASSIMP_NO_EXPORT=OFF -DASSIMP_DOUBLE_PRECISION=OFF -DASSIMP_WARNINGS_AS_ERRORS=OFF42-DASSIMP_IGNORE_GIT_HASH=ON -DASSIMP_INJECT_DEBUG_POSTFIX=OFF43-DCMAKE_IGNORE_PREFIX_PATH=/opt/homebrew;/usr/local (nothing from Homebrew is picked up)44```4546The library is stripped of debug symbols (`strip -S`) and wrapped with the C API headers (`cimport.h`, `cexport.h`,47`scene.h`, `postprocess.h`, `material.h`, `GltfMaterial.h`, `version.h`, `cfileio.h`) into `CAssimp.xcframework`.48`Packages/EngineModel3D/Package.swift` consumes it as a SwiftPM `binaryTarget` (module `CAssimp`); a small C target49of the package (`CAssimpShim`) wraps the calls. The code is statically linked into the application and into the50`orix-model3d-helper` executable; the C++ standard library (`libc++`) and `libz` of macOS are linked dynamically.51Nothing is looked up on the user's Mac.5253Build-time tools used: `cmake` and `make` (cmake from Homebrew, already present on the build machine), `strip`,54`xcodebuild`. None is needed at run time.5556Size of the product measured on 2026-11-21: `libCAssimp.a` 7 172 480 bytes (7 361 728 before stripping),57`CAssimp.xcframework` 7.9 MB. The `orix-model3d-helper` executable (Swift engine + Assimp, release build, not58stripped) is 8 072 240 bytes.5960The source code is not modified. `src/`, `work/`, `prefix/` and `CAssimp.xcframework/` are build products and are61not committed.6263## Third-party code compiled into the library6465Only the following directories of Assimp's `contrib/` are compiled or instantiated in this configuration66(checked in `work/build/compile_commands.json` and with `nm` on the archive; `work/contrib-compiled.txt` is written67by `build.sh`). `contrib/stb`, `contrib/draco`, `contrib/Open3DGC`, `contrib/tinyusdz`, `contrib/zlib`,68`contrib/earcut-hpp`, `contrib/meshlab` and `contrib/googletest` are **not** in the binary.6970| Component | Used for | License | Copyright |71|---|---|---|---|72| `contrib/pugixml` | XML parsing (COLLADA, 3MF) | MIT | Copyright (c) 2006-2025 Arseny Kapoulkine |73| `contrib/rapidjson` (headers) | JSON parsing and writing (glTF) | MIT (the JSON-licensed `bin/jsonchecker` is not used) | Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip |74| `contrib/unzip` (minizip) | reading ZIP packages (3MF) | zlib license | Copyright (C) 1998-2010 Gilles Vollant; Zip64 changes (C) 2007-2008 Even Rouault, (C) 2009-2010 Mathias Svensson |75| `contrib/zip` (kuba--/zip with miniz) | writing ZIP packages (3MF export) | Unlicense (zip) and MIT (miniz) | miniz: Copyright 2013-2014 RAD Game Tools and Valve Software, 2010-2014 Rich Geldreich and Tenacious Software LLC |76| `contrib/utf8cpp` (headers) | UTF-8 conversions | Boost Software License 1.0 | Copyright 2006 Nemanja Trifunovic |77| `contrib/poly2tri` | built unconditionally by Assimp's CMake (its users, the IFC and Blender importers, are disabled) | BSD 3-Clause | Copyright (c) 2009-2018, Poly2Tri Contributors |78| `contrib/clipper` | built unconditionally by Assimp's CMake (its user, the IFC importer, is disabled) | Boost Software License 1.0 | Copyright Angus Johnson 2010-2017 |79| `contrib/openddlparser` | OpenDDL parsing (always built by Assimp's CMake; the OpenGEX importer itself is disabled) | MIT | Copyright (c) 2014 Kim Kulling |8081All of these are permissive licenses compatible with distribution in a closed-source application.8283## Obligations8485- **Assimp, BSD 3-Clause**: reproduce the copyright notice, the list of conditions and the disclaimer (below) in the86 application's acknowledgements; do not use the name of the assimp team or of its contributors to endorse the product.87- **Poly2Tri, BSD 3-Clause**: same obligation, with its own notice (also part of Assimp's `LICENSE` file).88- **pugixml, RapidJSON, miniz, openddlparser (MIT)**: include their copyright and permission notices in the89 acknowledgements (`contrib/pugixml/LICENSE.md`, `contrib/rapidjson/license.txt`, the header of90 `contrib/zip/src/miniz.h`, `contrib/openddlparser/LICENSE`).91- **minizip (zlib license)**: no notice required in binary distributions; the origin must not be misrepresented.92- **utf8cpp, Clipper (Boost Software License 1.0)**: no notice required for binary ("machine-executable object93 code") distributions.94- **kuba--/zip (Unlicense)**: public domain dedication, no obligation.9596```97Open Asset Import Library (assimp)9899Copyright (c) 2006-2021, assimp team100All rights reserved.101102Redistribution and use of this software in source and binary forms,103with or without modification, are permitted provided that the104following conditions are met:105106* Redistributions of source code must retain the above107 copyright notice, this list of conditions and the108 following disclaimer.109110* Redistributions in binary form must reproduce the above111 copyright notice, this list of conditions and the112 following disclaimer in the documentation and/or other113 materials provided with the distribution.114115* Neither the name of the assimp team, nor the names of its116 contributors may be used to endorse or promote products117 derived from this software without specific prior118 written permission of the assimp team.119120THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS121"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT122LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR123A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT124OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,125SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT126LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,127DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY128THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT129(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE130OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.131```132133```134Poly2Tri Copyright (c) 2009-2010, Poly2Tri Contributors135http://code.google.com/p/poly2tri/136137All rights reserved.138Redistribution and use in source and binary forms, with or without modification,139are permitted provided that the following conditions are met:140141* Redistributions of source code must retain the above copyright notice,142 this list of conditions and the following disclaimer.143* Redistributions in binary form must reproduce the above copyright notice,144 this list of conditions and the following disclaimer in the documentation145 and/or other materials provided with the distribution.146* Neither the name of Poly2Tri nor the names of its contributors may be147 used to endorse or promote products derived from this software without specific148 prior written permission.149150THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS151"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT152LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR153A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR154CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,155EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,156PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR157PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF158LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING159NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS160SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.161```162