2.7 KiB
Installation
Table of Contents
Automated
If you are running FreeCAD 0.17 or newer, which is recommended, this module is easy to install through the included addon manager.
- Run the FreeCAD Addon Manager by clicking
Tools->Addon manager
- Scroll down and click on
cadquery_module
- Click the
Install / update
button - Restart FreeCAD
- Confirm that CadQuery is in the drop down menu of available workbenches
This process can be repeated to update the module every time changes are pushed to the master branch on GitHub.
Manual
Sometimes a different version or branch of the workbench may be needed, other than what is installed using the addon manager. The steps below outline
- Download the latest released version
- Extract the archive file
- Copy the entire extracted directory to FreeCAD's
Mod
directory on your system. TypicalMod
directory locations are listed below.
Linux Mod Locations
- /usr/lib/freecad/Mod
- /usr/local/lib/freecad/Mod
- ~/.FreeCAD/Mod
Windows Mod Locations
- C:\Program Files\FreeCAD 0.14\Mod
- C:\Program Files (x86)\FreeCAD 0.14\Mod
- C:\Users[your_user_name]\Application Data\FreeCAD\Mod
Mac Mod Locations
- /Applications/FreeCAD.app/Contents/Mod
- /Applications/FreeCAD.app/Mod
- /Users/[your_user_name]/Library/Preferences/FreeCAD/Mod
- ~/Library/Preferences/FreeCAD/Mod
Troubleshooting
You may get a No module named QtNetwork
error on Ubuntu based systems when you select the module in FreeCAD. If you do, run the following command line from a terminal to fix this issue.
sudo apt-get install python-pyside.qtnetwork
When running on Ubuntu 14.04 with the default version of FreeCAD included in the repositories, you may get a No module named PySide
or No module named QtGui
error. If you do, run the following line to install the missing packages.
sudo apt-get install libboost-python1.54.0 libnglib-4.9.13 liboce-foundation10 liboce-modeling10 liboce-ocaf-lite10 liboce-ocaf10 liboce-visualization10 libpyside1.2 libshiboken1.2 python-pyside.qtcore python-pyside.qtgui python-pyside.qtsvg python-pyside.qtuitools python-pyside.qtxml
Next Steps
Once the workbench is installed, the next step is to read through the usage instructions.