OCC essentially deals with B-Rep's ( boundary representation ) [1] while STL's describe polygon / triangular meshes [2]...
So your input does not make a lot of sense to be processed in OCC.
[1] http://en.wikipedia.org/wiki/Boundary_representation
[2] http://en.wikipedia.org/wiki/Polygon_mesh