Commit Graph

274 Commits

Author SHA1 Message Date
luzpaz
79e150a81b Fix trailing whitespace, typos, headers
Fix trailing whitespace, typos, and header uniformity.
2023-01-23 00:34:37 +01:00
Yorik van Havre
89147ef8de Regenerated ts files using lupdate6.6 2022-12-22 15:39:42 +01:00
luz paz
452008f65d Fix header uniformity for various workbenches/directories
Also includes some trailing whitespace fixes
2022-11-29 04:48:57 +01:00
Yorik van Havre
3d75b4fb74 Updated ts files 2022-10-06 12:16:32 +02:00
Uwe
388dab1cf2 [Material] add materials used by our examples
- add generic copper and invar
- also extend the generic aluminum card
2022-08-10 02:08:35 +02:00
Uwe
4a030cd949 [FEM] remove unneeded checks for Python 3
since we only support Python >=3, these checks can go
2022-07-31 15:36:54 +02:00
Uwe
d81fe59c2e [FEM] remove checks for Python 2 2022-07-27 14:09:23 +02:00
Uwe
bb5c445848 [FEM] add generic Aluminum material
- with full thermal info
2022-07-26 03:20:27 +02:00
Uwe
68659771f5 [FEM] fix material task dialog for fluids
- this fixes a mistake from commit 821dc915
- it also consistently use the thermal expansion coefficient
- add code comments

now the material task dialog works with all fluid materials without errors or warnings
2022-07-23 04:59:10 +02:00
Uwe
e899c221cc [FEM] fix wrong console outputs for fluid materials
- since a while ThermalExpansionCoefficient is used, VolumetricThermalExpansionCoefficient is only used for the material task panel
- as already stated in a code comment, the unit of VolumetricThermalExpansionCoefficient is ThermalExpansionCoefficient, therefore we must check for ThermalExpansionCoefficient
- we must also check if ThermalExpansionCoefficient exists

- Adapt the existing fluid material cards to use the ThermalExpansionCoefficient
2022-07-02 05:36:43 +02:00
Kuzemko Alexsandr
bd7d4273f3 Crowdin Add Material to updatets.py script and create new Material.ts 2022-06-21 17:45:25 +03:00
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