
BOM is byte order mark and it was crashing ConfigParser: Traceback (most recent call last): File "/home/przemo/software/FreeCAD/build/Mod/Fem/MechanicalMaterial.py", line 109, in setEdit taskd = _MechanicalMaterialTaskPanel(self.Object) File "/home/przemo/software/FreeCAD/build/Mod/Fem/MechanicalMaterial.py", line 138, in __init__ self.import_materials() File "/home/przemo/software/FreeCAD/build/Mod/Fem/MechanicalMaterial.py", line 264, in import_materials self.add_mat_dir(user_mat_dirname, ":/icons/preferences-general.svg") File "/home/przemo/software/FreeCAD/build/Mod/Fem/MechanicalMaterial.py", line 245, in add_mat_dir self.materials[a_path] = Material.importFCMat(a_path) File "/home/przemo/software/FreeCAD/build/Mod/Material/Material.py", line 57, in importFCMat Config.read(fileName) File "/usr/lib64/python2.7/ConfigParser.py", line 305, in read self._read(fp, filename) File "/usr/lib64/python2.7/ConfigParser.py", line 512, in _read raise MissingSectionHeaderError(fpname, lineno, line) <class 'ConfigParser.MissingSectionHeaderError'>: File contains no section headers. file: /home/przemo/.FreeCAD/Materials/AlMg3F24.FCMat, line: 1 '\xef\xbb\xbf; AlMg3F24 - 3.3535.26 - DIN 1725\n' Reported-by: sgrogan Signed-off-by: Przemo Firszt <przemo@firszt.eu>
23 lines
666 B
Plaintext
23 lines
666 B
Plaintext
; S260NC - 1.0971 - SEW 092
|
|
; (c) 2014 M. Münch - GNU Lesser General Public License (LGPL)
|
|
; information about the content of this card can be found here:
|
|
; http://www.freecadweb.org/wiki/index.php?title=Material
|
|
|
|
[FCMat]
|
|
Name = S260NC
|
|
NameDE = QStE260 N
|
|
DescriptionDE = gut biegbar, Fahrgestellrahmen, Hilfsrahmen, nicht für Punktlasten
|
|
Father = Metal
|
|
YoungsModulus = 210000 MPa
|
|
UltimateTensileStrength = 350
|
|
PoissonRatio = 0.3
|
|
Density = 7800 kg/m^3
|
|
KindOfMaterial = Cold forming steel
|
|
KindOfMaterialDE = Kaltumformstahl
|
|
MaterialNumber = 1.0971
|
|
ModulusOfShare = 81000
|
|
Norm = SEW 092
|
|
ThermalExpansionCoefficient = 1.10E-005
|
|
UltimateStrain = 30
|
|
YieldStrength = 280
|