Commit Graph

123 Commits

Author SHA1 Message Date
Bernd Hahnebach
a3a61c3348 FEM: normalise license headers 2020-05-22 18:55:05 +02:00
Bernd Hahnebach
ba34cc6a96 FEM: mesh export, add export to Python module 2020-04-17 22:51:36 +02:00
Sebastian Bachmann
c2a2effac2 Resolve SyntaxWarning literal comparison in py3.8
Comparison with literals should be done using != and == and not 'is
not' and 'is'.
Found the files using:
find . -name \*.py -exec pylint --disable=all --enable=R0123 --score=no {} \;

Python 3.8 prints out SyntaxWarnings when reading the files, this
would happen for example on every installation.
2020-04-13 11:40:16 +02:00
Bernd Hahnebach
f516c4af05 FEM: z88 mesh exporter, fix file handle type 2020-03-30 11:38:02 +02:00
Bernd Hahnebach
97d90d53ed FEM: z88 some small code improvements 2020-03-27 06:00:35 +01:00
Bernd Hahnebach
ac8b5db1c3 FEM: tetgen exporter, get rid of active document 2020-03-22 09:51:17 +01:00
Bernd Hahnebach
5620122ae7 FEM: code formating and unifor licence header in Python modules 2020-03-04 07:50:21 +01:00
Bernd Hahnebach
f9f5a7de32 FEM: improve imports 2020-02-26 20:58:26 +01:00
UR-0
8b68ab74b6 FEM: use a more precise object name "vonMises" instead "StressValues" 2020-02-14 16:52:40 +01:00
Bernd Hahnebach
985417d7f8 FEM: fenics export, remove u from print messages 2020-01-27 18:12:56 +01:00
joha2
90af18eb80 FEM: mesh: XML fenics mesh export fixed
Co-authored-by: qingfengxia <qingfeng.xia@gmail.com>
2020-01-27 18:08:10 +01:00
Bernd Hahnebach
1f05c8fa65 FEM: make sure results are loaded into the correct document 2020-01-14 13:44:53 +01:00
Bernd Hahnebach
683fbffe4a FEM: frd result reading, improve error handling 2020-01-10 09:02:15 +01:00
Bernd Hahnebach
c00af06846 FEM: console messages line break improvements 2020-01-09 08:10:07 +01:00
luz.paz
1baf5da3cf FEM: [skip ci] fix header uniformity
This PR fixes header uniformity across all FEM WB files
2019-12-21 20:00:14 +01:00
Bernd Hahnebach
9763b52a2a FEM: frd reader, delete not needed import 2019-10-08 21:56:17 +02:00
Bernd Hahnebach
40a4850f97 FEM: frd reader, fix analysis identifier 2019-09-26 18:30:35 +02:00
Markus Hovorka
a5843cc7fd FEM: in out modules, Replace print with Console.Print* calls 2019-09-23 21:16:51 +02:00
Bernd Hahnebach
91a11452b0 FEM: code formating 2019-09-18 21:27:20 +02:00
Bernd Hahnebach
751d30f587 FEM: ccx result reader, translate German comment 2019-09-13 09:33:07 +02:00
Bernd Hahnebach
c51d65bb93 FEM: in out modules, use double quotes instead of single ones 2019-09-13 09:33:01 +02:00
Bernd Hahnebach
98c98ff833 FEM: replace prints with console prints 2019-09-13 08:26:49 +02:00
Bernd Hahnebach
4c5bcf3dc1 FEM: objects, use same name system no matter if C++ or Python object 2019-07-03 12:43:27 +02:00
Bernd Hahnebach
431b0b0174 FEM: in out, z88 mesh, fix string replacements 2019-07-03 07:37:40 +02:00
Bernd Hahnebach
4dff5bb403 FEM: frd result reader, fix principal stress calculation if pure frd file was opened 2019-07-02 13:17:24 +02:00
Bernd Hahnebach
43061bc8ad FEM: frd result reader, fix compact mesh for multiple result sets if not compacted 2019-07-02 12:54:54 +02:00
Bernd Hahnebach
ce0fe2ec87 FEM: code formating, flake8 and white spaces 2019-07-02 12:54:50 +02:00
Bernd Hahnebach
20b78fca97 FEM: result reading, fix eigenmode number reading 2019-07-01 21:41:24 +02:00
Bernd Hahnebach
91ed554517 FEM: in out, get rid of not needed exception 2019-06-30 23:50:03 +02:00
Bernd Hahnebach
d26daa51d7 FEM: code formating, still more of them 2019-06-16 23:39:35 +02:00
Bernd Hahnebach
3ae4283073 FEM: code formating, improve imports, get rid of E402 error 2019-06-16 23:21:38 +02:00
Bernd Hahnebach
8eb807d291 FEM: code formating 2019-06-16 23:21:28 +02:00
Bernd Hahnebach
d8b28a111b FEM: code formating, delete commented code:
We gone have git to retrieve changes made in history, if needed
2019-06-16 22:45:44 +02:00
Bernd Hahnebach
b7c2378a33 FEM: concrete results, use the new concrete result reading methods on result reading 2019-06-16 18:29:32 +02:00
joha2
d78f5a1151 FEM: added import/export of mesh as YAML/JSON 2019-06-08 22:24:48 +02:00
Bernd Hahnebach
dd68022732 FEM: in out, z88 mesh, small improvements 2019-06-05 21:49:16 +02:00
luz.paz
7c1490c046 Misc. typo and whitespace fixes
Found via `codespell`
2019-05-30 19:56:12 +02:00
Bernd Hahnebach
ac41a773b0 FEM: in out, z88, resort methods, add comments 2019-05-28 22:19:44 +02:00
Bernd Hahnebach
a39a33aad7 FEM: in out, add missing returns of document objects 2019-05-28 22:19:44 +02:00
Bernd Hahnebach
1ba3b1fe03 FEM: in out, fix guarding FreeCADGui in fenics import 2019-05-28 14:44:27 +02:00
Bernd Hahnebach
5d698058bf FEM: code formating, max line length < 100, fem in out modules 2019-05-27 14:51:57 +02:00
Bernd Hahnebach
f2bbb89188 FEM: code formating, fenics import 2019-05-27 14:51:57 +02:00
joha2
ae0a164794 FEM: importFenicsMesh: GuiUp code inserted 2019-05-27 14:51:57 +02:00
Bernd Hahnebach
2ea971d8aa FEM: code formating, add some new lines 2019-05-26 20:48:06 +02:00
Bernd Hahnebach
a0497f42fd FEM: in out, return obj on import 2019-05-24 19:08:17 +02:00
Bernd Hahnebach
2f94302bb5 FEM: code formating, max line length < 150, all FEM python 2019-05-20 12:33:30 +02:00
Bernd Hahnebach
51c317dc96 FEM: inout tetgen converter, code formating 2019-05-18 14:13:41 +02:00
Bernd Hahnebach
06fffbd6a2 FEM: inout tetgen converter, guard Gui commands to be able to load the module in CMD mode without problems 2019-05-18 14:06:10 +02:00
luz.paz
8d5fbd947b FIx some user and non-user facing typos
Found via ` codespell -q 3 -I ../fc-word-whitelist.txt -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig* -L pard,wallthicknessOn`  
codespell version 1.15.0.dev0
2019-05-12 16:59:26 +02:00
Bernd Hahnebach
443393c89a FEM: prints, use FreeCAD Console prints on lot of places 2019-04-01 23:28:37 +02:00