Commit Graph

54 Commits

Author SHA1 Message Date
Max Wilfinger
dd702da1bc FEM: Update UI strings for consistency 2025-06-30 10:35:42 -05:00
Pieter Hijma
17c601eaca [Core] Disable toggling visibility for objects
- VarSet
- Spreadsheet
- FEM objects
2025-04-05 16:12:49 +02:00
Pieter Hijma
5915575f19 [Core] Remove various DisplayModes from FEM 2025-04-05 15:57:49 +02:00
tritao
65466d580b Gui: Reorganize the selection files into a top Selection folder. 2025-02-03 17:56:57 +01:00
Benjamin Nauck
45c997f40a Manual changes to improve isDerivedFrom usage 2025-01-27 16:08:19 +01:00
Kacper Donat
651cefde4d Gui: Use getObject<T>() helpers in classes
This commit is generated using regex based find and replace:

```
s/[\w:]+_cast\s*<([^>]+)\*>\s*\(\s*getObject\(\s*\)\)/getObject<$1>/
s/[\w:]+_cast\s*<([^>]+)\*>\s*\(\s*([^)]*)\s*->\s*getObject\(\s*\)\)/$2->getObject<$1>()/
```

To regenerate if needed.
2024-12-06 18:29:39 +01:00
wmayer
3e33f184b4 Core: Rename ViewProviderPythonFeature to ViewProviderFeaturePython
Fixes #15888
2024-08-26 18:14:22 +02:00
marioalexis84
b8e460f2a2 Fem: Prevent selection of partially attached object - fixes #12163 (#12220)
* Fem: Use of wrong class name in macro
* Fem: Prevent selection of partially attached object - fixes #12163
2024-02-12 11:22:44 -06:00
marioalexis
9ceb1e7af1 Fem: Remove pipeline node from analysis view provider - fixes #11175 2024-01-15 11:19:09 -06:00
Florian Foinant-Willig
41080dec5b Fem: modernize type checking 2023-10-23 18:09:04 +02:00
wmayer
b8b94c249e Fem: Apply clang-format 2023-09-25 14:50:43 +02:00
wmayer
d525e0d308 Fem: modernize C++: use equals default 2023-08-21 13:35:54 +02:00
wmayer
d150fa7164 modernize C++: avoid bind
In many cases std::bind() is kept because the code is much simpler
2023-08-08 21:10:16 +02:00
wmayer
39e53e5eb0 Mods: modernize C++: redundant void arg 2023-08-05 16:50:31 +02:00
Uwe
249829913b [FEM] implement further object addition mode
- for e.g. the solver objects it is important that the added equations are visible in the TreeView
- also improve activation of analyses for documents with multiple analyses: one activates one and can then subsequently add an object to it because the activation will also select
2023-03-24 07:22:27 +01:00
Uwe
4c8806765a [FEM] auto-activate Analyses
- this PR addresses a long-standing annoying issue: You are already in the FEM WB and load a file.
  Then you cannot just start but first have to activate the Analysis. But one is in the FEM WB to work with analyses.
2023-03-24 06:05:54 +01:00
Uwe
c1751bde4a [FEM] improve deletion warning
- don't popup a warning if all children of an object are selected too when deleting the object
2023-03-16 21:54:09 +01:00
Uwe
a7c5fde0e3 [FEM] fix analysis activation issue
- after activating an analysis the FEM toolbar buttons did not become active
2023-02-18 22:28:35 +01:00
Uwe
8a77ea8c98 [FEM] ViewProvider*: remove unused includes
- also sort includes
2022-10-03 06:07:55 +02:00
Uwe
7f27c23bfb [FEM] [skip CI] ViewProviderAnalysis.cpp: .clang formatting fixes
- done automatically by MSVC
2022-08-07 02:28:40 +02:00
wmayer
ede18d20b9 Fem: [skip ci] replace the SoAnnotation with an SoSeparator to fix rendering artifacts for non-convex objects 2022-08-02 19:09:05 +02:00
wmayer
8bb85d2b7c Fem: use SoAnnotation to highlight result pipeline objects 2022-07-31 17:51:31 +02:00
wmayer
9b2b0e0acf modernize C++: replace boost::function with std::function 2022-06-30 20:31:55 +02:00
mosfet80
620c273c4e Boost version <=1.60 is never used in freecad 0.20 (#7038)
* Boost version 1.60 is never used in freecad 0.20
2022-06-24 02:20:26 +02:00
wmayer
a70d6fd7ec FEM: [skip ci] fix some typos 2022-04-12 11:03:03 +02:00
Uwe
c4576ecfeb [FEM] add missing functions deletion handling
as it was, one could delete the functions container breaking the simulation. Now you get a warning.

- also remove unused includes
2022-03-24 16:17:44 +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
f40770dd95 [skip CI] [FEM] fix a comment
- remove misleading comment
- add a comment
2022-03-24 14:52:28 +01:00
Bernd Hahnebach
5f8b7d2f85 FEM: calculix dat result text object, move into analysis 2021-06-16 15:34:24 +02:00
wmayer
f3b460e42e boost: fix for boost < 1.60 2020-06-15 19:38:39 +02:00
wmayer
4ec45b545e boost 1.73.0: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated 2020-06-12 17:51:33 +02:00
Bernd Hahnebach
7a5d0088bf FEM: rename icon, Analysis 2020-03-06 08:38:53 +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
0b6e79be35 FEM: code formating do not use to many slashes 2019-12-10 21:41:06 +01:00
Bernd Hahnebach
437d1cc668 FEM: analysis, make vtk result pipline object draggable into analysis 2018-03-21 12:19:59 +01:00
wmayer
ce6809415b inherit FemAnalysis from DocumentObjectGroup and remove Member property 2017-10-24 20:07:05 +02:00
wmayer
dcaf263e4c issue #0002080: Attempt to remove FEM analysis result (displacement & stress) results in false warning 2017-10-18 19:50:59 +02:00
wmayer
c7886b3e36 fixes #0003164: Elements of an analysis including the mesh and constraints should be hidden when hiding the analysis (Space) 2017-10-06 22:24:54 +02:00
qingfengxia
bafbc14fc8 Fem: make FemResultObject droppable into FemAnalysis 2016-10-29 15:12:18 +02:00
wmayer
480191c8ee fix -Wextra in Fem 2016-09-24 02:17:15 +02:00
Bernd Hahnebach
b58e37b950 FEM: remove trailing whitespaces 2016-04-24 19:10:33 +02:00
Author qingfengxia
80cf664ec8 FEM: new solver object implementation of the object 2015-11-28 20:04:22 -02:00
wmayer
45af17e39c + Code cleanup:
+ do not include header of itself
+ do not include unneeded header files
+ removed unneeded forward declarations
+ do not translate C string to get a QString
+ break too long lines
+ replace tabs with spaces
+ use virtual keyword on destructors
2015-11-13 15:47:03 +01:00
wmayer
861dc86093 + make FEM beam section and shell thickness ready for drag and drop 2015-10-19 14:48:07 +02:00
wmayer
00cdea7b74 + allow to activate an analysis object from context-menu 2015-10-18 16:10:32 +02:00
Mateusz Skowroński
43a4a5938c Fix files encoding. Go from ISO8859-1 to UTF-8. 2015-09-21 19:50:49 -03:00
Przemo Firszt
7a71e14a78 FEM: Rename Fem_Analysis icon to fem-analysis
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-29 11:00:33 -03:00
wmayer
13b8d323b2 + FEM: Improve drag and drop for FEM analysis object 2015-04-23 13:31:14 +02:00
wmayer
f460cec308 + FEM: Support drag and drop for analysis object 2015-04-22 23:24:43 +02:00
jriegel
226c25f9d9 Finish loading Calculix result files 2013-12-31 12:41:22 +01:00