SPB Git

Repository Public License

NOTICE.md 9.3 KB

# Assimp (Open Asset Import Library)

Name Open Asset Import Library (Assimp)
Version 6.0.2
Source https://github.com/assimp/assimp/archive/refs/tags/v6.0.2.tar.gz
SHA-256 of the archive d1822d9a19c9205d6e8bc533bf897174ddb360ce504680f294170cc1d6319751
Project https://github.com/assimp/assimp — https://www.assimp.org
License BSD 3-Clause (file LICENSE of the source archive)
Copyright Copyright (c) 2006-2021, assimp team. All rights reserved.

The SHA-256 above is the digest of the archive downloaded from GitHub on 2026-11-21; build.sh refuses any other content. (GitHub generates tag archives on demand; if GitHub ever changes its archive format the digest will have to be re-pinned after checking the content against the v6.0.2 tag.)

# Why it is bundled

Model I/O and SceneKit read neither glTF/GLB, FBX nor 3MF, and no Apple framework writes COLLADA reliably from arbitrary geometry. The 3D engine (Packages/EngineModel3D) uses Assimp to:

  • import OBJ (+MTL), glTF 2.0 / GLB, FBX and COLLADA;
  • export COLLADA (and FBX, only to produce the FBX test fixture);
  • re-read, as an independent decoder, the STL, PLY, OBJ, glTF/GLB and 3MF files that ORIX Convert's own writers produce, to validate them.

# How it is built and linked

build.sh downloads the pinned archive, checks its SHA-256, extracts it without the test models, samples, docs and fuzzers, and builds one static library with CMake for arm64 / macOS 15.0 (MACOSX_DEPLOYMENT_TARGET=15.0, Release):

text
-DBUILD_SHARED_LIBS=OFF
-DASSIMP_BUILD_TESTS=OFF -DASSIMP_BUILD_ASSIMP_TOOLS=OFF -DASSIMP_BUILD_SAMPLES=OFF -DASSIMP_BUILD_DOCS=OFF
-DASSIMP_BUILD_ALL_IMPORTERS_BY_DEFAULT=OFF -DASSIMP_BUILD_ALL_EXPORTERS_BY_DEFAULT=OFF
-DASSIMP_BUILD_{OBJ,STL,PLY,GLTF,FBX,COLLADA,3MF}_IMPORTER=ON
-DASSIMP_BUILD_{OBJ,STL,PLY,GLTF,FBX,COLLADA,3MF}_EXPORTER=ON
-DASSIMP_BUILD_ZLIB=OFF            (the zlib of macOS is used: libz.tbd of the SDK)
-DASSIMP_BUILD_DRACO=OFF           (no Draco decoder)
-DASSIMP_BUILD_USD_IMPORTER=OFF    (no tinyusdz)
-DASSIMP_NO_EXPORT=OFF -DASSIMP_DOUBLE_PRECISION=OFF -DASSIMP_WARNINGS_AS_ERRORS=OFF
-DASSIMP_IGNORE_GIT_HASH=ON -DASSIMP_INJECT_DEBUG_POSTFIX=OFF
-DCMAKE_IGNORE_PREFIX_PATH=/opt/homebrew;/usr/local   (nothing from Homebrew is picked up)

The library is stripped of debug symbols (strip -S) and wrapped with the C API headers (cimport.h, cexport.h, scene.h, postprocess.h, material.h, GltfMaterial.h, version.h, cfileio.h) into CAssimp.xcframework. Packages/EngineModel3D/Package.swift consumes it as a SwiftPM binaryTarget (module CAssimp); a small C target of the package (CAssimpShim) wraps the calls. The code is statically linked into the application and into the orix-model3d-helper executable; the C++ standard library (libc++) and libz of macOS are linked dynamically. Nothing is looked up on the user's Mac.

Build-time tools used: cmake and make (cmake from Homebrew, already present on the build machine), strip, xcodebuild. None is needed at run time.

Size of the product measured on 2026-11-21: libCAssimp.a 7 172 480 bytes (7 361 728 before stripping), CAssimp.xcframework 7.9 MB. The orix-model3d-helper executable (Swift engine + Assimp, release build, not stripped) is 8 072 240 bytes.

The source code is not modified. src/, work/, prefix/ and CAssimp.xcframework/ are build products and are not committed.

# Third-party code compiled into the library

Only the following directories of Assimp's contrib/ are compiled or instantiated in this configuration (checked in work/build/compile_commands.json and with nm on the archive; work/contrib-compiled.txt is written by build.sh). contrib/stb, contrib/draco, contrib/Open3DGC, contrib/tinyusdz, contrib/zlib, contrib/earcut-hpp, contrib/meshlab and contrib/googletest are not in the binary.

Component Used for License Copyright
contrib/pugixml XML parsing (COLLADA, 3MF) MIT Copyright (c) 2006-2025 Arseny Kapoulkine
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
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
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
contrib/utf8cpp (headers) UTF-8 conversions Boost Software License 1.0 Copyright 2006 Nemanja Trifunovic
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
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
contrib/openddlparser OpenDDL parsing (always built by Assimp's CMake; the OpenGEX importer itself is disabled) MIT Copyright (c) 2014 Kim Kulling

All of these are permissive licenses compatible with distribution in a closed-source application.

# Obligations

  • Assimp, BSD 3-Clause: reproduce the copyright notice, the list of conditions and the disclaimer (below) in the application's acknowledgements; do not use the name of the assimp team or of its contributors to endorse the product.
  • Poly2Tri, BSD 3-Clause: same obligation, with its own notice (also part of Assimp's LICENSE file).
  • pugixml, RapidJSON, miniz, openddlparser (MIT): include their copyright and permission notices in the acknowledgements (contrib/pugixml/LICENSE.md, contrib/rapidjson/license.txt, the header of contrib/zip/src/miniz.h, contrib/openddlparser/LICENSE).
  • minizip (zlib license): no notice required in binary distributions; the origin must not be misrepresented.
  • utf8cpp, Clipper (Boost Software License 1.0): no notice required for binary ("machine-executable object code") distributions.
  • kuba--/zip (Unlicense): public domain dedication, no obligation.
text
Open Asset Import Library (assimp)

Copyright (c) 2006-2021, assimp team
All rights reserved.

Redistribution and use of this software in source and binary forms,
with or without modification, are permitted provided that the
following conditions are met:

* Redistributions of source code must retain the above
  copyright notice, this list of conditions and the
  following disclaimer.

* Redistributions in binary form must reproduce the above
  copyright notice, this list of conditions and the
  following disclaimer in the documentation and/or other
  materials provided with the distribution.

* Neither the name of the assimp team, nor the names of its
  contributors may be used to endorse or promote products
  derived from this software without specific prior
  written permission of the assimp team.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
text
Poly2Tri Copyright (c) 2009-2010, Poly2Tri Contributors
http://code.google.com/p/poly2tri/

All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice,
  this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
  this list of conditions and the following disclaimer in the documentation
  and/or other materials provided with the distribution.
* Neither the name of Poly2Tri nor the names of its contributors may be
  used to endorse or promote products derived from this software without specific
  prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Files main
Menu

Theme