Skip to content
LucasCoracaPublic

About

Parametric CAD for Android phones and tablets, built on the FreeCAD engine

Topics

Resources

Contributing

Stars

23 stars

Watchers

0 watching

Forks

Repository files navigation

MobileCAD

CAD for Android phones and tablets, built on FreeCAD's modelling engine with a touch-first interface.

Website · Download the latest APK · Android 8 or newer, about 1 GB free space

MobileCAD on a tablet

MobileCAD is an independent project. It is not affiliated with, sponsored or endorsed by the FreeCAD project or the FreeCAD Project Association; "FreeCAD" is their trademark and is used here only to say what MobileCAD is built on.

Verifying a download

Official APKs come only from this repository's Releases (the website links there). Before installing a copy, check that:

  • its SHA-256 matches the line for it in that release's SHA256SUMS;
  • it is signed with the MobileCAD release key, certificate SHA-256 7192f62e9497f0d05048ea95ba16d468f45bfcab5b8707520d2d34c35713e966 (apksigner verify --print-certs MobileCAD-arm64.apk).

Don't install a copy that doesn't match; please open an issue saying where it came from.

Contributing

MobileCAD does not accept code contributions: because of supply-chain attacks, pull requests are closed unreviewed and every file or code shared in a pull request or issue is treated as a possible attack vector. Ideas, bug reports and translation wording are welcome as issues. If one is taken up it is implemented here independently, and you are credited. See CONTRIBUTING.md.

License

MobileCAD is free software: GNU General Public License v3.0 or later (see LICENSE). It includes FreeCAD (LGPL-2.1-or-later), Open CASCADE Technology (LGPL-2.1 with exception), Qt 6 (LGPL-3.0), Gmsh (GPL-2.0-or-later), CalculiX (GPL-2.0), IfcOpenShell (LGPL-3.0) and other components; the app's About ▸ Open-source licenses screen lists them all with their license texts (generated by release/gen_notices.py). FreeCAD's command icons are LGPL-2.1-or-later, with the exceptions credited in app/app/src/main/assets/licenses/freecad-icons.txt.

The corresponding source of every release is this repository plus the archives attached to each GitHub Release: FreeCAD at the commit built with our patch, and the (L)GPL dependencies (Open CASCADE, Qt, Gmsh, CalculiX, MED, IfcOpenShell), made by release/make_source.sh.

Layout

Path What
app/ Android app (Kotlin / Jetpack Compose UI, JNI bridge in app/app/src/main/cpp)
engine/ Cross-build scripts for FreeCAD and its dependencies, patches, and the Python bridge (engine/python/mobilecad)
research/ Generators for the command catalog from FreeCAD's sources
branding/ Logo (make_logo.py generates the SVG master and the app's vector icons)
release/ License notices, source archives, website (make_site.py), screenshots (shot.sh) and launch video (video/)
docs/ The website, served by GitHub Pages (generated: python3 release/make_site.py --github)

Interface languages

English and Simplified Chinese (简体中文). The app follows Android's language; Preferences ▸ Language picks one, and the change applies at once, as on the desktop. Each language is one asset, app/app/src/main/assets/i18n/<code>.json, built by python3 -I research/gen_i18n.py <FreeCAD checkout> <code> from:

  • FreeCAD's own Qt catalogs (src/**/translations/*_<lang>.ts, LGPL-2.1-or-later, by the FreeCAD translators), looked up the way the desktop does it: commands by their C++ class or Python command name, property names in App::Property, toolbars in Workbench, and the engine's Python task panels through QCoreApplication.translate / .ui forms;
  • MobileCAD's own strings, app/i18n/<code>.json (English text → translation). python3 -I research/i18n_keys.py <code> lists the strings a language still lacks and checks that every placeholder (%1, %s) is kept.

Thanks to Toobe53 for proposing a Chinese interface (#21).

Building

Everything is built from upstream source (pinned with SHA-256 in engine/sources.lock), on Debian 13 with Android NDK 29; fdroid/README.md lists the Debian packages and has a container recipe. Build and stage the native runtime for one ABI, then build the APK with Gradle:

engine/build_all.sh arm64-v8a                      # or x86_64 for the emulator; FCDEPS = build root (default ~/Android/fcdeps)
cd app && ./gradlew :app:assembleArm64Release      # or :app:assembleX86Debug

Release builds are signed when ~/Android/keys/mobilecad-release.properties exists (storeFile, storePassword, keyAlias, keyPassword); otherwise they come out unsigned. F-Droid builds the same way (fdroid/app.mobilecad.yml).

About

Parametric CAD for Android phones and tablets, built on the FreeCAD engine

Topics

Resources

Contributing

Stars

23 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages