Commit Graph

131 Commits

Author SHA1 Message Date
Bernd Hahnebach
367c763c8c Material: Editor, fix open the editor without mat 2018-06-01 08:21:36 +02:00
Bernd Hahnebach
69c7c0ac90 Material: Editor, fix folders to look for mat cards 2018-06-01 08:21:33 +02:00
Bernd Hahnebach
d114685107 Material: Editor and import, only use mat keys if they have a value 2018-06-01 08:21:31 +02:00
Bernd Hahnebach
2deeca9602 Material: Editor and import, fix openfile and savefile if no filename is given, make open and save work the same way 2018-06-01 08:21:28 +02:00
Bernd Hahnebach
5f3fdc9b42 Material: Editor and import, delete trailing white spaces 2018-06-01 08:21:26 +02:00
Bernd Hahnebach
81ae098b18 Material: fix some units in various material cards 2018-05-23 17:59:29 +02:00
looooo
cdcb3bec4a PySide2: qApp -> QApplication 2018-04-14 10:40:31 +02:00
lorenz
7dfb83d250 python3: ConfigParser -> RawConfigParser
"%"-symbol makes problems with python3
2018-04-10 15:12:24 +02:00
Unknown
e3eca59173 Misc. typo fixes
Various workbenches
2017-12-23 14:30:30 +01:00
looooo
5d1de6037d py3: some diff for fem with py3 2017-10-25 10:56:31 +02:00
Unknown
8d9bd319bd Misc. Typos 2017-10-09 19:59:33 +02:00
luzpaz
f3bf8fe919 Misc. typos
+ some are doxy others are just comment code.  
+ some minor whitespace and grammatical tweaks. 
+ app/SCL/* typos have also been submitted upstream (https://github.com/stepcode/stepcode/pull/366). So it's ok to merge them in to master.
2017-10-04 17:59:11 +02:00
Yorik van Havre
ea274e59ed Arch: Material improvements
* Fix in material editor when loading existing material
* Added some properties to Arch materials that reflect the contents of the material dictionary
* Added some similar properties to Arch equipment
* Fixed standard code button in Arch material panel to go to Omniclass website to pick a code
2017-03-08 20:39:38 -03:00
Kunda
0192f2bf20 source typo fixes pt2 (only on py3 merged code) 2017-02-28 17:01:11 +01:00
looooo
170d7b6c3d py3: Material: print to python3
taken from: 23fa650261ed346b2c5a6216b7720b87e063b27d
author: kkremitzki

Update Arch,Fem,Material,Spreadsheet for py3 print
2017-02-12 18:57:54 +01:00
Priit Laes
6f95c7083b python: Material: *.py: Fix syntax for Python 3 2017-02-12 18:57:54 +01:00
qingfengxia
42ac9574b2 Fem: add push button to export customed fluid and solid material to FCMat file 2017-01-22 13:22:29 +00:00
qingfengxia
3c8e0355d8 Fem: add air and water fluid material into data/Mod/Material 2017-01-19 00:08:02 +00:00
Alexander Gryson
e3721b62c0 Update Material Workbench icons 2016-12-26 12:23:07 -02:00
Yorik van Havre
bf0d37bf28 Doc: Fixes in doxygen docs for Draft,Arch, FEM 2016-11-17 17:04:09 -02:00
wmayer
9a4b4695e2 fix unicode/utf-8 encoding problems 2016-09-24 16:48:30 +02:00
vdwalts
ebab0475b7 Materials: add thmermomechanical material values to gerneral steel and calculix steel 2016-08-04 17:45:04 +02:00
Przemo Firszt
0028b5ec28 [Material] Fix acrylic glass density and remove comments 2016-07-20 21:48:07 +01:00
Przemo Firszt
1a635c6d36 [Material] Amend Aluminum-6061-T6.FCMat
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2016-07-18 17:40:15 -03:00
Yorik van Havre
072f75a8a8 Material: allow to display Drawing Patterns in material editor - issue #2577 2016-06-09 22:19:45 -03:00
Przemo Firszt
96c8802223 [Material] Add Acrylic Glass
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2016-05-29 19:24:41 -03:00
mandeeps708
49024c34a0 adds new material: Aluminium-6061-T6 2016-04-17 05:02:38 +05:30
mandeeps708
51f0e4faea Materials readme 2016-04-17 04:26:23 +05:30
Ian Rees
0a70ce4eef Add cmake checks for BUILD_GUI to some modules 2016-02-13 13:45:27 +13:00
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