Std AddonMgr/ro

Description
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.

Due to changes to the GitHub platform in the year 2020 the Addon manager no longer works if you use FreeCAD version 0.17 or earlier. You need to upgrade to version 0.18.5 or later. Alternatively you can install addons manually, see Notes below.

Cum se folosește
Notă: pictograma poate să arate diferit în funcție de sistemul dvs. de operare. Actualizările disponibile vor fi raportate în listă.
 * Deschideți meniul de instrumente.
 * 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 pentru a instala noul instrument. Pentru macro-uri, faceți clic pe tab-ul  ș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.
 * Pentru a actualiza un atelier sau macro parcurgeți, selectați plugin-ul și apăsați butonul.
 * Pentru a verifica actualizările apăsați Actulaizările disponibile vor fi raportatea în partea de jos a listei. Apăsați  pentru a instala odată toate actualizările
 * Pentru a rula o macrocomandă: instalați mai întâi macroul dorit, apoi selectați din nou din listă, apoi apăsați butonul.
 * Apăsați butonul pentru a ieși din manager.

Options



 * 1) The Addon manager provides two view layouts: "Condensed" and "Expanded". In "Condensed" view, each addon takes a single line, and its description is truncated to fit the available space. "Expanded" shows additional details, including more of the description text as well as maintainer information, more installation details, etc.
 * 2) Three different types of addons are supported: workbenches, macros, and preference packs. You can choose to show just one type, or all of them in a single list.
 * 3) The list can be limited to show just installed packages, just packages with available updates, or just packages that are not yet installed.
 * 4) The list can be filtered, searching for a keyword in the title, description, and tags (description and tags must be specified by the addon developer in their addon's metadata). The filter can even be a regular expression, for fine-grained control of the exact search term.
 * 5) The expanded view shows available version information, description, maintainer information, and installation version information, for packages that provide a package metadata file (or for macros with embedded metadata).
 * 6) Addon data is cached locally, with a variable cache update frequency set in the user preferences.
 * 7) At any time you can choose to manually update your local cache to see the latest updates available for each addon.
 * 8) Update checks may be set up to be automatic, or done manually via a button click (configured in user preferences). If GitPython and git are installed on your system then update information is fetched using git. If not, then update information is obtained from any present metadata file.

Clicking on an addon in this view brings up the addon's Details page:



The details page shows buttons allowing installing, uninstalling, updating, and temporarily disabling an addon. For installed addons it lists the currently installed version and the installation date, and whether that is the most recent version available. Below is an embedded web browser window showing the addon's README page (for workbenches and preference packs), or Wiki page (for macros).

Preferences
The preferences for the Addon manager can be found in the Preferences Editor.

Information for addon developers
See Addon.

Scripting
Some features of the Addon manager are designed for access via FreeCAD's Python API. In particular an addon can be installed, updated, and removed via the Python interface. Most uses of this API require you to create an object with at least three attributes:, and. For example:

Your object is now ready for use with the Addon manager API.

Commandline (non-GUI) use
If your code needs to install or update an addon synchronously (e.g. without a GUI) the code can be very simple:

Note that this code blocks until complete, so you shouldn't run it on the main GUI thread. To the Addon manager, "install" and "update" are the same call: if this addon is already installed, and git is available, it will be updated via "git pull". If it is not installed, or was installed via a non-git installation method, it is downloaded from scratch (using git if available).

To uninstall, use:

GUI use
If you plan on your code running in a GUI, or supporting running in the full version of FreeCAD, it's best to run your installation in a separate non-GUI thread, so the GUI remains responsive. To do this, first check to see if the GUI is running, and if it is, spawn a (don't try to spawn a  if the GUI is not up: they require an active event loop to function).

Then define the functions and  to be run in each case. For uninstallation you can use the same technique, though it is usually much faster and will not block the GUI for very long, so in general it's safe to use the uninstaller directly, as shown above.