improve unicode support for Abaqus export

This commit is contained in:
wmayer
2019-07-02 15:42:16 +02:00
parent db28dfbfb1
commit 71ff3123ee

View File

@@ -1524,8 +1524,8 @@ void FemMesh::writeABAQUS(const std::string &Filename, int elemParam, bool group
}
// write all data to file
std::ofstream anABAQUS_Output;
anABAQUS_Output.open(Filename.c_str());
Base::FileInfo fi(Filename);
Base::ofstream anABAQUS_Output(fi);
anABAQUS_Output.precision(13); // https://forum.freecadweb.org/viewtopic.php?f=18&t=22759#p176669
// add some text and make sure one of the known elemParam values is used