Fernhart Labs.

Partwright 1.0.0: engine source

Partwright's geometry engine uses Open CASCADE Technology (OCCT) 8.0.2, licensed under the GNU Lesser General Public License version 2.1 with the Open CASCADE exception. The engine library, libocct.so, is a separate shared library inside the app. This page is what the app's written offer (Settings, About, Engine source and written offer) points to for version 1.0.0, released 2026-11-30.

Open CASCADE Technology: Copyright (c) 1991-1999 Matra Datavision; Copyright (c) 1999-2025 OPEN CASCADE SAS.

Download

One archive, partwright-1.0.0-source.tar.gz (56,851,326 bytes), in 3 parts (the site serves files of up to 25 MiB). Download all parts, join them in order and check the sums:

PartBytesSHA-256
partwright-1.0.0-source.tar.gz.part123,000,000b2d48f25688ec98c4ed9656c53a2abcd706a271adec4adc50e9374020d5ec19d
partwright-1.0.0-source.tar.gz.part223,000,000efc519aba0961861060c4eae0ba7f508c09cda5bd8bb9e06c7dffb9f0f8ce924
partwright-1.0.0-source.tar.gz.part310,851,326e40f2c8457dc71498b9135c3f77f154157e90783cd22bc53034a30312debad38

Whole archive: 082861ff42b46b0c835664e05e1d871b15610f9ec41cb3dedbd4c7a2be3a420f. All sums in one file: SHA256SUMS.txt.

# Linux, macOS, Git Bash
cat partwright-1.0.0-source.tar.gz.part* > partwright-1.0.0-source.tar.gz
sha256sum -c SHA256SUMS.txt
tar -xzf partwright-1.0.0-source.tar.gz

# Windows (Command Prompt)
copy /b partwright-1.0.0-source.tar.gz.part1+partwright-1.0.0-source.tar.gz.part2+partwright-1.0.0-source.tar.gz.part3 partwright-1.0.0-source.tar.gz
certutil -hashfile partwright-1.0.0-source.tar.gz SHA256

What is included

  1. Unpack OCCT-V8_0_2.tar.gz and apply occt/patches/*.patch in order, or let python build.py source do it (it refuses an archive whose SHA-256 differs). Make your changes to OCCT.
  2. Build it for the phone's ABI with the same script: python build.py occt arm64-v8a, then python build.py onelib arm64-v8a (or x86_64). The toolchains are named in occt/README.md: Android NDK 28.2.13676358 and CMake 3.22.1. onelib links OCCT into one libocct.so with the export list <abi>/exports.map.
  3. Either put your libocct.so into the app in place of ours (lib/<abi>/libocct.so in the APK), or relink our engine code from the object files against it:
    clang++ --target=aarch64-none-linux-android24 --sysroot=<NDK>/toolchains/llvm/prebuilt/<host>/sysroot -shared -fPIC \
      -Wl,-z,max-page-size=16384 -Wl,--no-undefined -Wl,-soname,libcadworker.so -o libcadworker.so \
      arm64-v8a/*.cpp.o libocct.so -llog -landroid -ldl -lm
    (python build.py relink arm64-v8a runs the same command; use x86_64-none-linux-android24 and x86_64/ for x86_64.)
  4. Sign the changed APK with any key and install it for your own use. The app does not check its own signature and uses no integrity check that would stop this.

Fernhart Labs permits you to modify the app for your own use and to reverse engineer it to debug such modifications.

Licence

OCCT is licensed under the GNU Lesser General Public License version 2.1 (the full text is in the archive as LICENSE_LGPL_21.txt) with this exception (OCCT_LGPL_EXCEPTION.txt):

The object code (i.e. not a source) form of a "work that uses the Library" can incorporate material from a header file that is part of the Library. As a special exception to the GNU Lesser General Public License version 2.1, you may distribute such object code incorporating material from header files provided with the Open CASCADE Technology libraries (including code of CDL generic classes) under terms of your choice, provided that you give prominent notice in supporting documentation to this code that it makes use of or is based on facilities provided by the Open CASCADE Technology software.

Other notices inside the engine: DelaBella (MIT), FlexLexer (University of California, BSD-style), the GNU Bison parser skeleton (GPL 3 with the Bison exception), David M. Gay's strtod (Lucent Technologies), Unicode ConvertUTF (Unicode License V3) and libc++ (Apache 2.0 with LLVM exceptions). Their texts are in the app's licence list.

Our object code and the files in the archive

Every file in the archive with its SHA-256 (also in SHA256.json inside it). The .cpp.o files and libcadworker.so are Partwright's own engine code, built from the same sources as the app's 1.0.0 release.

FileSHA-256
LICENSE_LGPL_21.txte237fa56668030e928551ddd60f05df5fe957f75eab874bbd017e085ed722e7c
OCCT-V8_0_2.tar.gz4b3ecaa559cd4f772a8a763668ca692bf79a36b05c41e8871139eb8d4625de9c
OCCT_LGPL_EXCEPTION.txt04580a884ea6cea294402649ff7b5cbb167d47462d1340a4ed33e550db10a81b
arm64-v8a/boolean.cpp.o7f06cb8123f8e5f7a929e90a0d36b19dea95f044a28c2c4e529e23f0d662ab41
arm64-v8a/exports.map6f1e76f1d76be22ff0e0f07ee36af4924dde9b2e06aaa24eee3033e24017b24c
arm64-v8a/features.cpp.of8268f3ae3fcf283632eeea6a387d31fa4d9c3d9375f2739e38281b48a4bb32e
arm64-v8a/guard.cpp.oa2f9708c1855db6cab1b5ab9bb0278b0b7978b143f507a0ca891766746c219a5
arm64-v8a/io.cpp.oa18729be588c1f547e633129a74b8b78b307265db141d9123244e2419ae83026
arm64-v8a/libcadworker.sodcb822156e239cbfcddff0cd4d563c71094c5b2929d3dcb16c5e76ef68b4ceb9
arm64-v8a/mesh.cpp.o5e3af6f3a843620e4bc9dbf461c664b8ce65603fd7199aeb81a6bd3a01f96a98
arm64-v8a/naming.cpp.ocfb16fc5d6545cac736f614ec491aaf8adc67b89354474e54663ff3506912da4
arm64-v8a/requests.cpp.o3d835480f2be2010c570c0eb0c5e2949c2df61d77301c203906131634a1b9948
arm64-v8a/section.cpp.o7e2805d96002d541f7d53c741bbdab2c1e1a362d48cde970ad26a5709cc2b928
arm64-v8a/shape.cpp.o9e1dbb375c992847a65fc59e234f66e8f020a910757549fba1030b76a3957670
arm64-v8a/thread.cpp.o5e24b3e18c4aec933adfa043c58f80727984f7e2fab874390173dc959a424593
arm64-v8a/tree.cpp.oecdde5f02bb654afcbe4db11bac05f410afbf5f219b038f92dbe3a769b51c945
arm64-v8a/worker.cpp.o23154e1bf46bb53da2b56c8a557732ba7ddd506a0386137adcb60f2888d66c45
arm64-v8a/worker_android.cpp.o7bfc4dceaeea08104807195f225856a7e534b5861e428015f7f57041ce11cd00
build.pyba6f7023d56c050b011f3a914ece757413afdeccbcd7d054d0a2de60e5694a23
occt/README.md6a60faac82c02b512a06055a899d25544074d54c7b52db98d88f37c2c9ee8397
occt/patches/0001-step-without-xcaf.patchc8af0ab70d5f9cd9508dfeb08e93d8a94ea669a1a951100a292df659bdc0a832
x86_64/boolean.cpp.ofd57f446d7a06f1257d168930ee33102c7fdb6c5f04ff0a057a7101c58127261
x86_64/exports.map6f1e76f1d76be22ff0e0f07ee36af4924dde9b2e06aaa24eee3033e24017b24c
x86_64/features.cpp.o6b417b551fe790633f48e9a3627c56300e94dfd3547bb82eefb7a08b6f86e0b5
x86_64/guard.cpp.o4ba125ea29ba39a4d897871447cf44a9bcb13553dd081ed680a1ebf543bc2345
x86_64/io.cpp.o368f203fee0bbd96dde5ae4b30afe5d6dd91fc9a06d62d09155997c746e1b9a6
x86_64/libcadworker.so50f201707116626735c16e802948f64cf40c80f5eb29b9f51538feedfc655bfd
x86_64/mesh.cpp.o2459c44296a0ed575cdb4879eb99110e2e104ab1ddb00e737ab946d733b3bfb8
x86_64/naming.cpp.o9894c1ce452c9e7b66659cd8b48dc29fb7dda11d0b6bf71e0b2b8e2fd77591de
x86_64/requests.cpp.o0be101d8230405013f678d5b4b32c88dba9eef35e05d6b53d3b6966935c09115
x86_64/section.cpp.ode76c80bf1c0b73e94f7f77bf7944ef0284d0322d04b5e0a7afa2744de624d13
x86_64/shape.cpp.o2d3f3053fb27acd9a2a93c4c97eb9753049b3c0497941c10f20ec9e7c154b1a4
x86_64/thread.cpp.oa6254db929ea667e5e8b6d58457a4f4e96f28dd961b0ddab386f102f3fe8978d
x86_64/tree.cpp.o8e06d21811c2ba89b73631284b4404a1a86bd18effeb5521caff41e34531af54
x86_64/worker.cpp.oeb5bfa92c9ce7ce686b25413377c644f1455a4cf4aab834a6db40f30b7d19d64
x86_64/worker_android.cpp.o24fc7e5ea80388988e93e6b10cab9332f595ba2e3b8b10ab720d7f5e87401284

Written offer

For at least three years after we last distribute a version of Partwright, Fernhart Labs will give anyone who asks the materials above for that version, as a download or on a physical medium, for no more than our cost of making and sending the copy. Write to contact@fernhartlabs.com and name the version (Settings, About shows it).