Installing more workbenches: Difference between revisions

From FreeCAD Documentation
(Category:Developer Documentation)
(Marked this version for translation)
Line 1: Line 1:
<languages/>
<languages/>
<translate>
<translate>
== Introduction ==
== Introduction == <!--T:13-->


<!--T:14-->
Since v0.17 it is easy to add [[external_workbenches|external workbenches]] by using the [[Std_AddonMgr|Addon Manager]]. A regular user doesn't need to do more than use this tool.
Since v0.17 it is easy to add [[external_workbenches|external workbenches]] by using the [[Std_AddonMgr|Addon Manager]]. A regular user doesn't need to do more than use this tool.


<!--T:15-->
Keep reading for more information regarding installation of workbenches.
Keep reading for more information regarding installation of workbenches.


Line 24: Line 26:
== Installing system-wide == <!--T:3-->
== Installing system-wide == <!--T:3-->


<!--T:16-->
Workbenches installed in this way will be available to all users. Depending on your system, you might need administrator privileges to access the installation directory.
Workbenches installed in this way will be available to all users. Depending on your system, you might need administrator privileges to access the installation directory.


Line 34: Line 37:
== Installing for a single user == <!--T:5-->
== Installing for a single user == <!--T:5-->


<!--T:17-->
Workbenches installed in this way will be available only to one user, but will not require any administrator privileges.
Workbenches installed in this way will be available only to one user, but will not require any administrator privileges.



Revision as of 12:50, 12 May 2020

Introduction

Since v0.17 it is easy to add external workbenches by using the Addon Manager. A regular user doesn't need to do more than use this tool.

Keep reading for more information regarding installation of workbenches.

General description

Workbenches are nothing more than collections of files that are placed in a folder. This folder is usually compressed into a zip archive. On installation, this folder is simply uncompressed and copied to

$ROOT_DIR/Mod/

where $ROOT_DIR is a top level directory searched by FreeCAD on startup. This is essentially what the Addon Manager does.

The Mod/ directories are scanned every time FreeCAD is started, and the available workbenches are automatically added.

Installing system-wide

Workbenches installed in this way will be available to all users. Depending on your system, you might need administrator privileges to access the installation directory.

Copy the workbench folder into $INSTALL_DIR/Mod/, where $INSTALL_DIR is the FreeCAD installation directory.

  • On Linux it is usually /usr/share/freecad/Mod/
  • On Windows it is usually C:\Program Files\FreeCAD\Mod\
  • On Mac OSX it is usually /Applications/FreeCAD/Mod/

Installing for a single user

Workbenches installed in this way will be available only to one user, but will not require any administrator privileges.

Copy the workbench folder into $USER_DIR/Mod/, where $USER_DIR is the FreeCAD directory for a particular username.

  • On Linux it is usually /home/username/.FreeCAD/Mod/
  • On Windows it is %APPDATA%\FreeCAD\Mod\, which is usually C:\Users\username\Appdata\Roaming\FreeCAD\Mod\
  • On Mac OSX it is usually /Users/username/Library/Preferences/FreeCAD/Mod/. One way to get to the preferences directory is to use the "Finder" menu item Go → Go to Folder, and entering ~/Library/Preferences/FreeCAD.

Additional information

Additional information on how to create a custom workbench can be found in the Power users hub and the Developer hub.

See also a detailed description in the page how to install additional workbenches.