Thank you so much for your time. I want to use FreeCAD in my project environment to generate .stl shape directly from my project Environment (IDLE Pycharm). I have read many post in forum about using FreeCAD as external library and tried every solution i found.
This is the problem: the only way i can run this line: ''Import FreeCAD'' without errors is to navigate the Interpreter of project (in Pycharm) to the ''Python'' which is coming with FreeCAD's package itself located here:
/Applications/FreeCAD.app/Contents/Resources/bin/python
otherwise i get this error:
Code: Select all
Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)
Code: Select all
import sys
path = '/Applications/FreeCAD.app/Contents/Resources/lib'
sys.path.append(path)
import FreeCAD
Unfortunately i'm no expert in virtual environments, conda, compiling etc.. I would be so thankful for any suggestion to solve this issue:
Is this the only way i can import FreeCAD externally in mac?
is it possible to merge the python coming with FreeCAD's package into my default interpreter package?
OS: macOS Sierra (10.12)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16110 (Git)
Build type: Release
Branch: (HEAD detached at 0.18.1)
Hash: f7dccfaa909e5b9da26bf50c4a22ccca9bb10c40
Python version: 3.6.7
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Best,