Commit Graph

94 Commits

Author SHA1 Message Date
wmayer
a70d6fd7ec FEM: [skip ci] fix some typos 2022-04-12 11:03:03 +02:00
wmayer
d36c59b3dc Fem/Mesh: force update of shape nodes when changing the transparencies of a color plot 2022-04-01 16:40:34 +02:00
wmayer
e437893e99 Fem: support transparencies of the colour plot in ViewProviderFemPostObject 2022-04-01 10:40:48 +02:00
wmayer
5974abe351 Fem: in case the range collapses to a single value expand it to a valid range with +/- eps 2022-03-28 20:16:22 +02:00
wmayer
0239732e69 Fem: fix error: Unhandled Base::Exception caught in GUIApplication::notify 2022-03-28 15:56:49 +02:00
Uwe
66e4c37a25 fix some occurrences where size() is misused as Boolean
- as suggested by @wwmayer: 4d51d1d0b1 (r69648152)
2022-03-27 21:38:15 +02:00
Uwe
3904da9d93 [FEM] handle Elmer result mesh zoom properly
- also fix an issue that after a successful simulation, no result was visible
2022-03-24 22:01:45 +01:00
Uwe
856c25da67 [FEM] add missing analysis deletion handling
as it was, one could delete the analysis container breaking everything. Now you get a warning.

- also fix typos
2022-03-24 15:56:08 +01:00
Uwe
ad95908b88 [FEM] ViewProviderDocumentObject: fix compiler warning and error
- add missing include
- compare string properly
2022-03-24 06:13:45 +01:00
Uwe
121ac920ca [FEM] fix deletion issue
- as reported here: https://forum.freecadweb.org/viewtopic.php?p=582532#p582532

Now only a warning is issued if the user tries to delete the main PostObject if it is not empty.
2022-03-24 05:44:02 +01:00
Uwe
ceb5a3da5c [FEM] fix transparency bug
- as reported here: https://forum.freecadweb.org/viewtopic.php?p=582526#p582526
After setting the transparency, the object has to be redrawn

- also remove a doubled header
2022-03-24 04:50:54 +01:00
Uwe
2eb3447694 [FEM] remove unused header introduced by previous commit 2022-03-24 03:05:48 +01:00
Uwe
b0b243bee7 [FEM] scale fix for post meshes
- post result meshes must inherit the parent scaling
- also change Scale to enum as proposed by @wwmayer
2022-03-24 02:37:10 +01:00
Uwe
8d618d44c0 [FEM] post object: some whitespace and style fixes
all made by MSVC
2022-03-23 21:51:25 +01:00
wmayer
7ae9fc0d67 Fem: modernize C++11
* use nullptr
2022-03-23 19:26:15 +01:00
Uwe
cb82d8e97a [FEM] remove some unused includes 2022-03-23 05:43:40 +01:00
Uwe
389ae0ab39 [FEM] SI unit fixes for Elmer
- since we use consistently SI units (as recommended my the Elmer forum), we need to scale the input mesh (we use ElmerGrid that has an option fur this purpose)
- Since the result will be in the scaled mesh, we need to scale it back

With this PR, one gets now correct result independent of
- the used unit scheme
- the simulation type (electrical or thermo-mechanical)
2022-03-23 05:00:40 +01:00
wmayer
54e2eabccb Fem: for view provider of post-object enable two-side rendering because the coloured object could look broken depending on the range of the color bar 2022-01-28 11:24:36 +01:00
wmayer
135525a806 smesh: port to version 9.6 2021-01-20 19:49:56 +01:00
wmayer
67bf5445b7 Coverity: Unchecked return value 2020-07-20 17:34:30 +02:00
wmayer
56252d8ad6 PVS: V1762 It is possible a virtual function was overridden incorrectly 2020-07-18 10:59:28 +02:00
Bernd Hahnebach
12c31ab055 FEM: add gitattributes file to let git manage file endings and normalize them 2019-12-12 07:29:15 +01:00
Abdullah Tahiri
241c370f5f PCH: Fem Gui 2019-05-16 21:43:08 +02:00
Bernd Hahnebach
de7ef263d2 FEM: vtk, initialize the enums of piplines VP 2018-09-26 22:42:40 +02:00
Bernd Hahnebach
ce1be10f0e FEM: vtk post, typo in Tranparency property 2018-08-26 20:47:37 +02:00
luz.paz
b45bc4889d Misc. typos: Please merge right before 0.17 release
I'm still finding typos in the source code. I propose that you keep this PR open prior ro relaese and then merge  so that if I find other typos in the meantime they will be part this release.
2018-03-18 15:15:16 +01:00
wmayer
b87f2143a7 fix typos 2018-03-14 11:59:09 +01:00
Bernd Hahnebach
0cdbe26eb6 FEM: vtk post processing, add a workaround check for back light 2018-03-13 23:36:14 +01:00
wmayer
3114df352d in forward declaration replace class keyword when struct is expected
comment out unused parameters
2016-12-29 17:52:39 +01:00
mkhizenz
ede94ba09c FEM: DataAlongLine: core implementation 2016-12-21 11:27:41 -02:00
Bernd Hahnebach
299d3d1206 FEM: icons, rename some icons to better fit in FEM name scheme 2016-11-28 01:17:45 +01:00
Bernd Hahnebach
55d2884658 FEM: code formating: remove trailing white spaces 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
999330f07b FEM: vtk color bar: fix change of min max value 2016-06-20 17:20:07 +02:00
Bernd Hahnebach
78e4a96f6d FEM: some trailing white spaces 2016-06-20 17:20:07 +02:00
Stefan Tröger
95d1e8244f FEM Post: Handle wireframe with internal wires 2016-05-18 21:35:15 +02:00
Stefan Tröger
945aee1d1c FEM Post: integrate FreeCAD color system 2016-05-18 21:35:15 +02:00
Stefan Tröger
dd72ea6ab0 FEM Post: Clean up work 2016-05-18 21:35:15 +02:00
Stefan Tröger
defecae339 FEM Post: Fix and extend file handling
-Fix crash on saving due to bad result to pipeline transfer
-fix vtk smart pointer usage
-support more file types(new vtk xml formats)
2016-05-18 21:35:15 +02:00
Stefan Tröger
c2df92cd76 FEM Post: FreeCADify the vtk post processing
- Data property for saving/loading vtk data
- Use FreeCAD recompute system instead of vtk pipeline
2016-05-18 21:35:15 +02:00
Stefan Tröger
4441e4ed5d FEM Post: Fix crash due to wrong initalisation 2016-05-18 21:35:15 +02:00
Stefan Tröger
2f9e70af09 FEM Post: Command for creation of post pipeline from result 2016-05-18 21:35:15 +02:00
Stefan Tröger
51f2a0efc6 FEM Post: Detail filter infrastructure 2016-05-18 21:35:15 +02:00
Stefan Tröger
2b9e608501 FEM Post: Basic implementation of filter framework 2016-05-18 21:35:15 +02:00
Stefan Tröger
4d09c09dc0 FEM Post: Move post processing to fem objects 2016-05-18 21:35:15 +02:00