Material: card writer, better meta comments

This commit is contained in:
Bernd Hahnebach
2019-03-01 19:58:14 +01:00
committed by wmayer
parent f8771be49a
commit e481af1369
3 changed files with 8 additions and 8 deletions

View File

@@ -189,9 +189,9 @@ def write(filename, dictionary, write_group_section=True):
else:
f.write("; " + header["CardName"].encode("utf8") + "\n")
f.write("; " + header["AuthorAndLicense"].encode("utf8") + "\n")
f.write("; information about the content of such cards you can find here:\n")
f.write("; http://www.freecadweb.org/wiki/index.php?title=Material\n")
f.write("; file produced by FreeCAD" + rev + "\n")
f.write("; information about the content of such cards can be found on the wiki:\n")
f.write("; https://www.freecadweb.org/wiki/Material\n")
f.write("; file created by FreeCAD" + rev + "\n")
f.write("\n")
# write sections
# write standard FCMat section if write group section parameter is set to False