|Tools → Addon manager|
|Introduced in version|
|Macros, External workbenches|
Interface of the Addon Manager
How to use
- Open the tool in the menu Tools → Addon manager.
- To install a workbench: scroll through the list and select the add-on; a short description, as well as its home page, will be displayed below the list. Press the button to install the new tool. For macros, click on the Macros tab and repeat the steps.
- To remove a workbench or a macro: scroll through the list, select the add-on, and then press the button.
- To update a workbench or a macro: scroll through the list, select the add-on, and then press the button.
- To check for updates: press the button; available updates will be reported below the list. Press the button again to install all updates at once. Note: the icon may look different depending on your operating system.
- To run a macro: first install the desired macro, then select it again on the list, and then press the button.
- Press to exit the manager.
If you don't use the Addon Manager, you can install the new tools manually by placing their code in your user's
FreeCAD/ directory. See the following links for details:
- These add-ons are not part of the official FreeCAD program and are not supported by the core FreeCAD team. You should read the information provided on each add-on page to make sure you know what you are installing.
- Bug reports and feature requests should be made directly on each add-on page, or with the creator of the add-on in the FreeCAD forum.
- The repository location for Addon and Macros is hard coded. As the AddonManager is written in Python those could be changed by users with knowledge of python (see file
New workbenches and macros
If you developed a workbench or macro, and want to see it included in the Addon Manager, read how to do that on the repository pages (FreeCAD-addons and FreeCAD-macros). If you add your macro to the Macros recipes, there is nothing else to do, it will automatically be picked by the Addon Manager.
For python workbenches, you don't need any specific approval to have your workbench added to the Addon Manager and, being outside the FreeCAD source code, you can choose the license you want. If you request for your workbench to be added to the list (we will not add any new workbench without a request from its authors), either by asking so on the forum or by opening an issue on the FreeCAD-addons repository, your code will stay on your own git repository, we will just add it as a submodule to the FreeCAD-addons repository. Of course, before adding your workbench, we will take a look at it and make sure there is nothing potentially problematic with it.
If you develop a workbench in C++, it cannot be run directly by users and must be compiled first. You then have 2 options, either you provide precompiled versions of your workbench yourself, for the different operating systems, or you should request to have your code merged into the FreeCAD source code. For that, you should use the LGPL license (or fully compatible like MIT or BSD), and you must present your new tools to the community in the FreeCAD forum for review. Once your code has been tested and approved, you should fork the FreeCAD repository, if not done yet, create a new branch, push your code to it, and open a pull request so that your branch is merged into the main repository.