Path Tools/fr

Description
Cette page décrit l'architecture ToolBit utilisée dans l'atelier Path qui est devenu le système par défaut de FreeCAD v 0.19. Pour l'ancien système d'outils voir Path Gestionnaire d'outils. Les outils de l'atelier Path sont gérés différemment de ceux des autres logiciels de FAO.

Il y a plusieurs concepts que l'utilisateur doit comprendre :


 * Path Forme d'outil : sont des modèles pour créer des outils. Les Formes d'outil sont des documents FreeCAD qui modélisent l'outil en utilisant des contraintes nommées. La forme d'outil est un modèle d'outil abstrait à partir duquel sont créées les instances d'outils (appelées toolbits). Par exemple, toutes les fraises partageront le même fichier Forme d'outil.


 * Path ToolBits : sont des instances d'une forme d'outil. Un toolbit aura des valeurs spécifiques pour chacune des contraintes nommées dans le toolhape. Un toolbit est utilisé dans un travail de trajectoire par le biais d'un contrôleur d'outils (TC). Le même toolbit peut exister dans plusieurs bibliothèques.


 * Path Bibliothèque des outils : contient une collection arbitraire de toolbits. Les outils spécifiques d'une bibliothèque sont entièrement laissés à la discrétion de l'utilisateur. Cas d'utilisation possibles pour les bibliothèques :
 * Un utilisateur amateur peut n'avoir qu'une seule bibliothèque pour tous les outils qu'il possède.
 * Une bibliothèque peut contenir tous les outils utilisés pour un matériau spécifique comme l'aluminium ou le bois.
 * Une bibliothèque peut contenir des outils pour travailler sur un matériau spécifique.
 * Une bibliothèque peut contenir des outils d'un fournisseur spécifique.
 * Une bibliothèque peut correspondre à la disposition d'un changeur automatique d'outils.

A Tool Controller controls how a tool is used in a Path Job. A controller combines the toolbit with properties for spindle speed, direction and Horizontal/Vertical feed rates.

Dialogs
The user will interact via path menu with the tool management system in two different workflows. Each workflow has dedicated GUI elements.


 * view indicated at the box top as Tool selector, for using tools in a Path Job by creating Tool Controllers.
 * for managing the user's Toolbit collection with Create Toolbit, Add Existing and Remove buttons.

Organization
When FreeCAD is installed an example hierarchy of tool libraries and toolbits is created in the installation directory at:


 * On Linux it is usually
 * On Windows it is usually
 * On macOS it is usually

Tools + Bit + Library + Shape

It is always recommended to store the new created toolbits and libraries in a safe location to avoid them being overwritten on a program upgrade. Even custom toolshapes can be stored in arbitrary locations where they can be backed up. The user is encouraged, however, to use a comparable logical structure as shown above to keep toolbits and libraries well organized. When the Tool library Manager is opened, Path checks the location of the working directory. If the location is not writeable or is the same as the example/default location, Path will prompt the user to select or create a new working directory.

Options
References to Tool Bits and their shapes can either be stored with an absolute path or with a relative path to the search path. Generally it is recommended to use relative paths due to their flexibility and robustness to layout changes. Should multiple tools or tool shapes with the same name exist in different directories it can be required to use absolute paths.

See Path Preferences to choose whether absolute or relative paths are used

Migrating from Legacy Tools
If you have been using FreeCAD Path workbench for a while, you may need to adjust your preferences before you can use the Toolbit system. If pressing the Tool Library button on the toolbar shows the legacy dialog, Go to the page below in Path preferences and disable legacy tools. You have to restart FreeCAD to make the change valid.



Getting Started with Tools in FC 0.19
Read the `Migrating from Legacy Tools` section above. The steps below will walk you through the process of getting a ToolBit into your particular Path.

In short, the process begins with a Tool Shape (profile) file that contains only a FreeCAD sketch of half the tool's physical shape (profile). This tool shape file is then used as the basis to create a ToolBit file containing the 3D representation of the ToolBit or cutter. One or more ToolBits are assigned to any number of Tool Libraries as needed by the user. This structure and workflow allows for sharing of Tool Shapes, ToolBits, and entire Tool Libraries - a giant leap forward from the Legacy tool management system in place prior to version 0.19.

Verify or create a Tool Shape
Getting a cutter or tool into a Path Job for use in operations starts with a Tool Shape. This step of verification or creation of a Tool Shape is not necessary if you already have an existing ToolBit available.

Verify your desired Tool Shape exists

 * FreeCAD includes a set of common tool shapes with each distribution. Visit the ToolShapes page to see the list of included, common tool shapes.
 * You might have additional tool shape files available in your personal files.
 * Be mindful of the greater ToolBit system organization as mentioned above.

Create a new Tool Shape

 * Follow the instructions outlined in the Usage section of the Tool Shape page to create a custom tool shape.

Load or create a ToolBit
Once the desired tool shape(profile) exists, you need to create a tool bit using the tool shape(profile).
 * 1) In the [[Image:Workbench_Path.svg|24px]] Path Workbench menu bar, navigate to.
 * 2) In the Tool Bit creation task panel that appears, give the new tool bit a name and select the corresponding tool shape file as the basis for this new tool bit.
 * 3) A thumbnail of the selected tool shape should appear along with a list of parameters.
 * 4) Set the Bit Parameters as desired.
 * 5) Click  to save the new tool bit.
 * 6) The new Tool Bit will appear in the FreeCAD object tree.

Save the new ToolBit

 * 1) Locate and select the new tool bit in the object tree in the main FreeCAD window.
 * 2) In the [[Image:Workbench_Path.svg|24px]] Path Workbench menu bar, navigate to, and select,.
 * 3) A pop-up window will appear.
 * 4) Navigate to the folder where you wish to save the new tool bit file.
 * 5) Enter a file name for the tool bit.
 * 6) Click the  button.

Register the ToolBit in a Tool Library

 * 1) In the [[Image:Workbench_Path.svg|24px]] Path Workbench menu bar, navigate to.
 * 2) The ToolBit Library Manager window will open.
 * 3) At the top of this window, verify or set the path to the folder containing your existing tool libraries, or the location you want to store your tool libraries.
 * 4) Under the path entry, on the left is the Tool Libraries list area.  Click on an existing tool library you wish to use as the destination for your new tool bit, or click the green plus icon to create new Tool Library in the folder identified above.
 * 5) On the right side of the Tool Library editor window is the Tool Bit list and action buttons for the currently selected tool library.  Click the  icon.
 * 6) In the file navigation window that opens, navigate to your new tool bit, select it, and click the  button.  The new tool bit will be added to the active tool library.
 * 7) Be sure to click the  button at the bottom of the Tool Library window in order to save the changes.
 * 8) Leave this ToolBit Library window open for the next step.
 * 9) Once your ToolBits are created and saved in a ToolBit Library, you may reuse them.

Add a ToolBit Tool Controller to a Job

 * 1) In the open Tool Library window, locate and activate the desired tool library.
 * 2) Select the desired tool bit(s) to be added to the Job.  Select multiple by holding down the CTRL key when selecting.
 * 3) Click the  button.
 * 4) Close the ToolBit Library

Related

 * Path ToolBit
 * Path ToolBitLibraryOpen