Commit Graph

11 Commits

Author SHA1 Message Date
Bernd Hahnebach
ce4413e7a4 Material: cards, add group sections to all cards, by rewriting them once again 2019-03-02 18:13:11 +01:00
Bernd Hahnebach
ac51fb35a7 Material: cards, rewrite all cards with card writer 2019-03-02 18:13:11 +01:00
Bernd Hahnebach
6f6735f9a8 Material: cards and templates, sort and move all mechanical group attributes 2019-03-02 18:13:06 +01:00
Bernd Hahnebach
d0098ff966 Material: cards and templates, sort and move all cost group attributes 2019-03-02 18:13:05 +01:00
Bernd Hahnebach
b80d1887c3 Material: cards, fix some card names inside the cards 2019-02-19 10:27:26 -03:00
Bernd Hahnebach
8223a5497a Material: cards, fix CardName 2019-02-12 10:17:50 -02:00
Bernd Hahnebach
33e40b584e Material: mat cards, add some units to all cards where missing 2019-02-12 10:17:50 -02:00
Bernd Hahnebach
101fac6c12 Material: recreated materials files with the bash tools 2018-07-11 21:18:49 -03:00
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
sgrogan
60cd098ae9 Remove Specific Weight from .FCMat files 2015-09-14 17:36:44 -03:00
Przemo Firszt
2f681ab928 Material: Add generic glass FCMat file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-09 13:57:45 +02:00