Installing more workbenches/pl: Difference between revisions

From FreeCAD Documentation
No edit summary
(Created page with "gdzie {{incode|$ROOT_DIR}} jest katalogiem najwyższego poziomu przeszukiwanym przez FreeCAD podczas uruchamiania. Jest to zasadniczo to, co robi Menadżer dodatkóœ.")
Line 18: Line 18:
}}
}}


where {{incode|$ROOT_DIR}} is a top level directory searched by FreeCAD on startup. This is essentially what the [[Std_AddonMgr|Addon Manager]] does.
gdzie {{incode|$ROOT_DIR}} jest katalogiem najwyższego poziomu przeszukiwanym przez FreeCAD podczas uruchamiania. Jest to zasadniczo to, co robi [[Std_AddonMgr/pl|Menadżer dodatkóœ]].


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

Revision as of 16:06, 30 October 2023

Wprowadzenie

Od wersji 0.17 można łatwo dodawać zewnętrzne środowiska pracy za pomocą menedżera dodatków. Użytkownik nie musi robić nic więcej niż korzystać z tego narzędzia.

Czytaj dalej, aby uzyskać więcej informacji na temat instalacji środowisk pracy.

Opis ogólny

Środowiska pracy to nic innego jak kolekcje plików umieszczone w folderze. Folder ten jest zwykle skompresowany do archiwum zip. Podczas instalacji folder ten jest po prostu rozpakowywany i kopiowany do:

$ROOT_DIR/Mod/

gdzie $ROOT_DIR jest katalogiem najwyższego poziomu przeszukiwanym przez FreeCAD podczas uruchamiania. Jest to zasadniczo to, co robi Menadżer dodatkóœ.

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 macOS 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 (you can find the latter by typing App.getUserAppDataDir() in the Python console).

  • On Linux it is usually /home/username/.local/share/FreeCAD/Mod/ (version 0.20 and above) or /home/username/.FreeCAD/Mod/ (version 0.19 and below).
  • On Windows it is %APPDATA%\FreeCAD\Mod\, which is usually C:\Users\username\Appdata\Roaming\FreeCAD\Mod\
  • On macOS it is usually /Users/username/Library/Preferences/FreeCAD/Mod/.

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.