Addon/fr: Difference between revisions

From FreeCAD Documentation
(Created page with "Dans FreeCAD et dans cette documentation, un addon est un composant qui ne fait pas partie de l'installation de base de FreeCAD, mais peut être ajouté au systè...")
(Created page with "Il existe deux types d'addons. * Macros: extraits courts de code Python fournissant un nouvel outil ou une nouvelle fonctionnalité. * External w...")
Line 5: Line 5:
Dans FreeCAD et dans cette documentation, un [[addon/fr|addon]] est un composant qui ne fait pas partie de l'installation de base de FreeCAD, mais peut être ajouté au système par certaines méthodes.
Dans FreeCAD et dans cette documentation, un [[addon/fr|addon]] est un composant qui ne fait pas partie de l'installation de base de FreeCAD, mais peut être ajouté au système par certaines méthodes.


There are two types of addons.
Il existe deux types d'addons.
* [[Macros]]: short snippets of [[Python]] code that provide a new tool or functionality.
* [[Macros/fr|Macros]]: extraits courts de code [[Python/fr|Python]] fournissant un nouvel outil ou une nouvelle fonctionnalité.
* [[External workbenches]]: collections of tools programmed in Python or C++ that extend FreeCAD in an important way.
* [[External workbenches/fr|External workbches]]: ensemble d’outils programmés en Python ou en C++ qui étend les fonctionnalités de FreeCAD de manière importante.


Macros usually start as a way to simplify or automate the task of drawing or editing a particular object. If many of these macros are collected inside a directory, the entire directory may be distributed as a new workbench.
Macros usually start as a way to simplify or automate the task of drawing or editing a particular object. If many of these macros are collected inside a directory, the entire directory may be distributed as a new workbench.

Revision as of 17:57, 8 January 2019

Introduction

Dans FreeCAD et dans cette documentation, un addon est un composant qui ne fait pas partie de l'installation de base de FreeCAD, mais peut être ajouté au système par certaines méthodes.

Il existe deux types d'addons.

  • Macros: extraits courts de code Python fournissant un nouvel outil ou une nouvelle fonctionnalité.
  • External workbches: ensemble d’outils programmés en Python ou en C++ qui étend les fonctionnalités de FreeCAD de manière importante.

Macros usually start as a way to simplify or automate the task of drawing or editing a particular object. If many of these macros are collected inside a directory, the entire directory may be distributed as a new workbench.

In other words, macros and workbenches are essentially the same thing, pieces of code that extend the base installation. Macros are usually short utilities focused on a single task, while workbenches are collections of organized tools and graphical interfaces to perform related tasks.

If a workbench is sufficiently developed and is well documented, it may be included as one of the base workbenches in FreeCAD.

Installation

Starting from FreeCAD 0.17, the recommended way to install addons is with the Addon Manager.

Manual installation is still possible.