I've no experience with any CAD program but I've to Programming
something cause my new project.
My Project which is given me from my university as my Bachelor
thesis and it demands from me to programming a python script which
has to creates a Draft BSpline with given Vectors and converts it to
a 3D model and finally export it as a Step file.
This is the code, I could create a cube and export it but when I try
to import Draft, I get an Error
line 76, in <module>
import FreeCAD, FreeCADGui, Part, math, sys, os, Image,
ImportError: No module named FreeCADGui"
from FreeCAD import *
from PyQt4 import QtGui
# THE MAIN FUNCTION
def main() :
mycube = Part.makeBox(20,2,20)
mycube = Part.cast_to_shape(mycube)
__objs__ = 
if __name__ == '__main__':
I hope one of you can help me a little.