Commit Graph

52 Commits

Author SHA1 Message Date
Bernd Hahnebach
5c7905742a FEM: small changes in CalculiX standard steel material 2016-02-02 07:18:47 +01:00
Yorik van Havre
489dc67e6a Material: Fixed return value of the material editor 2016-02-01 19:35:48 -02:00
Yorik van Havre
faf062dc5a Material: Fixed the material editor dialog, thanks to rockn 2015-11-24 22:57:50 -02:00
DaviKaur
bb17b6acbd Materials: New Glass Materials 2015-10-31 13:01:39 +01:00
Przemo Firszt
0973edc0ab 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
Yorik van Havre
b22e3b00f2 Materials: Applied rockn's bugfix in material editor 2015-09-23 19:34:50 -03:00
Yorik van Havre
b3b36eda3d Materias: Fixed small bug in material editor 2015-09-21 19:49:04 -03:00
sgrogan
f29f34f969 Remove Specific Weight from .FCMat files 2015-09-14 17:36:44 -03:00
sgrogan
c0a7dfa1e3 Replace Specific Weight with Density 2015-09-14 17:36:44 -03:00
sgrogan
d343b170e9 Make alternate material directory UserAppData/Materials 2015-09-14 17:36:44 -03:00
Przemo Firszt
3cc691d871 Material: Add generic glass FCMat file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-09 13:57:45 +02:00
Przemo Firszt
052995a2a2 Material: Add missing Density fields using Tools
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-08-27 15:59:02 +01:00
Przemo Firszt
321a310481 Materials: Add Materials.ods file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-08-27 15:59:02 +01:00
Przemo Firszt
06e9f7e505 Materials: Add Tools for FCMat<->ods conversion
Testing and proofreading by sgrogan

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-08-27 15:58:51 +01:00
Przemo Firszt
f4f086316c Materials: Update Readme.txt
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-08-27 15:58:31 +01:00
Przemo Firszt
7952e6f7f1 Material: Add TEMPLATE.FCMat file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-08-27 15:58:31 +01:00
Przemo Firszt
31f387d113 Material: Clean material files
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-08-27 15:58:31 +01:00
Przemo Firszt
ffa1065898 FEM, Material: Add DENSITY to inp files and basic material files
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-31 14:04:14 -03:00
Przemo Firszt
977398d480 Material: Use repr instead of backticks
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-23 17:02:02 +02:00
Przemo Firszt
848e0957a0 Material: Fix white space errors in Material.py
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-23 17:01:39 +02:00
Przemo Firszt
a46e8c3129 FEM: Change default behaviour of ConfigParser used for materials
ConfigParser changes option capital letters in keys to small letters.
That commit changes it to generate verbatim keys as read from FCMat
files. Also Section names are no longer used to generate material
dictionary.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-23 17:01:18 +02:00
Yorik van Havre
bed600f883 Arch: misc improvements to materials and IFC
* Improved IFC export of curved surfaces
* Better icon for materials group
* Fixes in IFC export of materials
2015-04-19 16:34:36 -03:00
Yorik van Havre
514c7a14ac Arch: Added materials support 2015-04-15 22:08:54 -03:00
Yorik van Havre
3d53b383b4 Material: Fixed bug in cmake file from commit 6685ae0 2015-04-12 19:21:32 -03:00
Yorik van Havre
00204bf2cb Material: Added prefix to steel material cards 2015-04-12 13:31:49 -03:00
Przemo Firszt
8d2f971705 Material: Change PLA material description
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:10 +02:00
Przemo Firszt
dbff15d9a5 Material: Use MPa for Young's modulus in material definitions
Scientific notation removed.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:10 +02:00
Przemo Firszt
ef7dcd4a80 FEM: Add "None" and simplify material setting
The "-->choose Material" has been replaced with a not defined material.
That makes setting/retrieving material to/from the object much easier
and allows user to have a "not defined" material. Previously it wasn't
possible to change i.e. form Steel to "not defined".

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:06 +02:00
Yorik van Havre
4152ba1f83 Material: Added missing units 2015-02-27 13:31:13 -03:00
Bernd Hahnebach
075663b5e7 make main material cards to work correctly with FemWB 2015-02-26 21:25:59 +01:00
Bernd Hahnebach
411675ed78 Standard CalculiX Material added 2015-02-26 09:56:58 -03:00
wmayer
3398513a28 + remove useless stuff from Init files 2015-01-13 16:19:19 +01:00
Sebastian Hoogen
27cd61f849 Build python Qt resource files at compile time
fixes #1888
2015-01-02 11:14:07 +01:00
Yorik van Havre
8053528fd5 Material: Added mk2's material cards 2014-12-13 13:36:51 -02:00
Yorik van Havre
9691873133 Fixed small error in concrete material 2014-12-12 14:56:27 -02:00
Sebastian Hoogen
83543c71c6 issue #1701 removed further except: statements 2014-09-17 11:57:32 +02:00
wmayer
c68b8ab9b2 + avoid to build Material target all the time 2014-04-07 12:01:55 +02:00
wmayer
d5d9008704 + Update Material resource file 2014-02-18 14:00:11 +01:00
wmayer
b87f75162d + Copy material editor UI file 2014-01-07 10:41:37 +01:00
Yorik van Havre
df68936725 Small fix in Material editor 2014-01-06 17:37:59 -02:00
Yorik van Havre
6dcc25f455 Switched Material module to pyside 2014-01-06 17:10:34 -02:00
jriegel
c5978fa32a add SCL python files 2014-01-05 22:31:15 +01:00
jriegel
0b1dc89b01 group for Material project 2013-12-30 19:03:40 +01:00
Yorik van Havre
8d447d28a5 Material: packed resources for the editor 2013-12-06 18:32:06 -02:00
Yorik van Havre
348329b7b9 Material: Created material editor
Materal editor is now funcional, abeit not complete. Can be used to
create and save new cards. Lauch from within FreeCAD with
import MaterialEditor; MaterialEditor.openEditor()
2013-11-19 19:27:15 -02:00
Yorik van Havre
4005b199e0 0001102: Updated all links to old freecad homepage and wiki to the new ones 2013-09-15 17:04:42 -03:00
wmayer
9d72a26d23 Fix Material target 2013-09-09 13:48:39 +02:00
jriegel
c68f354761 Some fixes in the Fem/Material interplay 2013-08-21 17:53:45 +02:00
jriegel
a495693c9d Update Fem workbench
Adding new materials and making some of the objects to python objects
2013-08-11 23:08:43 +02:00
jriegel
6129e8b9a0 some fixes in material handling 2013-07-18 23:03:43 +02:00