Files
create/src/Mod/Material/StandardMaterial
Przemo Firszt 8c38e25377 Materials: Fix BOM problem in FCMat files
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>
2015-09-24 11:07:23 -03:00
..
2015-08-27 15:58:31 +01:00
2015-08-27 15:58:31 +01:00

This is the FreeCAD standard material library. Its intended to gather the most commen Material definitions. 
How to do a description is explained here:
http://www.freecadweb.org/wiki/index.php?title=Material

To make the material description usefull for a lot of application only files with the (CC BY 3.0) license
will be accepted into the FreeCAD source distribution. For more detail about the license see here:
http://creativecommons.org/

Please help! 
Enlargen the base of Materials for FreeCAD will greatly benefit the usability of FreeCAD. So please 
help us to add new Materials, review existing ones or add additional vlaues. A good source for material 
defininitons are text-books or the www.matweb.com database.

2013 Juergen Riegel

Edit:
This is work in progress. Please verify material properties before use.

Please use provided TEMPLATE.FCMat file to create new materials