Converting to and from the STL format