Commit Graph

57 Commits

Author SHA1 Message Date
Yorik van Havre
319920c185 Material: allow to display Drawing Patterns in material editor - issue #2577 2016-06-09 22:19:45 -03:00
Przemo Firszt
c73602b797 [Material] Add Acrylic Glass
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2016-05-29 19:24:41 -03:00
mandeeps708
8059563681 adds new material: Aluminium-6061-T6 2016-04-17 05:02:38 +05:30
mandeeps708
043502d073 Materials readme 2016-04-17 04:26:23 +05:30
Ian Rees
e242e4643b Add cmake checks for BUILD_GUI to some modules 2016-02-13 13:45:27 +13:00
Bernd Hahnebach
efc9b712ae FEM: small changes in CalculiX standard steel material 2016-02-02 07:18:47 +01:00
Yorik van Havre
2688a2f501 Material: Fixed return value of the material editor 2016-02-01 19:35:48 -02:00
Yorik van Havre
a5852dd8f2 Material: Fixed the material editor dialog, thanks to rockn 2015-11-24 22:57:50 -02:00
DaviKaur
0120942c46 Materials: New Glass Materials 2015-10-31 13:01:39 +01: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
Yorik van Havre
2b172a9f41 Materials: Applied rockn's bugfix in material editor 2015-09-23 19:34:50 -03:00
Yorik van Havre
0ce3d46e92 Materias: Fixed small bug in material editor 2015-09-21 19:49:04 -03:00
sgrogan
60cd098ae9 Remove Specific Weight from .FCMat files 2015-09-14 17:36:44 -03:00
sgrogan
2d1b79cbb0 Replace Specific Weight with Density 2015-09-14 17:36:44 -03:00
sgrogan
7d771c7a36 Make alternate material directory UserAppData/Materials 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
Przemo Firszt
daa024cc79 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
fdb782c5c7 Materials: Add Materials.ods file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-08-27 15:59:02 +01:00
Przemo Firszt
729c1b4a73 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
285ad9dbfa Materials: Update Readme.txt
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-08-27 15:58:31 +01:00
Przemo Firszt
84a88c4d2f Material: Add TEMPLATE.FCMat file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-08-27 15:58:31 +01:00
Przemo Firszt
d2c7366f9a Material: Clean material files
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-08-27 15:58:31 +01:00
Przemo Firszt
d380187ef3 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
1e026ac477 Material: Use repr instead of backticks
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-23 17:02:02 +02:00
Przemo Firszt
4f36439028 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
f96f319986 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
4d630dbc32 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
6750127a05 Arch: Added materials support 2015-04-15 22:08:54 -03:00
Yorik van Havre
a7c346606f Material: Fixed bug in cmake file from commit 6685ae0 2015-04-12 19:21:32 -03:00
Yorik van Havre
6685ae0142 Material: Added prefix to steel material cards 2015-04-12 13:31:49 -03:00
Przemo Firszt
03e5bb55a4 Material: Change PLA material description
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:10 +02:00
Przemo Firszt
6c3e3b740b 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
54bb4e297e 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
9e67696fd5 Material: Added missing units 2015-02-27 13:31:13 -03:00
Bernd Hahnebach
fb908f6f82 make main material cards to work correctly with FemWB 2015-02-26 21:25:59 +01:00
Bernd Hahnebach
d5d6b08980 Standard CalculiX Material added 2015-02-26 09:56:58 -03:00
wmayer
477099bbfe + remove useless stuff from Init files 2015-01-13 16:19:19 +01:00
Sebastian Hoogen
a8dd528c1a Build python Qt resource files at compile time
fixes #1888
2015-01-02 11:14:07 +01:00
Yorik van Havre
7e86d94a48 Material: Added mk2's material cards 2014-12-13 13:36:51 -02:00
Yorik van Havre
b2df659699 Fixed small error in concrete material 2014-12-12 14:56:27 -02:00
Sebastian Hoogen
57db95a1c3 issue #1701 removed further except: statements 2014-09-17 11:57:32 +02:00
wmayer
397ee6edde + avoid to build Material target all the time 2014-04-07 12:01:55 +02:00
wmayer
e5eecc41dd + Update Material resource file 2014-02-18 14:00:11 +01:00
wmayer
4cd8cb6eb0 + Copy material editor UI file 2014-01-07 10:41:37 +01:00
Yorik van Havre
0f2c93a25e Small fix in Material editor 2014-01-06 17:37:59 -02:00
Yorik van Havre
14f2dd2331 Switched Material module to pyside 2014-01-06 17:10:34 -02:00
jriegel
e17090fadd add SCL python files 2014-01-05 22:31:15 +01:00
jriegel
360b190f03 group for Material project 2013-12-30 19:03:40 +01:00
Yorik van Havre
83e63a67b1 Material: packed resources for the editor 2013-12-06 18:32:06 -02:00
Yorik van Havre
f4da53bd1d 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