Commit Graph

198 Commits

Author SHA1 Message Date
wmayer
1aa897d450 Fem: remove some superfluous const_cast 2022-06-24 19:43:33 +02:00
Uwe
8e253cb4c8 [FEM] fix a variable casting
- reported by MSVC not to cast a float to a double but as double directly

- also remove some superfluous Boolean comparisons
2022-06-19 15:15:18 +02:00
wmayer
7400b11870 Fem: in FEM_PostFilterLinearizedStresses command do not use a hard-coded object name but that of the selected FemPostDataAlongLineFilter 2022-06-13 17:08:58 +02:00
Uwe
43a14ab4df [FEM] fix result point filter upon line filter
having a point filter on a line filter is valid and useful, was maybe just forgotten once the line filter was added
2022-06-10 01:43:22 +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
d17954276c [FEM] fix detached plot (#6998)
* [FEM] fix detached plot

the stress linearization plot 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:34:05 +02:00
Chris Hennes
9570d88a39 FEM: Enable translation of plot labels 2022-06-07 13:44:01 -05: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
66e4c37a25 fix some occurrences where size() is misused as Boolean
- as suggested by @wwmayer: 4d51d1d0b1 (r69648152)
2022-03-27 21:38:15 +02:00
wmayer
4d51d1d0b1 FEM: [skip ci] fix possible crash in setupFilter() function 2022-03-27 11:32:33 +02:00
Uwe
7676216a7a [FEM] more work on filter activation
- warp, clip filters etc. are perfectly valid over a line filter
- handle activation for line, stress line and point filter
2022-03-27 07:44:35 +02:00
Uwe
57cb8bd91b [FEM] fix some post filter creation issues
- only one object can be used
- don't forbid to use another filter as input for a new filter
2022-03-27 07:09:36 +02:00
Uwe
2f8343b5c5 [FEM] fix activation logic of post filters
only activate them when sensible/possible
2022-03-27 00:57:41 +01:00
Uwe
1b7b72ea90 [FEM] fix activation of post pipeline
it can only be activated if a result object is selected from which the pipeline can be loaded
2022-03-27 00:22:06 +01:00
Uwe
2e67e70863 [FEM] fix creation of PostPipeline object
- the object was not created inside the analysis container (while this was correctly done when it is created from a solver run)
- after the creation, the object was only hardly visible for the user
2022-03-26 04:37:17 +01:00
Uwe
7bc69a8cbb [skip CI] [FEM] some style changes by MSVC
- to avoid annoying unnecessary diffs while working on the FEM module
2022-03-25 18:55:33 +01:00
wmayer
7ae9fc0d67 Fem: modernize C++11
* use nullptr
2022-03-23 19:26:15 +01:00
Uwe
1ddb4d27e7 [FEM] remove unused headers from WBs main files
- also some code style fixes by MSVC
2022-03-17 20:33:33 +01:00
wmayer
1ca7429705 Gui: Optimize includes to reduce compile time 2022-03-07 20:29:18 +01:00
Preslav
1ceaa09d17 Added spring boundary condition 2021-09-17 11:08:08 +02:00
marioalexis
8b8b12b646 FEM: Fix typo in filter function tooltip 2021-02-17 15:54:17 +01:00
luz paz
be07e9a7ed FEM: Issue #0004473: Expose openCommand() to translation
Continuing the work to expose the undo/redo functionality to translation. This commit does so for the FEM Wb.  
Ticket: https://tracker.freecadweb.org/view.php?id=4473
2020-12-01 14:53:35 +01:00
Bernd Hahnebach
49049ddc02 FEM: typo 2020-03-06 18:19:45 +01:00
Bernd Hahnebach
1be796bff7 FEM: rename icon, post pipeline from result 2020-03-06 08:40:46 +01:00
Bernd Hahnebach
888fdfbe53 FEM: rename icon, post filter warp 2020-03-06 08:40:44 +01:00
Bernd Hahnebach
306f1c0c55 FEM: rename icon, post filter linearized stresses 2020-03-06 08:40:42 +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
769bb52305 FEM: rename icon, solver standard 2020-03-06 08:40:26 +01:00
Bernd Hahnebach
b3a2583e5e FEM: rename icon, mesh creat node set 2020-03-06 08:40:10 +01:00
Bernd Hahnebach
4d6e21e455 FEM: rename icon, Constraint Transform 2020-03-06 08:39:29 +01:00
Bernd Hahnebach
4446c2a256 FEM: rename icon, Constraint Temperature 2020-03-06 08:39:27 +01:00
Bernd Hahnebach
12392549f7 FEM: rename icon, Constraint Pulley 2020-03-06 08:39:23 +01:00
Bernd Hahnebach
eee401afd3 FEM: rename icon, Constraint Pressure 2020-03-06 08:39:21 +01:00
Bernd Hahnebach
bae453dea3 FEM: rename icon, Constraint Plane Rotation 2020-03-06 08:39:19 +01:00
Bernd Hahnebach
b2d8c383e3 FEM: rename icon, Constraint Initial Temperature 2020-03-06 08:39:17 +01:00
Bernd Hahnebach
051b639540 FEM: rename icon, Constraint Heatflux 2020-03-06 08:39:13 +01:00
Bernd Hahnebach
9b88c46061 FEM: rename icon, Constraint Fluid Boundary 2020-03-06 08:39:11 +01:00
Bernd Hahnebach
5d3bab715d FEM: rename icon, Constraint Gear 2020-03-06 08:39:05 +01:00
Bernd Hahnebach
8942704058 FEM: rename icon, Constraint Force 2020-03-06 08:39:03 +01:00
Bernd Hahnebach
568ab2ba6a FEM: rename icon, Constraint Fixed 2020-03-06 08:39:01 +01:00
Bernd Hahnebach
1dbd171e92 FEM: rename icon, Constraint Displacement 2020-03-06 08:38:59 +01:00
Bernd Hahnebach
943d8e0e50 FEM: rename icon, Constraint Contact 2020-03-06 08:38:55 +01:00
Bernd Hahnebach
8dc95f7568 FEM: rename icon, Constraint Bearing 2020-03-06 08:38:55 +01:00
Bernd Hahnebach
7a5d0088bf FEM: rename icon, Analysis 2020-03-06 08:38:53 +01:00
Bernd Hahnebach
a1029ffd46 FEM: command, add missing fix 2020-03-06 08:30:53 +01:00
Bernd Hahnebach
53b682138c FEM: gui commands, comment not used command 2020-03-06 07:51:20 +01:00