Making a converter from STP to OBJ

Hello. I have a school assigment to locate and use parts of code and what I need is to make a converter from STP to OBJ file.
I have found a python script (src\Mod\Arch\importOBJ.py) with a function called export which doesnt help me since i cant locate the “write” function used in it. Also I have not yet found where the STP file is being imported. Any help is much appreciated

/Rasmus

your first post, welcome to FreeCAD.

I noticed in the python script above that it only writes faces and vertexes which leads to this problem: http://forum.freecadweb.org/viewtopic.php?f=3&t=12834

how come the exporter for OBJ is not exporting everything?