Can someone tell me if the python api from freecadweb.org (http://www.freecadweb.org/wiki/index.ph ... =Draft_API) is current? The code from that page:
Code: Select all
import FreeCAD
from Draft import *
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-24-ffb2a6bed5d2> in <module>()
----> 1 import Draft
ImportError: No module named Draft
i'm importing the modules to Ipython. FreeCAD and FreeCADGui import with a notification:
But otherwise seem to work. I built from the git. FreeCAD.Version() returns:No modules found in /usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/Mod
Has the api changed or do I need to do some more build work?['0',
'14',
'2433 (Git)',
'https://github.com/FreeCAD/FreeCAD_sf_master.git',
'2013/09/04 12:18:20',
'master',
'8f9a9b71a20aeac0a4f395b194acc47a52e33a6e']