How to Export FreeCAD Tool Libraries for Reuse
This guide explains how to export, locate, and transfer tool libraries created in FreeCAD's CAM (formerly Path) Workbench so they can be reused across different projects or migrated to other machines. By leveraging FreeCAD’s ToolBit architecture, you can bundle your cutting tools, shapes, and library definitions into portable files, eliminating the need to redefine tool dimensions and feed rates for every new machining job.
Understanding FreeCAD's ToolBit System
Modern versions of FreeCAD manage cutting tools through the ToolBit system, which organizes tool data into three interdependent components:
- ToolBits (
.fctb): Individual tool configurations defining parameters like diameter, cutting edge height, and material. - Shapes (
.fcstd): 3D profile models representing the geometric archetype of a tool (e.g., endmill, ball end, V-bit). - Tool Libraries (
.fctl): Plain-text JSON files that compile collections of.fctbtools into categorized working sets.
To successfully reuse or export a library, you must share both the
.fctl library file and its referenced .fctb
tool bit files.
Method 1: Exporting via the File System
The most reliable way to export complete tool libraries for use across projects or systems is to copy them directly from FreeCAD's application directory.
- Locate your FreeCAD CAM directory:
- Windows:
%APPDATA%\FreeCAD\CAM\(or%APPDATA%\FreeCAD\Path\) - Linux:
~/.local/share/FreeCAD/CAM/or~/.FreeCAD/CAM/ - macOS:
~/Library/Application Support/FreeCAD/CAM/
- Windows:
- Select the necessary folders: Inside the directory,
locate the following subfolders:
Library/: Contains your.fctllibrary definition files.Tool/: Contains the individual.fctbtool files.Shape/: Contains any custom shape templates you generated.
- Copy and package the files: Copy your desired
.fctlfiles from theLibrary/folder along with all corresponding.fctbfiles from theTool/folder to your backup location or target machine.
Method 2: Exporting from the ToolBit Library Manager
You can manage and export libraries directly from the FreeCAD graphical interface:
- Open FreeCAD and switch to the CAM (or Path) workbench.
- Navigate to the top menu and select CAM > ToolBit Library Manager (or click the tool manager icon on the toolbar).
- In the manager window, select the library you want to export from the library dropdown.
- Click the Save Library As or folder icon to export
the
.fctlfile to a custom directory on your system, such as a shared network drive or project folder. - Ensure any individual tools created specifically for this library are also saved using the Save ToolBit As option to make them accessible outside default locations.
Importing and Reusing the Library in a New Project
Once your library files are exported, use them in any new project using the following steps:
- Create or open your target FreeCAD document and create a new CAM Job.
- Open the ToolBit Library Manager.
- Click the Open Library button and browse to the
location of your exported
.fctlfile. - If working on a different computer, paste the exported
.fctbfiles into the local machine'sCAM/Tool/folder so FreeCAD can resolve the tool paths. - Select the required tools from the loaded library and click Add to Job to assign tool controllers to your active operations.