Installing more workbenches/ru: Difference between revisions
(Created page with "Дополнительная информация о том, как создать пользовательский верстак, может быть найдена на P...") |
(Updating to match new version of source page) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
== |
== Введение == |
||
Добавить [[external workbenches/ru|внешний верстак]] в FreeCAD легко. |
|||
Начиная с v0.17 легко добавить [[external_workbenches/ru|внешний верстак]], используя [[Std_AddonMgr/ru|Addon Manager]]. Обычному пользователю ничего не требуется кроме использования этого инструмента. |
|||
Workbenches are contained in a folder that must be simply copied into |
|||
Читайте далее для получения дополнительной информации относительно установки верстаков. |
|||
== Общее описание == |
|||
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 |
|||
{{Code|code= |
{{Code|code= |
||
$ROOT_DIR/Mod/ |
$ROOT_DIR/Mod/ |
||
}} |
}} |
||
where {{incode|$ROOT_DIR}} is a top level directory searched by FreeCAD on startup. |
where {{incode|$ROOT_DIR}} is a top level directory searched by FreeCAD on startup. This is essentially what the [[Std_AddonMgr|Addon Manager]] does. |
||
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. |
||
== Installing system-wide == |
== 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. |
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 20: | Line 26: | ||
== Installing for a single user == |
== Installing for a single user == |
||
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. |
||
Copy the workbench folder into {{incode|$USER_DIR/Mod/}}, where {{incode|$USER_DIR}} is the FreeCAD directory for a particular {{incode|username}}. |
Copy the workbench folder into {{incode|$USER_DIR/Mod/}}, where {{incode|$USER_DIR}} is the FreeCAD directory for a particular {{incode|username}}. |
||
* On Linux it is usually {{incode|/home/username/.FreeCAD/Mod/}} |
* On Linux it is usually {{incode|/home/username/.FreeCAD/Mod/}} |
||
* On Windows it is usually {{incode|C:\Users\username\ |
* On Windows it is {{incode|%APPDATA%\FreeCAD\Mod\}}, which is usually {{incode|C:\Users\''username''\Appdata\Roaming\FreeCAD\Mod\}} |
||
* On Mac OSX it is usually {{incode|/Users/username/Library/Preferences/FreeCAD/Mod/}}. One way to get to the preferences directory is to use the "Finder" menu item {{MenuCommand|Go → Go to Folder}}, and entering {{incode|~/Library/Preferences/FreeCAD}}. |
* On Mac OSX it is usually {{incode|/Users/username/Library/Preferences/FreeCAD/Mod/}}. One way to get to the preferences directory is to use the "Finder" menu item {{MenuCommand|Go → Go to Folder}}, and entering {{incode|~/Library/Preferences/FreeCAD}}. |
||
Line 33: | Line 40: | ||
Смотрите так же детальное описание [[How_to_install_additional_workbenches|как установить дополнительные верстаки]]. |
Смотрите так же детальное описание [[How_to_install_additional_workbenches|как установить дополнительные верстаки]]. |
||
{{Powerdocnavi{{#translation:}}}} |
|||
[[Category:Developer/ru]] |
|||
[[Category: |
[[Category:Developer Documentation{{#translation:}}]] |
||
{{clear}} |
{{clear}} |
Revision as of 22:42, 24 August 2020
Введение
Начиная с v0.17 легко добавить внешний верстак, используя Addon Manager. Обычному пользователю ничего не требуется кроме использования этого инструмента.
Читайте далее для получения дополнительной информации относительно установки верстаков.
Общее описание
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 usuallyC:\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
.
Дополнительная информация
Дополнительная информация о том, как создать пользовательский верстак, может быть найдена на хабе опытных пользователей и хабе разработчиков.
Смотрите так же детальное описание как установить дополнительные верстаки.
- FreeCAD scripting: Python, Introduction to Python, Python scripting tutorial, FreeCAD Scripting Basics
- Modules: Builtin modules, Units, Quantity
- Workbenches: Workbench creation, Gui Commands, Commands, Installing more workbenches
- Meshes and Parts: Mesh Scripting, Topological data scripting, Mesh to Part, PythonOCC
- Parametric objects: Scripted objects, Viewproviders (Custom icon in tree view)
- Scenegraph: Coin (Inventor) scenegraph, Pivy
- Graphical interface: Interface creation, Interface creation completely in Python (1, 2, 3, 4, 5), PySide, PySide examples beginner, intermediate, advanced
- Macros: Macros, How to install macros
- Embedding: Embedding FreeCAD, Embedding FreeCADGui
- Other: Expressions, Code snippets, Line drawing function, FreeCAD vector math library (deprecated)
- Hubs: User hub, Power users hub, Developer hub