Developer hub



This is the place to come if you want to contribute to the development of the FreeCAD software.

These pages are in the early stage of development. If you can't find the information you are looking for, or have found useful information somewhere we have not linked to, then please leave a comment on the forum and someone will look into it (or, if you are feeling bold, why not edit this page directly!).

Developer Documentation
The developer documentation comprises the following sections:

Do it yourself: Compiling FreeCAD

 * Source code management
 * Find assistance when you have a problem or think you may have found a bug
 * Compiling on Windows
 * Compiling on Linux/Unix
 * Compiling on MacOS
 * Licence details about the FreeCAD licences
 * Third Party Libraries
 * Third Party Tools
 * Start up and Configuration
 * Source documentation

Packaging
Packaging consists in taking the compiled binaries and Python source files of FreeCAD, and distributing them for use in a particular system.


 * Linux packaging
 * Debian development
 * Debian Unstable
 * Git buildpackage
 * Windows packaging
 * MacOS packaging

Build Support Tools

 * The FreeCAD Build Tool
 * Adding an application module to FreeCAD
 * Debugging FreeCAD
 * Testing FreeCAD
 * Compiling (Speeding up) FreeCAD
 * Continuous Integration

Modifying FreeCAD

 * Understanding The FreeCAD source code
 * Submitting patches
 * Add Features to FreeCAD or a Workbench
 * Branding or how to give FreeCAD a unique look
 * Artwork we made for FreeCAD, that you can freely reuse
 * Artwork guidelines standards for icons
 * Translating FreeCAD
 * Extra python modules, or how to extend python functionality within FreeCAD
 * Google Summer of Code get involved via Google's student support program
 * Fine-tuning shows different options and parameter switches that can overcome problems


 * Translating an external workbench

Module developer's guide
FreeCAD Mod Dev Guide: This is an ebook under writing on github, please fork and send pull request to contribute.

Chapters:
 * Overview and Software Architecture
 * Source code structure
 * Base and App module
 * Gui module
 * Python wrapping
 * Modular design
 * Fem module source analysis (mixed C++ and Python)
 * Development of CFD Module (pure Python)
 * Module testing and debugging
 * Contribute code with git

Latest pdf preview can be downoaded from pdf folder of this git repo

OpenCascade Documentation
OpenCascade is a software development platform for 3D surface and solid modeling, CAD data exchange, and visualization, mostly in the form of C++ libraries.


 * Roman Lygin's tutorials
 * Full Online Documentation
 * Reference Manual
 * The openCascade wiki (currently containing ?? Chinese spam)

File format
File Format FCStd. The files created with FreeCAD are files that include the BREP geometry, as well as XML data that describes the document.

Sketcher solver

 * Sketcher Solver Architecture Booklet (forum thread), source in GitHub.
 * PlaneGCS solver in the FreeCAD source code; important files are GCS.cpp and SubSystem.cpp.
 * Recent Several Sketcher improvements.

The sketcher solver isn't perfect, as there are some issues with numerical precision when using large values, see Adventure of fixing sketcher solver for large sketches.

The development of a new solver architecture could improve the way the solver is used both in the Sketcher Workbench, and for assembly of 3D bodies. See Reimplementing constraint solver.

Roadmap
FreeCAD, though usable in certain areas, is at the beginning of a long way into the CAD mainstream. There is still a lot to do to reach a state where we can compete with commercial software.


 * Development roadmap

Credits
Contributors