FEM: calculix writer, materials, comment

This commit is contained in:
Bernd Hahnebach
2021-07-13 16:37:27 +02:00
committed by GitHub
parent c97e809592
commit 42aff5d040

View File

@@ -88,6 +88,7 @@ def write_femelement_material(f, ccxwriter):
f.write("*MATERIAL, NAME=" + mat_name + "\n")
if mat_obj.Category == "Solid":
f.write("*ELASTIC\n")
# FIXME https://forum.freecadweb.org/viewtopic.php?f=18&t=60066&p=516434#p516433
if YM_in_MPa >= 1000:
f.write("{0:.0f}, {1:.3f}\n".format(YM_in_MPa, PR))
else: