If I try it from outside FreeCAD in a terminal by
Code: Select all
$ python MaterialEditor.py
A path could be added by
Code: Select all
import sys
sys.path.append('the_path_to_FeeCAD_module')
Code: Select all
$ python MaterialEditor.py
Code: Select all
import sys
sys.path.append('the_path_to_FeeCAD_module')
Code: Select all
import MaterialEditor
MaterialEditor.openEditor()
Code: Select all
>>> import sys
>>> sys.path.append('/home/hugo/Documents/projekte--ifc/freecad/development/snapshot/free-cad-code/build/lib')
>>> import FreeCAD
FreeCAD 0.15, Libs: 0.15R4107 (Git)