Std: Mangerul de Addon

From FreeCAD Documentation
Revision as of 23:10, 7 April 2019 by Normandc (talk | contribs) (Created page with "* Deschideți meniul de instrumente {{MenuCommand|Tools → Addon manager}}. * Pentru a instala un atelier sau o macro: derulați în jos lista și selectați atelierul de com...")

Addon manager

poziția meniului
Tools → Addon manager
Ateliere
None
scurtătură
nici unul
Prezentat în versiune
0.17
A se vedea, de asemenea,
Macros, External workbenches

Addon Manager ”-gestionarul de extensii-” este un instrument pentru a instala și administra external workbenches atelierele de lucru și macros oferite de comunitatea FreeCAD. Dacă pachetul git-python este instalat pe computer, Managerul de aplicații addon îl va utiliza pentru a actualiza atelierele de lucru instalate, făcând descărcările mai rapide.

Lista completă a atelierelor care pot fi instalate este disponibilă la două depozite FreeCAD-addons și FreeCAD-macros, respectiv și de la Macros recipes.

Interface of the Addon Manager

Cum se folosește

  • Deschideți meniul de instrumente Tools → Addon manager.
  • Pentru a instala un atelier sau o macro: derulați în jos lista și selectați atelierul de completare. O scurtă descriere a atelierului suplimentar va fi afișată sub listă, precum și link-ul către pagina complementară. Apoi apăsați butonul Install/update pentru a instala noul instrument. Pentru macro-uri, faceți clic pe tab-ul Macros și repetați pașii.
  • Pentru a elimina un atelier sau macro parcurgeți lista, selectați atelierul sau add-on și apăsați butonul Install/update .
  • Pentru a actualiza un atelier sau macro parcurgeți, selectați plugin-ul și apăsați butonul Install/update.
  • Pentru a verifica actualizările apăsați Refresh Actulaizările disponibile vor fi raportatea în partea de jos a listei. Apăsați Refresh pentru a instala odată toate actualizările
Note: Notă: pictograma poate să arate diferit în funcție de sistemul dvs. de operare. Actualizările disponibile vor fi raportate în listă. 
  • Pentru a rula o macrocomandă: instalați mai întâi macroul dorit, apoi selectați din nou din listă, apoi apăsați butonul Execute.
  • Apăsați butonul Close pentru a ieși din manager.

Manual installation

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:

Limitations

  • These add-ons are not part of the official FreeCAD program and are not supported by the core FreeCAD development team. You should read the information provided on each add-on's home page to make sure you know what you are installing.
  • Bug reports and feature requests should be made directly to the creator of the add-on by visiting the indicated website. Many add-on authors are regular users of the FreeCAD forum, and can be contacted there.
  • The web addresses of the repositories for add-ons and macros are hard coded into the AddonManager. As this application is written in Python, experienced users can change these locations by editing the appropriate fields in
$ROOT/Mod/AddonManager/AddonManager.py

where $ROOT is the installation directory of FreeCAD in your particular system, for example,

  • Linux: /usr/lib/freecad/Mod/AddonManager/AddonManager.py
  • Windows: C:\Program Files\FreeCAD version\Mod\AddonManager.py

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.