They are 2 different file formats. An STL is a 3d model and a DXF is line/vector art. The closest you can get would be an outline of the STL