Commit Graph

263 Commits

Author SHA1 Message Date
Daniel Wood
8317f896fd [Material] evaluate the number of columns correctly when rebuilding the FCMats (#5910)
* evaluate the number of columns correctly.
* simplify awk command
2022-03-20 19:20:29 +01:00
luz paz
28ab1bb68f Fix various superfluous whitespace in *.dox files 2022-01-09 21:01:42 -06:00
Preslav
5030d8bb6d Added stiffness units to FreeCAD [mN/m, N/m, kN/m, MN/m] 2021-08-16 12:27:41 +01:00
luz paz
4d21ffa904 Fix various typos 2021-07-31 09:46:50 +02:00
Bernd Hahnebach
01c5c1a63c Material editor: add some comments 2021-07-15 09:20:31 +02:00
Bernd Hahnebach
70c8ff15ba Material Editor, code formating 2021-07-15 08:34:51 +02:00
Bernd Hahnebach
29ec98df8d Material, workaround for precision problem 2021-07-15 08:34:49 +02:00
Bernd Hahnebach
323f323864 Material: comments 2021-07-15 00:09:58 +02:00
Bernd Hahnebach
56ee4ca2a8 Material: nitrogen card, fix wrong minus which leads to syntax error in unit system 2021-07-14 20:45:33 +02:00
Bernd Hahnebach
dc7e0cb0ce Material: matcard reader, fix some problems 2021-07-14 16:07:36 +02:00
luz paz
b463eca738 Fix FEM and Material typos
Found via `codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,apoints,ba,beginn,behaviour,bloaded,bottome,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,inout,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,ontop,orgin,orginx,orginy,ot,pard,parms,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml,./build/doc/SourceDocu`
2021-07-14 10:48:20 +02:00
Bernd Hahnebach
ef9d9c7e57 Material: card reader, do not break if error on card reading. 2021-07-13 20:41:38 +02:00
Bernd Hahnebach
3f552500bc Maaterial: card writer, force to use utf-8 2021-07-13 17:55:21 +02:00
Bernd Hahnebach
e9d1af3acc Material: better warning message if card name is not file name 2021-07-13 17:42:25 +02:00
Bernd Hahnebach
df3ba55bf1 Material: matcard writer, print error if no card name is provided on save 2021-07-13 17:42:19 +02:00
Bernd Hahnebach
599e601797 Material: matcard writer, get rid of Python 2 code 2021-07-13 17:42:13 +02:00
luz paz
016989e992 Fix misc. typos
Found via 
```codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,apoints,ba,beginn,behaviour,bloaded,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,orgin,orginx,orginy,ot,pard,parms,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml,./build/doc/SourceDocu```
2021-06-03 14:36:21 -04:00
Syres916
9f9520adef [Material] Change File encoding to UTF-8
See discussion https://forum.freecadweb.org/viewtopic.php?f=3&t=58892
2021-05-25 15:02:22 +01:00
donovaly
40eb30ce8c [FEM] add a Graphite material card 2021-03-28 10:56:13 +02:00
donovaly
6c67300d62 [Base] add electrical conductivity
- this is necessary to perform electrodynamics simulations. Since the typical values are in the range of 1e6 S/m, we need the new units kS and MS

- since this is for simulations, also add electrical conductivity to the FEM material cards
2021-03-25 17:13:52 +01:00
donovaly
e001b133a9 [FEM] add missing material cards to CMakeLists.txt
This fixes issue 1. reported here: https://forum.freecadweb.org/viewtopic.php?f=18&t=56912#p489666
2021-03-24 17:02:06 +01:00
donovaly
3e25e6cc1f [FEM] add material cards for gases
also add electrical conductivity for air and water
2021-03-22 10:15:20 +01:00
donovaly
95ec662c38 [FEM] fix specific heat of air
- also adjust values slightly according to various sources

Since a factor 1000 is a big mistake and air is the most common gas, please commit this also for FC 0.19
2021-03-22 10:11:13 +01:00
Bernd Hahnebach
f6978f419e Material: pep8 code formating 2020-11-18 08:15:50 +01:00
Bernd Hahnebach
94905acf05 Material: fix open material editor with empty material, regression was added with commit 66d2688 2020-11-09 19:29:55 +01:00
Yorik van Havre
cb245845c5 Material: Mateiral editor UI fixes
- Fixed color buttons
- Introduced "Section Color" property
- Fixed named properties
- Added preview icons
- Remember UI dimensions and expanded states
2020-10-27 19:16:58 +01:00
luz.paz
65f6347953 [skip ci] Fix typos
Found via 
```
codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,ba,beginn,behaviour,bloaded,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,orgin,orginx,orginy,ot,pard,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml
```
2020-03-24 11:14:24 +01:00
Bernd Hahnebach
7b1519e4a8 Material: typos 2020-02-04 21:30:46 +01:00
Xia, Qingfeng
555f07a1dc Material: update fluid material and correct 2 value errors 2020-02-04 21:20:40 +01:00
Bernd Hahnebach
ad39095847 Material: code formating, spaces 2020-01-06 00:02:20 +01:00
Bernd Hahnebach
c080d17895 Material: add gitattributes file to let git manage file endings and normalize them 2019-12-12 07:29:23 +01:00
Bernd Hahnebach
78c2d33a47 Material: typo 2019-09-12 23:50:41 +02:00
Yorik van Havre
e2b73707f2 fixed typo 2019-09-04 11:29:09 -03:00
Dietmar Czekay
21f75b6ed4 change "User defined" to "UserDefined"
changed "User defined" in src/Mod/Material/Templatematerial.yml and
src/Mod/Material/MaterialEditor.py
2019-09-04 11:29:09 -03:00
Dietmar Czekay
65ccdee9d8 add VacuumPermittivity and fix adding user values to material editor in FEM 2019-09-04 11:29:09 -03:00
luz.paz
7af7c10cf1 Fix misc. typos, whitespace, and http:// to https:// issues 2019-09-03 11:11:43 -03:00
Erni24
772cfc56a0 add relative permittivity to Air and Water 2019-07-27 21:18:32 +02:00
Bernd Hahnebach
aa189f5d1f Materials: delete duplicate import 2019-07-02 22:47:42 +02:00
Bernd Hahnebach
dd4b93c201 Materials: Py2 fix 2019-07-02 12:31:43 +02:00
Bernd Hahnebach
7d2e1da194 Materials: code formating, flake8 2019-06-25 00:14:43 +02:00
luz.paz
c2827611be [Crowdin] string fix + misc. typo and whitespace fixes
* Crowdin link: https://crowdin.com/translate/freecad/6766/en-hu#6576162  
* Tacked on a few typo+whitespace fixes
2019-06-20 18:42:09 +02:00
luz.paz
13443ca27f [Material] Respect unicode filenames
Fixes #4027
2019-06-19 22:16:13 +02:00
luz.paz
9845c002ab Misc. source comment typo and whitespace fixes
Found via codespell
2019-06-16 20:47:07 +02:00
Bernd Hahnebach
a95f2d6153 Materials: cards, recreate new cards and update csv and ods 2019-06-16 18:29:32 +02:00
Bernd Hahnebach
f718c30558 Materials: cards, add concrete matrix and reinforcement materials
- safety factor is included in material params
- this is for sure not a material parameter
- but FreeCAD has no safety factor yet
- workaround: directly include them in the material parameter
- structural engineers have a lot of them in limeted state design
2019-06-16 18:29:32 +02:00
Bernd Hahnebach
421656602a Materials: white space 2019-06-11 10:37:08 +02:00
Bernd Hahnebach
4da861e8a7 Materials: card reader, delete not needed variable 2019-06-08 22:35:26 +02:00
Bernd Hahnebach
5a9ba2988d Material: card reader, do not break reading if saved with depretiated writer 2019-06-08 22:24:48 +02:00
Bernd Hahnebach
4431d30562 Material: card utils, do not fail to return card dicts if reading a card fails 2019-06-08 22:24:48 +02:00
Bernd Hahnebach
d30c3fb1a0 Materials: editor, improve comments 2019-06-05 21:49:16 +02:00