I recomend this wiki page: http://www.freecadweb.org/wiki/index.ph ... _scripting
it shows a simplified method to your approach (actual just a shortcut for it):
Code: Select all
Part.show(P)
Code: Select all
Part.show(P)
Code: Select all
edge = Part.Edge(myEll)
wire = Part.Wire(edge)
face = Part.Face(wire)
solid = face.extrude(Base.Vector(0,0,10))