Developer Guide

Desktop Development Environment

Source-backed prerequisites and launcher commands for working on the desktop application.

Obtain the desktop source

This guide is based on the accessible local desktop repository. The official public repository URL is pending confirmation; no clone URL is invented here. The desktop project and this Next.js website are separate projects.

Environment

The desktop README specifies a Python 3.12 development environment on another machine and a complete FreeCAD 1.1.4 runtime. The project metadata allows Python 3.11 or later, but the recorded launcher/installer environment used Python 3.12. Use that documented development setup until a broader version matrix is validated.

From the desktop project directory, with your Python 3.12 environment activated:

powershell
python -m pip install -r requirements-build.txt
python launcher.py --wait

The build requirements file pins PyInstaller and Pillow. FreeCAD Python modules must run inside FreeCAD; do not substitute similarly named PyPI packages for its runtime.

Runtime discovery

The launcher discovers a local runtime folder, a parent installation's runtime or C:\Program Files\FreeCAD 1.1. Its implemented overrides are --runtime and FANCAD_RUNTIME.

powershell
python launcher.py --runtime 'C:/Program Files/FreeCAD 1.1' --wait

The path above is the desktop launcher's documented default, not a download location. Install or supply the correct complete runtime first.

Editing the workbench

Edit app/FanCAD/forgecad/ and restart the launched application to reload. The internal forgecad module name is intentionally retained so saved FCStd files can restore parametric feature proxies.

Contribution process

The official contribution and review policy is pending confirmation. Review the source license and submit only reproducible, non-sensitive examples through confirmed project channels.

Source and scope

  • Desktop README.md: Open in PyCharm
  • Desktop launcher.py: supported arguments
  • Desktop requirements-build.txt and pyproject.toml

These references describe the inspected desktop source and its recorded tests. They do not announce a public software release.