-
Notifications
You must be signed in to change notification settings - Fork 233
FreeCAD
You have to use FreeCAD of version 0.18 (0.19 could not work (0.20 it alpha)).
-
Install FreeCAD (or just it's libraries, that will be enough):
$ sudo apt install libfreecad-python3-0.18
Note that in Ubuntu there is a bug in FreeCAD package; so if you are having error messages like libnglib.so: no such file or directory
, then to work around this bug, you have to do the following:
$ sudo apt install libnglib-6.2.1804
$ sudo echo '/usr/lib/x86_64-linux-gnu/netgen' >> /etc/ld.so.conf.d/x86_64-linux-gnu.conf
$ sudo ldconfig
- In Sverchok preferences dialog, in the
FreeCAD python path
field, enter/usr/lib/freecad-python3/lib/
and press theSet Path
button. - Restart Blender.
For Blender 2.93 to 3.1.0 :
-
Download
For Blender 2.93 download and install/unzip Freecad with python 3.7.3 libs pylib 3.7
Or for Blender 3.1.0 download python 3.9 libs pylib 3.9
Or for Blender 3.1.0 download and install/unzip FreeCAD with python 3.9.12 libs pylib 3.9.12 -
In Sverchok preferences dialog, in the
FreeCAD python path
field, enter freecad-python3-lib path that ends with...\bin
and press theSet Path
button. -
Restart Blender.
For Blender 3.2.0 :
- Download miniconda
- Open Anaconda Prompt (miniconda3)
- Navigate within the prompt to where you want your FreeCad library to be installed
- Run
conda create -p fc_env freecad python=3.10 --copy -y -c freecad/label/dev -c conda-forge
- Within Blender, in Sverchok add-on settings, Extra Nodes tab, FreeCAD python path field, enter
your_path\fc_env\Library\bin
, whereyour_path
is the path to where you executed step 4. - Press the Set Path button next to the field
- Restart Blender
The current version of FreeCAD has a different version of Python (3.8) so you must use conda-forge
to retrieve a version compiled against Python 3.7.
- Follow the recipe at FreeCAD Web
- While it is
activated
typewhich freecad
and use this path for the sverchokFreeCAD python path
in Preferences. Don't forget to pressSet Path
button. - Restart Blender.