Commit Graph

131 Commits

Author SHA1 Message Date
Chris Hennes
7c2595ae4c Merge pull request #23823 from marioalexis84/fem-remove_elmer_filter_parameter
Fem: Remove dependency of the ViewProviderFemPostObject class on user parameters
2025-09-24 22:18:19 -05:00
Markus Reitböck
4baa3a5ee7 Fem: use CMake to generate precompiled headers on all platforms
"Professional CMake" book suggest the following:

"Targets should build successfully with or without compiler support for precompiled headers. It
 should be considered an optimization, not a requirement. In particular, do not explicitly include a
 precompile header (e.g. stdafx.h) in the source code, let CMake force-include an automatically
 generated precompile header on the compiler command line instead. This is more portable across
 the major compilers and is likely to be easier to maintain. It will also avoid warnings being
 generated from certain code checking tools like iwyu (include what you use)."

Therefore, removed the "#include <PreCompiled.h>" from sources, also
there is no need for the "#ifdef _PreComp_" anymore
2025-09-23 00:51:00 +02:00
marioalexis
ae1b365586 Fem: Remove dependency of the ViewProviderFemPostObject class on user parameters 2025-09-22 18:27:18 -03:00
Stefan Tröger
bd64303686 FEM: Include code quality improvements from review 2025-06-15 10:57:47 +02:00
Stefan Tröger
5f4a8f7a49 FEM: Ensure post task dialogs work without VTK python build 2025-06-15 10:57:47 +02:00
Stefan Tröger
2c983ce75e FEM: Add index over frames visualizations 2025-06-15 10:57:46 +02:00
Stefan Tröger
ac02a222ff FEM: Draft architecture of post data extraction with histogram example 2025-06-15 10:57:46 +02:00
bofdahof
ba2c2ca5ad Console: rename PascalCase named methods to camelCase 2025-05-06 17:50:21 +02:00
Benjamin Nauck
afc54f74e4 Merge pull request #21083 from 3x380V/exception-stage-1
Base: simplify Exception
2025-05-06 09:29:45 +02:00
Ladislav Michl
9683cf1e4f Base: rename Exception's PascalCase methods to camelCase 2025-05-05 23:50:01 +02:00
pre-commit-ci[bot]
4839988bb3 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-05-02 07:29:09 +00:00
Stefan Tröger
9430bdde01 Fem: Implement basic python filter functionality and glyph example 2025-05-02 09:25:56 +02:00
marioalexis
f0324df06b Fem: Rename VectorMode view property to Component 2025-04-13 15:04:01 -03:00
Benjamin Nauck
7c6db638c8 Fem: Add #include <limits> where used 2025-03-31 23:51:06 +02:00
marioalexis
186f83add7 Fem: Remove function based on Elmer results 2025-03-27 15:46:57 -03:00
Chris Hennes
ec6684f328 Fem: catch exceptions in destructor 2025-03-25 09:45:25 +01:00
pre-commit-ci[bot]
44e15af433 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-03-22 23:27:10 +01:00
Stefan Tröger
a5e66bf542 FEM: Switch post groups to extension based system 2025-03-22 23:27:10 +01:00
Stefan Tröger
a4558f31b4 FEM: Multiframe adoptions
- To support timedata and the relevant filters the pipeline needs to be fully setup, hence not only working on data
 - Multiblock source algorithm is needed to supply the time data for the algorithms
2025-03-22 23:27:10 +01:00
Chris Hennes
9a77120e82 Merge pull request #20142 from bofdahof/ranges
Apply C++20 std::ranges (mainly to std::find)
2025-03-17 03:08:27 -05:00
bofdahof
1c4ecf576b FEM: apply std::ranges 2025-03-16 17:16:30 -05:00
Karliss
42790475d6 Add missing parent for messagebox and other popups
Unparented popups can easily get lost in backround, but they still block top level event loop when run with ::exec() thus preventing interactions with main window.  This mainly happens on wayland. Setting the parent ensures they are always kept on top and reasonably positioned.
2025-03-16 16:02:36 -05:00
Chris Hennes
1a2070c36f Merge pull request #19636 from kadet1090/color-in-base
Base: Move App::Color to Base
2025-03-02 16:36:40 -06:00
Kacper Donat
36195d1981 Base: Add fromPercent and toPercent helpers 2025-02-23 22:51:13 +01:00
Kacper Donat
13fbab9e42 Base: Move App::Color to Base
Every basic data type is stored in Base module, color is standing out as
one that does not. Moving it to Base opens possibilities to integrate it
better with the rest of FreeCAD.
2025-02-17 21:10:26 +01:00
tritao
551c2e48fb Gui: Reorganize the selection files into a top Selection folder. 2025-02-03 17:56:57 +01:00
Benjamin Nauck
6f535f19fb Prefer to use BaseClass's isDerivedFrom<T> over non template or Base::Type's
Regex based changes, manually verified
2025-01-27 16:08:18 +01:00
Kacper Donat
954b729b56 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
marioalexis
7eed9e317d Fem: Adapt FemPostObject transparency to changes made in #ffa3fa5b5a 2024-11-16 12:49:47 +01:00
marioalexis
f0a15d2082 Fem: Add offset between faces and wireframe in FemPostObject view provider 2024-09-30 17:50:12 +02:00
marioalexis
daf6e6d0d7 Fem: Handle single value field - fixes #14022 2024-07-22 11:05:12 -05:00
marioalexis
701d738a89 Fem: Fix manual color bar range specification - fixes #15013 2024-07-20 22:36:53 -05:00
wmayer
cf46809efd Remove color bar from SoFCColorBarNotifier to decrease reference counter 2024-07-15 18:05:30 +02:00
wmayer
68ae3c95dc Core: Update color bar when changing preferences
This solves one part of issue #10717
2024-07-01 10:55:21 -05:00
marioalexis84
dbc541f0a0 Fem: Reset field color bar - fixes #13695 (#13820)
* Fem: Reset field color bar - fixes #13695

* Fem: Hide input filter if new filer is created
2024-05-06 11:23:08 -05:00
marioalexis84
2c593b67b4 Fem: Fix display modes order - fixes #13326 (#13358) 2024-04-08 18:15:12 +02:00
marioalexis
1b379c916a Fem: Improve post-processing object style - fixes #13017 2024-04-01 11:04:29 -05:00
marioalexis
1614449727 Fem: Partial transparency fix in FemPostObject display modes 2024-03-13 05:50:27 -03:00
Florian Foinant-Willig
027ac1b456 Fem: modernize type checking 2023-10-23 18:09:04 +02:00
marioalexis
b209c6f82a Fem: Change TaskPostBoxes constructors to specific view providers 2023-10-14 00:43:59 +02:00
wmayer
d305f306df Core: Revert superfluous changes made with PR #9521 2023-10-09 15:06:45 +02:00
AgCaliva
a4e90b2609 Merge branch 'master' into User/Document/Feature_level_units_selection_#7746 2023-09-25 22:58:23 -03:00
wmayer
3863cff6c0 Fem: Apply clang-format 2023-09-25 14:50:43 +02:00
AgCaliva
375df38e78 fixing DOMDocument redefinition error 2 2023-09-14 03:50:53 -03:00
wmayer
10ae6c06ad FEM: modernize C++: use default member init 2023-08-23 00:55:03 +02:00
wmayer
89b9a7ae0f FEM: modernize C++: use range-based for loop 2023-08-15 01:09:53 +02:00
wmayer
7fe0d5b9a6 modernize C++: use equals delete 2023-08-10 17:29:05 +02:00
wmayer
948cbfccd9 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
7a3106d31b modernize C++: use bool literals 2023-08-06 01:35:39 +02:00
luzpaz
38a01939e0 Migrate domain name from freecadweb to freecad (#9352)
* Migrate domain name from freecadweb to freecad
* Migrate src/Mod/Material files
* Migrate Stylesheet related files
* Migrate *.svg files
* Migrate miscellaneous files
* Migrate some build files
* Migrate recently added TD AR_IRAM template files

Closes #6415
2023-04-24 15:19:20 -05:00