FEM: ccx input writer, cut seconds output by 2 decimals

This commit is contained in:
Bernd Hahnebach
2019-02-24 22:18:50 +01:00
committed by wmayer
parent 3a472131af
commit f572207cdf

View File

@@ -74,7 +74,7 @@ class FemInputWriterCcx(FemInputWriter.FemInputWriter):
self.write_calculix_splitted_input_file()
else:
self.write_calculix_one_input_file()
writing_time_string = "Writing time input file: " + str(time.clock() - timestart)
writing_time_string = "Writing time input file: " + str(round((time.clock() - timestart), 2)) + " seconds"
if self.femelement_count_test is True:
FreeCAD.Console.PrintMessage(writing_time_string + ' \n\n')
return self.file_name