Commit Graph

115 Commits

Author SHA1 Message Date
Uwe
3528c626e7 [FEM] fix plots of line filter
- when the line geometry changed, the axis data must be refreshed to get correct plots
2022-06-12 17:24:41 +02:00
Uwe
a3a97d7b5e [FEM] fixes for line filter
- on changing a point coordinate, either by clicking a point or by changing the spinbox in the dialog, the color bar must be refreshed and data must be evaluated for all fields along the new line
2022-06-12 16:35:08 +02:00
Uwe
6c1c63cffe [FEM] point filter: fix data display for coordinate change
- not only by clicking the data must be shown, also by changing a single coordinate value in the dialog.
2022-06-12 04:51:19 +02:00
Uwe
7521cfc7a0 [FEM] fix point filter output
fixes #7008:

- the point data must be read also when the center changed
- when the dialog is called it has only the value for the current field, thus recompute the feature to fill all fields with data
- on clicking on a mesh point display the value at the clicked position
- due to the object's recomputation at the start, a complete recomputation (for the whole pipeline) is needed on closing the dialog
2022-06-12 03:34:02 +02:00
Uwe
6d23205704 [FEM] fix display of point filter
- results of 1e8 or 1e-7 in fixed notation are almost unreadable, therefore use scientific notation if necessary
2022-06-12 01:05:26 +02:00
Uwe
d4c180e953 [FEM] fix unit handling of line filter
- in contrary to other filters the properties have no unit handling
(there are several bugs in line filter and to fix them, unit handling is necessary)
2022-06-10 14:17:42 +02:00
Uwe
4c3c23776d [FEM] fix illegal storage access in point filter
- occurred when changing Field to "None"

- also remove doubled and unused code and add a blank line to separate the different filters in the code better
2022-06-10 13:16:23 +02:00
Uwe
825d95314e [FEM] fix unit handling of point result filter
- the App part used already units but the dialog worked unitless. This is error-prone and confusing. Therefore use unit widgets in the dialog.
- also fix issue that unit was not reset (after e.g. a temperature maybe a unitless strain should be shown)
2022-06-10 04:20:25 +02:00
Uwe
6bb6bb4d24 [FEM] fix unit settings of data point filter 2022-06-10 02:42:17 +02:00
Uwe
dd00c46a8c [FEM] fix issue that all plot windows had the same name
- they all had the name "figure 1"
- thus make the name unique and this way also enable to have several plots open displaying different result types (for the line filter)
2022-06-10 00:55:02 +02:00
Uwe
c4fec57368 [FEM] fix linear filter plot (#6999)
* [FEM] fix linear filter plot

the plot one can create from within the linear filter is at the moment detached from FreeCAD's main window.
This PR fixes it the same way as in https://github.com/FreeCAD/FreeCAD/commit/920e8e046
2022-06-10 00:33:27 +02:00
Chris Hennes
6449e1bcf7 FEM: Enable translation of axis label 2022-06-07 13:10:42 -05:00
Uwe
9946a3916e [FEM] TaskPostDataAtPoint: add missing support for electrostatics
- also update units to SI
2022-06-01 17:42:22 +02:00
wmayer
c4c0304518 Fem: move handling of PostAutoRecompute to a central class and by default set its value to true 2022-04-07 13:22:13 +02:00
Uwe
5f88e71e1f [FEM] fix function selection for cut filter
this is the same fix as https://github.com/FreeCAD/FreeCAD/commit/54ef47276fba
for the cut filter
2022-03-31 00:02:48 +02:00
Uwe
8d8d8fd055 [FEM] fix a comparison operator
Fixes a mistake I introduced with https://github.com/FreeCAD/FreeCAD/commit/54ef47276fba
2022-03-30 23:54:42 +02:00
wmayer
e9c088c0ae Fem: [skip ci] issue #6673: selecting a point for the point result filter crashes 2022-03-30 08:23:55 +02:00
Uwe
54ef47276f [FEM] fix bug 4 of the cut filter bugs
as reported here: https://forum.freecadweb.org/viewtopic.php?p=584217#p584217
2022-03-30 02:57:35 +02:00
Uwe
edb95772ae [FEM] re-add a header as compile fix 2022-03-24 19:10:39 +01:00
Uwe
8aae22097c [FEM] TaskPostBoxes: remove unused headers
- also some sorting
2022-03-24 18:58:01 +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
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
wmayer
1ca7429705 Gui: Optimize includes to reduce compile time 2022-03-07 20:29:18 +01:00
luz paz
0042f58e4c Make source code comments use gender neutral pronouns
The changes also include some grammatical fixes as well.
2021-12-02 16:18:04 -05:00
Bernd Hahnebach
888fdfbe53 FEM: rename icon, post filter warp 2020-03-06 08:40:44 +01:00
Bernd Hahnebach
65e0db5f6c FEM: rename icon, post filter data at point 2020-03-06 08:40:40 +01:00
Bernd Hahnebach
3d31ff5001 FEM: rename icon, post filter data along line 2020-03-06 08:40:38 +01:00
Bernd Hahnebach
fd6e9acd5c FEM: rename icon, post filter cut function 2020-03-06 08:40:36 +01:00
Bernd Hahnebach
164f04a395 FEM: rename icon, post filter clip scalar 2020-03-06 08:40:34 +01:00
Bernd Hahnebach
46531ed92e FEM: rename icon, post filter clip region 2020-03-06 08:40:32 +01:00
Bernd Hahnebach
45259a65aa FEM: rename icon, result show 2020-03-06 08:40:28 +01:00
Bernd Hahnebach
7695106ff6 FEM: code formating replace lines of # with lines of * 2019-09-19 09:10:56 +02:00
Bernd Hahnebach
2b1a235c43 FEM: vtk post, fix scalar clip task panel reopen values 2019-06-08 22:24:48 +02:00
Bernd Hahnebach
a2c491261c FEM: fix buildfailure on gcc 2019-05-17 16:17:13 +02:00
Abdullah Tahiri
241c370f5f PCH: Fem Gui 2019-05-16 21:43:08 +02:00
luz.paz
f5523dd830 FEM: Typos 2018-10-17 11:23:04 +02:00
Bernd Hahnebach
a0ff629747 FEM: vtk, post task boxes, add some comment 2018-09-26 22:43:07 +02:00
Bernd Hahnebach
a905b63632 FEM: vtk fix, task panels, some enumerations are no longer set back on any open of the tp 2018-09-26 22:42:53 +02:00
Bernd Hahnebach
ce1be10f0e FEM: vtk post, typo in Tranparency property 2018-08-26 20:47:37 +02:00
Bernd Hahnebach
25bcbcbf23 FEM: vtk post, sync tranparency on reopen of pipeline task panel 2018-08-26 20:47:36 +02:00
Bernd Hahnebach
e76488eb10 FEM: post warp filter, try to better handle ui min max values, but no success 2018-08-15 09:18:59 +02:00
Bernd Hahnebach
88b605774d FEM: post warp filter, add some comments and make code better readable, no real changes 2018-08-15 09:18:59 +02:00
Bernd Hahnebach
af61ca6698 FEM: icons, rename show result icon 2018-08-07 16:57:05 +02:00
Bernd Hahnebach
1a1ce36f93 FEM: icons, rename plane icon 2018-08-07 16:57:05 +02:00
Bernd Hahnebach
dab1ed770c FEM: icons, rename warp filter icon 2018-08-07 16:57:04 +02:00
Bernd Hahnebach
38ae615edf FEM: icons, rename data at point icon 2018-08-07 16:57:04 +02:00
Bernd Hahnebach
d9ed75d954 FEM: icons, rename data along line icon 2018-08-07 16:57:03 +02:00
Bernd Hahnebach
2b6ec41963 FEM: icons, rename cut function icon 2018-08-07 16:57:03 +02:00
Bernd Hahnebach
23d28268ff FEM: icons, rename clip scalar icon 2018-08-07 16:57:03 +02:00